Initial commit
This commit is contained in:
+20
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"gpio_definitions": [
|
||||
{
|
||||
"name": "POWER_BUTTON",
|
||||
"pin": "M7",
|
||||
"direction": "both"
|
||||
},
|
||||
{
|
||||
"name": "DEBUG_SELECTOR_BUTTON",
|
||||
"pin": "G3",
|
||||
"direction": "both"
|
||||
},
|
||||
{
|
||||
"name": "HOST_SELECTOR",
|
||||
"group_gpio_config" : [],
|
||||
"max_position" : 6,
|
||||
"host_selector_map" : {}
|
||||
}
|
||||
]
|
||||
}
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
FILESEXTRAPATHS:append:bletchley := "${THISDIR}/${PN}:"
|
||||
|
||||
SRC_URI += "file://gpio_defs.json"
|
||||
|
||||
do_install:append:bletchley() {
|
||||
install -d ${D}${sysconfdir}/default/obmc/gpio/
|
||||
install -m 0644 ${WORKDIR}/gpio_defs.json ${D}/${sysconfdir}/default/obmc/gpio/
|
||||
}
|
||||
|
||||
FILES:${PN}-signals:append = " ${sysconfdir}/default/obmc/gpio/gpio_defs.json"
|
||||
Reference in New Issue
Block a user