fp5280g2: Add led manager configure
Use the "init-ok" gpio to notify CPLD that the BMC has been initialized. CPLD will cause the power button led to blink.
Tested: When BMC is booted complete, the power button will blink
Signed-off-by: Chicago Duan <duanzhijia01@inspur.com>
Change-Id: Iab9e0f3dfa941928afafa1c01e15069bb97b5aac
diff --git a/meta-fp5280g2/recipes-phosphor/leds/fp5280g2-led-manager-config/led.yaml b/meta-fp5280g2/recipes-phosphor/leds/fp5280g2-led-manager-config/led.yaml
new file mode 100644
index 0000000..922d67b
--- /dev/null
+++ b/meta-fp5280g2/recipes-phosphor/leds/fp5280g2-led-manager-config/led.yaml
@@ -0,0 +1,20 @@
+bmc_booted:
+ power:
+ Action: 'Blink'
+ DutyOn: 50
+ Period: 1000
+ Priority: 'On'
+ init-ok:
+ Action: 'On'
+ DutyOn: 50
+ Period: 0
+ Priority: 'On'
+
+#fp5280g2 does not use "power" and "power_on". but the led.yaml needs it, otherwise the machine won't power on.
+power_on:
+ power:
+ Action: 'On'
+ DutyOn: 50
+ Period: 0
+ Priority: 'On'
+