1{ 2 "gpio_definitions": [ 3 { 4 "name": "POWER_BUTTON", 5 "pin": "D0", 6 "direction": "both" 7 }, 8 { 9 "name": "RESET_BUTTON", 10 "pin": "AB0", 11 "direction": "both" 12 }, 13 { 14 "name": "DEBUG_SELECTOR_BUTTON", 15 "pin": "O3", 16 "direction": "both" 17 }, 18 { 19 "name" : "HOST_SELECTOR", 20 21 "group_gpio_config" : [ 22 { 23 "name" : "host_select_0", 24 "pin": "AA4", 25 "direction": "both", 26 "polarity" : "active_high" 27 28 }, 29 { 30 "name" : "host_select_1", 31 "pin": "AA5", 32 "direction": "both", 33 "polarity" : "active_high" 34 35 }, 36 { 37 "name" : "host_select_2", 38 "pin": "AA6", 39 "direction": "both", 40 "polarity" : "active_high" 41 42 }, 43 { 44 "name" : "host_select_3", 45 "pin": "AA7", 46 "direction": "both", 47 "polarity" : "active_high" 48 49 } 50 ], 51 "max_position" : 4, 52 "host_selector_map" : { 53 "6" : 0, 54 "7": 1, 55 "8": 2, 56 "9": 3, 57 "10": 4, 58 "11": 0, 59 "12": 1, 60 "13": 2, 61 "14" : 3, 62 "15" : 4 63 } 64 65 }, 66 { 67 "name" : "SERIAL_UART_MUX", 68 69 "group_gpio_config" : [ 70 { 71 "name" : "serial_uart_sel_0", 72 "pin": "E0", 73 "direction": "out", 74 "polarity" : "active_high" 75 }, 76 { 77 "name" : "serial_uart_sel_1", 78 "pin": "E1", 79 "direction": "out", 80 "polarity" : "active_high" 81 }, 82 { 83 "name" : "serial_uart_sel_2", 84 "pin": "E2", 85 "direction": "out", 86 "polarity" : "active_high" 87 }, 88 { 89 "name" : "serial_uart_sel_3", 90 "pin": "E3", 91 "direction": "out", 92 "polarity" : "active_high" 93 }, 94 { 95 "name" : "serial_uart_rx", 96 "pin": "E4", 97 "direction": "out", 98 "polarity" : "active_high" 99 }, 100 { 101 "name" : "debug_card_present", 102 "pin": "R3", 103 "direction": "both", 104 "polarity" : "active_high" 105 106 } 107 108 ], 109 "serial_uart_mux_map" : { 110 "0" : 4, 111 "1": 0, 112 "2": 1, 113 "3": 2, 114 "4": 3 115 } 116 117 } 118 119 ] 120} 121