1 /* SPDX-License-Identifier: (GPL-2.0-only OR MIT) */ 2 /* 3 * Copyright (c) 2023 Amlogic, Inc. All rights reserved. 4 * Author: Huqiang Qin <huqiang.qin@amlogic.com> 5 */ 6 7 #ifndef _DT_BINDINGS_AMLOGIC_T7_GPIO_H 8 #define _DT_BINDINGS_AMLOGIC_T7_GPIO_H 9 10 #define GPIOB_0 0 11 #define GPIOB_1 1 12 #define GPIOB_2 2 13 #define GPIOB_3 3 14 #define GPIOB_4 4 15 #define GPIOB_5 5 16 #define GPIOB_6 6 17 #define GPIOB_7 7 18 #define GPIOB_8 8 19 #define GPIOB_9 9 20 #define GPIOB_10 10 21 #define GPIOB_11 11 22 #define GPIOB_12 12 23 24 #define GPIOC_0 13 25 #define GPIOC_1 14 26 #define GPIOC_2 15 27 #define GPIOC_3 16 28 #define GPIOC_4 17 29 #define GPIOC_5 18 30 #define GPIOC_6 19 31 32 #define GPIOX_0 20 33 #define GPIOX_1 21 34 #define GPIOX_2 22 35 #define GPIOX_3 23 36 #define GPIOX_4 24 37 #define GPIOX_5 25 38 #define GPIOX_6 26 39 #define GPIOX_7 27 40 #define GPIOX_8 28 41 #define GPIOX_9 29 42 #define GPIOX_10 30 43 #define GPIOX_11 31 44 #define GPIOX_12 32 45 #define GPIOX_13 33 46 #define GPIOX_14 34 47 #define GPIOX_15 35 48 #define GPIOX_16 36 49 #define GPIOX_17 37 50 #define GPIOX_18 38 51 #define GPIOX_19 39 52 53 #define GPIOW_0 40 54 #define GPIOW_1 41 55 #define GPIOW_2 42 56 #define GPIOW_3 43 57 #define GPIOW_4 44 58 #define GPIOW_5 45 59 #define GPIOW_6 46 60 #define GPIOW_7 47 61 #define GPIOW_8 48 62 #define GPIOW_9 49 63 #define GPIOW_10 50 64 #define GPIOW_11 51 65 #define GPIOW_12 52 66 #define GPIOW_13 53 67 #define GPIOW_14 54 68 #define GPIOW_15 55 69 #define GPIOW_16 56 70 71 #define GPIOD_0 57 72 #define GPIOD_1 58 73 #define GPIOD_2 59 74 #define GPIOD_3 60 75 #define GPIOD_4 61 76 #define GPIOD_5 62 77 #define GPIOD_6 63 78 #define GPIOD_7 64 79 #define GPIOD_8 65 80 #define GPIOD_9 66 81 #define GPIOD_10 67 82 #define GPIOD_11 68 83 #define GPIOD_12 69 84 85 #define GPIOE_0 70 86 #define GPIOE_1 71 87 #define GPIOE_2 72 88 #define GPIOE_3 73 89 #define GPIOE_4 74 90 #define GPIOE_5 75 91 #define GPIOE_6 76 92 93 #define GPIOZ_0 77 94 #define GPIOZ_1 78 95 #define GPIOZ_2 79 96 #define GPIOZ_3 80 97 #define GPIOZ_4 81 98 #define GPIOZ_5 82 99 #define GPIOZ_6 83 100 #define GPIOZ_7 84 101 #define GPIOZ_8 85 102 #define GPIOZ_9 86 103 #define GPIOZ_10 87 104 #define GPIOZ_11 88 105 #define GPIOZ_12 89 106 #define GPIOZ_13 90 107 108 #define GPIOT_0 91 109 #define GPIOT_1 92 110 #define GPIOT_2 93 111 #define GPIOT_3 94 112 #define GPIOT_4 95 113 #define GPIOT_5 96 114 #define GPIOT_6 97 115 #define GPIOT_7 98 116 #define GPIOT_8 99 117 #define GPIOT_9 100 118 #define GPIOT_10 101 119 #define GPIOT_11 102 120 #define GPIOT_12 103 121 #define GPIOT_13 104 122 #define GPIOT_14 105 123 #define GPIOT_15 106 124 #define GPIOT_16 107 125 #define GPIOT_17 108 126 #define GPIOT_18 109 127 #define GPIOT_19 110 128 #define GPIOT_20 111 129 #define GPIOT_21 112 130 #define GPIOT_22 113 131 #define GPIOT_23 114 132 133 #define GPIOM_0 115 134 #define GPIOM_1 116 135 #define GPIOM_2 117 136 #define GPIOM_3 118 137 #define GPIOM_4 119 138 #define GPIOM_5 120 139 #define GPIOM_6 121 140 #define GPIOM_7 122 141 #define GPIOM_8 123 142 #define GPIOM_9 124 143 #define GPIOM_10 125 144 #define GPIOM_11 126 145 #define GPIOM_12 127 146 #define GPIOM_13 128 147 148 #define GPIOY_0 129 149 #define GPIOY_1 130 150 #define GPIOY_2 131 151 #define GPIOY_3 132 152 #define GPIOY_4 133 153 #define GPIOY_5 134 154 #define GPIOY_6 135 155 #define GPIOY_7 136 156 #define GPIOY_8 137 157 #define GPIOY_9 138 158 #define GPIOY_10 139 159 #define GPIOY_11 140 160 #define GPIOY_12 141 161 #define GPIOY_13 142 162 #define GPIOY_14 143 163 #define GPIOY_15 144 164 #define GPIOY_16 145 165 #define GPIOY_17 146 166 #define GPIOY_18 147 167 168 #define GPIOH_0 148 169 #define GPIOH_1 149 170 #define GPIOH_2 150 171 #define GPIOH_3 151 172 #define GPIOH_4 152 173 #define GPIOH_5 153 174 #define GPIOH_6 154 175 #define GPIOH_7 155 176 177 #define GPIO_TEST_N 156 178 179 #endif /* _DT_BINDINGS_AMLOGIC_T7_GPIO_H */ 180