summaryrefslogtreecommitdiff
path: root/meta-ampere/meta-mitchell/recipes-phosphor
diff options
context:
space:
mode:
authorThang Tran <thuutran@amperecomputing.com>2023-12-06 10:22:16 +0300
committerThang Q. Nguyen <thang@os.amperecomputing.com>2024-01-26 09:08:38 +0300
commita9bce679d4548c685225aabe65e2082c86cde671 (patch)
tree4d6a05a11ed7226faccf5d358261b95006a999ca /meta-ampere/meta-mitchell/recipes-phosphor
parent74a86a03c874172ca1cff86032a94cbde4f3b7e9 (diff)
downloadopenbmc-a9bce679d4548c685225aabe65e2082c86cde671.tar.xz
meta-ampere: mtmitchell: led: support bmc_booted leds
This commit adds bmc_ready and sw_heartbeat leds to bmc_booted group. When BMC's status is Ready, phosphor-led-manager shall assert bmc_ready GPIO and create bmc/sw heart-beat signals to CPLD/HOST. By the heartbeat signals are create by leds, the service to create heartbeat signals is redundant, therefore ampere-bmc-heartbeat.service shall be removed. Tested: 1. Turn on/off, power cycle, reboot host features work correctly. Signed-off-by: Thang Tran <thuutran@amperecomputing.com> Change-Id: If21649c1a70a6b43acf8130561181e534f762b61
Diffstat (limited to 'meta-ampere/meta-mitchell/recipes-phosphor')
-rw-r--r--meta-ampere/meta-mitchell/recipes-phosphor/leds/phosphor-led-manager/led-group-config.json14
1 files changed, 14 insertions, 0 deletions
diff --git a/meta-ampere/meta-mitchell/recipes-phosphor/leds/phosphor-led-manager/led-group-config.json b/meta-ampere/meta-mitchell/recipes-phosphor/leds/phosphor-led-manager/led-group-config.json
index 107b70c2c1..098c3fdb65 100644
--- a/meta-ampere/meta-mitchell/recipes-phosphor/leds/phosphor-led-manager/led-group-config.json
+++ b/meta-ampere/meta-mitchell/recipes-phosphor/leds/phosphor-led-manager/led-group-config.json
@@ -3,6 +3,20 @@
{
"group": "bmc_booted",
"members": [
+ {
+ "Name": "bmc_ready",
+ "Action": "On",
+ "DutyOn": 50,
+ "Period": 0,
+ "Priority": "On"
+ },
+ {
+ "Name": "sw_heartbeat",
+ "Action": "Blink",
+ "DutyOn": 50,
+ "Period": 2000,
+ "Priority": "On"
+ }
]
},
{