Initial commit
This commit is contained in:
+120
@@ -0,0 +1,120 @@
|
||||
{
|
||||
"gpio_definitions": [
|
||||
{
|
||||
"name": "POWER_BUTTON",
|
||||
"pin": "D0",
|
||||
"direction": "both"
|
||||
},
|
||||
{
|
||||
"name": "RESET_BUTTON",
|
||||
"pin": "AB0",
|
||||
"direction": "both"
|
||||
},
|
||||
{
|
||||
"name": "DEBUG_SELECTOR_BUTTON",
|
||||
"pin": "O3",
|
||||
"direction": "both"
|
||||
},
|
||||
{
|
||||
"name" : "HOST_SELECTOR",
|
||||
|
||||
"group_gpio_config" : [
|
||||
{
|
||||
"name" : "host_select_0",
|
||||
"pin": "AA4",
|
||||
"direction": "both",
|
||||
"polarity" : "active_high"
|
||||
|
||||
},
|
||||
{
|
||||
"name" : "host_select_1",
|
||||
"pin": "AA5",
|
||||
"direction": "both",
|
||||
"polarity" : "active_high"
|
||||
|
||||
},
|
||||
{
|
||||
"name" : "host_select_2",
|
||||
"pin": "AA6",
|
||||
"direction": "both",
|
||||
"polarity" : "active_high"
|
||||
|
||||
},
|
||||
{
|
||||
"name" : "host_select_3",
|
||||
"pin": "AA7",
|
||||
"direction": "both",
|
||||
"polarity" : "active_high"
|
||||
|
||||
}
|
||||
],
|
||||
"max_position" : 4,
|
||||
"host_selector_map" : {
|
||||
"6" : 0,
|
||||
"7": 1,
|
||||
"8": 2,
|
||||
"9": 3,
|
||||
"10": 4,
|
||||
"11": 0,
|
||||
"12": 1,
|
||||
"13": 2,
|
||||
"14" : 3,
|
||||
"15" : 4
|
||||
}
|
||||
|
||||
},
|
||||
{
|
||||
"name" : "SERIAL_UART_MUX",
|
||||
|
||||
"group_gpio_config" : [
|
||||
{
|
||||
"name" : "serial_uart_sel_0",
|
||||
"pin": "E0",
|
||||
"direction": "out",
|
||||
"polarity" : "active_high"
|
||||
},
|
||||
{
|
||||
"name" : "serial_uart_sel_1",
|
||||
"pin": "E1",
|
||||
"direction": "out",
|
||||
"polarity" : "active_high"
|
||||
},
|
||||
{
|
||||
"name" : "serial_uart_sel_2",
|
||||
"pin": "E2",
|
||||
"direction": "out",
|
||||
"polarity" : "active_high"
|
||||
},
|
||||
{
|
||||
"name" : "serial_uart_sel_3",
|
||||
"pin": "E3",
|
||||
"direction": "out",
|
||||
"polarity" : "active_high"
|
||||
},
|
||||
{
|
||||
"name" : "serial_uart_rx",
|
||||
"pin": "E4",
|
||||
"direction": "out",
|
||||
"polarity" : "active_high"
|
||||
},
|
||||
{
|
||||
"name" : "debug_card_present",
|
||||
"pin": "R3",
|
||||
"direction": "both",
|
||||
"polarity" : "active_high"
|
||||
|
||||
}
|
||||
|
||||
],
|
||||
"serial_uart_mux_map" : {
|
||||
"0" : 4,
|
||||
"1": 0,
|
||||
"2": 1,
|
||||
"3": 2,
|
||||
"4": 3
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
|
||||
|
||||
SRC_URI:append:yosemitev2 = " file://gpio_defs.json"
|
||||
Reference in New Issue
Block a user