diff options
author | Lotus Xu <xuxiaohan@bytedance.com> | 2021-12-08 09:21:07 +0300 |
---|---|---|
committer | Lotus Xu <xuxiaohan@bytedance.com> | 2021-12-08 09:49:44 +0300 |
commit | 7bfedcf46b05c55266fb7bdd253ce81975dfa9d9 (patch) | |
tree | 76baa61f002c3100b0fccb206a07019aac75f569 | |
parent | a160326fec4a4b299fb5fc395d312e6c70828ce9 (diff) | |
download | openbmc-7bfedcf46b05c55266fb7bdd253ce81975dfa9d9.tar.xz |
bytedance: g220a: Modify power-control config
Tested: Test on qemu ipmi chassis status cmd work correct
Signed-off-by: Lotus Xu <xuxiaohan@bytedance.com>
Change-Id: I60d20bf58c21b5c81d5fbad7649c1e2b43351392
-rw-r--r-- | meta-bytedance/meta-g220a/recipes-phosphor/chassis/x86-power-control/power-config-host0.json | 53 |
1 files changed, 44 insertions, 9 deletions
diff --git a/meta-bytedance/meta-g220a/recipes-phosphor/chassis/x86-power-control/power-config-host0.json b/meta-bytedance/meta-g220a/recipes-phosphor/chassis/x86-power-control/power-config-host0.json index c165644405..1ca0e613d5 100644 --- a/meta-bytedance/meta-g220a/recipes-phosphor/chassis/x86-power-control/power-config-host0.json +++ b/meta-bytedance/meta-g220a/recipes-phosphor/chassis/x86-power-control/power-config-host0.json @@ -1,11 +1,46 @@ { - "gpio_configs": { - "NMIButton": "NMI_BUTTON", - "NMIOut": "NMI_OUT", - "PostComplete": "POST_COMPLETE", - "PwrButton": "POWER_BUTTON", - "PwrOK": "PS_PWROK", - "PwrOut": "POWER_OUT", - "RstOut": "RESET_OUT" - } + "gpio_configs": [ + { + "Name" : "NMIButton", + "LineName" : "NMI_BUTTON", + "Type" : "GPIO", + "Polarity" : "ActiveLow" + }, + { + "Name" : "NMIOut", + "LineName" : "NMI_OUT", + "Type" : "GPIO", + "Polarity" : "ActiveHigh" + }, + { + "Name" : "PostComplete", + "LineName" : "POST_COMPLETE", + "Type" : "GPIO", + "Polarity" : "ActiveLow" + }, + { + "Name" : "PowerButton", + "LineName" : "POWER_BUTTON", + "Type" : "GPIO", + "Polarity" : "ActiveLow" + }, + { + "Name" : "PowerOk", + "LineName" : "PS_PWROK", + "Type" : "GPIO", + "Polarity" : "ActiveHigh" + }, + { + "Name" : "PowerOut", + "LineName" : "POWER_OUT", + "Type" : "GPIO", + "Polarity" : "ActiveLow" + }, + { + "Name" : "ResetOut", + "LineName" : "RESET_OUT", + "Type" : "GPIO", + "Polarity" : "ActiveLow" + } + ] } |