diff options
2 files changed, 48 insertions, 0 deletions
diff --git a/meta-intel/meta-intel/meta-s2600wf/recipes-phosphor/skeleton/obmc-libobmc-intf.bbappend b/meta-intel/meta-intel/meta-s2600wf/recipes-phosphor/skeleton/obmc-libobmc-intf.bbappend new file mode 100644 index 000000000..72d991c7e --- /dev/null +++ b/meta-intel/meta-intel/meta-s2600wf/recipes-phosphor/skeleton/obmc-libobmc-intf.bbappend @@ -0,0 +1 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" diff --git a/meta-intel/meta-intel/meta-s2600wf/recipes-phosphor/skeleton/obmc-libobmc-intf/gpio_defs.json b/meta-intel/meta-intel/meta-s2600wf/recipes-phosphor/skeleton/obmc-libobmc-intf/gpio_defs.json new file mode 100644 index 000000000..b02709ec2 --- /dev/null +++ b/meta-intel/meta-intel/meta-s2600wf/recipes-phosphor/skeleton/obmc-libobmc-intf/gpio_defs.json @@ -0,0 +1,47 @@ +{ + "gpio_configs": { + + "power_config": { + "power_good_in": "PGOOD", + "power_up_outs": [ + {"name": "POWER_UP_PIN", "polarity": true} + ], + "reset_outs": [ + {"name": "RESET_OUT", "polarity": false} + ] + } + }, + + "gpio_definitions": [ + { + "name": "PGOOD", + "pin": "AB3", + "direction": "in" + }, + { + "name": "POWER_BUTTON", + "pin": "E2", + "direction": "both" + }, + { + "name": "POWER_UP_PIN", + "pin": "E3", + "direction": "out" + }, + { + "name": "RESET_BUTTON", + "pin": "E0", + "direction": "both" + }, + { + "name": "RESET_OUT", + "pin": "E1", + "direction": "out" + }, + { + "name": "ID_BUTTON", + "pin": "S6", + "direction": "both" + } + ] +} |