diff options
author | Jim Wright <jlwright@us.ibm.com> | 2019-09-18 00:02:18 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2019-10-02 21:16:01 +0300 |
commit | 6d345e20989fd70b7c0a0c261bbd791dda43fb5b (patch) | |
tree | 6913bc64f2bebb288c3001c2064c2014ec0469d6 /meta-ibm/meta-witherspoon/recipes-phosphor | |
parent | f832eadb0d9a22c671a68fd44c4c554ace5b5ff3 (diff) | |
download | openbmc-6d345e20989fd70b7c0a0c261bbd791dda43fb5b.tar.xz |
Add Rainier system power-on GPIO support
Add Rainer power-on configuration support and remove unused GPIOs.
(From meta-ibm rev: 114bd7308d03fe7949517cd939b6dd9f575d59cb)
Signed-off-by: Jim Wright <jlwright@us.ibm.com>
Change-Id: I29df80c5d446ebcba929cef334f06969c258f5d9
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-ibm/meta-witherspoon/recipes-phosphor')
-rw-r--r-- | meta-ibm/meta-witherspoon/recipes-phosphor/skeleton/obmc-libobmc-intf/rainier/gpio_defs.json | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/meta-ibm/meta-witherspoon/recipes-phosphor/skeleton/obmc-libobmc-intf/rainier/gpio_defs.json b/meta-ibm/meta-witherspoon/recipes-phosphor/skeleton/obmc-libobmc-intf/rainier/gpio_defs.json new file mode 100644 index 000000000..828c35b29 --- /dev/null +++ b/meta-ibm/meta-witherspoon/recipes-phosphor/skeleton/obmc-libobmc-intf/rainier/gpio_defs.json @@ -0,0 +1,38 @@ +{ + "gpio_configs": { + + "power_config": { + "power_good_in": "SYS_PWROK_BUFF", + "power_up_outs": [ + {"name": "SOFTWARE_PGOOD", "polarity": true}, + {"name": "BMC_POWER_UP", "polarity": true} + ], + "reset_outs": [ + {"name": "BMC_DCM_ALL_RESET_N", "polarity": false} + ] + } + }, + + "gpio_definitions": [ + { + "name": "BMC_POWER_UP", + "pin": "R1", + "direction": "out" + }, + { + "name": "SOFTWARE_PGOOD", + "pin": "F1", + "direction": "out" + }, + { + "name": "SYS_PWROK_BUFF", + "pin": "R2", + "direction": "in" + }, + { + "name": "BMC_DCM_ALL_RESET_N", + "pin": "Q0", + "direction": "out" + } + ] +} |