Initial commit

This commit is contained in:
Your Name
2026-04-23 17:07:55 +08:00
commit b7e39e063b
16725 changed files with 1625565 additions and 0 deletions
@@ -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" : {}
}
]
}
@@ -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"