diff options
Diffstat (limited to 'meta-fii/meta-kudo/recipes-phosphor/skeleton')
-rw-r--r-- | meta-fii/meta-kudo/recipes-phosphor/skeleton/obmc-libobmc-intf/gpio_defs.json | 27 | ||||
-rw-r--r-- | meta-fii/meta-kudo/recipes-phosphor/skeleton/obmc-libobmc-intf_%.bbappend | 3 |
2 files changed, 30 insertions, 0 deletions
diff --git a/meta-fii/meta-kudo/recipes-phosphor/skeleton/obmc-libobmc-intf/gpio_defs.json b/meta-fii/meta-kudo/recipes-phosphor/skeleton/obmc-libobmc-intf/gpio_defs.json new file mode 100644 index 000000000..2dccd42e8 --- /dev/null +++ b/meta-fii/meta-kudo/recipes-phosphor/skeleton/obmc-libobmc-intf/gpio_defs.json @@ -0,0 +1,27 @@ +{ + "gpio_configs": { + + "power_config": { + "power_good_in": "PGOOD", + "power_up_outs": [ + ], + "reset_outs": [ + {"name": "BMC_S0_SYSRESET_N", "polarity": false} + ] + } + }, + + "gpio_definitions": [ + { + "name": "PGOOD", + "num": 200, + "direction": "in" + }, + { + "name": "BMC_S0_SYSRESET_N", + "num": 65, + "direction": "out" + } + ] +} + diff --git a/meta-fii/meta-kudo/recipes-phosphor/skeleton/obmc-libobmc-intf_%.bbappend b/meta-fii/meta-kudo/recipes-phosphor/skeleton/obmc-libobmc-intf_%.bbappend new file mode 100644 index 000000000..533a69a91 --- /dev/null +++ b/meta-fii/meta-kudo/recipes-phosphor/skeleton/obmc-libobmc-intf_%.bbappend @@ -0,0 +1,3 @@ +FILESEXTRAPATHS_append_kudo := ":${THISDIR}/${PN}" +SRC_URI_append_kudo = " file://gpio_defs.json" + |