nicole: led-manager: rename leds
The LEDs were renamed in the DTS to correspond
https://github.com/openbmc/docs/blob/master/designs/device-tree-gpio-naming.md
The labels were also added. All of these changes led to change the names
of the LEDs in sysfs.
This commit makes the corresponding changes in the phosphor-led-manager
config.
Change-Id: I15af963c3988ac16cc52e8a2ec4ed22b08c4f068
Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
diff --git a/meta-nicole/recipes-phosphor/leds/nicole-led-manager-config/led.yaml b/meta-nicole/recipes-phosphor/leds/nicole-led-manager-config/led.yaml
index 9ce2e29..beb8c98 100644
--- a/meta-nicole/recipes-phosphor/leds/nicole-led-manager-config/led.yaml
+++ b/meta-nicole/recipes-phosphor/leds/nicole-led-manager-config/led.yaml
@@ -1,17 +1,27 @@
+#
+# If the LED has a label in DTS like:
+# label = "device:color:function";
+# the D-Bus name looks like:
+# device_function_color
+#
+bmc_booted:
+ platform_power_green:
+ Action: 'Blink'
+ Priority: 'On'
power_on:
- power:
+ platform_power_green:
Action: 'On'
Priority: 'On'
enclosure_identify:
- identify:
+ platform_indicator_blue:
Action: 'Blink'
Priority: 'Blink'
enclosure_fault: &SYS_FAULT
- alarm_red:
+ platform_fault_red:
Action: 'Blink'
Priority: 'Blink'
enclosure_warning: &FRU_FAULT
- alarm_yellow:
+ platform_alarm_yellow:
Action: 'Blink'
Priority: 'Blink'