Configs: Everest: Add led-group-config.json for Everest system
This commit adds some of the system level LED group
D-Bus objects and also Fan group D-Bus objects
Tested:
root@bmc:/usr/share/phosphor-led-manager/ibm,everest# busctl tree
xyz.openbmc_project.LED.GroupManager
└─/xyz
└─/xyz/openbmc_project
└─/xyz/openbmc_project/led
└─/xyz/openbmc_project/led/groups
├─/xyz/openbmc_project/led/groups/bmc_booted
├─/xyz/openbmc_project/led/groups/enclosure_fault
├─/xyz/openbmc_project/led/groups/enclosure_identify
├─/xyz/openbmc_project/led/groups/fan0_fault
├─/xyz/openbmc_project/led/groups/fan0_identify
├─/xyz/openbmc_project/led/groups/fan1_fault
├─/xyz/openbmc_project/led/groups/fan1_identify
├─/xyz/openbmc_project/led/groups/fan2_fault
├─/xyz/openbmc_project/led/groups/fan2_identify
├─/xyz/openbmc_project/led/groups/fan3_fault
├─/xyz/openbmc_project/led/groups/fan3_identify
├─/xyz/openbmc_project/led/groups/lamp_test
└─/xyz/openbmc_project/led/groups/power_on
Change-Id: I4002ecd7b21abba3684153fdda7d93ba32677235
Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
diff --git a/configs/ibm,everest/led-group-config.json b/configs/ibm,everest/led-group-config.json
new file mode 100644
index 0000000..79ff47f
--- /dev/null
+++ b/configs/ibm,everest/led-group-config.json
@@ -0,0 +1,368 @@
+{
+ "leds" : [
+ {
+ "group" : "bmc_booted",
+ "members" : [
+ {
+ "Name" : "front_sys_pwron0",
+ "Action" : "Blink",
+ "DutyOn" : 50,
+ "Period" : 1000,
+ "Priority" : "On"
+ }
+ ]
+ },
+ {
+ "group" : "power_on",
+ "members" : [
+ {
+ "Name" : "front_sys_pwron0",
+ "Action" : "On",
+ "DutyOn" : 50,
+ "Period" : 0,
+ "Priority" : "On"
+ }
+ ]
+ },
+ {
+ "group" : "partition_system_attention_indicator",
+ "members" : [
+ {
+ "Name" : "front_check_log0",
+ "Action" : "On",
+ "DutyOn" : 50,
+ "Period" : 0,
+ "Priority" : "Blink"
+ }
+ ]
+ },
+ {
+ "group" : "platform_system_attention_indicator",
+ "members" : [
+ {
+ "Name" : "front_check_log0",
+ "Action" : "On",
+ "DutyOn" : 50,
+ "Period" : 0,
+ "Priority" : "Blink"
+ }
+ ]
+ },
+ {
+ "group" : "enclosure_fault",
+ "members" : [
+ {
+ "Name" : "front_enc_fault1",
+ "Action" : "On",
+ "DutyOn" : 50,
+ "Period" : 0,
+ "Priority" : "Blink"
+ },
+ {
+ "Name" : "rear_enc_fault0",
+ "Action" : "On",
+ "DutyOn" : 50,
+ "Period" : 0,
+ "Priority" : "Blink"
+ },
+ {
+ "Name" : "virtual_enc_fault",
+ "Action" : "On",
+ "DutyOn" : 50,
+ "Period" : 0,
+ "Priority" : "Blink"
+ }
+ ]
+ },
+ {
+ "group" : "enclosure_identify",
+ "members" : [
+ {
+ "Name" : "front_sys_id0",
+ "Action" : "Blink",
+ "DutyOn" : 50,
+ "Period" : 1000,
+ "Priority" : "Blink"
+ },
+ {
+ "Name" : "rear_enc_id0",
+ "Action" : "Blink",
+ "DutyOn" : 50,
+ "Period" : 1000,
+ "Priority" : "Blink"
+ },
+ {
+ "Name" : "virtual_enc_id",
+ "Action" : "Blink",
+ "DutyOn" : 50,
+ "Period" : 1000,
+ "Priority" : "Blink"
+ }
+ ]
+ },
+ {
+ "group" : "fan0_fault",
+ "members" : [
+ {
+ "Name" : "fan0",
+ "Action" : "On",
+ "DutyOn" : 50,
+ "Period" : 0,
+ "Priority" : "Blink"
+ },
+ {
+ "Name" : "front_enc_fault1",
+ "Action" : "On",
+ "DutyOn" : 50,
+ "Period" : 0,
+ "Priority" : "Blink"
+ },
+ {
+ "Name" : "rear_enc_fault0",
+ "Action" : "On",
+ "DutyOn" : 50,
+ "Period" : 0,
+ "Priority" : "Blink"
+ },
+ {
+ "Name" : "virtual_enc_fault",
+ "Action" : "On",
+ "DutyOn" : 50,
+ "Period" : 0,
+ "Priority" : "Blink"
+ }
+ ]
+ },
+ {
+ "group" : "fan0_identify",
+ "members" : [
+ {
+ "Name" : "fan0",
+ "Action" : "Blink",
+ "DutyOn" : 50,
+ "Period" : 1000,
+ "Priority" : "Blink"
+ },
+ {
+ "Name" : "front_sys_id0",
+ "Action" : "On",
+ "DutyOn" : 50,
+ "Period" : 0,
+ "Priority" : "Blink"
+ },
+ {
+ "Name" : "rear_enc_id0",
+ "Action" : "On",
+ "DutyOn" : 50,
+ "Period" : 0,
+ "Priority" : "Blink"
+ },
+ {
+ "Name" : "virtual_enc_id",
+ "Action" : "On",
+ "DutyOn" : 50,
+ "Period" : 0,
+ "Priority" : "Blink"
+ }
+ ]
+ },
+ {
+ "group" : "fan1_fault",
+ "members" : [
+ {
+ "Name" : "fan1",
+ "Action" : "On",
+ "DutyOn" : 50,
+ "Period" : 0,
+ "Priority" : "Blink"
+ },
+ {
+ "Name" : "front_enc_fault1",
+ "Action" : "On",
+ "DutyOn" : 50,
+ "Period" : 0,
+ "Priority" : "Blink"
+ },
+ {
+ "Name" : "rear_enc_fault0",
+ "Action" : "On",
+ "DutyOn" : 50,
+ "Period" : 0,
+ "Priority" : "Blink"
+ },
+ {
+ "Name" : "virtual_enc_fault",
+ "Action" : "On",
+ "DutyOn" : 50,
+ "Period" : 0,
+ "Priority" : "Blink"
+ }
+ ]
+ },
+ {
+ "group" : "fan1_identify",
+ "members" : [
+ {
+ "Name" : "fan1",
+ "Action" : "Blink",
+ "DutyOn" : 50,
+ "Period" : 1000,
+ "Priority" : "Blink"
+ },
+ {
+ "Name" : "front_sys_id0",
+ "Action" : "On",
+ "DutyOn" : 50,
+ "Period" : 0,
+ "Priority" : "Blink"
+ },
+ {
+ "Name" : "rear_enc_id0",
+ "Action" : "On",
+ "DutyOn" : 50,
+ "Period" : 0,
+ "Priority" : "Blink"
+ },
+ {
+ "Name" : "virtual_enc_id",
+ "Action" : "On",
+ "DutyOn" : 50,
+ "Period" : 0,
+ "Priority" : "Blink"
+ }
+ ]
+ },
+ {
+ "group" : "fan2_fault",
+ "members" : [
+ {
+ "Name" : "fan2",
+ "Action" : "On",
+ "DutyOn" : 50,
+ "Period" : 0,
+ "Priority" : "Blink"
+ },
+ {
+ "Name" : "front_enc_fault1",
+ "Action" : "On",
+ "DutyOn" : 50,
+ "Period" : 0,
+ "Priority" : "Blink"
+ },
+ {
+ "Name" : "rear_enc_fault0",
+ "Action" : "On",
+ "DutyOn" : 50,
+ "Period" : 0,
+ "Priority" : "Blink"
+ },
+ {
+ "Name" : "virtual_enc_fault",
+ "Action" : "On",
+ "DutyOn" : 50,
+ "Period" : 0,
+ "Priority" : "Blink"
+ }
+ ]
+ },
+ {
+ "group" : "fan2_identify",
+ "members" : [
+ {
+ "Name" : "fan2",
+ "Action" : "Blink",
+ "DutyOn" : 50,
+ "Period" : 1000,
+ "Priority" : "Blink"
+ },
+ {
+ "Name" : "front_sys_id0",
+ "Action" : "On",
+ "DutyOn" : 50,
+ "Period" : 0,
+ "Priority" : "Blink"
+ },
+ {
+ "Name" : "rear_enc_id0",
+ "Action" : "On",
+ "DutyOn" : 50,
+ "Period" : 0,
+ "Priority" : "Blink"
+ },
+ {
+ "Name" : "virtual_enc_id",
+ "Action" : "On",
+ "DutyOn" : 50,
+ "Period" : 0,
+ "Priority" : "Blink"
+ }
+ ]
+ },
+ {
+ "group" : "fan3_fault",
+ "members" : [
+ {
+ "Name" : "fan3",
+ "Action" : "On",
+ "DutyOn" : 50,
+ "Period" : 0,
+ "Priority" : "Blink"
+ },
+ {
+ "Name" : "front_enc_fault1",
+ "Action" : "On",
+ "DutyOn" : 50,
+ "Period" : 0,
+ "Priority" : "Blink"
+ },
+ {
+ "Name" : "rear_enc_fault0",
+ "Action" : "On",
+ "DutyOn" : 50,
+ "Period" : 0,
+ "Priority" : "Blink"
+ },
+ {
+ "Name" : "virtual_enc_fault",
+ "Action" : "On",
+ "DutyOn" : 50,
+ "Period" : 0,
+ "Priority" : "Blink"
+ }
+ ]
+ },
+ {
+ "group" : "fan3_identify",
+ "members" : [
+ {
+ "Name" : "fan3",
+ "Action" : "Blink",
+ "DutyOn" : 50,
+ "Period" : 1000,
+ "Priority" : "Blink"
+ },
+ {
+ "Name" : "front_sys_id0",
+ "Action" : "On",
+ "DutyOn" : 50,
+ "Period" : 0,
+ "Priority" : "Blink"
+ },
+ {
+ "Name" : "rear_enc_id0",
+ "Action" : "On",
+ "DutyOn" : 50,
+ "Period" : 0,
+ "Priority" : "Blink"
+ },
+ {
+ "Name" : "virtual_enc_id",
+ "Action" : "On",
+ "DutyOn" : 50,
+ "Period" : 0,
+ "Priority" : "Blink"
+ }
+ ]
+ }
+ ]
+}