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
(From meta-inspur rev: 66361442598357012e8c2357ab94ed3323a1d20b)
Signed-off-by: Chicago Duan <duanzhijia01@inspur.com>
Change-Id: I5bbadd6de8058814d8765e02e137b58ea3f07278
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/meta-inspur/meta-fp5280g2/recipes-phosphor/leds/fp5280g2-led-manager-config/led.yaml b/meta-inspur/meta-fp5280g2/recipes-phosphor/leds/fp5280g2-led-manager-config/led.yaml
new file mode 100644
index 0000000..922d67b
--- /dev/null
+++ b/meta-inspur/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'
+