summaryrefslogtreecommitdiffstats
path: root/meta-ibm
diff options
context:
space:
mode:
authorMatt Spinler <spinler@us.ibm.com>2018-08-08 10:49:38 -0500
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2018-08-28 14:57:14 -0400
commit96701102aea58653ed64416cc9d44331aad59ae3 (patch)
tree20accec69bc34ae030757550af75d7a28a842bd9 /meta-ibm
parent71c1c926d7406730783ab663686efa7616e7a79e (diff)
downloadtalos-openbmc-96701102aea58653ed64416cc9d44331aad59ae3.tar.gz
talos-openbmc-96701102aea58653ed64416cc9d44331aad59ae3.zip
Add Witherspoon GPIO JSON
These GPIOs are used by the code in the skeleton repo. Resolves openbmc/openbmc#3332 (From meta-ibm rev: b11913ce2ee64a085fd69146eb76a3ebff94e7ab) Change-Id: Ic82d55bae6c7772cb8a5b836fb6138f429dd0346 Signed-off-by: Matt Spinler <spinler@us.ibm.com> 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.bbappend1
-rw-r--r--meta-ibm/meta-witherspoon/recipes-phosphor/skeleton/obmc-libobmc-intf/gpio_defs.json63
2 files changed, 64 insertions, 0 deletions
diff --git a/meta-ibm/meta-witherspoon/recipes-phosphor/skeleton/obmc-libobmc-intf.bbappend b/meta-ibm/meta-witherspoon/recipes-phosphor/skeleton/obmc-libobmc-intf.bbappend
new file mode 100644
index 000000000..72d991c7e
--- /dev/null
+++ b/meta-ibm/meta-witherspoon/recipes-phosphor/skeleton/obmc-libobmc-intf.bbappend
@@ -0,0 +1 @@
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
diff --git a/meta-ibm/meta-witherspoon/recipes-phosphor/skeleton/obmc-libobmc-intf/gpio_defs.json b/meta-ibm/meta-witherspoon/recipes-phosphor/skeleton/obmc-libobmc-intf/gpio_defs.json
new file mode 100644
index 000000000..bacde99be
--- /dev/null
+++ b/meta-ibm/meta-witherspoon/recipes-phosphor/skeleton/obmc-libobmc-intf/gpio_defs.json
@@ -0,0 +1,63 @@
+{
+ "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": "D1",
+ "direction": "out"
+ },
+ {
+ "name": "SOFTWARE_PGOOD",
+ "pin": "R1",
+ "direction": "out"
+ },
+ {
+ "name": "SYS_PWROK_BUFF",
+ "pin": "D2",
+ "direction": "in"
+ },
+ {
+ "name": "CHECKSTOP",
+ "pin": "J2",
+ "direction": "falling"
+ },
+ {
+ "name": "BMC_CP0_RESET_N",
+ "pin": "A1",
+ "direction": "out"
+ },
+ {
+ "name": "BMC_VS1_PERST_N",
+ "pin": "B7",
+ "direction": "out"
+ },
+ {
+ "name": "BMC_CP0_PERST_ENABLE_R",
+ "pin": "A3",
+ "direction": "out"
+ },
+ {
+ "name": "POWER_BUTTON",
+ "pin": "I3",
+ "direction": "both"
+ },
+ {
+ "name": "RESET_BUTTON",
+ "pin": "J1",
+ "direction": "both"
+ }
+ ]
+}
OpenPOWER on IntegriCloud