From 5e0b1385e81c7a6305105934b6431c6190ca394c Mon Sep 17 00:00:00 2001 From: Matt Spinler Date: Thu, 19 Sep 2019 14:03:29 -0500 Subject: 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 Change-Id: I4ed9f1de4b25258e791a514643863494a99fde3d Signed-off-by: Brad Bishop --- .../witherspoon-tacoma/gpio_defs.json | 58 ++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 meta-ibm/meta-witherspoon/recipes-phosphor/skeleton/obmc-libobmc-intf/witherspoon-tacoma/gpio_defs.json (limited to 'meta-ibm') 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" + } + ] +} -- cgit v1.2.3