summaryrefslogtreecommitdiff
path: root/meta-ampere/meta-jade/recipes-phosphor
diff options
context:
space:
mode:
authorThang Q. Nguyen <thang@os.amperecomputing.com>2022-03-11 11:56:14 +0300
committerThang Q. Nguyen <thang@os.amperecomputing.com>2022-03-12 14:43:09 +0300
commitd5caa5728f6ec57dd3d6fbc896de140ca13f154d (patch)
tree3e4790034d8a4de7d34cd1f6102b48c4770aaf23 /meta-ampere/meta-jade/recipes-phosphor
parentf6f704ca6051e869c5bed9945b39e8994879d622 (diff)
downloadopenbmc-d5caa5728f6ec57dd3d6fbc896de140ca13f154d.tar.xz
meta-ampere: mtjade: fix PCIE AER when Host shutdowns
Switch OCP power source from 3V3 to standby too early causes PCIE AER error on the OCP adapter. This commit changes to switch the OCP power source via OCP_MAIN_PWREN in power control application to avoid the issue. Tested: 1. Run IPMI chassis power soft command and check if no PCIE AER error generated. Signed-off-by: Thang Q. Nguyen <thang@os.amperecomputing.com> Change-Id: I9dbc621390fb04fa818a04aeaac53b6b729e9e75
Diffstat (limited to 'meta-ampere/meta-jade/recipes-phosphor')
-rw-r--r--meta-ampere/meta-jade/recipes-phosphor/skeleton/obmc-libobmc-intf/gpio_defs.json6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta-ampere/meta-jade/recipes-phosphor/skeleton/obmc-libobmc-intf/gpio_defs.json b/meta-ampere/meta-jade/recipes-phosphor/skeleton/obmc-libobmc-intf/gpio_defs.json
index f2722c881f..0b6ad45afc 100644
--- a/meta-ampere/meta-jade/recipes-phosphor/skeleton/obmc-libobmc-intf/gpio_defs.json
+++ b/meta-ampere/meta-jade/recipes-phosphor/skeleton/obmc-libobmc-intf/gpio_defs.json
@@ -4,6 +4,7 @@
"power_config": {
"power_good_in": "PGOOD",
"power_up_outs": [
+ {"name": "OCP_MAIN_PWREN", "polarity": true},
{"name": "BMC_SYS_PSON_L", "polarity": false}
],
"reset_outs": [
@@ -25,6 +26,11 @@
"direction": "out"
},
{
+ "name": "OCP_MAIN_PWREN",
+ "pin": "R4",
+ "direction": "out"
+ },
+ {
"name": "BMC_S0_SYSRESET_L",
"pin": "L3",
"direction": "out"