rjw | 1f88458 | 2022-01-06 17:20:42 +0800 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
| 2 | /* |
| 3 | * Copyright (C) 2019 MediaTek Inc. |
| 4 | * Author: Andy Teng <andy.teng@mediatek.com> |
| 5 | * |
| 6 | */ |
| 7 | |
| 8 | #ifndef __PINCTRL_MTK_MT2731_H |
| 9 | #define __PINCTRL_MTK_MT2731_H |
| 10 | |
| 11 | #include "pinctrl-paris.h" |
| 12 | |
| 13 | static const struct mtk_pin_desc mtk_pins_mt2731[] = { |
| 14 | MTK_PIN( |
| 15 | 0, "GPIO0", |
| 16 | MTK_EINT_FUNCTION(0, 0), |
| 17 | DRV_GRP4, |
| 18 | MTK_FUNCTION(0, "GPIO0"), |
| 19 | MTK_FUNCTION(1, "I0:MD_INT0"), |
| 20 | MTK_FUNCTION(2, "I1:UCTS5"), |
| 21 | MTK_FUNCTION(3, "O:I2S4_MCK"), |
| 22 | MTK_FUNCTION(4, "O:I2S5_MCK"), |
| 23 | MTK_FUNCTION(6, "O:AUXIF_CLK"), |
| 24 | MTK_FUNCTION(7, "B0:DBG_MON_B8") |
| 25 | ), |
| 26 | MTK_PIN( |
| 27 | 1, "GPIO1", |
| 28 | MTK_EINT_FUNCTION(0, 1), |
| 29 | DRV_GRP4, |
| 30 | MTK_FUNCTION(0, "GPIO1"), |
| 31 | MTK_FUNCTION(1, "I0:MD_INT1_C2K_UIM0_HOT_PLUG"), |
| 32 | MTK_FUNCTION(2, "O:URTS5"), |
| 33 | MTK_FUNCTION(3, "B1:SDA_6306"), |
| 34 | MTK_FUNCTION(4, "I0:EXT_FRAME_SYNC"), |
| 35 | MTK_FUNCTION(6, "O:AUXIF_ST"), |
| 36 | MTK_FUNCTION(7, "B0:DBG_MON_B9") |
| 37 | ), |
| 38 | MTK_PIN( |
| 39 | 2, "GPIO2", |
| 40 | MTK_EINT_FUNCTION(0, 2), |
| 41 | DRV_GRP4, |
| 42 | MTK_FUNCTION(0, "GPIO2"), |
| 43 | MTK_FUNCTION(1, "O:CLKM0"), |
| 44 | MTK_FUNCTION(2, "I0:NOR_BYPASS_ROOM_BOOT"), |
| 45 | MTK_FUNCTION(7, "B0:DBG_MON_B17") |
| 46 | ), |
| 47 | MTK_PIN( |
| 48 | 3, "GPIO3", |
| 49 | MTK_EINT_FUNCTION(0, 3), |
| 50 | DRV_GRP4, |
| 51 | MTK_FUNCTION(0, "GPIO3"), |
| 52 | MTK_FUNCTION(2, "O:SPI0_B_CS0C"), |
| 53 | MTK_FUNCTION(3, "B1:SDA0"), |
| 54 | MTK_FUNCTION(4, "O:UTXD3"), |
| 55 | MTK_FUNCTION(5, "O:PWM2"), |
| 56 | MTK_FUNCTION(6, "B1:SDA4") |
| 57 | ), |
| 58 | MTK_PIN( |
| 59 | 4, "GPIO4", |
| 60 | MTK_EINT_FUNCTION(0, 4), |
| 61 | DRV_GRP0, |
| 62 | MTK_FUNCTION(0, "GPIO4"), |
| 63 | MTK_FUNCTION(1, "I0:SPI1_A_MI"), |
| 64 | MTK_FUNCTION(2, "O:CLKM1"), |
| 65 | MTK_FUNCTION(3, "B1:SDA3"), |
| 66 | MTK_FUNCTION(4, "I0:SPIS_MOSI"), |
| 67 | MTK_FUNCTION(5, "O:I2S4_BCK") |
| 68 | ), |
| 69 | MTK_PIN( |
| 70 | 5, "GPIO5", |
| 71 | MTK_EINT_FUNCTION(0, 5), |
| 72 | DRV_GRP0, |
| 73 | MTK_FUNCTION(0, "GPIO5"), |
| 74 | MTK_FUNCTION(1, "O:SPI1_A_MO"), |
| 75 | MTK_FUNCTION(2, "O:CLKM2"), |
| 76 | MTK_FUNCTION(3, "B1:SCL3"), |
| 77 | MTK_FUNCTION(4, "O:SPIS_MISO"), |
| 78 | MTK_FUNCTION(5, "O:I2S4_LRCK") |
| 79 | ), |
| 80 | MTK_PIN( |
| 81 | 6, "GPIO6", |
| 82 | MTK_EINT_FUNCTION(0, 6), |
| 83 | DRV_GRP0, |
| 84 | MTK_FUNCTION(0, "GPIO6"), |
| 85 | MTK_FUNCTION(1, "O:SPI1_A_CS1A"), |
| 86 | MTK_FUNCTION(2, "B1:SDA4"), |
| 87 | MTK_FUNCTION(3, "B1:SDA_6306"), |
| 88 | MTK_FUNCTION(4, "I1:SPIS_CSB"), |
| 89 | MTK_FUNCTION(5, "O:I2S4_MCK") |
| 90 | ), |
| 91 | MTK_PIN( |
| 92 | 7, "GPIO7", |
| 93 | MTK_EINT_FUNCTION(0, 7), |
| 94 | DRV_GRP0, |
| 95 | MTK_FUNCTION(0, "GPIO7"), |
| 96 | MTK_FUNCTION(1, "O:SPI1_A_CLK"), |
| 97 | MTK_FUNCTION(2, "B1:SCL4"), |
| 98 | MTK_FUNCTION(3, "O:SCL_6306"), |
| 99 | MTK_FUNCTION(4, "I0:SPIS_CLK"), |
| 100 | MTK_FUNCTION(5, "I0:I2S4_DI") |
| 101 | ), |
| 102 | MTK_PIN( |
| 103 | 8, "GPIO8", |
| 104 | MTK_EINT_FUNCTION(0, 8), |
| 105 | DRV_GRP4, |
| 106 | MTK_FUNCTION(0, "GPIO8"), |
| 107 | MTK_FUNCTION(2, "I0:MD_INT0"), |
| 108 | MTK_FUNCTION(3, "B1:SCL0"), |
| 109 | MTK_FUNCTION(4, "I1:URXD3"), |
| 110 | MTK_FUNCTION(5, "O:PWM1"), |
| 111 | MTK_FUNCTION(6, "B1:SCL4") |
| 112 | ), |
| 113 | MTK_PIN( |
| 114 | 9, "GPIO9", |
| 115 | MTK_EINT_FUNCTION(0, 9), |
| 116 | DRV_GRP4, |
| 117 | MTK_FUNCTION(0, "GPIO9"), |
| 118 | MTK_FUNCTION(2, "B0:MIPI3_SDATA") |
| 119 | ), |
| 120 | MTK_PIN( |
| 121 | 10, "GPIO10", |
| 122 | MTK_EINT_FUNCTION(0, 10), |
| 123 | DRV_GRP4, |
| 124 | MTK_FUNCTION(0, "GPIO10"), |
| 125 | MTK_FUNCTION(1, "I0:EXT_FRAME_SYNC"), |
| 126 | MTK_FUNCTION(3, "O:I2S6_BCK"), |
| 127 | MTK_FUNCTION(4, "O:TDMO_BCK_OUT"), |
| 128 | MTK_FUNCTION(5, "I0:IO_JTAG_TCK"), |
| 129 | MTK_FUNCTION(6, "I1:SPM_JTAG_TCK") |
| 130 | ), |
| 131 | MTK_PIN( |
| 132 | 11, "GPIO11", |
| 133 | MTK_EINT_FUNCTION(0, 11), |
| 134 | DRV_GRP4, |
| 135 | MTK_FUNCTION(0, "GPIO11"), |
| 136 | MTK_FUNCTION(1, "I0:SRCLKENAI1"), |
| 137 | MTK_FUNCTION(2, "I0:EXT_FRAME_SYNC"), |
| 138 | MTK_FUNCTION(7, "B0:DBG_MON_A7") |
| 139 | ), |
| 140 | MTK_PIN( |
| 141 | 12, "GPIO12", |
| 142 | MTK_EINT_FUNCTION(0, 12), |
| 143 | DRV_GRP4, |
| 144 | MTK_FUNCTION(0, "GPIO12"), |
| 145 | MTK_FUNCTION(1, "I0:SRCLKENAI0"), |
| 146 | MTK_FUNCTION(2, "O:I2S6_MCK"), |
| 147 | MTK_FUNCTION(3, "I0:MD_INT2_C2K_UIM1_HOT_PLUG"), |
| 148 | MTK_FUNCTION(7, "B0:DBG_MON_A8") |
| 149 | ), |
| 150 | MTK_PIN( |
| 151 | 13, "GPIO13", |
| 152 | MTK_EINT_FUNCTION(0, 13), |
| 153 | DRV_GRP0, |
| 154 | MTK_FUNCTION(0, "GPIO13"), |
| 155 | MTK_FUNCTION(1, "O:I2S4_LRCK"), |
| 156 | MTK_FUNCTION(2, "I0:SPI2_A_MI"), |
| 157 | MTK_FUNCTION(3, "O:PCM1_DO2"), |
| 158 | MTK_FUNCTION(5, "O:I2S5_LRCK"), |
| 159 | MTK_FUNCTION(7, "B0:DBG_MON_B25") |
| 160 | ), |
| 161 | MTK_PIN( |
| 162 | 14, "GPIO14", |
| 163 | MTK_EINT_FUNCTION(0, 14), |
| 164 | DRV_GRP0, |
| 165 | MTK_FUNCTION(0, "GPIO14"), |
| 166 | MTK_FUNCTION(1, "I0:I2S4_DI"), |
| 167 | MTK_FUNCTION(2, "O:SPI2_A_CLK"), |
| 168 | MTK_FUNCTION(3, "O:UTXD5"), |
| 169 | MTK_FUNCTION(5, "O:I2S5_DO"), |
| 170 | MTK_FUNCTION(7, "B0:DBG_MON_B26") |
| 171 | ), |
| 172 | MTK_PIN( |
| 173 | 15, "GPIO15", |
| 174 | MTK_EINT_FUNCTION(0, 15), |
| 175 | DRV_GRP0, |
| 176 | MTK_FUNCTION(0, "GPIO15"), |
| 177 | MTK_FUNCTION(1, "O:I2S4_BCK"), |
| 178 | MTK_FUNCTION(2, "O:SPI2_A_MO"), |
| 179 | MTK_FUNCTION(3, "I1:URXD5"), |
| 180 | MTK_FUNCTION(5, "O:I2S5_BCK"), |
| 181 | MTK_FUNCTION(7, "B0:DBG_MON_B27") |
| 182 | ), |
| 183 | MTK_PIN( |
| 184 | 16, "GPIO16", |
| 185 | MTK_EINT_FUNCTION(0, 16), |
| 186 | DRV_GRP4, |
| 187 | MTK_FUNCTION(0, "GPIO16"), |
| 188 | MTK_FUNCTION(1, "I1:URXD0"), |
| 189 | MTK_FUNCTION(2, "I1:MD_URXD0"), |
| 190 | MTK_FUNCTION(3, "O:UTXD0"), |
| 191 | MTK_FUNCTION(7, "B0:DBG_MON_B0") |
| 192 | ), |
| 193 | MTK_PIN( |
| 194 | 17, "GPIO17", |
| 195 | MTK_EINT_FUNCTION(0, 17), |
| 196 | DRV_GRP4, |
| 197 | MTK_FUNCTION(0, "GPIO17"), |
| 198 | MTK_FUNCTION(1, "O:UTXD0"), |
| 199 | MTK_FUNCTION(2, "O:MD_UTXD0"), |
| 200 | MTK_FUNCTION(3, "I1:URXD0"), |
| 201 | MTK_FUNCTION(7, "B0:DBG_MON_B1") |
| 202 | ), |
| 203 | MTK_PIN( |
| 204 | 18, "GPIO18", |
| 205 | MTK_EINT_FUNCTION(0, 18), |
| 206 | DRV_GRP4, |
| 207 | MTK_FUNCTION(0, "GPIO18"), |
| 208 | MTK_FUNCTION(1, "I1:URXD1"), |
| 209 | MTK_FUNCTION(2, "I1:MD_URXD1"), |
| 210 | MTK_FUNCTION(3, "O:UTXD1"), |
| 211 | MTK_FUNCTION(5, "O:UTXD3"), |
| 212 | MTK_FUNCTION(7, "B0:DBG_MON_B2") |
| 213 | ), |
| 214 | MTK_PIN( |
| 215 | 19, "GPIO19", |
| 216 | MTK_EINT_FUNCTION(0, 19), |
| 217 | DRV_GRP4, |
| 218 | MTK_FUNCTION(0, "GPIO19"), |
| 219 | MTK_FUNCTION(1, "O:UTXD1"), |
| 220 | MTK_FUNCTION(2, "O:MD_UTXD1"), |
| 221 | MTK_FUNCTION(3, "I1:URXD1"), |
| 222 | MTK_FUNCTION(5, "I1:URXD3"), |
| 223 | MTK_FUNCTION(7, "B0:DBG_MON_B3") |
| 224 | ), |
| 225 | MTK_PIN( |
| 226 | 20, "GPIO20", |
| 227 | MTK_EINT_FUNCTION(0, 20), |
| 228 | DRV_GRP4, |
| 229 | MTK_FUNCTION(0, "GPIO20"), |
| 230 | MTK_FUNCTION(1, "B0:PCM1_SYNC"), |
| 231 | MTK_FUNCTION(2, "O:MRG_SYNC"), |
| 232 | MTK_FUNCTION(3, "O:I2S4_BCK"), |
| 233 | MTK_FUNCTION(4, "O:I2S5_BCK"), |
| 234 | MTK_FUNCTION(5, "B0:I2S0_BCK"), |
| 235 | MTK_FUNCTION(7, "B0:DBG_MON_B4") |
| 236 | ), |
| 237 | MTK_PIN( |
| 238 | 21, "GPIO21", |
| 239 | MTK_EINT_FUNCTION(0, 21), |
| 240 | DRV_GRP4, |
| 241 | MTK_FUNCTION(0, "GPIO21"), |
| 242 | MTK_FUNCTION(1, "B0:PCM1_CLK"), |
| 243 | MTK_FUNCTION(2, "O:MRG_CLK"), |
| 244 | MTK_FUNCTION(3, "O:I2S4_LRCK"), |
| 245 | MTK_FUNCTION(4, "O:I2S5_LRCK"), |
| 246 | MTK_FUNCTION(5, "B0:I2S0_LRCK"), |
| 247 | MTK_FUNCTION(7, "B0:DBG_MON_B5") |
| 248 | ), |
| 249 | MTK_PIN( |
| 250 | 22, "GPIO22", |
| 251 | MTK_EINT_FUNCTION(0, 22), |
| 252 | DRV_GRP4, |
| 253 | MTK_FUNCTION(0, "GPIO22"), |
| 254 | MTK_FUNCTION(1, "I0:PCM1_DI"), |
| 255 | MTK_FUNCTION(2, "I0:MRG_DI"), |
| 256 | MTK_FUNCTION(3, "I0:I2S4_DI"), |
| 257 | MTK_FUNCTION(4, "O:I2S5_DO"), |
| 258 | MTK_FUNCTION(5, "I0:I2S0_DI"), |
| 259 | MTK_FUNCTION(7, "B0:DBG_MON_B6") |
| 260 | ), |
| 261 | MTK_PIN( |
| 262 | 23, "GPIO23", |
| 263 | MTK_EINT_FUNCTION(0, 23), |
| 264 | DRV_GRP4, |
| 265 | MTK_FUNCTION(0, "GPIO23"), |
| 266 | MTK_FUNCTION(1, "O:PCM1_DO0"), |
| 267 | MTK_FUNCTION(2, "O:MRG_DO"), |
| 268 | MTK_FUNCTION(3, "O:I2S5_DO"), |
| 269 | MTK_FUNCTION(5, "O:I2S0_DO"), |
| 270 | MTK_FUNCTION(7, "B0:DBG_MON_B7") |
| 271 | ), |
| 272 | MTK_PIN( |
| 273 | 24, "GPIO24", |
| 274 | MTK_EINT_FUNCTION(0, 24), |
| 275 | DRV_GRP4, |
| 276 | MTK_FUNCTION(0, "GPIO24"), |
| 277 | MTK_FUNCTION(1, "O:USB_DRVVBUS"), |
| 278 | MTK_FUNCTION(2, "I1:UCTS1"), |
| 279 | MTK_FUNCTION(3, "I0:SRCLKENAI1"), |
| 280 | MTK_FUNCTION(5, "O:I2S0_MCK"), |
| 281 | MTK_FUNCTION(7, "B0:DBG_MON_B10") |
| 282 | ), |
| 283 | MTK_PIN( |
| 284 | 25, "GPIO25", |
| 285 | MTK_EINT_FUNCTION(0, 25), |
| 286 | DRV_GRP4, |
| 287 | MTK_FUNCTION(0, "GPIO25"), |
| 288 | MTK_FUNCTION(1, "I1:IDDIG"), |
| 289 | MTK_FUNCTION(2, "O:URTS1"), |
| 290 | MTK_FUNCTION(7, "B0:DBG_MON_B11") |
| 291 | ), |
| 292 | MTK_PIN( |
| 293 | 26, "GPIO26", |
| 294 | MTK_EINT_FUNCTION(0, 26), |
| 295 | DRV_GRP4, |
| 296 | MTK_FUNCTION(0, "GPIO26"), |
| 297 | MTK_FUNCTION(1, "O:UTXD6"), |
| 298 | MTK_FUNCTION(2, "I1:URXD6"), |
| 299 | MTK_FUNCTION(7, "B0:DBG_MON_B12") |
| 300 | ), |
| 301 | MTK_PIN( |
| 302 | 27, "GPIO27", |
| 303 | MTK_EINT_FUNCTION(0, 27), |
| 304 | DRV_GRP4, |
| 305 | MTK_FUNCTION(0, "GPIO27"), |
| 306 | MTK_FUNCTION(1, "I1:URXD6"), |
| 307 | MTK_FUNCTION(2, "O:UTXD6"), |
| 308 | MTK_FUNCTION(7, "B0:DBG_MON_B13") |
| 309 | ), |
| 310 | MTK_PIN( |
| 311 | 28, "GPIO28", |
| 312 | MTK_EINT_FUNCTION(0, 28), |
| 313 | DRV_GRP4, |
| 314 | MTK_FUNCTION(0, "GPIO28"), |
| 315 | MTK_FUNCTION(1, "I0:SRCLKENAI0"), |
| 316 | MTK_FUNCTION(7, "B0:DBG_MON_B14") |
| 317 | ), |
| 318 | MTK_PIN( |
| 319 | 29, "GPIO29", |
| 320 | MTK_EINT_FUNCTION(0, 29), |
| 321 | DRV_GRP4, |
| 322 | MTK_FUNCTION(0, "GPIO29"), |
| 323 | MTK_FUNCTION(1, "O:AGPS_SYNC") |
| 324 | ), |
| 325 | MTK_PIN( |
| 326 | 30, "GPIO30", |
| 327 | MTK_EINT_FUNCTION(0, 30), |
| 328 | DRV_GRP4, |
| 329 | MTK_FUNCTION(0, "GPIO30"), |
| 330 | MTK_FUNCTION(1, "I0:MSDC2_DSL"), |
| 331 | MTK_FUNCTION(2, "I0:MD_INT2_C2K_UIM1_HOT_PLUG"), |
| 332 | MTK_FUNCTION(3, "O:SCL_6306"), |
| 333 | MTK_FUNCTION(4, "I1:UCTS3") |
| 334 | ), |
| 335 | MTK_PIN( |
| 336 | 31, "GPIO31", |
| 337 | MTK_EINT_FUNCTION(0, 31), |
| 338 | DRV_GRP4, |
| 339 | MTK_FUNCTION(0, "GPIO31"), |
| 340 | MTK_FUNCTION(1, "B1:MSDC2_CLK"), |
| 341 | MTK_FUNCTION(4, "O:URTS3") |
| 342 | ), |
| 343 | MTK_PIN( |
| 344 | 32, "GPIO32", |
| 345 | MTK_EINT_FUNCTION(0, 32), |
| 346 | DRV_GRP4, |
| 347 | MTK_FUNCTION(0, "GPIO32"), |
| 348 | MTK_FUNCTION(1, "B1:MSDC2_CMD"), |
| 349 | MTK_FUNCTION(2, "O:I2S0_MCK"), |
| 350 | MTK_FUNCTION(3, "I0:HSM_JTAG_TCK"), |
| 351 | MTK_FUNCTION(4, "I0:IO_JTAG_TCK"), |
| 352 | MTK_FUNCTION(5, "I0:UDI_TCK"), |
| 353 | MTK_FUNCTION(6, "I1:SPM_JTAG_TCK") |
| 354 | ), |
| 355 | MTK_PIN( |
| 356 | 33, "GPIO33", |
| 357 | MTK_EINT_FUNCTION(0, 33), |
| 358 | DRV_GRP4, |
| 359 | MTK_FUNCTION(0, "GPIO33"), |
| 360 | MTK_FUNCTION(1, "B1:MSDC2_DAT3"), |
| 361 | MTK_FUNCTION(2, "B0:I2S0_BCK"), |
| 362 | MTK_FUNCTION(3, "I0:HSM_JTAG_TMS"), |
| 363 | MTK_FUNCTION(4, "B1:IO_JTAG_TMS"), |
| 364 | MTK_FUNCTION(5, "I0:UDI_TMS"), |
| 365 | MTK_FUNCTION(6, "I1:SPM_JTAG_TMS") |
| 366 | ), |
| 367 | MTK_PIN( |
| 368 | 34, "GPIO34", |
| 369 | MTK_EINT_FUNCTION(0, 34), |
| 370 | DRV_GRP4, |
| 371 | MTK_FUNCTION(0, "GPIO34"), |
| 372 | MTK_FUNCTION(1, "B1:MSDC2_DAT2"), |
| 373 | MTK_FUNCTION(2, "B0:I2S0_LRCK"), |
| 374 | MTK_FUNCTION(3, "O:HSM_JTAG_TDO"), |
| 375 | MTK_FUNCTION(4, "O:IO_JTAG_TDO"), |
| 376 | MTK_FUNCTION(5, "O:UDI_TDO"), |
| 377 | MTK_FUNCTION(6, "B1:SPM_JTAG_TDO") |
| 378 | ), |
| 379 | MTK_PIN( |
| 380 | 35, "GPIO35", |
| 381 | MTK_EINT_FUNCTION(0, 35), |
| 382 | DRV_GRP4, |
| 383 | MTK_FUNCTION(0, "GPIO35"), |
| 384 | MTK_FUNCTION(1, "B1:MSDC2_DAT1"), |
| 385 | MTK_FUNCTION(2, "I0:I2S0_DI"), |
| 386 | MTK_FUNCTION(3, "I0:HSM_JTAG_TDI"), |
| 387 | MTK_FUNCTION(4, "I1:IO_JTAG_TDI"), |
| 388 | MTK_FUNCTION(5, "I0:UDI_TDI"), |
| 389 | MTK_FUNCTION(6, "I1:SPM_JTAG_TDI") |
| 390 | ), |
| 391 | MTK_PIN( |
| 392 | 36, "GPIO36", |
| 393 | MTK_EINT_FUNCTION(0, 36), |
| 394 | DRV_GRP4, |
| 395 | MTK_FUNCTION(0, "GPIO36"), |
| 396 | MTK_FUNCTION(1, "B1:MSDC2_DAT0"), |
| 397 | MTK_FUNCTION(2, "O:I2S0_DO"), |
| 398 | MTK_FUNCTION(3, "I0:HSM_JTAG_TRSTN_N"), |
| 399 | MTK_FUNCTION(4, "I1:IO_JTAG_TRSTN"), |
| 400 | MTK_FUNCTION(5, "I0:UDI_NTRST"), |
| 401 | MTK_FUNCTION(6, "I0:SPM_JTAG_TRSTN") |
| 402 | ), |
| 403 | MTK_PIN( |
| 404 | 37, "GPIO37", |
| 405 | MTK_EINT_FUNCTION(0, 37), |
| 406 | DRV_GRP4, |
| 407 | MTK_FUNCTION(0, "GPIO37"), |
| 408 | MTK_FUNCTION(1, "B1:SDA1"), |
| 409 | MTK_FUNCTION(2, "O:SPI2_A_CS2B"), |
| 410 | MTK_FUNCTION(3, "B0:PCM1_CLK"), |
| 411 | MTK_FUNCTION(4, "O:UTXD4"), |
| 412 | MTK_FUNCTION(5, "I0:EXT_FRAME_SYNC"), |
| 413 | MTK_FUNCTION(6, "I1:UCTS0"), |
| 414 | MTK_FUNCTION(7, "B0:DBG_MON_B18") |
| 415 | ), |
| 416 | MTK_PIN( |
| 417 | 38, "GPIO38", |
| 418 | MTK_EINT_FUNCTION(0, 38), |
| 419 | DRV_GRP4, |
| 420 | MTK_FUNCTION(0, "GPIO38"), |
| 421 | MTK_FUNCTION(1, "B1:SCL1"), |
| 422 | MTK_FUNCTION(2, "O:SPI2_A_CS2C"), |
| 423 | MTK_FUNCTION(3, "B0:PCM1_SYNC"), |
| 424 | MTK_FUNCTION(4, "I1:URXD4"), |
| 425 | MTK_FUNCTION(5, "O:AGPS_SYNC"), |
| 426 | MTK_FUNCTION(6, "O:URTS0"), |
| 427 | MTK_FUNCTION(7, "B0:DBG_MON_B19") |
| 428 | ), |
| 429 | MTK_PIN( |
| 430 | 39, "GPIO39", |
| 431 | MTK_EINT_FUNCTION(0, 39), |
| 432 | DRV_GRP4, |
| 433 | MTK_FUNCTION(0, "GPIO39"), |
| 434 | MTK_FUNCTION(1, "B1:SDA2"), |
| 435 | MTK_FUNCTION(2, "B1:SDA1"), |
| 436 | MTK_FUNCTION(3, "I0:PCM1_DI"), |
| 437 | MTK_FUNCTION(4, "O:UTXD5"), |
| 438 | MTK_FUNCTION(7, "B0:DBG_MON_B20") |
| 439 | ), |
| 440 | MTK_PIN( |
| 441 | 40, "GPIO40", |
| 442 | MTK_EINT_FUNCTION(0, 40), |
| 443 | DRV_GRP4, |
| 444 | MTK_FUNCTION(0, "GPIO40"), |
| 445 | MTK_FUNCTION(1, "B1:SCL2"), |
| 446 | MTK_FUNCTION(2, "B1:SCL1"), |
| 447 | MTK_FUNCTION(3, "O:PCM1_DO0"), |
| 448 | MTK_FUNCTION(4, "I1:URXD5"), |
| 449 | MTK_FUNCTION(7, "B0:DBG_MON_B21") |
| 450 | ), |
| 451 | MTK_PIN( |
| 452 | 41, "GPIO41", |
| 453 | MTK_EINT_FUNCTION(0, 41), |
| 454 | DRV_GRP4, |
| 455 | MTK_FUNCTION(0, "GPIO41"), |
| 456 | MTK_FUNCTION(1, "B1:SDA0"), |
| 457 | MTK_FUNCTION(5, "B1:DAP_MD32_SWD"), |
| 458 | MTK_FUNCTION(7, "B0:DBG_MON_B22") |
| 459 | ), |
| 460 | MTK_PIN( |
| 461 | 42, "GPIO42", |
| 462 | MTK_EINT_FUNCTION(0, 42), |
| 463 | DRV_GRP4, |
| 464 | MTK_FUNCTION(0, "GPIO42"), |
| 465 | MTK_FUNCTION(1, "B1:SCL0"), |
| 466 | MTK_FUNCTION(5, "I0:DAP_MD32_SWCK"), |
| 467 | MTK_FUNCTION(7, "B0:DBG_MON_B23") |
| 468 | ), |
| 469 | MTK_PIN( |
| 470 | 43, "GPIO43", |
| 471 | MTK_EINT_FUNCTION(0, 43), |
| 472 | DRV_GRP0, |
| 473 | MTK_FUNCTION(0, "GPIO43"), |
| 474 | MTK_FUNCTION(1, "O:I2S4_MCK"), |
| 475 | MTK_FUNCTION(2, "O:SPI2_A_CS2A"), |
| 476 | MTK_FUNCTION(3, "O:PCM1_DO1"), |
| 477 | MTK_FUNCTION(5, "O:I2S5_MCK"), |
| 478 | MTK_FUNCTION(7, "B0:DBG_MON_B24") |
| 479 | ), |
| 480 | MTK_PIN( |
| 481 | 44, "GPIO44", |
| 482 | MTK_EINT_FUNCTION(0, 44), |
| 483 | DRV_GRP4, |
| 484 | MTK_FUNCTION(0, "GPIO44"), |
| 485 | MTK_FUNCTION(1, "B0:PCIE_CLKREQ_N") |
| 486 | ), |
| 487 | MTK_PIN( |
| 488 | 45, "GPIO45", |
| 489 | MTK_EINT_FUNCTION(0, 45), |
| 490 | DRV_GRP4, |
| 491 | MTK_FUNCTION(0, "GPIO45"), |
| 492 | MTK_FUNCTION(1, "B1:PCIE_WAKE_N") |
| 493 | ), |
| 494 | MTK_PIN( |
| 495 | 46, "GPIO46", |
| 496 | MTK_EINT_FUNCTION(0, 46), |
| 497 | DRV_GRP4, |
| 498 | MTK_FUNCTION(0, "GPIO46"), |
| 499 | MTK_FUNCTION(1, "B1:PCIE_PERST_N") |
| 500 | ), |
| 501 | MTK_PIN( |
| 502 | 47, "GPIO47", |
| 503 | MTK_EINT_FUNCTION(0, 47), |
| 504 | DRV_GRP0, |
| 505 | MTK_FUNCTION(0, "GPIO47"), |
| 506 | MTK_FUNCTION(1, "O:SPI0_A_CS0A"), |
| 507 | MTK_FUNCTION(2, "I1:UCTS2"), |
| 508 | MTK_FUNCTION(7, "B0:DBG_MON_B28") |
| 509 | ), |
| 510 | MTK_PIN( |
| 511 | 48, "GPIO48", |
| 512 | MTK_EINT_FUNCTION(0, 48), |
| 513 | DRV_GRP0, |
| 514 | MTK_FUNCTION(0, "GPIO48"), |
| 515 | MTK_FUNCTION(1, "I0:SPI0_A_MI"), |
| 516 | MTK_FUNCTION(2, "I1:URXD2"), |
| 517 | MTK_FUNCTION(7, "B0:DBG_MON_B29") |
| 518 | ), |
| 519 | MTK_PIN( |
| 520 | 49, "GPIO49", |
| 521 | MTK_EINT_FUNCTION(0, 49), |
| 522 | DRV_GRP0, |
| 523 | MTK_FUNCTION(0, "GPIO49"), |
| 524 | MTK_FUNCTION(1, "O:SPI0_A_CLK"), |
| 525 | MTK_FUNCTION(2, "O:URTS2"), |
| 526 | MTK_FUNCTION(7, "B0:DBG_MON_B30") |
| 527 | ), |
| 528 | MTK_PIN( |
| 529 | 50, "GPIO50", |
| 530 | MTK_EINT_FUNCTION(0, 50), |
| 531 | DRV_GRP0, |
| 532 | MTK_FUNCTION(0, "GPIO50"), |
| 533 | MTK_FUNCTION(1, "O:SPI0_A_MO"), |
| 534 | MTK_FUNCTION(2, "O:UTXD2"), |
| 535 | MTK_FUNCTION(7, "B0:DBG_MON_B31") |
| 536 | ), |
| 537 | MTK_PIN( |
| 538 | 51, "GPIO51", |
| 539 | MTK_EINT_FUNCTION(0, 51), |
| 540 | DRV_GRP4, |
| 541 | MTK_FUNCTION(0, "GPIO51"), |
| 542 | MTK_FUNCTION(1, "B1:JTMS_SEL1"), |
| 543 | MTK_FUNCTION(2, "I0:SPI0_B_MI"), |
| 544 | MTK_FUNCTION(3, "I0:MD_INT1_C2K_UIM0_HOT_PLUG"), |
| 545 | MTK_FUNCTION(4, "I0:HSM_JTAG_TMS"), |
| 546 | MTK_FUNCTION(5, "I0:DFD_TMS"), |
| 547 | MTK_FUNCTION(6, "I1:SPM_JTAG_TMS"), |
| 548 | MTK_FUNCTION(7, "JTMS_SEL1") |
| 549 | ), |
| 550 | MTK_PIN( |
| 551 | 52, "GPIO52", |
| 552 | MTK_EINT_FUNCTION(0, 52), |
| 553 | DRV_GRP4, |
| 554 | MTK_FUNCTION(0, "GPIO52"), |
| 555 | MTK_FUNCTION(1, "I0:JTCK_SEL1"), |
| 556 | MTK_FUNCTION(2, "O:SPI0_B_CLK"), |
| 557 | MTK_FUNCTION(3, "O:I2S6_MCK"), |
| 558 | MTK_FUNCTION(4, "I0:HSM_JTAG_TCK"), |
| 559 | MTK_FUNCTION(5, "I0:DFD_TCK_XI"), |
| 560 | MTK_FUNCTION(6, "I1:SPM_JTAG_TCK"), |
| 561 | MTK_FUNCTION(7, "JTCK_SEL1") |
| 562 | ), |
| 563 | MTK_PIN( |
| 564 | 53, "GPIO53", |
| 565 | MTK_EINT_FUNCTION(0, 53), |
| 566 | DRV_GRP4, |
| 567 | MTK_FUNCTION(0, "GPIO53"), |
| 568 | MTK_FUNCTION(1, "I1:JTDI_SEL1"), |
| 569 | MTK_FUNCTION(2, "O:SPI0_B_MO"), |
| 570 | MTK_FUNCTION(3, "O:I2S6_BCK"), |
| 571 | MTK_FUNCTION(4, "I0:HSM_JTAG_TDI"), |
| 572 | MTK_FUNCTION(5, "I0:DFD_TDI"), |
| 573 | MTK_FUNCTION(6, "I1:SPM_JTAG_TDI"), |
| 574 | MTK_FUNCTION(7, "JTDI_SEL1") |
| 575 | ), |
| 576 | MTK_PIN( |
| 577 | 54, "GPIO54", |
| 578 | MTK_EINT_FUNCTION(0, 54), |
| 579 | DRV_GRP4, |
| 580 | MTK_FUNCTION(0, "GPIO54"), |
| 581 | MTK_FUNCTION(1, "O:JTDO_SEL1"), |
| 582 | MTK_FUNCTION(2, "O:SPI0_B_CS0A"), |
| 583 | MTK_FUNCTION(3, "O:I2S6_LRCK"), |
| 584 | MTK_FUNCTION(4, "O:HSM_JTAG_TDO"), |
| 585 | MTK_FUNCTION(5, "O:DFD_TDO"), |
| 586 | MTK_FUNCTION(6, "B1:SPM_JTAG_TDO"), |
| 587 | MTK_FUNCTION(7, "JTDO_SEL1") |
| 588 | ), |
| 589 | MTK_PIN( |
| 590 | 55, "GPIO55", |
| 591 | MTK_EINT_FUNCTION(0, 55), |
| 592 | DRV_GRP4, |
| 593 | MTK_FUNCTION(0, "GPIO55"), |
| 594 | MTK_FUNCTION(1, "I1:JTRSTN_SEL1"), |
| 595 | MTK_FUNCTION(2, "O:SPI0_B_CS0B"), |
| 596 | MTK_FUNCTION(3, "I0:I2S6_DI"), |
| 597 | MTK_FUNCTION(4, "I0:HSM_JTAG_TRSTN_N"), |
| 598 | MTK_FUNCTION(6, "I0:SPM_JTAG_TRSTN"), |
| 599 | MTK_FUNCTION(7, "JTRSTN_SEL1") |
| 600 | ), |
| 601 | MTK_PIN( |
| 602 | 56, "GPIO56", |
| 603 | MTK_EINT_FUNCTION(0, 56), |
| 604 | DRV_GRP4, |
| 605 | MTK_FUNCTION(0, "GPIO56"), |
| 606 | MTK_FUNCTION(1, "O:PTA_TXD"), |
| 607 | MTK_FUNCTION(2, "O:UTXD3"), |
| 608 | MTK_FUNCTION(3, "B1:SDA3"), |
| 609 | MTK_FUNCTION(7, "B0:DBG_MON_B15") |
| 610 | ), |
| 611 | MTK_PIN( |
| 612 | 57, "GPIO57", |
| 613 | MTK_EINT_FUNCTION(0, 57), |
| 614 | DRV_GRP4, |
| 615 | MTK_FUNCTION(0, "GPIO57"), |
| 616 | MTK_FUNCTION(1, "I1:PTA_RXD"), |
| 617 | MTK_FUNCTION(2, "I1:URXD3"), |
| 618 | MTK_FUNCTION(3, "B1:SCL3"), |
| 619 | MTK_FUNCTION(7, "B0:DBG_MON_B16") |
| 620 | ), |
| 621 | MTK_PIN( |
| 622 | 58, "GPIO58", |
| 623 | MTK_EINT_FUNCTION(0, 58), |
| 624 | DRV_GRP4, |
| 625 | MTK_FUNCTION(0, "GPIO58") |
| 626 | ), |
| 627 | MTK_PIN( |
| 628 | 59, "GPIO59", |
| 629 | MTK_EINT_FUNCTION(0, 59), |
| 630 | DRV_GRP4, |
| 631 | MTK_FUNCTION(0, "GPIO59"), |
| 632 | MTK_FUNCTION(1, "B1:MSDC1_CMD"), |
| 633 | MTK_FUNCTION(2, "O:BPI_BUS15_ANT4"), |
| 634 | MTK_FUNCTION(7, "I0:DAP_MD32_SWCK") |
| 635 | ), |
| 636 | MTK_PIN( |
| 637 | 60, "GPIO60", |
| 638 | MTK_EINT_FUNCTION(0, 60), |
| 639 | DRV_GRP4, |
| 640 | MTK_FUNCTION(0, "GPIO60"), |
| 641 | MTK_FUNCTION(1, "B1:MSDC1_DAT3"), |
| 642 | MTK_FUNCTION(2, "O:BPI_BUS14_ANT3"), |
| 643 | MTK_FUNCTION(7, "B1:DAP_MD32_SWD") |
| 644 | ), |
| 645 | MTK_PIN( |
| 646 | 61, "GPIO61", |
| 647 | MTK_EINT_FUNCTION(0, 61), |
| 648 | DRV_GRP4, |
| 649 | MTK_FUNCTION(0, "GPIO61"), |
| 650 | MTK_FUNCTION(1, "B1:MSDC1_DAT2"), |
| 651 | MTK_FUNCTION(2, "O:BPI_BUS13_ANT2") |
| 652 | ), |
| 653 | MTK_PIN( |
| 654 | 62, "GPIO62", |
| 655 | MTK_EINT_FUNCTION(0, 62), |
| 656 | DRV_GRP4, |
| 657 | MTK_FUNCTION(0, "GPIO62"), |
| 658 | MTK_FUNCTION(1, "B1:MSDC1_DAT1"), |
| 659 | MTK_FUNCTION(2, "O:BPI_BUS12_ANT1") |
| 660 | ), |
| 661 | MTK_PIN( |
| 662 | 63, "GPIO63", |
| 663 | MTK_EINT_FUNCTION(0, 63), |
| 664 | DRV_GRP4, |
| 665 | MTK_FUNCTION(0, "GPIO63"), |
| 666 | MTK_FUNCTION(1, "B1:MSDC1_DAT0"), |
| 667 | MTK_FUNCTION(2, "O:BPI_BUS11_ANT0") |
| 668 | ), |
| 669 | MTK_PIN( |
| 670 | 64, "GPIO64", |
| 671 | MTK_EINT_FUNCTION(0, 64), |
| 672 | DRV_GRP4, |
| 673 | MTK_FUNCTION(0, "GPIO64"), |
| 674 | MTK_FUNCTION(1, "B1:MSDC1_CLK"), |
| 675 | MTK_FUNCTION(2, "O:MIPI3_SCLK") |
| 676 | ), |
| 677 | MTK_PIN( |
| 678 | 65, "GPIO65", |
| 679 | MTK_EINT_FUNCTION(0, 65), |
| 680 | DRV_GRP4, |
| 681 | MTK_FUNCTION(0, "GPIO65"), |
| 682 | MTK_FUNCTION(1, "O:BPI_BUS10") |
| 683 | ), |
| 684 | MTK_PIN( |
| 685 | 66, "GPIO66", |
| 686 | MTK_EINT_FUNCTION(0, 66), |
| 687 | DRV_GRP4, |
| 688 | MTK_FUNCTION(0, "GPIO66"), |
| 689 | MTK_FUNCTION(1, "O:BPI_BUS9") |
| 690 | ), |
| 691 | MTK_PIN( |
| 692 | 67, "GPIO67", |
| 693 | MTK_EINT_FUNCTION(0, 67), |
| 694 | DRV_GRP4, |
| 695 | MTK_FUNCTION(0, "GPIO67"), |
| 696 | MTK_FUNCTION(1, "O:BPI_BUS8") |
| 697 | ), |
| 698 | MTK_PIN( |
| 699 | 68, "GPIO68", |
| 700 | MTK_EINT_FUNCTION(0, 68), |
| 701 | DRV_GRP4, |
| 702 | MTK_FUNCTION(0, "GPIO68"), |
| 703 | MTK_FUNCTION(1, "B0:RFIC0_BSI_D0") |
| 704 | ), |
| 705 | MTK_PIN( |
| 706 | 69, "GPIO69", |
| 707 | MTK_EINT_FUNCTION(0, 69), |
| 708 | DRV_GRP4, |
| 709 | MTK_FUNCTION(0, "GPIO69"), |
| 710 | MTK_FUNCTION(1, "B0:RFIC0_BSI_D1") |
| 711 | ), |
| 712 | MTK_PIN( |
| 713 | 70, "GPIO70", |
| 714 | MTK_EINT_FUNCTION(0, 70), |
| 715 | DRV_GRP4, |
| 716 | MTK_FUNCTION(0, "GPIO70"), |
| 717 | MTK_FUNCTION(1, "B0:RFIC0_BSI_D2") |
| 718 | ), |
| 719 | MTK_PIN( |
| 720 | 71, "GPIO71", |
| 721 | MTK_EINT_FUNCTION(0, 71), |
| 722 | DRV_GRP4, |
| 723 | MTK_FUNCTION(0, "GPIO71"), |
| 724 | MTK_FUNCTION(1, "O:RFIC0_BSI_CK") |
| 725 | ), |
| 726 | MTK_PIN( |
| 727 | 72, "GPIO72", |
| 728 | MTK_EINT_FUNCTION(0, 72), |
| 729 | DRV_GRP4, |
| 730 | MTK_FUNCTION(0, "GPIO72"), |
| 731 | MTK_FUNCTION(1, "O:RFIC0_BSI_EN") |
| 732 | ), |
| 733 | MTK_PIN( |
| 734 | 73, "GPIO73", |
| 735 | MTK_EINT_FUNCTION(0, 73), |
| 736 | DRV_GRP4, |
| 737 | MTK_FUNCTION(0, "GPIO73"), |
| 738 | MTK_FUNCTION(1, "B0:MIPI1_SDATA") |
| 739 | ), |
| 740 | MTK_PIN( |
| 741 | 74, "GPIO74", |
| 742 | MTK_EINT_FUNCTION(0, 74), |
| 743 | DRV_GRP4, |
| 744 | MTK_FUNCTION(0, "GPIO74"), |
| 745 | MTK_FUNCTION(1, "O:MIPI1_SCLK") |
| 746 | ), |
| 747 | MTK_PIN( |
| 748 | 75, "GPIO75", |
| 749 | MTK_EINT_FUNCTION(0, 75), |
| 750 | DRV_GRP4, |
| 751 | MTK_FUNCTION(0, "GPIO75"), |
| 752 | MTK_FUNCTION(1, "B0:MIPI0_SDATA") |
| 753 | ), |
| 754 | MTK_PIN( |
| 755 | 76, "GPIO76", |
| 756 | MTK_EINT_FUNCTION(0, 76), |
| 757 | DRV_GRP4, |
| 758 | MTK_FUNCTION(0, "GPIO76"), |
| 759 | MTK_FUNCTION(1, "O:MIPI0_SCLK") |
| 760 | ), |
| 761 | MTK_PIN( |
| 762 | 77, "GPIO77", |
| 763 | MTK_EINT_FUNCTION(0, 77), |
| 764 | DRV_GRP4, |
| 765 | MTK_FUNCTION(0, "GPIO77"), |
| 766 | MTK_FUNCTION(1, "O:MIPI2_SCLK") |
| 767 | ), |
| 768 | MTK_PIN( |
| 769 | 78, "GPIO78", |
| 770 | MTK_EINT_FUNCTION(0, 78), |
| 771 | DRV_GRP4, |
| 772 | MTK_FUNCTION(0, "GPIO78"), |
| 773 | MTK_FUNCTION(1, "B0:MIPI2_SDATA") |
| 774 | ), |
| 775 | MTK_PIN( |
| 776 | 79, "GPIO79", |
| 777 | MTK_EINT_FUNCTION(0, 79), |
| 778 | DRV_GRP4, |
| 779 | MTK_FUNCTION(0, "GPIO79"), |
| 780 | MTK_FUNCTION(1, "O:BPI_BUS6") |
| 781 | ), |
| 782 | MTK_PIN( |
| 783 | 80, "GPIO80", |
| 784 | MTK_EINT_FUNCTION(0, 80), |
| 785 | DRV_GRP4, |
| 786 | MTK_FUNCTION(0, "GPIO80"), |
| 787 | MTK_FUNCTION(1, "O:BPI_BUS7") |
| 788 | ), |
| 789 | MTK_PIN( |
| 790 | 81, "GPIO81", |
| 791 | MTK_EINT_FUNCTION(0, 81), |
| 792 | DRV_GRP4, |
| 793 | MTK_FUNCTION(0, "GPIO81"), |
| 794 | MTK_FUNCTION(1, "O:BPI_BUS5"), |
| 795 | MTK_FUNCTION(2, "I1:URXD2"), |
| 796 | MTK_FUNCTION(3, "O:CLKM3") |
| 797 | ), |
| 798 | MTK_PIN( |
| 799 | 82, "GPIO82", |
| 800 | MTK_EINT_FUNCTION(0, 82), |
| 801 | DRV_GRP4, |
| 802 | MTK_FUNCTION(0, "GPIO82"), |
| 803 | MTK_FUNCTION(1, "O:BPI_BUS4"), |
| 804 | MTK_FUNCTION(2, "O:UTXD2") |
| 805 | ), |
| 806 | MTK_PIN( |
| 807 | 83, "GPIO83", |
| 808 | MTK_EINT_FUNCTION(0, 83), |
| 809 | DRV_GRP4, |
| 810 | MTK_FUNCTION(0, "GPIO83"), |
| 811 | MTK_FUNCTION(1, "O:BPI_BUS3") |
| 812 | ), |
| 813 | MTK_PIN( |
| 814 | 84, "GPIO84", |
| 815 | MTK_EINT_FUNCTION(0, 84), |
| 816 | DRV_GRP4, |
| 817 | MTK_FUNCTION(0, "GPIO84"), |
| 818 | MTK_FUNCTION(1, "O:BPI_BUS2") |
| 819 | ), |
| 820 | MTK_PIN( |
| 821 | 85, "GPIO85", |
| 822 | MTK_EINT_FUNCTION(0, 85), |
| 823 | DRV_GRP4, |
| 824 | MTK_FUNCTION(0, "GPIO85"), |
| 825 | MTK_FUNCTION(1, "O:BPI_BUS1") |
| 826 | ), |
| 827 | MTK_PIN( |
| 828 | 86, "GPIO86", |
| 829 | MTK_EINT_FUNCTION(0, 86), |
| 830 | DRV_GRP4, |
| 831 | MTK_FUNCTION(0, "GPIO86"), |
| 832 | MTK_FUNCTION(1, "O:BPI_BUS0") |
| 833 | ), |
| 834 | MTK_PIN( |
| 835 | 87, "GPIO87", |
| 836 | MTK_EINT_FUNCTION(0, 87), |
| 837 | DRV_GRP4, |
| 838 | MTK_FUNCTION(0, "GPIO87"), |
| 839 | MTK_FUNCTION(1, "O:BPI_PA_VM1"), |
| 840 | MTK_FUNCTION(2, "B0:MIPI4_SDATA"), |
| 841 | MTK_FUNCTION(3, "O:I2S5_BCK"), |
| 842 | MTK_FUNCTION(4, "I1:UCTS2") |
| 843 | ), |
| 844 | MTK_PIN( |
| 845 | 88, "GPIO88", |
| 846 | MTK_EINT_FUNCTION(0, 88), |
| 847 | DRV_GRP4, |
| 848 | MTK_FUNCTION(0, "GPIO88"), |
| 849 | MTK_FUNCTION(1, "O:BPI_PA_VM0"), |
| 850 | MTK_FUNCTION(2, "O:MIPI4_SCLK"), |
| 851 | MTK_FUNCTION(3, "O:I2S5_LRCK"), |
| 852 | MTK_FUNCTION(4, "O:URTS2") |
| 853 | ), |
| 854 | MTK_PIN( |
| 855 | 89, "GPIO89", |
| 856 | MTK_EINT_FUNCTION(0, 89), |
| 857 | DRV_GRP4, |
| 858 | MTK_FUNCTION(0, "GPIO89"), |
| 859 | MTK_FUNCTION(1, "O:PWM0"), |
| 860 | MTK_FUNCTION(2, "O:UTXD2"), |
| 861 | MTK_FUNCTION(3, "O:I2S5_MCK"), |
| 862 | MTK_FUNCTION(4, "O:TDMO_SDATA2"), |
| 863 | MTK_FUNCTION(5, "B1:SDA1"), |
| 864 | MTK_FUNCTION(6, "O:SPI1_B_CS1B") |
| 865 | ), |
| 866 | MTK_PIN( |
| 867 | 90, "GPIO90", |
| 868 | MTK_EINT_FUNCTION(0, 90), |
| 869 | DRV_GRP4, |
| 870 | MTK_FUNCTION(0, "GPIO90"), |
| 871 | MTK_FUNCTION(1, "O:PWM1"), |
| 872 | MTK_FUNCTION(2, "I1:URXD2"), |
| 873 | MTK_FUNCTION(3, "O:I2S5_DO"), |
| 874 | MTK_FUNCTION(4, "O:TDMO_SDATA3"), |
| 875 | MTK_FUNCTION(5, "B1:SCL1"), |
| 876 | MTK_FUNCTION(6, "O:SPI1_B_CS1C") |
| 877 | ), |
| 878 | MTK_PIN( |
| 879 | 91, "GPIO91", |
| 880 | MTK_EINT_FUNCTION(0, 91), |
| 881 | DRV_GRP4, |
| 882 | MTK_FUNCTION(0, "GPIO91"), |
| 883 | MTK_FUNCTION(1, "I0:RTC32K_CK") |
| 884 | ), |
| 885 | MTK_PIN( |
| 886 | 92, "GPIO92", |
| 887 | MTK_EINT_FUNCTION(0, 92), |
| 888 | DRV_GRP4, |
| 889 | MTK_FUNCTION(0, "GPIO92"), |
| 890 | MTK_FUNCTION(1, "O:WATCHDOG") |
| 891 | ), |
| 892 | MTK_PIN( |
| 893 | 93, "GPIO93", |
| 894 | MTK_EINT_FUNCTION(0, 93), |
| 895 | DRV_GRP4, |
| 896 | MTK_FUNCTION(0, "GPIO93"), |
| 897 | MTK_FUNCTION(1, "O:SPI1_B_CS1A"), |
| 898 | MTK_FUNCTION(2, "O:UTXD1"), |
| 899 | MTK_FUNCTION(3, "O:I2S6_MCK"), |
| 900 | MTK_FUNCTION(4, "O:TDMO_MCK_OUT"), |
| 901 | MTK_FUNCTION(5, "B1:IO_JTAG_TMS"), |
| 902 | MTK_FUNCTION(6, "I1:SPM_JTAG_TMS") |
| 903 | ), |
| 904 | MTK_PIN( |
| 905 | 94, "GPIO94", |
| 906 | MTK_EINT_FUNCTION(0, 94), |
| 907 | DRV_GRP4, |
| 908 | MTK_FUNCTION(0, "GPIO94"), |
| 909 | MTK_FUNCTION(1, "O:SPI1_B_CLK"), |
| 910 | MTK_FUNCTION(2, "I1:URXD1"), |
| 911 | MTK_FUNCTION(4, "O:TDMO_SDATA1"), |
| 912 | MTK_FUNCTION(5, "I1:IO_JTAG_TDI"), |
| 913 | MTK_FUNCTION(6, "I1:SPM_JTAG_TDI") |
| 914 | ), |
| 915 | MTK_PIN( |
| 916 | 95, "GPIO95", |
| 917 | MTK_EINT_FUNCTION(0, 95), |
| 918 | DRV_GRP4, |
| 919 | MTK_FUNCTION(0, "GPIO95"), |
| 920 | MTK_FUNCTION(1, "I0:SPI1_B_MI"), |
| 921 | MTK_FUNCTION(2, "I1:UCTS1"), |
| 922 | MTK_FUNCTION(3, "O:I2S6_LRCK"), |
| 923 | MTK_FUNCTION(4, "O:TDMO_LRCK"), |
| 924 | MTK_FUNCTION(5, "I1:IO_JTAG_TRSTN"), |
| 925 | MTK_FUNCTION(6, "I0:SPM_JTAG_TRSTN") |
| 926 | ), |
| 927 | MTK_PIN( |
| 928 | 96, "GPIO96", |
| 929 | MTK_EINT_FUNCTION(0, 96), |
| 930 | DRV_GRP4, |
| 931 | MTK_FUNCTION(0, "GPIO96"), |
| 932 | MTK_FUNCTION(1, "O:SPI1_B_MO"), |
| 933 | MTK_FUNCTION(2, "O:URTS1"), |
| 934 | MTK_FUNCTION(3, "I0:I2S6_DI"), |
| 935 | MTK_FUNCTION(4, "O:TDMO_SDATA0"), |
| 936 | MTK_FUNCTION(5, "O:IO_JTAG_TDO"), |
| 937 | MTK_FUNCTION(6, "B1:SPM_JTAG_TDO") |
| 938 | ), |
| 939 | MTK_PIN( |
| 940 | 97, "GPIO97", |
| 941 | MTK_EINT_FUNCTION(0, 97), |
| 942 | DRV_GRP4, |
| 943 | MTK_FUNCTION(0, "GPIO97"), |
| 944 | MTK_FUNCTION(1, "O:AUD_CLK_MOSI"), |
| 945 | MTK_FUNCTION(2, "O:I2S2_MCK"), |
| 946 | MTK_FUNCTION(3, "O:I2S1_MCK"), |
| 947 | MTK_FUNCTION(7, "B0:DBG_MON_A0") |
| 948 | ), |
| 949 | MTK_PIN( |
| 950 | 98, "GPIO98", |
| 951 | MTK_EINT_FUNCTION(0, 98), |
| 952 | DRV_GRP4, |
| 953 | MTK_FUNCTION(0, "GPIO98"), |
| 954 | MTK_FUNCTION(1, "O:AUD_DAT_MOSI0"), |
| 955 | MTK_FUNCTION(2, "O:I2S2_BCK"), |
| 956 | MTK_FUNCTION(3, "O:I2S1_BCK"), |
| 957 | MTK_FUNCTION(7, "B0:DBG_MON_A1") |
| 958 | ), |
| 959 | MTK_PIN( |
| 960 | 99, "GPIO99", |
| 961 | MTK_EINT_FUNCTION(0, 99), |
| 962 | DRV_GRP4, |
| 963 | MTK_FUNCTION(0, "GPIO99"), |
| 964 | MTK_FUNCTION(1, "O:AUD_SYNC_MOSI"), |
| 965 | MTK_FUNCTION(2, "O:I2S2_LRCK"), |
| 966 | MTK_FUNCTION(3, "O:I2S1_LRCK"), |
| 967 | MTK_FUNCTION(7, "B0:DBG_MON_A2") |
| 968 | ), |
| 969 | MTK_PIN( |
| 970 | 100, "GPIO100", |
| 971 | MTK_EINT_FUNCTION(0, 100), |
| 972 | DRV_GRP4, |
| 973 | MTK_FUNCTION(0, "GPIO100"), |
| 974 | MTK_FUNCTION(1, "I0:AUD_CLK_MISO"), |
| 975 | MTK_FUNCTION(2, "I0:I2S2_DI"), |
| 976 | MTK_FUNCTION(7, "B0:DBG_MON_A3") |
| 977 | ), |
| 978 | MTK_PIN( |
| 979 | 101, "GPIO101", |
| 980 | MTK_EINT_FUNCTION(0, 101), |
| 981 | DRV_GRP4, |
| 982 | MTK_FUNCTION(0, "GPIO101"), |
| 983 | MTK_FUNCTION(1, "O:PWRAP_SPI0_CSN") |
| 984 | ), |
| 985 | MTK_PIN( |
| 986 | 102, "GPIO102", |
| 987 | MTK_EINT_FUNCTION(0, 102), |
| 988 | DRV_GRP4, |
| 989 | MTK_FUNCTION(0, "GPIO102"), |
| 990 | MTK_FUNCTION(1, "I0:AUD_SYNC_MISO"), |
| 991 | MTK_FUNCTION(2, "O:I2S1_DO"), |
| 992 | MTK_FUNCTION(7, "B0:DBG_MON_A4") |
| 993 | ), |
| 994 | MTK_PIN( |
| 995 | 103, "GPIO103", |
| 996 | MTK_EINT_FUNCTION(0, 103), |
| 997 | DRV_GRP4, |
| 998 | MTK_FUNCTION(0, "GPIO103"), |
| 999 | MTK_FUNCTION(1, "I0:AUD_DAT_MISO0"), |
| 1000 | MTK_FUNCTION(7, "B0:DBG_MON_A5") |
| 1001 | ), |
| 1002 | MTK_PIN( |
| 1003 | 104, "GPIO104", |
| 1004 | MTK_EINT_FUNCTION(0, 104), |
| 1005 | DRV_GRP4, |
| 1006 | MTK_FUNCTION(0, "GPIO104"), |
| 1007 | MTK_FUNCTION(1, "O:SRCLKENA0") |
| 1008 | ), |
| 1009 | MTK_PIN( |
| 1010 | 105, "GPIO105", |
| 1011 | MTK_EINT_FUNCTION(0, 105), |
| 1012 | DRV_GRP4, |
| 1013 | MTK_FUNCTION(0, "GPIO105"), |
| 1014 | MTK_FUNCTION(1, "O:SRCLKENA1") |
| 1015 | ), |
| 1016 | MTK_PIN( |
| 1017 | 106, "GPIO106", |
| 1018 | MTK_EINT_FUNCTION(0, 106), |
| 1019 | DRV_GRP4, |
| 1020 | MTK_FUNCTION(0, "GPIO106"), |
| 1021 | MTK_FUNCTION(1, "B0:PWRAP_SPI0_MO"), |
| 1022 | MTK_FUNCTION(2, "B0:PWRAP_SPI0_MI") |
| 1023 | ), |
| 1024 | MTK_PIN( |
| 1025 | 107, "GPIO107", |
| 1026 | MTK_EINT_FUNCTION(0, 107), |
| 1027 | DRV_GRP4, |
| 1028 | MTK_FUNCTION(0, "GPIO107"), |
| 1029 | MTK_FUNCTION(1, "I0:AUD_DAT_MISO1"), |
| 1030 | MTK_FUNCTION(7, "B0:DBG_MON_A6") |
| 1031 | ), |
| 1032 | MTK_PIN( |
| 1033 | 108, "GPIO108", |
| 1034 | MTK_EINT_FUNCTION(0, 108), |
| 1035 | DRV_GRP4, |
| 1036 | MTK_FUNCTION(0, "GPIO108"), |
| 1037 | MTK_FUNCTION(1, "O:PWRAP_SPI0_CK") |
| 1038 | ), |
| 1039 | MTK_PIN( |
| 1040 | 109, "GPIO109", |
| 1041 | MTK_EINT_FUNCTION(0, 109), |
| 1042 | DRV_GRP4, |
| 1043 | MTK_FUNCTION(0, "GPIO109"), |
| 1044 | MTK_FUNCTION(1, "B0:PWRAP_SPI0_MI"), |
| 1045 | MTK_FUNCTION(2, "B0:PWRAP_SPI0_MO") |
| 1046 | ), |
| 1047 | MTK_PIN( |
| 1048 | 110, "GPIO110", |
| 1049 | MTK_EINT_FUNCTION(0, 110), |
| 1050 | DRV_GRP0, |
| 1051 | MTK_FUNCTION(0, "GPIO110"), |
| 1052 | MTK_FUNCTION(1, "B1:MD1_SIM2_SIO"), |
| 1053 | MTK_FUNCTION(2, "O:I2S6_BCK"), |
| 1054 | MTK_FUNCTION(3, "B1:MD1_SIM1_SIO"), |
| 1055 | MTK_FUNCTION(4, "I0:LVTS_SCF"), |
| 1056 | MTK_FUNCTION(7, "B0:DBG_MON_A9") |
| 1057 | ), |
| 1058 | MTK_PIN( |
| 1059 | 111, "GPIO111", |
| 1060 | MTK_EINT_FUNCTION(0, 111), |
| 1061 | DRV_GRP0, |
| 1062 | MTK_FUNCTION(0, "GPIO111"), |
| 1063 | MTK_FUNCTION(1, "O:MD1_SIM2_SRST"), |
| 1064 | MTK_FUNCTION(2, "O:I2S6_LRCK"), |
| 1065 | MTK_FUNCTION(3, "O:MD1_SIM1_SRST"), |
| 1066 | MTK_FUNCTION(4, "I0:LVTS_SDI"), |
| 1067 | MTK_FUNCTION(7, "B0:DBG_MON_A10") |
| 1068 | ), |
| 1069 | MTK_PIN( |
| 1070 | 112, "GPIO112", |
| 1071 | MTK_EINT_FUNCTION(0, 112), |
| 1072 | DRV_GRP0, |
| 1073 | MTK_FUNCTION(0, "GPIO112"), |
| 1074 | MTK_FUNCTION(1, "O:MD1_SIM2_SCLK"), |
| 1075 | MTK_FUNCTION(2, "I0:I2S6_DI"), |
| 1076 | MTK_FUNCTION(3, "O:MD1_SIM1_SCLK"), |
| 1077 | MTK_FUNCTION(4, "I0:LVTS_SCK"), |
| 1078 | MTK_FUNCTION(7, "B0:DBG_MON_A11") |
| 1079 | ), |
| 1080 | MTK_PIN( |
| 1081 | 113, "GPIO113", |
| 1082 | MTK_EINT_FUNCTION(0, 113), |
| 1083 | DRV_GRP0, |
| 1084 | MTK_FUNCTION(0, "GPIO113"), |
| 1085 | MTK_FUNCTION(1, "B1:MD1_SIM1_SIO"), |
| 1086 | MTK_FUNCTION(3, "B1:MD1_SIM2_SIO"), |
| 1087 | MTK_FUNCTION(4, "O:LVTS_FOUT"), |
| 1088 | MTK_FUNCTION(7, "B0:DBG_MON_A12") |
| 1089 | ), |
| 1090 | MTK_PIN( |
| 1091 | 114, "GPIO114", |
| 1092 | MTK_EINT_FUNCTION(0, 114), |
| 1093 | DRV_GRP0, |
| 1094 | MTK_FUNCTION(0, "GPIO114"), |
| 1095 | MTK_FUNCTION(1, "O:MD1_SIM1_SRST"), |
| 1096 | MTK_FUNCTION(3, "O:MD1_SIM2_SRST"), |
| 1097 | MTK_FUNCTION(4, "O:LVTS_SDO"), |
| 1098 | MTK_FUNCTION(7, "B0:DBG_MON_A13") |
| 1099 | ), |
| 1100 | MTK_PIN( |
| 1101 | 115, "GPIO115", |
| 1102 | MTK_EINT_FUNCTION(0, 115), |
| 1103 | DRV_GRP0, |
| 1104 | MTK_FUNCTION(0, "GPIO115"), |
| 1105 | MTK_FUNCTION(1, "O:MD1_SIM1_SCLK"), |
| 1106 | MTK_FUNCTION(3, "O:MD1_SIM2_SCLK"), |
| 1107 | MTK_FUNCTION(4, "I0:LVTS_26M"), |
| 1108 | MTK_FUNCTION(7, "B0:DBG_MON_A14") |
| 1109 | ), |
| 1110 | MTK_PIN( |
| 1111 | 116, "GPIO116", |
| 1112 | MTK_EINT_FUNCTION(0, 116), |
| 1113 | DRV_GRP0, |
| 1114 | MTK_FUNCTION(0, "GPIO116"), |
| 1115 | MTK_FUNCTION(1, "O:GBE_TXD3"), |
| 1116 | MTK_FUNCTION(7, "B0:DBG_MON_A15") |
| 1117 | ), |
| 1118 | MTK_PIN( |
| 1119 | 117, "GPIO117", |
| 1120 | MTK_EINT_FUNCTION(0, 117), |
| 1121 | DRV_GRP0, |
| 1122 | MTK_FUNCTION(0, "GPIO117"), |
| 1123 | MTK_FUNCTION(1, "O:GBE_TXD2"), |
| 1124 | MTK_FUNCTION(7, "B0:DBG_MON_A16") |
| 1125 | ), |
| 1126 | MTK_PIN( |
| 1127 | 118, "GPIO118", |
| 1128 | MTK_EINT_FUNCTION(0, 118), |
| 1129 | DRV_GRP0, |
| 1130 | MTK_FUNCTION(0, "GPIO118"), |
| 1131 | MTK_FUNCTION(1, "O:GBE_TXD1"), |
| 1132 | MTK_FUNCTION(7, "B0:DBG_MON_A17") |
| 1133 | ), |
| 1134 | MTK_PIN( |
| 1135 | 119, "GPIO119", |
| 1136 | MTK_EINT_FUNCTION(0, 119), |
| 1137 | DRV_GRP0, |
| 1138 | MTK_FUNCTION(0, "GPIO119"), |
| 1139 | MTK_FUNCTION(1, "O:GBE_TXD0"), |
| 1140 | MTK_FUNCTION(7, "B0:DBG_MON_A18") |
| 1141 | ), |
| 1142 | MTK_PIN( |
| 1143 | 120, "GPIO120", |
| 1144 | MTK_EINT_FUNCTION(0, 120), |
| 1145 | DRV_GRP0, |
| 1146 | MTK_FUNCTION(0, "GPIO120"), |
| 1147 | MTK_FUNCTION(1, "I0:GBE_RXD3"), |
| 1148 | MTK_FUNCTION(7, "B0:DBG_MON_A19") |
| 1149 | ), |
| 1150 | MTK_PIN( |
| 1151 | 121, "GPIO121", |
| 1152 | MTK_EINT_FUNCTION(0, 121), |
| 1153 | DRV_GRP0, |
| 1154 | MTK_FUNCTION(0, "GPIO121"), |
| 1155 | MTK_FUNCTION(1, "I0:GBE_RXD2"), |
| 1156 | MTK_FUNCTION(7, "B0:DBG_MON_A20") |
| 1157 | ), |
| 1158 | MTK_PIN( |
| 1159 | 122, "GPIO122", |
| 1160 | MTK_EINT_FUNCTION(0, 122), |
| 1161 | DRV_GRP0, |
| 1162 | MTK_FUNCTION(0, "GPIO122"), |
| 1163 | MTK_FUNCTION(1, "I0:GBE_RXD1"), |
| 1164 | MTK_FUNCTION(7, "B0:DBG_MON_A21") |
| 1165 | ), |
| 1166 | MTK_PIN( |
| 1167 | 123, "GPIO123", |
| 1168 | MTK_EINT_FUNCTION(0, 123), |
| 1169 | DRV_GRP0, |
| 1170 | MTK_FUNCTION(0, "GPIO123"), |
| 1171 | MTK_FUNCTION(1, "I0:GBE_RXD0"), |
| 1172 | MTK_FUNCTION(7, "B0:DBG_MON_A22") |
| 1173 | ), |
| 1174 | MTK_PIN( |
| 1175 | 124, "GPIO124", |
| 1176 | MTK_EINT_FUNCTION(0, 124), |
| 1177 | DRV_GRP0, |
| 1178 | MTK_FUNCTION(0, "GPIO124"), |
| 1179 | MTK_FUNCTION(1, "B0:GBE_TXC"), |
| 1180 | MTK_FUNCTION(7, "B0:DBG_MON_A23") |
| 1181 | ), |
| 1182 | MTK_PIN( |
| 1183 | 125, "GPIO125", |
| 1184 | MTK_EINT_FUNCTION(0, 125), |
| 1185 | DRV_GRP0, |
| 1186 | MTK_FUNCTION(0, "GPIO125"), |
| 1187 | MTK_FUNCTION(1, "I0:GBE_RXC"), |
| 1188 | MTK_FUNCTION(7, "B0:DBG_MON_A24") |
| 1189 | ), |
| 1190 | MTK_PIN( |
| 1191 | 126, "GPIO126", |
| 1192 | MTK_EINT_FUNCTION(0, 126), |
| 1193 | DRV_GRP0, |
| 1194 | MTK_FUNCTION(0, "GPIO126"), |
| 1195 | MTK_FUNCTION(1, "I0:GBE_RXDV"), |
| 1196 | MTK_FUNCTION(7, "B0:DBG_MON_A25") |
| 1197 | ), |
| 1198 | MTK_PIN( |
| 1199 | 127, "GPIO127", |
| 1200 | MTK_EINT_FUNCTION(0, 127), |
| 1201 | DRV_GRP0, |
| 1202 | MTK_FUNCTION(0, "GPIO127"), |
| 1203 | MTK_FUNCTION(1, "O:GBE_TXEN"), |
| 1204 | MTK_FUNCTION(7, "B0:DBG_MON_A26") |
| 1205 | ), |
| 1206 | MTK_PIN( |
| 1207 | 128, "GPIO128", |
| 1208 | MTK_EINT_FUNCTION(0, 128), |
| 1209 | DRV_GRP0, |
| 1210 | MTK_FUNCTION(0, "GPIO128"), |
| 1211 | MTK_FUNCTION(1, "O:GBE_MDC"), |
| 1212 | MTK_FUNCTION(7, "B0:DBG_MON_A27") |
| 1213 | ), |
| 1214 | MTK_PIN( |
| 1215 | 129, "GPIO129", |
| 1216 | MTK_EINT_FUNCTION(0, 129), |
| 1217 | DRV_GRP0, |
| 1218 | MTK_FUNCTION(0, "GPIO129"), |
| 1219 | MTK_FUNCTION(1, "B0:GBE_MDIO"), |
| 1220 | MTK_FUNCTION(7, "B0:DBG_MON_A28") |
| 1221 | ), |
| 1222 | MTK_PIN( |
| 1223 | 130, "GPIO130", |
| 1224 | MTK_EINT_FUNCTION(0, 130), |
| 1225 | DRV_GRP0, |
| 1226 | MTK_FUNCTION(0, "GPIO130"), |
| 1227 | MTK_FUNCTION(1, "O:GBE_TXER"), |
| 1228 | MTK_FUNCTION(7, "B0:DBG_MON_A29") |
| 1229 | ), |
| 1230 | MTK_PIN( |
| 1231 | 131, "GPIO131", |
| 1232 | MTK_EINT_FUNCTION(0, 131), |
| 1233 | DRV_GRP0, |
| 1234 | MTK_FUNCTION(0, "GPIO131"), |
| 1235 | MTK_FUNCTION(1, "I0:GBE_RXER"), |
| 1236 | MTK_FUNCTION(7, "B0:DBG_MON_A30") |
| 1237 | ), |
| 1238 | MTK_PIN( |
| 1239 | 132, "GPIO132", |
| 1240 | MTK_EINT_FUNCTION(0, 132), |
| 1241 | DRV_GRP0, |
| 1242 | MTK_FUNCTION(0, "GPIO132"), |
| 1243 | MTK_FUNCTION(1, "I0:GBE_COL"), |
| 1244 | MTK_FUNCTION(7, "B0:DBG_MON_A31") |
| 1245 | ), |
| 1246 | MTK_PIN( |
| 1247 | 133, "GPIO133", |
| 1248 | MTK_EINT_FUNCTION(0, 133), |
| 1249 | DRV_GRP0, |
| 1250 | MTK_FUNCTION(0, "GPIO133"), |
| 1251 | MTK_FUNCTION(1, "I0:GBE_INTR"), |
| 1252 | MTK_FUNCTION(7, "B0:DBG_MON_A32") |
| 1253 | ), |
| 1254 | MTK_PIN( |
| 1255 | 134, "GPIO134", |
| 1256 | MTK_EINT_FUNCTION(0, 134), |
| 1257 | DRV_GRP4, |
| 1258 | MTK_FUNCTION(0, "GPIO134"), |
| 1259 | MTK_FUNCTION(1, "B1:MSDC0_DAT6"), |
| 1260 | MTK_FUNCTION(3, "O:I2S4_BCK"), |
| 1261 | MTK_FUNCTION(4, "I0:SPI2_B_MI"), |
| 1262 | MTK_FUNCTION(5, "B0:I2S0_BCK") |
| 1263 | ), |
| 1264 | MTK_PIN( |
| 1265 | 135, "GPIO135", |
| 1266 | MTK_EINT_FUNCTION(0, 135), |
| 1267 | DRV_GRP4, |
| 1268 | MTK_FUNCTION(0, "GPIO135"), |
| 1269 | MTK_FUNCTION(1, "B1:MSDC0_DAT5"), |
| 1270 | MTK_FUNCTION(3, "O:I2S4_LRCK"), |
| 1271 | MTK_FUNCTION(4, "O:SPI2_B_CLK"), |
| 1272 | MTK_FUNCTION(5, "B0:I2S0_LRCK") |
| 1273 | ), |
| 1274 | MTK_PIN( |
| 1275 | 136, "GPIO136", |
| 1276 | MTK_EINT_FUNCTION(0, 136), |
| 1277 | DRV_GRP4, |
| 1278 | MTK_FUNCTION(0, "GPIO136"), |
| 1279 | MTK_FUNCTION(1, "B1:MSDC0_DAT7"), |
| 1280 | MTK_FUNCTION(2, "O:UTXD4"), |
| 1281 | MTK_FUNCTION(3, "I0:I2S4_DI"), |
| 1282 | MTK_FUNCTION(4, "O:SPI2_B_MO"), |
| 1283 | MTK_FUNCTION(5, "I0:I2S0_DI") |
| 1284 | ), |
| 1285 | MTK_PIN( |
| 1286 | 137, "GPIO137", |
| 1287 | MTK_EINT_FUNCTION(0, 137), |
| 1288 | DRV_GRP4, |
| 1289 | MTK_FUNCTION(0, "GPIO137"), |
| 1290 | MTK_FUNCTION(1, "I0:MSDC0_DSL") |
| 1291 | ), |
| 1292 | MTK_PIN( |
| 1293 | 138, "GPIO138", |
| 1294 | MTK_EINT_FUNCTION(0, 138), |
| 1295 | DRV_GRP4, |
| 1296 | MTK_FUNCTION(0, "GPIO138"), |
| 1297 | MTK_FUNCTION(1, "B1:MSDC0_CLK") |
| 1298 | ), |
| 1299 | MTK_PIN( |
| 1300 | 139, "GPIO139", |
| 1301 | MTK_EINT_FUNCTION(0, 139), |
| 1302 | DRV_GRP4, |
| 1303 | MTK_FUNCTION(0, "GPIO139"), |
| 1304 | MTK_FUNCTION(1, "B1:MSDC0_DAT3") |
| 1305 | ), |
| 1306 | MTK_PIN( |
| 1307 | 140, "GPIO140", |
| 1308 | MTK_EINT_FUNCTION(0, 140), |
| 1309 | DRV_GRP4, |
| 1310 | MTK_FUNCTION(0, "GPIO140"), |
| 1311 | MTK_FUNCTION(1, "O:MSDC0_RSTB") |
| 1312 | ), |
| 1313 | MTK_PIN( |
| 1314 | 141, "GPIO141", |
| 1315 | MTK_EINT_FUNCTION(0, 141), |
| 1316 | DRV_GRP4, |
| 1317 | MTK_FUNCTION(0, "GPIO141"), |
| 1318 | MTK_FUNCTION(1, "B1:MSDC0_DAT0") |
| 1319 | ), |
| 1320 | MTK_PIN( |
| 1321 | 142, "GPIO142", |
| 1322 | MTK_EINT_FUNCTION(0, 142), |
| 1323 | DRV_GRP4, |
| 1324 | MTK_FUNCTION(0, "GPIO142"), |
| 1325 | MTK_FUNCTION(1, "B1:MSDC0_CMD") |
| 1326 | ), |
| 1327 | MTK_PIN( |
| 1328 | 143, "GPIO143", |
| 1329 | MTK_EINT_FUNCTION(0, 143), |
| 1330 | DRV_GRP4, |
| 1331 | MTK_FUNCTION(0, "GPIO143"), |
| 1332 | MTK_FUNCTION(1, "B1:MSDC0_DAT2") |
| 1333 | ), |
| 1334 | MTK_PIN( |
| 1335 | 144, "GPIO144", |
| 1336 | MTK_EINT_FUNCTION(0, 144), |
| 1337 | DRV_GRP4, |
| 1338 | MTK_FUNCTION(0, "GPIO144"), |
| 1339 | MTK_FUNCTION(1, "B1:MSDC0_DAT4"), |
| 1340 | MTK_FUNCTION(2, "I1:URXD4"), |
| 1341 | MTK_FUNCTION(3, "O:I2S4_MCK"), |
| 1342 | MTK_FUNCTION(4, "O:SPI2_B_CS2A"), |
| 1343 | MTK_FUNCTION(5, "O:I2S0_DO") |
| 1344 | ), |
| 1345 | MTK_PIN( |
| 1346 | 145, "GPIO145", |
| 1347 | MTK_EINT_FUNCTION(0, 145), |
| 1348 | DRV_GRP4, |
| 1349 | MTK_FUNCTION(0, "GPIO145"), |
| 1350 | MTK_FUNCTION(1, "B1:MSDC0_DAT1") |
| 1351 | ), |
| 1352 | MTK_PIN( |
| 1353 | 146, "GPIO146", |
| 1354 | MTK_EINT_FUNCTION(0, 146), |
| 1355 | DRV_GRP0, |
| 1356 | MTK_FUNCTION(0, "GPIO146"), |
| 1357 | MTK_FUNCTION(1, "WATCHDOG") |
| 1358 | ), |
| 1359 | MTK_PIN( |
| 1360 | 147, "GPIO147", |
| 1361 | MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), |
| 1362 | DRV_GRP4, |
| 1363 | MTK_FUNCTION(0, "GPIO147"), |
| 1364 | MTK_FUNCTION(1, "B0:NLD0"), |
| 1365 | MTK_FUNCTION(2, "I0:SPI1_C_MI") |
| 1366 | ), |
| 1367 | MTK_PIN( |
| 1368 | 148, "GPIO148", |
| 1369 | MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), |
| 1370 | DRV_GRP4, |
| 1371 | MTK_FUNCTION(0, "GPIO148"), |
| 1372 | MTK_FUNCTION(1, "B0:NLD1"), |
| 1373 | MTK_FUNCTION(2, "O:SPI1_C_CLK") |
| 1374 | ), |
| 1375 | MTK_PIN( |
| 1376 | 149, "GPIO149", |
| 1377 | MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), |
| 1378 | DRV_GRP4, |
| 1379 | MTK_FUNCTION(0, "GPIO149"), |
| 1380 | MTK_FUNCTION(1, "B0:NLD2"), |
| 1381 | MTK_FUNCTION(2, "O:SPI1_C_MO") |
| 1382 | ), |
| 1383 | MTK_PIN( |
| 1384 | 150, "GPIO150", |
| 1385 | MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), |
| 1386 | DRV_GRP4, |
| 1387 | MTK_FUNCTION(0, "GPIO150"), |
| 1388 | MTK_FUNCTION(1, "B0:NLD3"), |
| 1389 | MTK_FUNCTION(2, "O:SPI1_C_CS1A") |
| 1390 | ), |
| 1391 | MTK_PIN( |
| 1392 | 151, "GPIO151", |
| 1393 | MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), |
| 1394 | DRV_GRP4, |
| 1395 | MTK_FUNCTION(0, "GPIO151"), |
| 1396 | MTK_FUNCTION(1, "B0:NLD4"), |
| 1397 | MTK_FUNCTION(2, "O:SPI1_C_CS1B"), |
| 1398 | MTK_FUNCTION(3, "B1:SDA3"), |
| 1399 | MTK_FUNCTION(4, "O:UTXD1") |
| 1400 | ), |
| 1401 | MTK_PIN( |
| 1402 | 152, "GPIO152", |
| 1403 | MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), |
| 1404 | DRV_GRP4, |
| 1405 | MTK_FUNCTION(0, "GPIO152"), |
| 1406 | MTK_FUNCTION(1, "B0:NLD5"), |
| 1407 | MTK_FUNCTION(2, "O:SPI1_C_CS1C"), |
| 1408 | MTK_FUNCTION(3, "B1:SCL3"), |
| 1409 | MTK_FUNCTION(4, "I1:URXD1") |
| 1410 | ), |
| 1411 | MTK_PIN( |
| 1412 | 153, "GPIO153", |
| 1413 | MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), |
| 1414 | DRV_GRP4, |
| 1415 | MTK_FUNCTION(0, "GPIO153"), |
| 1416 | MTK_FUNCTION(1, "B0:NLD6"), |
| 1417 | MTK_FUNCTION(2, "B1:SDA2"), |
| 1418 | MTK_FUNCTION(3, "O:PWM0"), |
| 1419 | MTK_FUNCTION(4, "I1:UCTS1") |
| 1420 | ), |
| 1421 | MTK_PIN( |
| 1422 | 154, "GPIO154", |
| 1423 | MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), |
| 1424 | DRV_GRP4, |
| 1425 | MTK_FUNCTION(0, "GPIO154"), |
| 1426 | MTK_FUNCTION(1, "B0:NLD7"), |
| 1427 | MTK_FUNCTION(2, "B1:SCL2"), |
| 1428 | MTK_FUNCTION(3, "O:PWM2"), |
| 1429 | MTK_FUNCTION(4, "O:URTS1") |
| 1430 | ), |
| 1431 | MTK_PIN( |
| 1432 | 155, "GPIO155", |
| 1433 | MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), |
| 1434 | DRV_GRP4, |
| 1435 | MTK_FUNCTION(0, "GPIO155"), |
| 1436 | MTK_FUNCTION(1, "O:NALE"), |
| 1437 | MTK_FUNCTION(2, "B0:SNFI_MISO") |
| 1438 | ), |
| 1439 | MTK_PIN( |
| 1440 | 156, "GPIO156", |
| 1441 | MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), |
| 1442 | DRV_GRP4, |
| 1443 | MTK_FUNCTION(0, "GPIO156"), |
| 1444 | MTK_FUNCTION(1, "O:NCLE"), |
| 1445 | MTK_FUNCTION(2, "B0:SNFI_MOSI") |
| 1446 | ), |
| 1447 | MTK_PIN( |
| 1448 | 157, "GPIO157", |
| 1449 | MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), |
| 1450 | DRV_GRP4, |
| 1451 | MTK_FUNCTION(0, "GPIO157"), |
| 1452 | MTK_FUNCTION(1, "I1:NRNB"), |
| 1453 | MTK_FUNCTION(2, "B0:SNFI_WP") |
| 1454 | ), |
| 1455 | MTK_PIN( |
| 1456 | 158, "GPIO158", |
| 1457 | MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), |
| 1458 | DRV_GRP4, |
| 1459 | MTK_FUNCTION(0, "GPIO158"), |
| 1460 | MTK_FUNCTION(1, "O:NWEB"), |
| 1461 | MTK_FUNCTION(2, "O:SNFI_CLK") |
| 1462 | ), |
| 1463 | MTK_PIN( |
| 1464 | 159, "GPIO159", |
| 1465 | MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), |
| 1466 | DRV_GRP4, |
| 1467 | MTK_FUNCTION(0, "GPIO159"), |
| 1468 | MTK_FUNCTION(1, "O:NREB"), |
| 1469 | MTK_FUNCTION(2, "B0:SNFI_HOLD") |
| 1470 | ), |
| 1471 | MTK_PIN( |
| 1472 | 160, "GPIO160", |
| 1473 | MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), |
| 1474 | DRV_GRP4, |
| 1475 | MTK_FUNCTION(0, "GPIO160"), |
| 1476 | MTK_FUNCTION(1, "O:NCEB0"), |
| 1477 | MTK_FUNCTION(2, "O:SNFI_CS") |
| 1478 | ), |
| 1479 | MTK_PIN( |
| 1480 | 161, "GPIO161", |
| 1481 | MTK_EINT_FUNCTION(0, 148), |
| 1482 | DRV_GRP4, |
| 1483 | MTK_FUNCTION(0, NULL) |
| 1484 | ), |
| 1485 | MTK_PIN( |
| 1486 | 162, "GPIO162", |
| 1487 | MTK_EINT_FUNCTION(0, 149), |
| 1488 | DRV_GRP4, |
| 1489 | MTK_FUNCTION(0, NULL) |
| 1490 | ), |
| 1491 | MTK_PIN( |
| 1492 | 163, "GPIO163", |
| 1493 | MTK_EINT_FUNCTION(0, 150), |
| 1494 | DRV_GRP4, |
| 1495 | MTK_FUNCTION(0, NULL) |
| 1496 | ), |
| 1497 | MTK_PIN( |
| 1498 | 164, "GPIO164", |
| 1499 | MTK_EINT_FUNCTION(0, 151), |
| 1500 | DRV_GRP4, |
| 1501 | MTK_FUNCTION(0, NULL) |
| 1502 | ), |
| 1503 | MTK_PIN( |
| 1504 | 165, "GPIO165", |
| 1505 | MTK_EINT_FUNCTION(0, 152), |
| 1506 | DRV_GRP4, |
| 1507 | MTK_FUNCTION(0, NULL) |
| 1508 | ), |
| 1509 | MTK_PIN( |
| 1510 | 166, "GPIO166", |
| 1511 | MTK_EINT_FUNCTION(0, 153), |
| 1512 | DRV_GRP4, |
| 1513 | MTK_FUNCTION(0, NULL) |
| 1514 | ), |
| 1515 | MTK_PIN( |
| 1516 | 167, "GPIO167", |
| 1517 | MTK_EINT_FUNCTION(0, 154), |
| 1518 | DRV_GRP4, |
| 1519 | MTK_FUNCTION(0, NULL) |
| 1520 | ), |
| 1521 | MTK_PIN( |
| 1522 | 168, "GPIO168", |
| 1523 | MTK_EINT_FUNCTION(0, 155), |
| 1524 | DRV_GRP4, |
| 1525 | MTK_FUNCTION(0, NULL) |
| 1526 | ), |
| 1527 | }; |
| 1528 | |
| 1529 | #ifdef CONFIG_PINCTRL_MTK_DEBUG |
| 1530 | static const struct pin_bi_dir_mapping mtk_bi_dir_mapping_mt2731[] = { |
| 1531 | {"B1:MD1_SIM2_SIO", 0}, |
| 1532 | {"B1:MD1_SIM1_SIO", 0}, |
| 1533 | {"B1:SDA_6306", 0}, |
| 1534 | {"B1:IO_JTAG_TMS", 0}, |
| 1535 | {"B1:DAP_MD32_SWD", 0}, |
| 1536 | {"B0:RFIC0_BSI_D2", 0}, |
| 1537 | {"B0:RFIC0_BSI_D1", 0}, |
| 1538 | {"B0:RFIC0_BSI_D0", 0}, |
| 1539 | {"B0:MIPI0_SDATA", 0}, |
| 1540 | {"B0:MIPI1_SDATA", 0}, |
| 1541 | {"B0:MIPI2_SDATA", 0}, |
| 1542 | {"B0:MIPI3_SDATA", 0}, |
| 1543 | {"B0:MIPI4_SDATA", 0}, |
| 1544 | {"B1:SPM_JTAG_TDO", 1}, |
| 1545 | {"B1:SDA0", 0}, |
| 1546 | {"B1:SCL0", 0}, |
| 1547 | {"B1:SDA1", 0}, |
| 1548 | {"B1:SCL1", 0}, |
| 1549 | {"B1:SDA2", 0}, |
| 1550 | {"B1:SCL2", 0}, |
| 1551 | {"B1:SDA4", 0}, |
| 1552 | {"B1:SCL4", 0}, |
| 1553 | {"B1:SDA3", 0}, |
| 1554 | {"B1:SCL3", 0}, |
| 1555 | {"B0:PWRAP_SPI0_MO", 0}, |
| 1556 | {"B0:PWRAP_SPI0_MI", 0}, |
| 1557 | {"B0:I2S0_BCK", 1}, |
| 1558 | {"B0:I2S0_LRCK", 1}, |
| 1559 | {"B0:PCM1_CLK", 0}, |
| 1560 | {"B0:PCM1_SYNC", 0}, |
| 1561 | {"B1:MSDC0_DAT7", 0}, |
| 1562 | {"B1:MSDC0_DAT6", 0}, |
| 1563 | {"B1:MSDC0_DAT5", 0}, |
| 1564 | {"B1:MSDC0_DAT4", 0}, |
| 1565 | {"B1:MSDC0_CMD", 0}, |
| 1566 | {"B1:MSDC0_CLK", 1}, |
| 1567 | {"B1:MSDC0_DAT3", 0}, |
| 1568 | {"B1:MSDC0_DAT2", 0}, |
| 1569 | {"B1:MSDC0_DAT1", 0}, |
| 1570 | {"B1:MSDC0_DAT0", 0}, |
| 1571 | {"B1:MSDC1_CMD", 0}, |
| 1572 | {"B1:MSDC1_CLK", 1}, |
| 1573 | {"B1:MSDC1_DAT0", 0}, |
| 1574 | {"B1:MSDC1_DAT1", 0}, |
| 1575 | {"B1:MSDC1_DAT2", 0}, |
| 1576 | {"B1:MSDC1_DAT3", 0}, |
| 1577 | {"B1:MSDC2_CMD", 0}, |
| 1578 | {"B1:MSDC2_CLK", 1}, |
| 1579 | {"B1:MSDC2_DAT0", 0}, |
| 1580 | {"B1:MSDC2_DAT1", 0}, |
| 1581 | {"B1:MSDC2_DAT2", 0}, |
| 1582 | {"B1:MSDC2_DAT3", 0}, |
| 1583 | {"B0:NLD0", 0}, |
| 1584 | {"B0:NLD1", 0}, |
| 1585 | {"B0:NLD2", 0}, |
| 1586 | {"B0:NLD3", 0}, |
| 1587 | {"B0:NLD4", 0}, |
| 1588 | {"B0:NLD5", 0}, |
| 1589 | {"B0:NLD6", 0}, |
| 1590 | {"B0:NLD7", 0}, |
| 1591 | {"B0:SNFI_MOSI", 1}, |
| 1592 | {"B0:SNFI_MISO", 1}, |
| 1593 | {"B0:SNFI_WP", 1}, |
| 1594 | {"B0:SNFI_HOLD", 1}, |
| 1595 | {"B0:GBE_TXC", 1}, |
| 1596 | {"B0:GBE_MDIO", 0}, |
| 1597 | {"B1:JTMS_SEL1", 0}, |
| 1598 | {"B1:JTMS_SEL2", 0}, |
| 1599 | {"B0:DBG_MON_A0", 1}, |
| 1600 | {"B0:DBG_MON_A1", 1}, |
| 1601 | {"B0:DBG_MON_A2", 1}, |
| 1602 | {"B0:DBG_MON_A3", 1}, |
| 1603 | {"B0:DBG_MON_A4", 1}, |
| 1604 | {"B0:DBG_MON_A5", 1}, |
| 1605 | {"B0:DBG_MON_A6", 1}, |
| 1606 | {"B0:DBG_MON_A7", 1}, |
| 1607 | {"B0:DBG_MON_A8", 1}, |
| 1608 | {"B0:DBG_MON_A9", 1}, |
| 1609 | {"B0:DBG_MON_A10", 1}, |
| 1610 | {"B0:DBG_MON_A11", 1}, |
| 1611 | {"B0:DBG_MON_A12", 1}, |
| 1612 | {"B0:DBG_MON_A13", 1}, |
| 1613 | {"B0:DBG_MON_A14", 1}, |
| 1614 | {"B0:DBG_MON_A15", 1}, |
| 1615 | {"B0:DBG_MON_A16", 1}, |
| 1616 | {"B0:DBG_MON_A17", 1}, |
| 1617 | {"B0:DBG_MON_A18", 1}, |
| 1618 | {"B0:DBG_MON_A19", 1}, |
| 1619 | {"B0:DBG_MON_A20", 1}, |
| 1620 | {"B0:DBG_MON_A21", 1}, |
| 1621 | {"B0:DBG_MON_A22", 1}, |
| 1622 | {"B0:DBG_MON_A23", 1}, |
| 1623 | {"B0:DBG_MON_A24", 1}, |
| 1624 | {"B0:DBG_MON_A25", 1}, |
| 1625 | {"B0:DBG_MON_A26", 1}, |
| 1626 | {"B0:DBG_MON_A27", 1}, |
| 1627 | {"B0:DBG_MON_A28", 1}, |
| 1628 | {"B0:DBG_MON_A29", 1}, |
| 1629 | {"B0:DBG_MON_A30", 1}, |
| 1630 | {"B0:DBG_MON_A31", 1}, |
| 1631 | {"B0:DBG_MON_A32", 1}, |
| 1632 | {"B0:DBG_MON_B0", 1}, |
| 1633 | {"B0:DBG_MON_B1", 1}, |
| 1634 | {"B0:DBG_MON_B2", 1}, |
| 1635 | {"B0:DBG_MON_B3", 1}, |
| 1636 | {"B0:DBG_MON_B4", 1}, |
| 1637 | {"B0:DBG_MON_B5", 1}, |
| 1638 | {"B0:DBG_MON_B6", 1}, |
| 1639 | {"B0:DBG_MON_B7", 1}, |
| 1640 | {"B0:DBG_MON_B8", 1}, |
| 1641 | {"B0:DBG_MON_B9", 1}, |
| 1642 | {"B0:DBG_MON_B10", 1}, |
| 1643 | {"B0:DBG_MON_B11", 1}, |
| 1644 | {"B0:DBG_MON_B12", 1}, |
| 1645 | {"B0:DBG_MON_B13", 1}, |
| 1646 | {"B0:DBG_MON_B14", 1}, |
| 1647 | {"B0:DBG_MON_B15", 1}, |
| 1648 | {"B0:DBG_MON_B16", 1}, |
| 1649 | {"B0:DBG_MON_B17", 1}, |
| 1650 | {"B0:DBG_MON_B18", 1}, |
| 1651 | {"B0:DBG_MON_B19", 1}, |
| 1652 | {"B0:DBG_MON_B20", 1}, |
| 1653 | {"B0:DBG_MON_B21", 1}, |
| 1654 | {"B0:DBG_MON_B22", 1}, |
| 1655 | {"B0:DBG_MON_B23", 1}, |
| 1656 | {"B0:DBG_MON_B24", 1}, |
| 1657 | {"B0:DBG_MON_B25", 1}, |
| 1658 | {"B0:DBG_MON_B26", 1}, |
| 1659 | {"B0:DBG_MON_B27", 1}, |
| 1660 | {"B0:DBG_MON_B28", 1}, |
| 1661 | {"B0:DBG_MON_B29", 1}, |
| 1662 | {"B0:DBG_MON_B30", 1}, |
| 1663 | {"B0:DBG_MON_B31", 1}, |
| 1664 | {"B0:PCIE_CLKREQ_N", 0}, |
| 1665 | {"B1:PCIE_WAKE_N", 1}, |
| 1666 | {"B1:PCIE_PERST_N", 0}, |
| 1667 | {"B1:MD1_SIM2_SIO", 0}, |
| 1668 | {"B1:MD1_SIM1_SIO", 0}, |
| 1669 | {"B1:SDA_6306", 0}, |
| 1670 | {"B1:IO_JTAG_TMS", 0}, |
| 1671 | {"B1:DAP_MD32_SWD", 0}, |
| 1672 | {"B0:RFIC0_BSI_D2", 0}, |
| 1673 | {"B0:RFIC0_BSI_D1", 0}, |
| 1674 | {"B0:RFIC0_BSI_D0", 0}, |
| 1675 | {"B0:MIPI0_SDATA", 0}, |
| 1676 | {"B0:MIPI1_SDATA", 0}, |
| 1677 | {"B0:MIPI2_SDATA", 0}, |
| 1678 | {"B0:MIPI3_SDATA", 0}, |
| 1679 | {"B0:MIPI4_SDATA", 0}, |
| 1680 | {"B1:SPM_JTAG_TDO", 1}, |
| 1681 | {"B1:SDA0", 0}, |
| 1682 | {"B1:SCL0", 0}, |
| 1683 | {"B1:SDA1", 0}, |
| 1684 | {"B1:SCL1", 0}, |
| 1685 | {"B1:SDA2", 0}, |
| 1686 | {"B1:SCL2", 0}, |
| 1687 | {"B1:SDA4", 0}, |
| 1688 | {"B1:SCL4", 0}, |
| 1689 | {"B1:SDA3", 0}, |
| 1690 | {"B1:SCL3", 0}, |
| 1691 | {"B0:PWRAP_SPI0_MO", 0}, |
| 1692 | {"B0:PWRAP_SPI0_MI", 0}, |
| 1693 | {"B0:I2S0_BCK", 1}, |
| 1694 | {"B0:I2S0_LRCK", 1}, |
| 1695 | {"B0:PCM1_CLK", 0}, |
| 1696 | {"B0:PCM1_SYNC", 0}, |
| 1697 | {"B1:MSDC0_DAT7", 0}, |
| 1698 | {"B1:MSDC0_DAT6", 0}, |
| 1699 | {"B1:MSDC0_DAT5", 0}, |
| 1700 | {"B1:MSDC0_DAT4", 0}, |
| 1701 | {"B1:MSDC0_CMD", 0}, |
| 1702 | {"B1:MSDC0_CLK", 1}, |
| 1703 | {"B1:MSDC0_DAT3", 0}, |
| 1704 | {"B1:MSDC0_DAT2", 0}, |
| 1705 | {"B1:MSDC0_DAT1", 0}, |
| 1706 | {"B1:MSDC0_DAT0", 0}, |
| 1707 | {"B1:MSDC1_CMD", 0}, |
| 1708 | {"B1:MSDC1_CLK", 1}, |
| 1709 | {"B1:MSDC1_DAT0", 0}, |
| 1710 | {"B1:MSDC1_DAT1", 0}, |
| 1711 | {"B1:MSDC1_DAT2", 0}, |
| 1712 | {"B1:MSDC1_DAT3", 0}, |
| 1713 | {"B1:MSDC2_CMD", 0}, |
| 1714 | {"B1:MSDC2_CLK", 1}, |
| 1715 | {"B1:MSDC2_DAT0", 0}, |
| 1716 | {"B1:MSDC2_DAT1", 0}, |
| 1717 | {"B1:MSDC2_DAT2", 0}, |
| 1718 | {"B1:MSDC2_DAT3", 0}, |
| 1719 | {"B0:NLD0", 0}, |
| 1720 | {"B0:NLD1", 0}, |
| 1721 | {"B0:NLD2", 0}, |
| 1722 | {"B0:NLD3", 0}, |
| 1723 | {"B0:NLD4", 0}, |
| 1724 | {"B0:NLD5", 0}, |
| 1725 | {"B0:NLD6", 0}, |
| 1726 | {"B0:NLD7", 0}, |
| 1727 | {"B0:SNFI_MOSI", 1}, |
| 1728 | {"B0:SNFI_MISO", 1}, |
| 1729 | {"B0:SNFI_WP", 1}, |
| 1730 | {"B0:SNFI_HOLD", 1}, |
| 1731 | {"B0:GBE_TXC", 1}, |
| 1732 | {"B0:GBE_MDIO", 0}, |
| 1733 | {"B1:JTMS_SEL1", 0}, |
| 1734 | {"B1:JTMS_SEL2", 0}, |
| 1735 | {"B0:DBG_MON_A0", 1}, |
| 1736 | {"B0:DBG_MON_A1", 1}, |
| 1737 | {"B0:DBG_MON_A2", 1}, |
| 1738 | {"B0:DBG_MON_A3", 1}, |
| 1739 | {"B0:DBG_MON_A4", 1}, |
| 1740 | {"B0:DBG_MON_A5", 1}, |
| 1741 | {"B0:DBG_MON_A6", 1}, |
| 1742 | {"B0:DBG_MON_A7", 1}, |
| 1743 | {"B0:DBG_MON_A8", 1}, |
| 1744 | {"B0:DBG_MON_A9", 1}, |
| 1745 | {"B0:DBG_MON_A10", 1}, |
| 1746 | {"B0:DBG_MON_A11", 1}, |
| 1747 | {"B0:DBG_MON_A12", 1}, |
| 1748 | {"B0:DBG_MON_A13", 1}, |
| 1749 | {"B0:DBG_MON_A14", 1}, |
| 1750 | {"B0:DBG_MON_A15", 1}, |
| 1751 | {"B0:DBG_MON_A16", 1}, |
| 1752 | {"B0:DBG_MON_A17", 1}, |
| 1753 | {"B0:DBG_MON_A18", 1}, |
| 1754 | {"B0:DBG_MON_A19", 1}, |
| 1755 | {"B0:DBG_MON_A20", 1}, |
| 1756 | {"B0:DBG_MON_A21", 1}, |
| 1757 | {"B0:DBG_MON_A22", 1}, |
| 1758 | {"B0:DBG_MON_A23", 1}, |
| 1759 | {"B0:DBG_MON_A24", 1}, |
| 1760 | {"B0:DBG_MON_A25", 1}, |
| 1761 | {"B0:DBG_MON_A26", 1}, |
| 1762 | {"B0:DBG_MON_A27", 1}, |
| 1763 | {"B0:DBG_MON_A28", 1}, |
| 1764 | {"B0:DBG_MON_A29", 1}, |
| 1765 | {"B0:DBG_MON_A30", 1}, |
| 1766 | {"B0:DBG_MON_A31", 1}, |
| 1767 | {"B0:DBG_MON_A32", 1}, |
| 1768 | {"B0:DBG_MON_B0", 1}, |
| 1769 | {"B0:DBG_MON_B1", 1}, |
| 1770 | {"B0:DBG_MON_B2", 1}, |
| 1771 | {"B0:DBG_MON_B3", 1}, |
| 1772 | {"B0:DBG_MON_B4", 1}, |
| 1773 | {"B0:DBG_MON_B5", 1}, |
| 1774 | {"B0:DBG_MON_B6", 1}, |
| 1775 | {"B0:DBG_MON_B7", 1}, |
| 1776 | {"B0:DBG_MON_B8", 1}, |
| 1777 | {"B0:DBG_MON_B9", 1}, |
| 1778 | {"B0:DBG_MON_B10", 1}, |
| 1779 | {"B0:DBG_MON_B11", 1}, |
| 1780 | {"B0:DBG_MON_B12", 1}, |
| 1781 | {"B0:DBG_MON_B13", 1}, |
| 1782 | {"B0:DBG_MON_B14", 1}, |
| 1783 | {"B0:DBG_MON_B15", 1}, |
| 1784 | {"B0:DBG_MON_B16", 1}, |
| 1785 | {"B0:DBG_MON_B17", 1}, |
| 1786 | {"B0:DBG_MON_B18", 1}, |
| 1787 | {"B0:DBG_MON_B19", 1}, |
| 1788 | {"B0:DBG_MON_B20", 1}, |
| 1789 | {"B0:DBG_MON_B21", 1}, |
| 1790 | {"B0:DBG_MON_B22", 1}, |
| 1791 | {"B0:DBG_MON_B23", 1}, |
| 1792 | {"B0:DBG_MON_B24", 1}, |
| 1793 | {"B0:DBG_MON_B25", 1}, |
| 1794 | {"B0:DBG_MON_B26", 1}, |
| 1795 | {"B0:DBG_MON_B27", 1}, |
| 1796 | {"B0:DBG_MON_B28", 1}, |
| 1797 | {"B0:DBG_MON_B29", 1}, |
| 1798 | {"B0:DBG_MON_B30", 1}, |
| 1799 | {"B0:DBG_MON_B31", 1}, |
| 1800 | {"B0:PCIE_CLKREQ_N", 0}, |
| 1801 | {"B1:PCIE_WAKE_N", 1}, |
| 1802 | {"B1:PCIE_PERST_N", 0}, |
| 1803 | }; |
| 1804 | #endif /* CONFIG_PINCTRL_MTK_DEBUG */ |
| 1805 | |
| 1806 | #endif /* __PINCTRL-MTK-MT2731_H */ |