yosemitev2: Add sled cycle support for meta-yosemitev2
This change provide support for sled cycle implementation in meta-yosemitev2.
TESTED: Tested and verified in YosemteV2. The sled cycle functionality
is working as expected in yosemitev2.
Signed-off-by: Jayashree Dhanapal <jayashree-d@hcl.com>
Change-Id: I097b42b2df4606fddbfaff27263e26ce4d96fa52
diff --git a/meta-facebook/recipes-x86/chassis/x86-power-control/yosemitev2/chassis-system-reset.service b/meta-facebook/recipes-x86/chassis/x86-power-control/yosemitev2/chassis-system-reset.service
new file mode 100644
index 0000000..a3e8cd6
--- /dev/null
+++ b/meta-facebook/recipes-x86/chassis/x86-power-control/yosemitev2/chassis-system-reset.service
@@ -0,0 +1,11 @@
+Unit]
+Description=System unit to hard reset or system reset chassis for yosemitev2
+
+[Service]
+Type=oneshot
+RemainAfterExit=no
+ExecStart=i2cset -f -y 10 0x40 0xd9 c
+
+[Install]
+WantedBy=chassis-system-reset.target
+