summaryrefslogtreecommitdiff
path: root/meta-ibm
diff options
context:
space:
mode:
authorMatt Spinler <spinler@us.ibm.com>2019-09-19 22:03:29 +0300
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2019-10-01 01:55:58 +0300
commit5e0b1385e81c7a6305105934b6431c6190ca394c (patch)
tree6c5f5d1f897699e9fabe51db077273aa7d2e58f5 /meta-ibm
parent5f50f0eabed1016d0cc78d63807deddc3c493e71 (diff)
downloadopenbmc-5e0b1385e81c7a6305105934b6431c6190ca394c.tar.xz
meta-ibm: wspoon-tacoma: Add gpio_defs.json
This system's GPIO layout is different than witherspoon's. (From meta-ibm rev: e401c9560f4f7d85952d1630095df9ad784de0b2) Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I4ed9f1de4b25258e791a514643863494a99fde3d Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-ibm')
-rw-r--r--meta-ibm/meta-witherspoon/recipes-phosphor/skeleton/obmc-libobmc-intf/witherspoon-tacoma/gpio_defs.json58
1 files changed, 58 insertions, 0 deletions
diff --git a/meta-ibm/meta-witherspoon/recipes-phosphor/skeleton/obmc-libobmc-intf/witherspoon-tacoma/gpio_defs.json b/meta-ibm/meta-witherspoon/recipes-phosphor/skeleton/obmc-libobmc-intf/witherspoon-tacoma/gpio_defs.json
new file mode 100644
index 000000000..4ea152249
--- /dev/null
+++ b/meta-ibm/meta-witherspoon/recipes-phosphor/skeleton/obmc-libobmc-intf/witherspoon-tacoma/gpio_defs.json
@@ -0,0 +1,58 @@
+{
+ "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_CP0_RESET_N", "polarity": false}
+ ]
+ }
+ },
+
+ "gpio_definitions": [
+ {
+ "name": "BMC_POWER_UP",
+ "pin": "R1",
+ "direction": "out"
+ },
+ {
+ "name": "SOFTWARE_PGOOD",
+ "pin": "H5",
+ "direction": "out"
+ },
+ {
+ "name": "SYS_PWROK_BUFF",
+ "pin": "R2",
+ "direction": "in"
+ },
+ {
+ "name": "CHECKSTOP",
+ "pin": "E3",
+ "direction": "falling"
+ },
+ {
+ "name": "BMC_CP0_RESET_N",
+ "pin": "Q0",
+ "direction": "out"
+ },
+ {
+ "name": "BMC_VS1_PERST_N",
+ "pin": "R0",
+ "direction": "out"
+ },
+ {
+ "name": "BMC_CP0_PERST_ENABLE_R",
+ "pin": "Q1",
+ "direction": "out"
+ },
+ {
+ "name": "POWER_BUTTON",
+ "pin": "E0",
+ "direction": "both"
+ }
+ ]
+}