1 /* 2 * Copyright (c) 2015 MediaTek Inc. 3 * Author: Biao Huang <biao.huang@mediatek.com> 4 * 5 * This program is free software; you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License version 2 as 7 * published by the Free Software Foundation. 8 * 9 * This program is distributed in the hope that it will be useful, 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 * GNU General Public License for more details. 13 */ 14 15 #ifndef __PINCTRL_MTK_MT2701_H 16 #define __PINCTRL_MTK_MT2701_H 17 18 #include <linux/pinctrl/pinctrl.h> 19 #include "pinctrl-mtk-common.h" 20 21 static const struct mtk_desc_pin mtk_pins_mt2701[] = { 22 MTK_PIN( 23 PINCTRL_PIN(0, "PWRAP_SPI0_MI"), 24 NULL, "mt2701", 25 MTK_EINT_FUNCTION(0, 148), 26 MTK_FUNCTION(0, "GPIO0"), 27 MTK_FUNCTION(1, "PWRAP_SPIDO"), 28 MTK_FUNCTION(2, "PWRAP_SPIDI") 29 ), 30 MTK_PIN( 31 PINCTRL_PIN(1, "PWRAP_SPI0_MO"), 32 NULL, "mt2701", 33 MTK_EINT_FUNCTION(0, 149), 34 MTK_FUNCTION(0, "GPIO1"), 35 MTK_FUNCTION(1, "PWRAP_SPIDI"), 36 MTK_FUNCTION(2, "PWRAP_SPIDO") 37 ), 38 MTK_PIN( 39 PINCTRL_PIN(2, "PWRAP_INT"), 40 NULL, "mt2701", 41 MTK_EINT_FUNCTION(0, 150), 42 MTK_FUNCTION(0, "GPIO2"), 43 MTK_FUNCTION(1, "PWRAP_INT") 44 ), 45 MTK_PIN( 46 PINCTRL_PIN(3, "PWRAP_SPI0_CK"), 47 NULL, "mt2701", 48 MTK_EINT_FUNCTION(0, 151), 49 MTK_FUNCTION(0, "GPIO3"), 50 MTK_FUNCTION(1, "PWRAP_SPICK_I") 51 ), 52 MTK_PIN( 53 PINCTRL_PIN(4, "PWRAP_SPI0_CSN"), 54 NULL, "mt2701", 55 MTK_EINT_FUNCTION(0, 152), 56 MTK_FUNCTION(0, "GPIO4"), 57 MTK_FUNCTION(1, "PWRAP_SPICS_B_I") 58 ), 59 MTK_PIN( 60 PINCTRL_PIN(5, "PWRAP_SPI0_CK2"), 61 NULL, "mt2701", 62 MTK_EINT_FUNCTION(0, 153), 63 MTK_FUNCTION(0, "GPIO5"), 64 MTK_FUNCTION(1, "PWRAP_SPICK2_I"), 65 MTK_FUNCTION(5, "ANT_SEL1") 66 ), 67 MTK_PIN( 68 PINCTRL_PIN(6, "PWRAP_SPI0_CSN2"), 69 NULL, "mt2701", 70 MTK_EINT_FUNCTION(0, 154), 71 MTK_FUNCTION(0, "GPIO6"), 72 MTK_FUNCTION(1, "PWRAP_SPICS2_B_I"), 73 MTK_FUNCTION(5, "ANT_SEL0"), 74 MTK_FUNCTION(7, "DBG_MON_A[0]") 75 ), 76 MTK_PIN( 77 PINCTRL_PIN(7, "SPI1_CSN"), 78 NULL, "mt2701", 79 MTK_EINT_FUNCTION(0, 155), 80 MTK_FUNCTION(0, "GPIO7"), 81 MTK_FUNCTION(1, "SPI1_CS"), 82 MTK_FUNCTION(4, "KCOL0"), 83 MTK_FUNCTION(7, "DBG_MON_B[12]") 84 ), 85 MTK_PIN( 86 PINCTRL_PIN(8, "SPI1_MI"), 87 NULL, "mt2701", 88 MTK_EINT_FUNCTION(0, 156), 89 MTK_FUNCTION(0, "GPIO8"), 90 MTK_FUNCTION(1, "SPI1_MI"), 91 MTK_FUNCTION(2, "SPI1_MO"), 92 MTK_FUNCTION(4, "KCOL1"), 93 MTK_FUNCTION(7, "DBG_MON_B[13]") 94 ), 95 MTK_PIN( 96 PINCTRL_PIN(9, "SPI1_MO"), 97 NULL, "mt2701", 98 MTK_EINT_FUNCTION(0, 157), 99 MTK_FUNCTION(0, "GPIO9"), 100 MTK_FUNCTION(1, "SPI1_MO"), 101 MTK_FUNCTION(2, "SPI1_MI"), 102 MTK_FUNCTION(3, "EXT_FRAME_SYNC"), 103 MTK_FUNCTION(4, "KCOL2"), 104 MTK_FUNCTION(7, "DBG_MON_B[14]") 105 ), 106 MTK_PIN( 107 PINCTRL_PIN(10, "RTC32K_CK"), 108 NULL, "mt2701", 109 MTK_EINT_FUNCTION(0, 158), 110 MTK_FUNCTION(0, "GPIO10"), 111 MTK_FUNCTION(1, "RTC32K_CK") 112 ), 113 MTK_PIN( 114 PINCTRL_PIN(11, "WATCHDOG"), 115 NULL, "mt2701", 116 MTK_EINT_FUNCTION(0, 159), 117 MTK_FUNCTION(0, "GPIO11"), 118 MTK_FUNCTION(1, "WATCHDOG") 119 ), 120 MTK_PIN( 121 PINCTRL_PIN(12, "SRCLKENA"), 122 NULL, "mt2701", 123 MTK_EINT_FUNCTION(0, 160), 124 MTK_FUNCTION(0, "GPIO12"), 125 MTK_FUNCTION(1, "SRCLKENA") 126 ), 127 MTK_PIN( 128 PINCTRL_PIN(13, "SRCLKENAI"), 129 NULL, "mt2701", 130 MTK_EINT_FUNCTION(0, 161), 131 MTK_FUNCTION(0, "GPIO13"), 132 MTK_FUNCTION(1, "SRCLKENAI") 133 ), 134 MTK_PIN( 135 PINCTRL_PIN(14, "URXD2"), 136 NULL, "mt2701", 137 MTK_EINT_FUNCTION(0, 162), 138 MTK_FUNCTION(0, "GPIO14"), 139 MTK_FUNCTION(1, "URXD2"), 140 MTK_FUNCTION(2, "UTXD2"), 141 MTK_FUNCTION(5, "SRCCLKENAI2"), 142 MTK_FUNCTION(7, "DBG_MON_B[30]") 143 ), 144 MTK_PIN( 145 PINCTRL_PIN(15, "UTXD2"), 146 NULL, "mt2701", 147 MTK_EINT_FUNCTION(0, 163), 148 MTK_FUNCTION(0, "GPIO15"), 149 MTK_FUNCTION(1, "UTXD2"), 150 MTK_FUNCTION(2, "URXD2"), 151 MTK_FUNCTION(7, "DBG_MON_B[31]") 152 ), 153 MTK_PIN( 154 PINCTRL_PIN(16, "I2S5_DATA_IN"), 155 NULL, "mt2701", 156 MTK_EINT_FUNCTION(0, 164), 157 MTK_FUNCTION(0, "GPIO16"), 158 MTK_FUNCTION(1, "I2S5_DATA_IN"), 159 MTK_FUNCTION(3, "PCM_RX"), 160 MTK_FUNCTION(4, "ANT_SEL4") 161 ), 162 MTK_PIN( 163 PINCTRL_PIN(17, "I2S5_BCK"), 164 NULL, "mt2701", 165 MTK_EINT_FUNCTION(0, 165), 166 MTK_FUNCTION(0, "GPIO17"), 167 MTK_FUNCTION(1, "I2S5_BCK"), 168 MTK_FUNCTION(3, "PCM_CLK0"), 169 MTK_FUNCTION(4, "ANT_SEL2") 170 ), 171 MTK_PIN( 172 PINCTRL_PIN(18, "PCM_CLK"), 173 NULL, "mt2701", 174 MTK_EINT_FUNCTION(0, 166), 175 MTK_FUNCTION(0, "GPIO18"), 176 MTK_FUNCTION(1, "PCM_CLK0"), 177 MTK_FUNCTION(2, "MRG_CLK"), 178 MTK_FUNCTION(4, "MM_TEST_CK"), 179 MTK_FUNCTION(5, "CONN_DSP_JCK"), 180 MTK_FUNCTION(6, "WCN_PCM_CLKO"), 181 MTK_FUNCTION(7, "DBG_MON_A[3]") 182 ), 183 MTK_PIN( 184 PINCTRL_PIN(19, "PCM_SYNC"), 185 NULL, "mt2701", 186 MTK_EINT_FUNCTION(0, 167), 187 MTK_FUNCTION(0, "GPIO19"), 188 MTK_FUNCTION(1, "PCM_SYNC"), 189 MTK_FUNCTION(2, "MRG_SYNC"), 190 MTK_FUNCTION(5, "CONN_DSP_JINTP"), 191 MTK_FUNCTION(6, "WCN_PCM_SYNC"), 192 MTK_FUNCTION(7, "DBG_MON_A[5]") 193 ), 194 MTK_PIN( 195 PINCTRL_PIN(20, "PCM_RX"), 196 NULL, "mt2701", 197 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 198 MTK_FUNCTION(0, "GPIO20"), 199 MTK_FUNCTION(1, "PCM_RX"), 200 MTK_FUNCTION(2, "MRG_RX"), 201 MTK_FUNCTION(3, "MRG_TX"), 202 MTK_FUNCTION(4, "PCM_TX"), 203 MTK_FUNCTION(5, "CONN_DSP_JDI"), 204 MTK_FUNCTION(6, "WCN_PCM_RX"), 205 MTK_FUNCTION(7, "DBG_MON_A[4]") 206 ), 207 MTK_PIN( 208 PINCTRL_PIN(21, "PCM_TX"), 209 NULL, "mt2701", 210 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 211 MTK_FUNCTION(0, "GPIO21"), 212 MTK_FUNCTION(1, "PCM_TX"), 213 MTK_FUNCTION(2, "MRG_TX"), 214 MTK_FUNCTION(3, "MRG_RX"), 215 MTK_FUNCTION(4, "PCM_RX"), 216 MTK_FUNCTION(5, "CONN_DSP_JMS"), 217 MTK_FUNCTION(6, "WCN_PCM_TX"), 218 MTK_FUNCTION(7, "DBG_MON_A[2]") 219 ), 220 MTK_PIN( 221 PINCTRL_PIN(22, "EINT0"), 222 NULL, "mt2701", 223 MTK_EINT_FUNCTION(0, 0), 224 MTK_FUNCTION(0, "GPIO22"), 225 MTK_FUNCTION(1, "UCTS0"), 226 /* MT7623 take function 2 as PCIE0_PERST_N */ 227 MTK_FUNCTION(2, "PCIE0_PERST_N"), 228 MTK_FUNCTION(3, "KCOL3"), 229 MTK_FUNCTION(4, "CONN_DSP_JDO"), 230 MTK_FUNCTION(5, "EXT_FRAME_SYNC"), 231 MTK_FUNCTION(7, "DBG_MON_A[30]"), 232 MTK_FUNCTION(10, "PCIE0_PERST_N") 233 ), 234 MTK_PIN( 235 PINCTRL_PIN(23, "EINT1"), 236 NULL, "mt2701", 237 MTK_EINT_FUNCTION(0, 1), 238 MTK_FUNCTION(0, "GPIO23"), 239 MTK_FUNCTION(1, "URTS0"), 240 /* MT7623 take function 2 as PCIE1_PERST_N */ 241 MTK_FUNCTION(2, "PCIE1_PERST_N"), 242 MTK_FUNCTION(3, "KCOL2"), 243 MTK_FUNCTION(4, "CONN_MCU_TDO"), 244 MTK_FUNCTION(5, "EXT_FRAME_SYNC"), 245 MTK_FUNCTION(7, "DBG_MON_A[29]"), 246 MTK_FUNCTION(10, "PCIE1_PERST_N") 247 ), 248 MTK_PIN( 249 PINCTRL_PIN(24, "EINT2"), 250 NULL, "mt2701", 251 MTK_EINT_FUNCTION(0, 2), 252 MTK_FUNCTION(0, "GPIO24"), 253 MTK_FUNCTION(1, "UCTS1"), 254 /* MT7623 take function 2 as PCIE2_PERST_N */ 255 MTK_FUNCTION(2, "PCIE2_PERST_N"), 256 MTK_FUNCTION(3, "KCOL1"), 257 MTK_FUNCTION(4, "CONN_MCU_DBGACK_N"), 258 MTK_FUNCTION(7, "DBG_MON_A[28]"), 259 MTK_FUNCTION(10, "PCIE2_PERST_N") 260 ), 261 MTK_PIN( 262 PINCTRL_PIN(25, "EINT3"), 263 NULL, "mt2701", 264 MTK_EINT_FUNCTION(0, 3), 265 MTK_FUNCTION(0, "GPIO25"), 266 MTK_FUNCTION(1, "URTS1"), 267 MTK_FUNCTION(3, "KCOL0"), 268 MTK_FUNCTION(4, "CONN_MCU_DBGI_N"), 269 MTK_FUNCTION(7, "DBG_MON_A[27]") 270 ), 271 MTK_PIN( 272 PINCTRL_PIN(26, "EINT4"), 273 NULL, "mt2701", 274 MTK_EINT_FUNCTION(0, 4), 275 MTK_FUNCTION(0, "GPIO26"), 276 MTK_FUNCTION(1, "UCTS3"), 277 MTK_FUNCTION(2, "DRV_VBUS_P1"), 278 MTK_FUNCTION(3, "KROW3"), 279 MTK_FUNCTION(4, "CONN_MCU_TCK0"), 280 MTK_FUNCTION(5, "CONN_MCU_AICE_JCKC"), 281 MTK_FUNCTION(6, "PCIE2_WAKE_N"), 282 MTK_FUNCTION(7, "DBG_MON_A[26]") 283 ), 284 MTK_PIN( 285 PINCTRL_PIN(27, "EINT5"), 286 NULL, "mt2701", 287 MTK_EINT_FUNCTION(0, 5), 288 MTK_FUNCTION(0, "GPIO27"), 289 MTK_FUNCTION(1, "URTS3"), 290 MTK_FUNCTION(2, "IDDIG_P1"), 291 MTK_FUNCTION(3, "KROW2"), 292 MTK_FUNCTION(4, "CONN_MCU_TDI"), 293 MTK_FUNCTION(6, "PCIE1_WAKE_N"), 294 MTK_FUNCTION(7, "DBG_MON_A[25]") 295 ), 296 MTK_PIN( 297 PINCTRL_PIN(28, "EINT6"), 298 NULL, "mt2701", 299 MTK_EINT_FUNCTION(0, 6), 300 MTK_FUNCTION(0, "GPIO28"), 301 MTK_FUNCTION(1, "DRV_VBUS"), 302 MTK_FUNCTION(3, "KROW1"), 303 MTK_FUNCTION(4, "CONN_MCU_TRST_B"), 304 MTK_FUNCTION(6, "PCIE0_WAKE_N"), 305 MTK_FUNCTION(7, "DBG_MON_A[24]") 306 ), 307 MTK_PIN( 308 PINCTRL_PIN(29, "EINT7"), 309 NULL, "mt2701", 310 MTK_EINT_FUNCTION(0, 7), 311 MTK_FUNCTION(0, "GPIO29"), 312 MTK_FUNCTION(1, "IDDIG"), 313 MTK_FUNCTION(2, "MSDC1_WP"), 314 MTK_FUNCTION(3, "KROW0"), 315 MTK_FUNCTION(4, "CONN_MCU_TMS"), 316 MTK_FUNCTION(5, "CONN_MCU_AICE_JMSC"), 317 /* MT7623 take function 6 as PCIE2_PERST_N */ 318 MTK_FUNCTION(6, "PCIE2_PERST_N"), 319 MTK_FUNCTION(7, "DBG_MON_A[23]"), 320 MTK_FUNCTION(14, "PCIE2_PERST_N") 321 ), 322 MTK_PIN( 323 PINCTRL_PIN(30, "I2S5_LRCK"), 324 NULL, "mt2701", 325 MTK_EINT_FUNCTION(0, 12), 326 MTK_FUNCTION(0, "GPIO30"), 327 MTK_FUNCTION(1, "I2S5_LRCK"), 328 MTK_FUNCTION(3, "PCM_SYNC"), 329 MTK_FUNCTION(4, "ANT_SEL1") 330 ), 331 MTK_PIN( 332 PINCTRL_PIN(31, "I2S5_MCLK"), 333 NULL, "mt2701", 334 MTK_EINT_FUNCTION(0, 13), 335 MTK_FUNCTION(0, "GPIO31"), 336 MTK_FUNCTION(1, "I2S5_MCLK"), 337 MTK_FUNCTION(4, "ANT_SEL0") 338 ), 339 MTK_PIN( 340 PINCTRL_PIN(32, "I2S5_DATA"), 341 NULL, "mt2701", 342 MTK_EINT_FUNCTION(0, 14), 343 MTK_FUNCTION(0, "GPIO32"), 344 MTK_FUNCTION(1, "I2S5_DATA"), 345 MTK_FUNCTION(2, "I2S5_DATA_BYPS"), 346 MTK_FUNCTION(3, "PCM_TX"), 347 MTK_FUNCTION(4, "ANT_SEL3") 348 ), 349 MTK_PIN( 350 PINCTRL_PIN(33, "I2S1_DATA"), 351 NULL, "mt2701", 352 MTK_EINT_FUNCTION(0, 15), 353 MTK_FUNCTION(0, "GPIO33"), 354 MTK_FUNCTION(1, "I2S1_DATA"), 355 MTK_FUNCTION(2, "I2S1_DATA_BYPS"), 356 MTK_FUNCTION(3, "PCM_TX"), 357 MTK_FUNCTION(4, "IMG_TEST_CK"), 358 MTK_FUNCTION(5, "G1_RXD0"), 359 MTK_FUNCTION(6, "WCN_PCM_TX"), 360 MTK_FUNCTION(7, "DBG_MON_B[8]") 361 ), 362 MTK_PIN( 363 PINCTRL_PIN(34, "I2S1_DATA_IN"), 364 NULL, "mt2701", 365 MTK_EINT_FUNCTION(0, 16), 366 MTK_FUNCTION(0, "GPIO34"), 367 MTK_FUNCTION(1, "I2S1_DATA_IN"), 368 MTK_FUNCTION(3, "PCM_RX"), 369 MTK_FUNCTION(4, "VDEC_TEST_CK"), 370 MTK_FUNCTION(5, "G1_RXD1"), 371 MTK_FUNCTION(6, "WCN_PCM_RX"), 372 MTK_FUNCTION(7, "DBG_MON_B[7]") 373 ), 374 MTK_PIN( 375 PINCTRL_PIN(35, "I2S1_BCK"), 376 NULL, "mt2701", 377 MTK_EINT_FUNCTION(0, 17), 378 MTK_FUNCTION(0, "GPIO35"), 379 MTK_FUNCTION(1, "I2S1_BCK"), 380 MTK_FUNCTION(3, "PCM_CLK0"), 381 MTK_FUNCTION(5, "G1_RXD2"), 382 MTK_FUNCTION(6, "WCN_PCM_CLKO"), 383 MTK_FUNCTION(7, "DBG_MON_B[9]") 384 ), 385 MTK_PIN( 386 PINCTRL_PIN(36, "I2S1_LRCK"), 387 NULL, "mt2701", 388 MTK_EINT_FUNCTION(0, 18), 389 MTK_FUNCTION(0, "GPIO36"), 390 MTK_FUNCTION(1, "I2S1_LRCK"), 391 MTK_FUNCTION(3, "PCM_SYNC"), 392 MTK_FUNCTION(5, "G1_RXD3"), 393 MTK_FUNCTION(6, "WCN_PCM_SYNC"), 394 MTK_FUNCTION(7, "DBG_MON_B[10]") 395 ), 396 MTK_PIN( 397 PINCTRL_PIN(37, "I2S1_MCLK"), 398 NULL, "mt2701", 399 MTK_EINT_FUNCTION(0, 19), 400 MTK_FUNCTION(0, "GPIO37"), 401 MTK_FUNCTION(1, "I2S1_MCLK"), 402 MTK_FUNCTION(5, "G1_RXDV"), 403 MTK_FUNCTION(7, "DBG_MON_B[11]") 404 ), 405 MTK_PIN( 406 PINCTRL_PIN(38, "I2S2_DATA"), 407 NULL, "mt2701", 408 MTK_EINT_FUNCTION(0, 20), 409 MTK_FUNCTION(0, "GPIO38"), 410 MTK_FUNCTION(2, "I2S2_DATA_BYPS"), 411 MTK_FUNCTION(3, "PCM_TX"), 412 MTK_FUNCTION(4, "DMIC_DAT0") 413 ), 414 MTK_PIN( 415 PINCTRL_PIN(39, "JTMS"), 416 NULL, "mt2701", 417 MTK_EINT_FUNCTION(0, 21), 418 MTK_FUNCTION(0, "GPIO39"), 419 MTK_FUNCTION(1, "JTMS"), 420 MTK_FUNCTION(2, "CONN_MCU_TMS"), 421 MTK_FUNCTION(3, "CONN_MCU_AICE_JMSC"), 422 MTK_FUNCTION(4, "DFD_TMS_XI") 423 ), 424 MTK_PIN( 425 PINCTRL_PIN(40, "JTCK"), 426 NULL, "mt2701", 427 MTK_EINT_FUNCTION(0, 22), 428 MTK_FUNCTION(0, "GPIO40"), 429 MTK_FUNCTION(1, "JTCK"), 430 MTK_FUNCTION(2, "CONN_MCU_TCK1"), 431 MTK_FUNCTION(3, "CONN_MCU_AICE_JCKC"), 432 MTK_FUNCTION(4, "DFD_TCK_XI") 433 ), 434 MTK_PIN( 435 PINCTRL_PIN(41, "JTDI"), 436 NULL, "mt2701", 437 MTK_EINT_FUNCTION(0, 23), 438 MTK_FUNCTION(0, "GPIO41"), 439 MTK_FUNCTION(1, "JTDI"), 440 MTK_FUNCTION(2, "CONN_MCU_TDI"), 441 MTK_FUNCTION(4, "DFD_TDI_XI") 442 ), 443 MTK_PIN( 444 PINCTRL_PIN(42, "JTDO"), 445 NULL, "mt2701", 446 MTK_EINT_FUNCTION(0, 24), 447 MTK_FUNCTION(0, "GPIO42"), 448 MTK_FUNCTION(1, "JTDO"), 449 MTK_FUNCTION(2, "CONN_MCU_TDO"), 450 MTK_FUNCTION(4, "DFD_TDO") 451 ), 452 MTK_PIN( 453 PINCTRL_PIN(43, "NCLE"), 454 NULL, "mt2701", 455 MTK_EINT_FUNCTION(0, 25), 456 MTK_FUNCTION(0, "GPIO43"), 457 MTK_FUNCTION(1, "NCLE"), 458 MTK_FUNCTION(2, "EXT_XCS2") 459 ), 460 MTK_PIN( 461 PINCTRL_PIN(44, "NCEB1"), 462 NULL, "mt2701", 463 MTK_EINT_FUNCTION(0, 26), 464 MTK_FUNCTION(0, "GPIO44"), 465 MTK_FUNCTION(1, "NCEB1"), 466 MTK_FUNCTION(2, "IDDIG") 467 ), 468 MTK_PIN( 469 PINCTRL_PIN(45, "NCEB0"), 470 NULL, "mt2701", 471 MTK_EINT_FUNCTION(0, 27), 472 MTK_FUNCTION(0, "GPIO45"), 473 MTK_FUNCTION(1, "NCEB0"), 474 MTK_FUNCTION(2, "DRV_VBUS") 475 ), 476 MTK_PIN( 477 PINCTRL_PIN(46, "IR"), 478 NULL, "mt2701", 479 MTK_EINT_FUNCTION(0, 28), 480 MTK_FUNCTION(0, "GPIO46"), 481 MTK_FUNCTION(1, "IR") 482 ), 483 MTK_PIN( 484 PINCTRL_PIN(47, "NREB"), 485 NULL, "mt2701", 486 MTK_EINT_FUNCTION(0, 29), 487 MTK_FUNCTION(0, "GPIO47"), 488 MTK_FUNCTION(1, "NREB"), 489 MTK_FUNCTION(2, "IDDIG_P1") 490 ), 491 MTK_PIN( 492 PINCTRL_PIN(48, "NRNB"), 493 NULL, "mt2701", 494 MTK_EINT_FUNCTION(0, 30), 495 MTK_FUNCTION(0, "GPIO48"), 496 MTK_FUNCTION(1, "NRNB"), 497 MTK_FUNCTION(2, "DRV_VBUS_P1") 498 ), 499 MTK_PIN( 500 PINCTRL_PIN(49, "I2S0_DATA"), 501 NULL, "mt2701", 502 MTK_EINT_FUNCTION(0, 31), 503 MTK_FUNCTION(0, "GPIO49"), 504 MTK_FUNCTION(1, "I2S0_DATA"), 505 MTK_FUNCTION(2, "I2S0_DATA_BYPS"), 506 MTK_FUNCTION(3, "PCM_TX"), 507 MTK_FUNCTION(6, "WCN_I2S_DO"), 508 MTK_FUNCTION(7, "DBG_MON_B[3]") 509 ), 510 MTK_PIN( 511 PINCTRL_PIN(50, "I2S2_BCK"), 512 NULL, "mt2701", 513 MTK_EINT_FUNCTION(0, 32), 514 MTK_FUNCTION(0, "GPIO50"), 515 MTK_FUNCTION(1, "I2S2_BCK"), 516 MTK_FUNCTION(3, "PCM_CLK0"), 517 MTK_FUNCTION(4, "DMIC_SCK1") 518 ), 519 MTK_PIN( 520 PINCTRL_PIN(51, "I2S2_DATA_IN"), 521 NULL, "mt2701", 522 MTK_EINT_FUNCTION(0, 33), 523 MTK_FUNCTION(0, "GPIO51"), 524 MTK_FUNCTION(1, "I2S2_DATA_IN"), 525 MTK_FUNCTION(3, "PCM_RX"), 526 MTK_FUNCTION(4, "DMIC_SCK0") 527 ), 528 MTK_PIN( 529 PINCTRL_PIN(52, "I2S2_LRCK"), 530 NULL, "mt2701", 531 MTK_EINT_FUNCTION(0, 34), 532 MTK_FUNCTION(0, "GPIO52"), 533 MTK_FUNCTION(1, "I2S2_LRCK"), 534 MTK_FUNCTION(3, "PCM_SYNC"), 535 MTK_FUNCTION(4, "DMIC_DAT1") 536 ), 537 MTK_PIN( 538 PINCTRL_PIN(53, "SPI0_CSN"), 539 NULL, "mt2701", 540 MTK_EINT_FUNCTION(0, 35), 541 MTK_FUNCTION(0, "GPIO53"), 542 MTK_FUNCTION(1, "SPI0_CS"), 543 MTK_FUNCTION(3, "SPDIF"), 544 MTK_FUNCTION(4, "ADC_CK"), 545 MTK_FUNCTION(5, "PWM1"), 546 MTK_FUNCTION(7, "DBG_MON_A[7]") 547 ), 548 MTK_PIN( 549 PINCTRL_PIN(54, "SPI0_CK"), 550 NULL, "mt2701", 551 MTK_EINT_FUNCTION(0, 36), 552 MTK_FUNCTION(0, "GPIO54"), 553 MTK_FUNCTION(1, "SPI0_CK"), 554 MTK_FUNCTION(3, "SPDIF_IN1"), 555 MTK_FUNCTION(4, "ADC_DAT_IN"), 556 MTK_FUNCTION(7, "DBG_MON_A[10]") 557 ), 558 MTK_PIN( 559 PINCTRL_PIN(55, "SPI0_MI"), 560 NULL, "mt2701", 561 MTK_EINT_FUNCTION(0, 37), 562 MTK_FUNCTION(0, "GPIO55"), 563 MTK_FUNCTION(1, "SPI0_MI"), 564 MTK_FUNCTION(2, "SPI0_MO"), 565 MTK_FUNCTION(3, "MSDC1_WP"), 566 MTK_FUNCTION(4, "ADC_WS"), 567 MTK_FUNCTION(5, "PWM2"), 568 MTK_FUNCTION(7, "DBG_MON_A[8]") 569 ), 570 MTK_PIN( 571 PINCTRL_PIN(56, "SPI0_MO"), 572 NULL, "mt2701", 573 MTK_EINT_FUNCTION(0, 38), 574 MTK_FUNCTION(0, "GPIO56"), 575 MTK_FUNCTION(1, "SPI0_MO"), 576 MTK_FUNCTION(2, "SPI0_MI"), 577 MTK_FUNCTION(3, "SPDIF_IN0"), 578 MTK_FUNCTION(7, "DBG_MON_A[9]") 579 ), 580 MTK_PIN( 581 PINCTRL_PIN(57, "SDA1"), 582 NULL, "mt2701", 583 MTK_EINT_FUNCTION(0, 39), 584 MTK_FUNCTION(0, "GPIO57"), 585 MTK_FUNCTION(1, "SDA1") 586 ), 587 MTK_PIN( 588 PINCTRL_PIN(58, "SCL1"), 589 NULL, "mt2701", 590 MTK_EINT_FUNCTION(0, 40), 591 MTK_FUNCTION(0, "GPIO58"), 592 MTK_FUNCTION(1, "SCL1") 593 ), 594 MTK_PIN( 595 PINCTRL_PIN(59, "RAMBUF_I_CLK"), 596 NULL, "mt2701", 597 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 598 MTK_FUNCTION(0, "GPIO59"), 599 MTK_FUNCTION(1, "RAMBUF_I_CLK") 600 ), 601 MTK_PIN( 602 PINCTRL_PIN(60, "WB_RSTB"), 603 NULL, "mt2701", 604 MTK_EINT_FUNCTION(0, 41), 605 MTK_FUNCTION(0, "GPIO60"), 606 MTK_FUNCTION(1, "WB_RSTB"), 607 MTK_FUNCTION(7, "DBG_MON_A[11]") 608 ), 609 MTK_PIN( 610 PINCTRL_PIN(61, "F2W_DATA"), 611 NULL, "mt2701", 612 MTK_EINT_FUNCTION(0, 42), 613 MTK_FUNCTION(0, "GPIO61"), 614 MTK_FUNCTION(1, "F2W_DATA"), 615 MTK_FUNCTION(7, "DBG_MON_A[16]") 616 ), 617 MTK_PIN( 618 PINCTRL_PIN(62, "F2W_CLK"), 619 NULL, "mt2701", 620 MTK_EINT_FUNCTION(0, 43), 621 MTK_FUNCTION(0, "GPIO62"), 622 MTK_FUNCTION(1, "F2W_CK"), 623 MTK_FUNCTION(7, "DBG_MON_A[15]") 624 ), 625 MTK_PIN( 626 PINCTRL_PIN(63, "WB_SCLK"), 627 NULL, "mt2701", 628 MTK_EINT_FUNCTION(0, 44), 629 MTK_FUNCTION(0, "GPIO63"), 630 MTK_FUNCTION(1, "WB_SCLK"), 631 MTK_FUNCTION(7, "DBG_MON_A[13]") 632 ), 633 MTK_PIN( 634 PINCTRL_PIN(64, "WB_SDATA"), 635 NULL, "mt2701", 636 MTK_EINT_FUNCTION(0, 45), 637 MTK_FUNCTION(0, "GPIO64"), 638 MTK_FUNCTION(1, "WB_SDATA"), 639 MTK_FUNCTION(7, "DBG_MON_A[12]") 640 ), 641 MTK_PIN( 642 PINCTRL_PIN(65, "WB_SEN"), 643 NULL, "mt2701", 644 MTK_EINT_FUNCTION(0, 46), 645 MTK_FUNCTION(0, "GPIO65"), 646 MTK_FUNCTION(1, "WB_SEN"), 647 MTK_FUNCTION(7, "DBG_MON_A[14]") 648 ), 649 MTK_PIN( 650 PINCTRL_PIN(66, "WB_CRTL0"), 651 NULL, "mt2701", 652 MTK_EINT_FUNCTION(0, 47), 653 MTK_FUNCTION(0, "GPIO66"), 654 MTK_FUNCTION(1, "WB_CRTL0"), 655 MTK_FUNCTION(5, "DFD_NTRST_XI"), 656 MTK_FUNCTION(7, "DBG_MON_A[17]") 657 ), 658 MTK_PIN( 659 PINCTRL_PIN(67, "WB_CRTL1"), 660 NULL, "mt2701", 661 MTK_EINT_FUNCTION(0, 48), 662 MTK_FUNCTION(0, "GPIO67"), 663 MTK_FUNCTION(1, "WB_CRTL1"), 664 MTK_FUNCTION(5, "DFD_TMS_XI"), 665 MTK_FUNCTION(7, "DBG_MON_A[18]") 666 ), 667 MTK_PIN( 668 PINCTRL_PIN(68, "WB_CRTL2"), 669 NULL, "mt2701", 670 MTK_EINT_FUNCTION(0, 49), 671 MTK_FUNCTION(0, "GPIO68"), 672 MTK_FUNCTION(1, "WB_CRTL2"), 673 MTK_FUNCTION(5, "DFD_TCK_XI"), 674 MTK_FUNCTION(7, "DBG_MON_A[19]") 675 ), 676 MTK_PIN( 677 PINCTRL_PIN(69, "WB_CRTL3"), 678 NULL, "mt2701", 679 MTK_EINT_FUNCTION(0, 50), 680 MTK_FUNCTION(0, "GPIO69"), 681 MTK_FUNCTION(1, "WB_CRTL3"), 682 MTK_FUNCTION(5, "DFD_TDI_XI"), 683 MTK_FUNCTION(7, "DBG_MON_A[20]") 684 ), 685 MTK_PIN( 686 PINCTRL_PIN(70, "WB_CRTL4"), 687 NULL, "mt2701", 688 MTK_EINT_FUNCTION(0, 51), 689 MTK_FUNCTION(0, "GPIO70"), 690 MTK_FUNCTION(1, "WB_CRTL4"), 691 MTK_FUNCTION(5, "DFD_TDO"), 692 MTK_FUNCTION(7, "DBG_MON_A[21]") 693 ), 694 MTK_PIN( 695 PINCTRL_PIN(71, "WB_CRTL5"), 696 NULL, "mt2701", 697 MTK_EINT_FUNCTION(0, 52), 698 MTK_FUNCTION(0, "GPIO71"), 699 MTK_FUNCTION(1, "WB_CRTL5"), 700 MTK_FUNCTION(7, "DBG_MON_A[22]") 701 ), 702 MTK_PIN( 703 PINCTRL_PIN(72, "I2S0_DATA_IN"), 704 NULL, "mt2701", 705 MTK_EINT_FUNCTION(0, 53), 706 MTK_FUNCTION(0, "GPIO72"), 707 MTK_FUNCTION(1, "I2S0_DATA_IN"), 708 MTK_FUNCTION(3, "PCM_RX"), 709 MTK_FUNCTION(4, "PWM0"), 710 MTK_FUNCTION(5, "DISP_PWM"), 711 MTK_FUNCTION(6, "WCN_I2S_DI"), 712 MTK_FUNCTION(7, "DBG_MON_B[2]") 713 ), 714 MTK_PIN( 715 PINCTRL_PIN(73, "I2S0_LRCK"), 716 NULL, "mt2701", 717 MTK_EINT_FUNCTION(0, 54), 718 MTK_FUNCTION(0, "GPIO73"), 719 MTK_FUNCTION(1, "I2S0_LRCK"), 720 MTK_FUNCTION(3, "PCM_SYNC"), 721 MTK_FUNCTION(6, "WCN_I2S_LRCK"), 722 MTK_FUNCTION(7, "DBG_MON_B[5]") 723 ), 724 MTK_PIN( 725 PINCTRL_PIN(74, "I2S0_BCK"), 726 NULL, "mt2701", 727 MTK_EINT_FUNCTION(0, 55), 728 MTK_FUNCTION(0, "GPIO74"), 729 MTK_FUNCTION(1, "I2S0_BCK"), 730 MTK_FUNCTION(3, "PCM_CLK0"), 731 MTK_FUNCTION(6, "WCN_I2S_BCK"), 732 MTK_FUNCTION(7, "DBG_MON_B[4]") 733 ), 734 MTK_PIN( 735 PINCTRL_PIN(75, "SDA0"), 736 NULL, "mt2701", 737 MTK_EINT_FUNCTION(0, 56), 738 MTK_FUNCTION(0, "GPIO75"), 739 MTK_FUNCTION(1, "SDA0") 740 ), 741 MTK_PIN( 742 PINCTRL_PIN(76, "SCL0"), 743 NULL, "mt2701", 744 MTK_EINT_FUNCTION(0, 57), 745 MTK_FUNCTION(0, "GPIO76"), 746 MTK_FUNCTION(1, "SCL0") 747 ), 748 MTK_PIN( 749 PINCTRL_PIN(77, "SDA2"), 750 NULL, "mt2701", 751 MTK_EINT_FUNCTION(0, 58), 752 MTK_FUNCTION(0, "GPIO77"), 753 MTK_FUNCTION(1, "SDA2") 754 ), 755 MTK_PIN( 756 PINCTRL_PIN(78, "SCL2"), 757 NULL, "mt2701", 758 MTK_EINT_FUNCTION(0, 59), 759 MTK_FUNCTION(0, "GPIO78"), 760 MTK_FUNCTION(1, "SCL2") 761 ), 762 MTK_PIN( 763 PINCTRL_PIN(79, "URXD0"), 764 NULL, "mt2701", 765 MTK_EINT_FUNCTION(0, 60), 766 MTK_FUNCTION(0, "GPIO79"), 767 MTK_FUNCTION(1, "URXD0"), 768 MTK_FUNCTION(2, "UTXD0") 769 ), 770 MTK_PIN( 771 PINCTRL_PIN(80, "UTXD0"), 772 NULL, "mt2701", 773 MTK_EINT_FUNCTION(0, 61), 774 MTK_FUNCTION(0, "GPIO80"), 775 MTK_FUNCTION(1, "UTXD0"), 776 MTK_FUNCTION(2, "URXD0") 777 ), 778 MTK_PIN( 779 PINCTRL_PIN(81, "URXD1"), 780 NULL, "mt2701", 781 MTK_EINT_FUNCTION(0, 62), 782 MTK_FUNCTION(0, "GPIO81"), 783 MTK_FUNCTION(1, "URXD1"), 784 MTK_FUNCTION(2, "UTXD1") 785 ), 786 MTK_PIN( 787 PINCTRL_PIN(82, "UTXD1"), 788 NULL, "mt2701", 789 MTK_EINT_FUNCTION(0, 63), 790 MTK_FUNCTION(0, "GPIO82"), 791 MTK_FUNCTION(1, "UTXD1"), 792 MTK_FUNCTION(2, "URXD1") 793 ), 794 MTK_PIN( 795 PINCTRL_PIN(83, "LCM_RST"), 796 NULL, "mt2701", 797 MTK_EINT_FUNCTION(0, 64), 798 MTK_FUNCTION(0, "GPIO83"), 799 MTK_FUNCTION(1, "LCM_RST"), 800 MTK_FUNCTION(2, "VDAC_CK_XI"), 801 MTK_FUNCTION(7, "DBG_MON_B[1]") 802 ), 803 MTK_PIN( 804 PINCTRL_PIN(84, "DSI_TE"), 805 NULL, "mt2701", 806 MTK_EINT_FUNCTION(0, 65), 807 MTK_FUNCTION(0, "GPIO84"), 808 MTK_FUNCTION(1, "DSI_TE"), 809 MTK_FUNCTION(7, "DBG_MON_B[0]") 810 ), 811 MTK_PIN( 812 PINCTRL_PIN(85, "MSDC2_CMD"), 813 NULL, "mt2701", 814 MTK_EINT_FUNCTION(0, 66), 815 MTK_FUNCTION(0, "GPIO85"), 816 MTK_FUNCTION(1, "MSDC2_CMD"), 817 MTK_FUNCTION(2, "ANT_SEL0"), 818 MTK_FUNCTION(3, "SDA1"), 819 MTK_FUNCTION(6, "I2SOUT_BCK") 820 ), 821 MTK_PIN( 822 PINCTRL_PIN(86, "MSDC2_CLK"), 823 NULL, "mt2701", 824 MTK_EINT_FUNCTION(0, 67), 825 MTK_FUNCTION(0, "GPIO86"), 826 MTK_FUNCTION(1, "MSDC2_CLK"), 827 MTK_FUNCTION(2, "ANT_SEL1"), 828 MTK_FUNCTION(3, "SCL1"), 829 MTK_FUNCTION(6, "I2SOUT_LRCK") 830 ), 831 MTK_PIN( 832 PINCTRL_PIN(87, "MSDC2_DAT0"), 833 NULL, "mt2701", 834 MTK_EINT_FUNCTION(0, 68), 835 MTK_FUNCTION(0, "GPIO87"), 836 MTK_FUNCTION(1, "MSDC2_DAT0"), 837 MTK_FUNCTION(2, "ANT_SEL2"), 838 MTK_FUNCTION(5, "UTXD0"), 839 MTK_FUNCTION(6, "I2SOUT_DATA_OUT") 840 ), 841 MTK_PIN( 842 PINCTRL_PIN(88, "MSDC2_DAT1"), 843 NULL, "mt2701", 844 MTK_EINT_FUNCTION(0, 71), 845 MTK_FUNCTION(0, "GPIO88"), 846 MTK_FUNCTION(1, "MSDC2_DAT1"), 847 MTK_FUNCTION(2, "ANT_SEL3"), 848 MTK_FUNCTION(3, "PWM0"), 849 MTK_FUNCTION(5, "URXD0"), 850 MTK_FUNCTION(6, "PWM1") 851 ), 852 MTK_PIN( 853 PINCTRL_PIN(89, "MSDC2_DAT2"), 854 NULL, "mt2701", 855 MTK_EINT_FUNCTION(0, 72), 856 MTK_FUNCTION(0, "GPIO89"), 857 MTK_FUNCTION(1, "MSDC2_DAT2"), 858 MTK_FUNCTION(2, "ANT_SEL4"), 859 MTK_FUNCTION(3, "SDA2"), 860 MTK_FUNCTION(5, "UTXD1"), 861 MTK_FUNCTION(6, "PWM2") 862 ), 863 MTK_PIN( 864 PINCTRL_PIN(90, "MSDC2_DAT3"), 865 NULL, "mt2701", 866 MTK_EINT_FUNCTION(0, 73), 867 MTK_FUNCTION(0, "GPIO90"), 868 MTK_FUNCTION(1, "MSDC2_DAT3"), 869 MTK_FUNCTION(2, "ANT_SEL5"), 870 MTK_FUNCTION(3, "SCL2"), 871 MTK_FUNCTION(4, "EXT_FRAME_SYNC"), 872 MTK_FUNCTION(5, "URXD1"), 873 MTK_FUNCTION(6, "PWM3") 874 ), 875 MTK_PIN( 876 PINCTRL_PIN(91, "TDN3"), 877 NULL, "mt2701", 878 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 879 MTK_FUNCTION(0, "GPI91"), 880 MTK_FUNCTION(1, "TDN3") 881 ), 882 MTK_PIN( 883 PINCTRL_PIN(92, "TDP3"), 884 NULL, "mt2701", 885 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 886 MTK_FUNCTION(0, "GPI92"), 887 MTK_FUNCTION(1, "TDP3") 888 ), 889 MTK_PIN( 890 PINCTRL_PIN(93, "TDN2"), 891 NULL, "mt2701", 892 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 893 MTK_FUNCTION(0, "GPI93"), 894 MTK_FUNCTION(1, "TDN2") 895 ), 896 MTK_PIN( 897 PINCTRL_PIN(94, "TDP2"), 898 NULL, "mt2701", 899 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 900 MTK_FUNCTION(0, "GPI94"), 901 MTK_FUNCTION(1, "TDP2") 902 ), 903 MTK_PIN( 904 PINCTRL_PIN(95, "TCN"), 905 NULL, "mt2701", 906 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 907 MTK_FUNCTION(0, "GPI95"), 908 MTK_FUNCTION(1, "TCN") 909 ), 910 MTK_PIN( 911 PINCTRL_PIN(96, "TCP"), 912 NULL, "mt2701", 913 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 914 MTK_FUNCTION(0, "GPI96"), 915 MTK_FUNCTION(1, "TCP") 916 ), 917 MTK_PIN( 918 PINCTRL_PIN(97, "TDN1"), 919 NULL, "mt2701", 920 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 921 MTK_FUNCTION(0, "GPI97"), 922 MTK_FUNCTION(1, "TDN1") 923 ), 924 MTK_PIN( 925 PINCTRL_PIN(98, "TDP1"), 926 NULL, "mt2701", 927 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 928 MTK_FUNCTION(0, "GPI98"), 929 MTK_FUNCTION(1, "TDP1") 930 ), 931 MTK_PIN( 932 PINCTRL_PIN(99, "TDN0"), 933 NULL, "mt2701", 934 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 935 MTK_FUNCTION(0, "GPI99"), 936 MTK_FUNCTION(1, "TDN0") 937 ), 938 MTK_PIN( 939 PINCTRL_PIN(100, "TDP0"), 940 NULL, "mt2701", 941 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 942 MTK_FUNCTION(0, "GPI100"), 943 MTK_FUNCTION(1, "TDP0") 944 ), 945 MTK_PIN( 946 PINCTRL_PIN(101, "SPI2_CSN"), 947 NULL, "mt2701", 948 MTK_EINT_FUNCTION(0, 74), 949 MTK_FUNCTION(0, "GPIO101"), 950 MTK_FUNCTION(1, "SPI2_CS"), 951 MTK_FUNCTION(3, "SCL3"), 952 MTK_FUNCTION(4, "KROW0") 953 ), 954 MTK_PIN( 955 PINCTRL_PIN(102, "SPI2_MI"), 956 NULL, "mt2701", 957 MTK_EINT_FUNCTION(0, 75), 958 MTK_FUNCTION(0, "GPIO102"), 959 MTK_FUNCTION(1, "SPI2_MI"), 960 MTK_FUNCTION(2, "SPI2_MO"), 961 MTK_FUNCTION(3, "SDA3"), 962 MTK_FUNCTION(4, "KROW1") 963 ), 964 MTK_PIN( 965 PINCTRL_PIN(103, "SPI2_MO"), 966 NULL, "mt2701", 967 MTK_EINT_FUNCTION(0, 76), 968 MTK_FUNCTION(0, "GPIO103"), 969 MTK_FUNCTION(1, "SPI2_MO"), 970 MTK_FUNCTION(2, "SPI2_MI"), 971 MTK_FUNCTION(3, "SCL3"), 972 MTK_FUNCTION(4, "KROW2") 973 ), 974 MTK_PIN( 975 PINCTRL_PIN(104, "SPI2_CLK"), 976 NULL, "mt2701", 977 MTK_EINT_FUNCTION(0, 77), 978 MTK_FUNCTION(0, "GPIO104"), 979 MTK_FUNCTION(1, "SPI2_CK"), 980 MTK_FUNCTION(3, "SDA3"), 981 MTK_FUNCTION(4, "KROW3") 982 ), 983 MTK_PIN( 984 PINCTRL_PIN(105, "MSDC1_CMD"), 985 NULL, "mt2701", 986 MTK_EINT_FUNCTION(0, 78), 987 MTK_FUNCTION(0, "GPIO105"), 988 MTK_FUNCTION(1, "MSDC1_CMD"), 989 MTK_FUNCTION(2, "ANT_SEL0"), 990 MTK_FUNCTION(3, "SDA1"), 991 MTK_FUNCTION(6, "I2SOUT_BCK"), 992 MTK_FUNCTION(7, "DBG_MON_B[27]") 993 ), 994 MTK_PIN( 995 PINCTRL_PIN(106, "MSDC1_CLK"), 996 NULL, "mt2701", 997 MTK_EINT_FUNCTION(0, 79), 998 MTK_FUNCTION(0, "GPIO106"), 999 MTK_FUNCTION(1, "MSDC1_CLK"), 1000 MTK_FUNCTION(2, "ANT_SEL1"), 1001 MTK_FUNCTION(3, "SCL1"), 1002 MTK_FUNCTION(6, "I2SOUT_LRCK"), 1003 MTK_FUNCTION(7, "DBG_MON_B[28]") 1004 ), 1005 MTK_PIN( 1006 PINCTRL_PIN(107, "MSDC1_DAT0"), 1007 NULL, "mt2701", 1008 MTK_EINT_FUNCTION(0, 80), 1009 MTK_FUNCTION(0, "GPIO107"), 1010 MTK_FUNCTION(1, "MSDC1_DAT0"), 1011 MTK_FUNCTION(2, "ANT_SEL2"), 1012 MTK_FUNCTION(5, "UTXD0"), 1013 MTK_FUNCTION(6, "I2SOUT_DATA_OUT"), 1014 MTK_FUNCTION(7, "DBG_MON_B[26]") 1015 ), 1016 MTK_PIN( 1017 PINCTRL_PIN(108, "MSDC1_DAT1"), 1018 NULL, "mt2701", 1019 MTK_EINT_FUNCTION(0, 81), 1020 MTK_FUNCTION(0, "GPIO108"), 1021 MTK_FUNCTION(1, "MSDC1_DAT1"), 1022 MTK_FUNCTION(2, "ANT_SEL3"), 1023 MTK_FUNCTION(3, "PWM0"), 1024 MTK_FUNCTION(5, "URXD0"), 1025 MTK_FUNCTION(6, "PWM1"), 1026 MTK_FUNCTION(7, "DBG_MON_B[25]") 1027 ), 1028 MTK_PIN( 1029 PINCTRL_PIN(109, "MSDC1_DAT2"), 1030 NULL, "mt2701", 1031 MTK_EINT_FUNCTION(0, 82), 1032 MTK_FUNCTION(0, "GPIO109"), 1033 MTK_FUNCTION(1, "MSDC1_DAT2"), 1034 MTK_FUNCTION(2, "ANT_SEL4"), 1035 MTK_FUNCTION(3, "SDA2"), 1036 MTK_FUNCTION(5, "UTXD1"), 1037 MTK_FUNCTION(6, "PWM2"), 1038 MTK_FUNCTION(7, "DBG_MON_B[24]") 1039 ), 1040 MTK_PIN( 1041 PINCTRL_PIN(110, "MSDC1_DAT3"), 1042 NULL, "mt2701", 1043 MTK_EINT_FUNCTION(0, 83), 1044 MTK_FUNCTION(0, "GPIO110"), 1045 MTK_FUNCTION(1, "MSDC1_DAT3"), 1046 MTK_FUNCTION(2, "ANT_SEL5"), 1047 MTK_FUNCTION(3, "SCL2"), 1048 MTK_FUNCTION(4, "EXT_FRAME_SYNC"), 1049 MTK_FUNCTION(5, "URXD1"), 1050 MTK_FUNCTION(6, "PWM3"), 1051 MTK_FUNCTION(7, "DBG_MON_B[23]") 1052 ), 1053 MTK_PIN( 1054 PINCTRL_PIN(111, "MSDC0_DAT7"), 1055 NULL, "mt2701", 1056 MTK_EINT_FUNCTION(0, 84), 1057 MTK_FUNCTION(0, "GPIO111"), 1058 MTK_FUNCTION(1, "MSDC0_DAT7"), 1059 MTK_FUNCTION(4, "NLD7") 1060 ), 1061 MTK_PIN( 1062 PINCTRL_PIN(112, "MSDC0_DAT6"), 1063 NULL, "mt2701", 1064 MTK_EINT_FUNCTION(0, 85), 1065 MTK_FUNCTION(0, "GPIO112"), 1066 MTK_FUNCTION(1, "MSDC0_DAT6"), 1067 MTK_FUNCTION(4, "NLD6") 1068 ), 1069 MTK_PIN( 1070 PINCTRL_PIN(113, "MSDC0_DAT5"), 1071 NULL, "mt2701", 1072 MTK_EINT_FUNCTION(0, 86), 1073 MTK_FUNCTION(0, "GPIO113"), 1074 MTK_FUNCTION(1, "MSDC0_DAT5"), 1075 MTK_FUNCTION(4, "NLD5") 1076 ), 1077 MTK_PIN( 1078 PINCTRL_PIN(114, "MSDC0_DAT4"), 1079 NULL, "mt2701", 1080 MTK_EINT_FUNCTION(0, 87), 1081 MTK_FUNCTION(0, "GPIO114"), 1082 MTK_FUNCTION(1, "MSDC0_DAT4"), 1083 MTK_FUNCTION(4, "NLD4") 1084 ), 1085 MTK_PIN( 1086 PINCTRL_PIN(115, "MSDC0_RSTB"), 1087 NULL, "mt2701", 1088 MTK_EINT_FUNCTION(0, 88), 1089 MTK_FUNCTION(0, "GPIO115"), 1090 MTK_FUNCTION(1, "MSDC0_RSTB"), 1091 MTK_FUNCTION(4, "NLD8") 1092 ), 1093 MTK_PIN( 1094 PINCTRL_PIN(116, "MSDC0_CMD"), 1095 NULL, "mt2701", 1096 MTK_EINT_FUNCTION(0, 89), 1097 MTK_FUNCTION(0, "GPIO116"), 1098 MTK_FUNCTION(1, "MSDC0_CMD"), 1099 MTK_FUNCTION(4, "NALE") 1100 ), 1101 MTK_PIN( 1102 PINCTRL_PIN(117, "MSDC0_CLK"), 1103 NULL, "mt2701", 1104 MTK_EINT_FUNCTION(0, 90), 1105 MTK_FUNCTION(0, "GPIO117"), 1106 MTK_FUNCTION(1, "MSDC0_CLK"), 1107 MTK_FUNCTION(4, "NWEB") 1108 ), 1109 MTK_PIN( 1110 PINCTRL_PIN(118, "MSDC0_DAT3"), 1111 NULL, "mt2701", 1112 MTK_EINT_FUNCTION(0, 91), 1113 MTK_FUNCTION(0, "GPIO118"), 1114 MTK_FUNCTION(1, "MSDC0_DAT3"), 1115 MTK_FUNCTION(4, "NLD3") 1116 ), 1117 MTK_PIN( 1118 PINCTRL_PIN(119, "MSDC0_DAT2"), 1119 NULL, "mt2701", 1120 MTK_EINT_FUNCTION(0, 92), 1121 MTK_FUNCTION(0, "GPIO119"), 1122 MTK_FUNCTION(1, "MSDC0_DAT2"), 1123 MTK_FUNCTION(4, "NLD2") 1124 ), 1125 MTK_PIN( 1126 PINCTRL_PIN(120, "MSDC0_DAT1"), 1127 NULL, "mt2701", 1128 MTK_EINT_FUNCTION(0, 93), 1129 MTK_FUNCTION(0, "GPIO120"), 1130 MTK_FUNCTION(1, "MSDC0_DAT1"), 1131 MTK_FUNCTION(4, "NLD1") 1132 ), 1133 MTK_PIN( 1134 PINCTRL_PIN(121, "MSDC0_DAT0"), 1135 NULL, "mt2701", 1136 MTK_EINT_FUNCTION(0, 94), 1137 MTK_FUNCTION(0, "GPIO121"), 1138 MTK_FUNCTION(1, "MSDC0_DAT0"), 1139 MTK_FUNCTION(4, "NLD0"), 1140 MTK_FUNCTION(5, "WATCHDOG") 1141 ), 1142 MTK_PIN( 1143 PINCTRL_PIN(122, "CEC"), 1144 NULL, "mt2701", 1145 MTK_EINT_FUNCTION(0, 95), 1146 MTK_FUNCTION(0, "GPIO122"), 1147 MTK_FUNCTION(1, "CEC"), 1148 MTK_FUNCTION(4, "SDA2"), 1149 MTK_FUNCTION(5, "URXD0") 1150 ), 1151 MTK_PIN( 1152 PINCTRL_PIN(123, "HTPLG"), 1153 NULL, "mt2701", 1154 MTK_EINT_FUNCTION(0, 96), 1155 MTK_FUNCTION(0, "GPIO123"), 1156 MTK_FUNCTION(1, "HTPLG"), 1157 MTK_FUNCTION(4, "SCL2"), 1158 MTK_FUNCTION(5, "UTXD0") 1159 ), 1160 MTK_PIN( 1161 PINCTRL_PIN(124, "HDMISCK"), 1162 NULL, "mt2701", 1163 MTK_EINT_FUNCTION(0, 97), 1164 MTK_FUNCTION(0, "GPIO124"), 1165 MTK_FUNCTION(1, "HDMISCK"), 1166 MTK_FUNCTION(4, "SDA1"), 1167 MTK_FUNCTION(5, "PWM3") 1168 ), 1169 MTK_PIN( 1170 PINCTRL_PIN(125, "HDMISD"), 1171 NULL, "mt2701", 1172 MTK_EINT_FUNCTION(0, 98), 1173 MTK_FUNCTION(0, "GPIO125"), 1174 MTK_FUNCTION(1, "HDMISD"), 1175 MTK_FUNCTION(4, "SCL1"), 1176 MTK_FUNCTION(5, "PWM4") 1177 ), 1178 MTK_PIN( 1179 PINCTRL_PIN(126, "I2S0_MCLK"), 1180 NULL, "mt2701", 1181 MTK_EINT_FUNCTION(0, 99), 1182 MTK_FUNCTION(0, "GPIO126"), 1183 MTK_FUNCTION(1, "I2S0_MCLK"), 1184 MTK_FUNCTION(6, "WCN_I2S_MCLK"), 1185 MTK_FUNCTION(7, "DBG_MON_B[6]") 1186 ), 1187 MTK_PIN( 1188 PINCTRL_PIN(127, "RAMBUF_IDATA0"), 1189 NULL, "mt2701", 1190 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 1191 MTK_FUNCTION(0, "GPIO127"), 1192 MTK_FUNCTION(1, "RAMBUF_IDATA0") 1193 ), 1194 MTK_PIN( 1195 PINCTRL_PIN(128, "RAMBUF_IDATA1"), 1196 NULL, "mt2701", 1197 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 1198 MTK_FUNCTION(0, "GPIO128"), 1199 MTK_FUNCTION(1, "RAMBUF_IDATA1") 1200 ), 1201 MTK_PIN( 1202 PINCTRL_PIN(129, "RAMBUF_IDATA2"), 1203 NULL, "mt2701", 1204 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 1205 MTK_FUNCTION(0, "GPIO129"), 1206 MTK_FUNCTION(1, "RAMBUF_IDATA2") 1207 ), 1208 MTK_PIN( 1209 PINCTRL_PIN(130, "RAMBUF_IDATA3"), 1210 NULL, "mt2701", 1211 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 1212 MTK_FUNCTION(0, "GPIO130"), 1213 MTK_FUNCTION(1, "RAMBUF_IDATA3") 1214 ), 1215 MTK_PIN( 1216 PINCTRL_PIN(131, "RAMBUF_IDATA4"), 1217 NULL, "mt2701", 1218 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 1219 MTK_FUNCTION(0, "GPIO131"), 1220 MTK_FUNCTION(1, "RAMBUF_IDATA4") 1221 ), 1222 MTK_PIN( 1223 PINCTRL_PIN(132, "RAMBUF_IDATA5"), 1224 NULL, "mt2701", 1225 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 1226 MTK_FUNCTION(0, "GPIO132"), 1227 MTK_FUNCTION(1, "RAMBUF_IDATA5") 1228 ), 1229 MTK_PIN( 1230 PINCTRL_PIN(133, "RAMBUF_IDATA6"), 1231 NULL, "mt2701", 1232 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 1233 MTK_FUNCTION(0, "GPIO133"), 1234 MTK_FUNCTION(1, "RAMBUF_IDATA6") 1235 ), 1236 MTK_PIN( 1237 PINCTRL_PIN(134, "RAMBUF_IDATA7"), 1238 NULL, "mt2701", 1239 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 1240 MTK_FUNCTION(0, "GPIO134"), 1241 MTK_FUNCTION(1, "RAMBUF_IDATA7") 1242 ), 1243 MTK_PIN( 1244 PINCTRL_PIN(135, "RAMBUF_IDATA8"), 1245 NULL, "mt2701", 1246 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 1247 MTK_FUNCTION(0, "GPIO135"), 1248 MTK_FUNCTION(1, "RAMBUF_IDATA8") 1249 ), 1250 MTK_PIN( 1251 PINCTRL_PIN(136, "RAMBUF_IDATA9"), 1252 NULL, "mt2701", 1253 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 1254 MTK_FUNCTION(0, "GPIO136"), 1255 MTK_FUNCTION(1, "RAMBUF_IDATA9") 1256 ), 1257 MTK_PIN( 1258 PINCTRL_PIN(137, "RAMBUF_IDATA10"), 1259 NULL, "mt2701", 1260 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 1261 MTK_FUNCTION(0, "GPIO137"), 1262 MTK_FUNCTION(1, "RAMBUF_IDATA10") 1263 ), 1264 MTK_PIN( 1265 PINCTRL_PIN(138, "RAMBUF_IDATA11"), 1266 NULL, "mt2701", 1267 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 1268 MTK_FUNCTION(0, "GPIO138"), 1269 MTK_FUNCTION(1, "RAMBUF_IDATA11") 1270 ), 1271 MTK_PIN( 1272 PINCTRL_PIN(139, "RAMBUF_IDATA12"), 1273 NULL, "mt2701", 1274 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 1275 MTK_FUNCTION(0, "GPIO139"), 1276 MTK_FUNCTION(1, "RAMBUF_IDATA12") 1277 ), 1278 MTK_PIN( 1279 PINCTRL_PIN(140, "RAMBUF_IDATA13"), 1280 NULL, "mt2701", 1281 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 1282 MTK_FUNCTION(0, "GPIO140"), 1283 MTK_FUNCTION(1, "RAMBUF_IDATA13") 1284 ), 1285 MTK_PIN( 1286 PINCTRL_PIN(141, "RAMBUF_IDATA14"), 1287 NULL, "mt2701", 1288 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 1289 MTK_FUNCTION(0, "GPIO141"), 1290 MTK_FUNCTION(1, "RAMBUF_IDATA14") 1291 ), 1292 MTK_PIN( 1293 PINCTRL_PIN(142, "RAMBUF_IDATA15"), 1294 NULL, "mt2701", 1295 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 1296 MTK_FUNCTION(0, "GPIO142"), 1297 MTK_FUNCTION(1, "RAMBUF_IDATA15") 1298 ), 1299 MTK_PIN( 1300 PINCTRL_PIN(143, "RAMBUF_ODATA0"), 1301 NULL, "mt2701", 1302 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 1303 MTK_FUNCTION(0, "GPIO143"), 1304 MTK_FUNCTION(1, "RAMBUF_ODATA0") 1305 ), 1306 MTK_PIN( 1307 PINCTRL_PIN(144, "RAMBUF_ODATA1"), 1308 NULL, "mt2701", 1309 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 1310 MTK_FUNCTION(0, "GPIO144"), 1311 MTK_FUNCTION(1, "RAMBUF_ODATA1") 1312 ), 1313 MTK_PIN( 1314 PINCTRL_PIN(145, "RAMBUF_ODATA2"), 1315 NULL, "mt2701", 1316 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 1317 MTK_FUNCTION(0, "GPIO145"), 1318 MTK_FUNCTION(1, "RAMBUF_ODATA2") 1319 ), 1320 MTK_PIN( 1321 PINCTRL_PIN(146, "RAMBUF_ODATA3"), 1322 NULL, "mt2701", 1323 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 1324 MTK_FUNCTION(0, "GPIO146"), 1325 MTK_FUNCTION(1, "RAMBUF_ODATA3") 1326 ), 1327 MTK_PIN( 1328 PINCTRL_PIN(147, "RAMBUF_ODATA4"), 1329 NULL, "mt2701", 1330 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 1331 MTK_FUNCTION(0, "GPIO147"), 1332 MTK_FUNCTION(1, "RAMBUF_ODATA4") 1333 ), 1334 MTK_PIN( 1335 PINCTRL_PIN(148, "RAMBUF_ODATA5"), 1336 NULL, "mt2701", 1337 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 1338 MTK_FUNCTION(0, "GPIO148"), 1339 MTK_FUNCTION(1, "RAMBUF_ODATA5") 1340 ), 1341 MTK_PIN( 1342 PINCTRL_PIN(149, "RAMBUF_ODATA6"), 1343 NULL, "mt2701", 1344 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 1345 MTK_FUNCTION(0, "GPIO149"), 1346 MTK_FUNCTION(1, "RAMBUF_ODATA6") 1347 ), 1348 MTK_PIN( 1349 PINCTRL_PIN(150, "RAMBUF_ODATA7"), 1350 NULL, "mt2701", 1351 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 1352 MTK_FUNCTION(0, "GPIO150"), 1353 MTK_FUNCTION(1, "RAMBUF_ODATA7") 1354 ), 1355 MTK_PIN( 1356 PINCTRL_PIN(151, "RAMBUF_ODATA8"), 1357 NULL, "mt2701", 1358 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 1359 MTK_FUNCTION(0, "GPIO151"), 1360 MTK_FUNCTION(1, "RAMBUF_ODATA8") 1361 ), 1362 MTK_PIN( 1363 PINCTRL_PIN(152, "RAMBUF_ODATA9"), 1364 NULL, "mt2701", 1365 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 1366 MTK_FUNCTION(0, "GPIO152"), 1367 MTK_FUNCTION(1, "RAMBUF_ODATA9") 1368 ), 1369 MTK_PIN( 1370 PINCTRL_PIN(153, "RAMBUF_ODATA10"), 1371 NULL, "mt2701", 1372 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 1373 MTK_FUNCTION(0, "GPIO153"), 1374 MTK_FUNCTION(1, "RAMBUF_ODATA10") 1375 ), 1376 MTK_PIN( 1377 PINCTRL_PIN(154, "RAMBUF_ODATA11"), 1378 NULL, "mt2701", 1379 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 1380 MTK_FUNCTION(0, "GPIO154"), 1381 MTK_FUNCTION(1, "RAMBUF_ODATA11") 1382 ), 1383 MTK_PIN( 1384 PINCTRL_PIN(155, "RAMBUF_ODATA12"), 1385 NULL, "mt2701", 1386 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 1387 MTK_FUNCTION(0, "GPIO155"), 1388 MTK_FUNCTION(1, "RAMBUF_ODATA12") 1389 ), 1390 MTK_PIN( 1391 PINCTRL_PIN(156, "RAMBUF_ODATA13"), 1392 NULL, "mt2701", 1393 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 1394 MTK_FUNCTION(0, "GPIO156"), 1395 MTK_FUNCTION(1, "RAMBUF_ODATA13") 1396 ), 1397 MTK_PIN( 1398 PINCTRL_PIN(157, "RAMBUF_ODATA14"), 1399 NULL, "mt2701", 1400 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 1401 MTK_FUNCTION(0, "GPIO157"), 1402 MTK_FUNCTION(1, "RAMBUF_ODATA14") 1403 ), 1404 MTK_PIN( 1405 PINCTRL_PIN(158, "RAMBUF_ODATA15"), 1406 NULL, "mt2701", 1407 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 1408 MTK_FUNCTION(0, "GPIO158"), 1409 MTK_FUNCTION(1, "RAMBUF_ODATA15") 1410 ), 1411 MTK_PIN( 1412 PINCTRL_PIN(159, "RAMBUF_BE0"), 1413 NULL, "mt2701", 1414 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 1415 MTK_FUNCTION(0, "GPIO159"), 1416 MTK_FUNCTION(1, "RAMBUF_BE0") 1417 ), 1418 MTK_PIN( 1419 PINCTRL_PIN(160, "RAMBUF_BE1"), 1420 NULL, "mt2701", 1421 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 1422 MTK_FUNCTION(0, "GPIO160"), 1423 MTK_FUNCTION(1, "RAMBUF_BE1") 1424 ), 1425 MTK_PIN( 1426 PINCTRL_PIN(161, "AP2PT_INT"), 1427 NULL, "mt2701", 1428 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 1429 MTK_FUNCTION(0, "GPIO161"), 1430 MTK_FUNCTION(1, "AP2PT_INT") 1431 ), 1432 MTK_PIN( 1433 PINCTRL_PIN(162, "AP2PT_INT_CLR"), 1434 NULL, "mt2701", 1435 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 1436 MTK_FUNCTION(0, "GPIO162"), 1437 MTK_FUNCTION(1, "AP2PT_INT_CLR") 1438 ), 1439 MTK_PIN( 1440 PINCTRL_PIN(163, "PT2AP_INT"), 1441 NULL, "mt2701", 1442 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 1443 MTK_FUNCTION(0, "GPIO163"), 1444 MTK_FUNCTION(1, "PT2AP_INT") 1445 ), 1446 MTK_PIN( 1447 PINCTRL_PIN(164, "PT2AP_INT_CLR"), 1448 NULL, "mt2701", 1449 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 1450 MTK_FUNCTION(0, "GPIO164"), 1451 MTK_FUNCTION(1, "PT2AP_INT_CLR") 1452 ), 1453 MTK_PIN( 1454 PINCTRL_PIN(165, "AP2UP_INT"), 1455 NULL, "mt2701", 1456 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 1457 MTK_FUNCTION(0, "GPIO165"), 1458 MTK_FUNCTION(1, "AP2UP_INT") 1459 ), 1460 MTK_PIN( 1461 PINCTRL_PIN(166, "AP2UP_INT_CLR"), 1462 NULL, "mt2701", 1463 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 1464 MTK_FUNCTION(0, "GPIO166"), 1465 MTK_FUNCTION(1, "AP2UP_INT_CLR") 1466 ), 1467 MTK_PIN( 1468 PINCTRL_PIN(167, "UP2AP_INT"), 1469 NULL, "mt2701", 1470 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 1471 MTK_FUNCTION(0, "GPIO167"), 1472 MTK_FUNCTION(1, "UP2AP_INT") 1473 ), 1474 MTK_PIN( 1475 PINCTRL_PIN(168, "UP2AP_INT_CLR"), 1476 NULL, "mt2701", 1477 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 1478 MTK_FUNCTION(0, "GPIO168"), 1479 MTK_FUNCTION(1, "UP2AP_INT_CLR") 1480 ), 1481 MTK_PIN( 1482 PINCTRL_PIN(169, "RAMBUF_ADDR0"), 1483 NULL, "mt2701", 1484 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 1485 MTK_FUNCTION(0, "GPIO169"), 1486 MTK_FUNCTION(1, "RAMBUF_ADDR0") 1487 ), 1488 MTK_PIN( 1489 PINCTRL_PIN(170, "RAMBUF_ADDR1"), 1490 NULL, "mt2701", 1491 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 1492 MTK_FUNCTION(0, "GPIO170"), 1493 MTK_FUNCTION(1, "RAMBUF_ADDR1") 1494 ), 1495 MTK_PIN( 1496 PINCTRL_PIN(171, "RAMBUF_ADDR2"), 1497 NULL, "mt2701", 1498 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 1499 MTK_FUNCTION(0, "GPIO171"), 1500 MTK_FUNCTION(1, "RAMBUF_ADDR2") 1501 ), 1502 MTK_PIN( 1503 PINCTRL_PIN(172, "RAMBUF_ADDR3"), 1504 NULL, "mt2701", 1505 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 1506 MTK_FUNCTION(0, "GPIO172"), 1507 MTK_FUNCTION(1, "RAMBUF_ADDR3") 1508 ), 1509 MTK_PIN( 1510 PINCTRL_PIN(173, "RAMBUF_ADDR4"), 1511 NULL, "mt2701", 1512 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 1513 MTK_FUNCTION(0, "GPIO173"), 1514 MTK_FUNCTION(1, "RAMBUF_ADDR4") 1515 ), 1516 MTK_PIN( 1517 PINCTRL_PIN(174, "RAMBUF_ADDR5"), 1518 NULL, "mt2701", 1519 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 1520 MTK_FUNCTION(0, "GPIO174"), 1521 MTK_FUNCTION(1, "RAMBUF_ADDR5") 1522 ), 1523 MTK_PIN( 1524 PINCTRL_PIN(175, "RAMBUF_ADDR6"), 1525 NULL, "mt2701", 1526 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 1527 MTK_FUNCTION(0, "GPIO175"), 1528 MTK_FUNCTION(1, "RAMBUF_ADDR6") 1529 ), 1530 MTK_PIN( 1531 PINCTRL_PIN(176, "RAMBUF_ADDR7"), 1532 NULL, "mt2701", 1533 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 1534 MTK_FUNCTION(0, "GPIO176"), 1535 MTK_FUNCTION(1, "RAMBUF_ADDR7") 1536 ), 1537 MTK_PIN( 1538 PINCTRL_PIN(177, "RAMBUF_ADDR8"), 1539 NULL, "mt2701", 1540 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 1541 MTK_FUNCTION(0, "GPIO177"), 1542 MTK_FUNCTION(1, "RAMBUF_ADDR8") 1543 ), 1544 MTK_PIN( 1545 PINCTRL_PIN(178, "RAMBUF_ADDR9"), 1546 NULL, "mt2701", 1547 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 1548 MTK_FUNCTION(0, "GPIO178"), 1549 MTK_FUNCTION(1, "RAMBUF_ADDR9") 1550 ), 1551 MTK_PIN( 1552 PINCTRL_PIN(179, "RAMBUF_ADDR10"), 1553 NULL, "mt2701", 1554 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 1555 MTK_FUNCTION(0, "GPIO179"), 1556 MTK_FUNCTION(1, "RAMBUF_ADDR10") 1557 ), 1558 MTK_PIN( 1559 PINCTRL_PIN(180, "RAMBUF_RW"), 1560 NULL, "mt2701", 1561 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 1562 MTK_FUNCTION(0, "GPIO180"), 1563 MTK_FUNCTION(1, "RAMBUF_RW") 1564 ), 1565 MTK_PIN( 1566 PINCTRL_PIN(181, "RAMBUF_LAST"), 1567 NULL, "mt2701", 1568 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 1569 MTK_FUNCTION(0, "GPIO181"), 1570 MTK_FUNCTION(1, "RAMBUF_LAST") 1571 ), 1572 MTK_PIN( 1573 PINCTRL_PIN(182, "RAMBUF_HP"), 1574 NULL, "mt2701", 1575 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 1576 MTK_FUNCTION(0, "GPIO182"), 1577 MTK_FUNCTION(1, "RAMBUF_HP") 1578 ), 1579 MTK_PIN( 1580 PINCTRL_PIN(183, "RAMBUF_REQ"), 1581 NULL, "mt2701", 1582 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 1583 MTK_FUNCTION(0, "GPIO183"), 1584 MTK_FUNCTION(1, "RAMBUF_REQ") 1585 ), 1586 MTK_PIN( 1587 PINCTRL_PIN(184, "RAMBUF_ALE"), 1588 NULL, "mt2701", 1589 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 1590 MTK_FUNCTION(0, "GPIO184"), 1591 MTK_FUNCTION(1, "RAMBUF_ALE") 1592 ), 1593 MTK_PIN( 1594 PINCTRL_PIN(185, "RAMBUF_DLE"), 1595 NULL, "mt2701", 1596 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 1597 MTK_FUNCTION(0, "GPIO185"), 1598 MTK_FUNCTION(1, "RAMBUF_DLE") 1599 ), 1600 MTK_PIN( 1601 PINCTRL_PIN(186, "RAMBUF_WDLE"), 1602 NULL, "mt2701", 1603 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 1604 MTK_FUNCTION(0, "GPIO186"), 1605 MTK_FUNCTION(1, "RAMBUF_WDLE") 1606 ), 1607 MTK_PIN( 1608 PINCTRL_PIN(187, "RAMBUF_O_CLK"), 1609 NULL, "mt2701", 1610 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 1611 MTK_FUNCTION(0, "GPIO187"), 1612 MTK_FUNCTION(1, "RAMBUF_O_CLK") 1613 ), 1614 MTK_PIN( 1615 PINCTRL_PIN(188, "I2S2_MCLK"), 1616 NULL, "mt2701", 1617 MTK_EINT_FUNCTION(0, 100), 1618 MTK_FUNCTION(0, "GPIO188"), 1619 MTK_FUNCTION(1, "I2S2_MCLK") 1620 ), 1621 MTK_PIN( 1622 PINCTRL_PIN(189, "I2S3_DATA"), 1623 NULL, "mt2701", 1624 MTK_EINT_FUNCTION(0, 101), 1625 MTK_FUNCTION(0, "GPIO189"), 1626 MTK_FUNCTION(2, "I2S3_DATA_BYPS"), 1627 MTK_FUNCTION(3, "PCM_TX") 1628 ), 1629 MTK_PIN( 1630 PINCTRL_PIN(190, "I2S3_DATA_IN"), 1631 NULL, "mt2701", 1632 MTK_EINT_FUNCTION(0, 102), 1633 MTK_FUNCTION(0, "GPIO190"), 1634 MTK_FUNCTION(1, "I2S3_DATA_IN"), 1635 MTK_FUNCTION(3, "PCM_RX") 1636 ), 1637 MTK_PIN( 1638 PINCTRL_PIN(191, "I2S3_BCK"), 1639 NULL, "mt2701", 1640 MTK_EINT_FUNCTION(0, 103), 1641 MTK_FUNCTION(0, "GPIO191"), 1642 MTK_FUNCTION(1, "I2S3_BCK"), 1643 MTK_FUNCTION(3, "PCM_CLK0") 1644 ), 1645 MTK_PIN( 1646 PINCTRL_PIN(192, "I2S3_LRCK"), 1647 NULL, "mt2701", 1648 MTK_EINT_FUNCTION(0, 104), 1649 MTK_FUNCTION(0, "GPIO192"), 1650 MTK_FUNCTION(1, "I2S3_LRCK"), 1651 MTK_FUNCTION(3, "PCM_SYNC") 1652 ), 1653 MTK_PIN( 1654 PINCTRL_PIN(193, "I2S3_MCLK"), 1655 NULL, "mt2701", 1656 MTK_EINT_FUNCTION(0, 105), 1657 MTK_FUNCTION(0, "GPIO193"), 1658 MTK_FUNCTION(1, "I2S3_MCLK") 1659 ), 1660 MTK_PIN( 1661 PINCTRL_PIN(194, "I2S4_DATA"), 1662 NULL, "mt2701", 1663 MTK_EINT_FUNCTION(0, 106), 1664 MTK_FUNCTION(0, "GPIO194"), 1665 MTK_FUNCTION(1, "I2S4_DATA"), 1666 MTK_FUNCTION(2, "I2S4_DATA_BYPS"), 1667 MTK_FUNCTION(3, "PCM_TX") 1668 ), 1669 MTK_PIN( 1670 PINCTRL_PIN(195, "I2S4_DATA_IN"), 1671 NULL, "mt2701", 1672 MTK_EINT_FUNCTION(0, 107), 1673 MTK_FUNCTION(0, "GPIO195"), 1674 MTK_FUNCTION(1, "I2S4_DATA_IN"), 1675 MTK_FUNCTION(3, "PCM_RX") 1676 ), 1677 MTK_PIN( 1678 PINCTRL_PIN(196, "I2S4_BCK"), 1679 NULL, "mt2701", 1680 MTK_EINT_FUNCTION(0, 108), 1681 MTK_FUNCTION(0, "GPIO196"), 1682 MTK_FUNCTION(1, "I2S4_BCK"), 1683 MTK_FUNCTION(3, "PCM_CLK0") 1684 ), 1685 MTK_PIN( 1686 PINCTRL_PIN(197, "I2S4_LRCK"), 1687 NULL, "mt2701", 1688 MTK_EINT_FUNCTION(0, 109), 1689 MTK_FUNCTION(0, "GPIO197"), 1690 MTK_FUNCTION(1, "I2S4_LRCK"), 1691 MTK_FUNCTION(3, "PCM_SYNC") 1692 ), 1693 MTK_PIN( 1694 PINCTRL_PIN(198, "I2S4_MCLK"), 1695 NULL, "mt2701", 1696 MTK_EINT_FUNCTION(0, 110), 1697 MTK_FUNCTION(0, "GPIO198"), 1698 MTK_FUNCTION(1, "I2S4_MCLK") 1699 ), 1700 MTK_PIN( 1701 PINCTRL_PIN(199, "SPI1_CLK"), 1702 NULL, "mt2701", 1703 MTK_EINT_FUNCTION(0, 111), 1704 MTK_FUNCTION(0, "GPIO199"), 1705 MTK_FUNCTION(1, "SPI1_CK"), 1706 MTK_FUNCTION(3, "EXT_FRAME_SYNC"), 1707 MTK_FUNCTION(4, "KCOL3"), 1708 MTK_FUNCTION(7, "DBG_MON_B[15]") 1709 ), 1710 MTK_PIN( 1711 PINCTRL_PIN(200, "SPDIF_OUT"), 1712 NULL, "mt2701", 1713 MTK_EINT_FUNCTION(0, 112), 1714 MTK_FUNCTION(0, "GPIO200"), 1715 MTK_FUNCTION(1, "SPDIF_OUT"), 1716 MTK_FUNCTION(5, "G1_TXD3"), 1717 MTK_FUNCTION(6, "URXD2"), 1718 MTK_FUNCTION(7, "DBG_MON_B[16]") 1719 ), 1720 MTK_PIN( 1721 PINCTRL_PIN(201, "SPDIF_IN0"), 1722 NULL, "mt2701", 1723 MTK_EINT_FUNCTION(0, 113), 1724 MTK_FUNCTION(0, "GPIO201"), 1725 MTK_FUNCTION(1, "SPDIF_IN0"), 1726 MTK_FUNCTION(5, "G1_TXEN"), 1727 MTK_FUNCTION(6, "UTXD2"), 1728 MTK_FUNCTION(7, "DBG_MON_B[17]") 1729 ), 1730 MTK_PIN( 1731 PINCTRL_PIN(202, "SPDIF_IN1"), 1732 NULL, "mt2701", 1733 MTK_EINT_FUNCTION(0, 114), 1734 MTK_FUNCTION(0, "GPIO202"), 1735 MTK_FUNCTION(1, "SPDIF_IN1") 1736 ), 1737 MTK_PIN( 1738 PINCTRL_PIN(203, "PWM0"), 1739 NULL, "mt2701", 1740 MTK_EINT_FUNCTION(0, 115), 1741 MTK_FUNCTION(0, "GPIO203"), 1742 MTK_FUNCTION(1, "PWM0"), 1743 MTK_FUNCTION(2, "DISP_PWM"), 1744 MTK_FUNCTION(5, "G1_TXD2"), 1745 MTK_FUNCTION(7, "DBG_MON_B[18]"), 1746 MTK_FUNCTION(9, "I2S2_DATA") 1747 ), 1748 MTK_PIN( 1749 PINCTRL_PIN(204, "PWM1"), 1750 NULL, "mt2701", 1751 MTK_EINT_FUNCTION(0, 116), 1752 MTK_FUNCTION(0, "GPIO204"), 1753 MTK_FUNCTION(1, "PWM1"), 1754 MTK_FUNCTION(2, "CLKM3"), 1755 MTK_FUNCTION(5, "G1_TXD1"), 1756 MTK_FUNCTION(7, "DBG_MON_B[19]"), 1757 MTK_FUNCTION(9, "I2S3_DATA") 1758 ), 1759 MTK_PIN( 1760 PINCTRL_PIN(205, "PWM2"), 1761 NULL, "mt2701", 1762 MTK_EINT_FUNCTION(0, 117), 1763 MTK_FUNCTION(0, "GPIO205"), 1764 MTK_FUNCTION(1, "PWM2"), 1765 MTK_FUNCTION(2, "CLKM2"), 1766 MTK_FUNCTION(5, "G1_TXD0"), 1767 MTK_FUNCTION(7, "DBG_MON_B[20]") 1768 ), 1769 MTK_PIN( 1770 PINCTRL_PIN(206, "PWM3"), 1771 NULL, "mt2701", 1772 MTK_EINT_FUNCTION(0, 118), 1773 MTK_FUNCTION(0, "GPIO206"), 1774 MTK_FUNCTION(1, "PWM3"), 1775 MTK_FUNCTION(2, "CLKM1"), 1776 MTK_FUNCTION(3, "EXT_FRAME_SYNC"), 1777 MTK_FUNCTION(5, "G1_TXC"), 1778 MTK_FUNCTION(7, "DBG_MON_B[21]") 1779 ), 1780 MTK_PIN( 1781 PINCTRL_PIN(207, "PWM4"), 1782 NULL, "mt2701", 1783 MTK_EINT_FUNCTION(0, 119), 1784 MTK_FUNCTION(0, "GPIO207"), 1785 MTK_FUNCTION(1, "PWM4"), 1786 MTK_FUNCTION(2, "CLKM0"), 1787 MTK_FUNCTION(3, "EXT_FRAME_SYNC"), 1788 MTK_FUNCTION(5, "G1_RXC"), 1789 MTK_FUNCTION(7, "DBG_MON_B[22]") 1790 ), 1791 MTK_PIN( 1792 PINCTRL_PIN(208, "AUD_EXT_CK1"), 1793 NULL, "mt2701", 1794 MTK_EINT_FUNCTION(0, 120), 1795 MTK_FUNCTION(0, "GPIO208"), 1796 MTK_FUNCTION(1, "AUD_EXT_CK1"), 1797 MTK_FUNCTION(2, "PWM0"), 1798 /* MT7623 take function 3 as PCIE0_PERST_N */ 1799 MTK_FUNCTION(3, "PCIE0_PERST_N"), 1800 MTK_FUNCTION(4, "ANT_SEL5"), 1801 MTK_FUNCTION(5, "DISP_PWM"), 1802 MTK_FUNCTION(7, "DBG_MON_A[31]"), 1803 MTK_FUNCTION(11, "PCIE0_PERST_N") 1804 ), 1805 MTK_PIN( 1806 PINCTRL_PIN(209, "AUD_EXT_CK2"), 1807 NULL, "mt2701", 1808 MTK_EINT_FUNCTION(0, 121), 1809 MTK_FUNCTION(0, "GPIO209"), 1810 MTK_FUNCTION(1, "AUD_EXT_CK2"), 1811 MTK_FUNCTION(2, "MSDC1_WP"), 1812 /* MT7623 take function 3 as PCIE1_PERST_N */ 1813 MTK_FUNCTION(3, "PCIE1_PERST_N"), 1814 MTK_FUNCTION(5, "PWM1"), 1815 MTK_FUNCTION(7, "DBG_MON_A[32]"), 1816 MTK_FUNCTION(11, "PCIE1_PERST_N") 1817 ), 1818 MTK_PIN( 1819 PINCTRL_PIN(210, "AUD_CLOCK"), 1820 NULL, "mt2701", 1821 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 1822 MTK_FUNCTION(0, "GPIO210"), 1823 MTK_FUNCTION(1, "AUD_CLOCK") 1824 ), 1825 MTK_PIN( 1826 PINCTRL_PIN(211, "DVP_RESET"), 1827 NULL, "mt2701", 1828 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 1829 MTK_FUNCTION(0, "GPIO211"), 1830 MTK_FUNCTION(1, "DVP_RESET") 1831 ), 1832 MTK_PIN( 1833 PINCTRL_PIN(212, "DVP_CLOCK"), 1834 NULL, "mt2701", 1835 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 1836 MTK_FUNCTION(0, "GPIO212"), 1837 MTK_FUNCTION(1, "DVP_CLOCK") 1838 ), 1839 MTK_PIN( 1840 PINCTRL_PIN(213, "DVP_CS"), 1841 NULL, "mt2701", 1842 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 1843 MTK_FUNCTION(0, "GPIO213"), 1844 MTK_FUNCTION(1, "DVP_CS") 1845 ), 1846 MTK_PIN( 1847 PINCTRL_PIN(214, "DVP_CK"), 1848 NULL, "mt2701", 1849 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 1850 MTK_FUNCTION(0, "GPIO214"), 1851 MTK_FUNCTION(1, "DVP_CK") 1852 ), 1853 MTK_PIN( 1854 PINCTRL_PIN(215, "DVP_DI"), 1855 NULL, "mt2701", 1856 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 1857 MTK_FUNCTION(0, "GPIO215"), 1858 MTK_FUNCTION(1, "DVP_DI") 1859 ), 1860 MTK_PIN( 1861 PINCTRL_PIN(216, "DVP_DO"), 1862 NULL, "mt2701", 1863 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 1864 MTK_FUNCTION(0, "GPIO216"), 1865 MTK_FUNCTION(1, "DVP_DO") 1866 ), 1867 MTK_PIN( 1868 PINCTRL_PIN(217, "AP_CS"), 1869 NULL, "mt2701", 1870 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 1871 MTK_FUNCTION(0, "GPIO217"), 1872 MTK_FUNCTION(1, "AP_CS") 1873 ), 1874 MTK_PIN( 1875 PINCTRL_PIN(218, "AP_CK"), 1876 NULL, "mt2701", 1877 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 1878 MTK_FUNCTION(0, "GPIO218"), 1879 MTK_FUNCTION(1, "AP_CK") 1880 ), 1881 MTK_PIN( 1882 PINCTRL_PIN(219, "AP_DI"), 1883 NULL, "mt2701", 1884 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 1885 MTK_FUNCTION(0, "GPIO219"), 1886 MTK_FUNCTION(1, "AP_DI") 1887 ), 1888 MTK_PIN( 1889 PINCTRL_PIN(220, "AP_DO"), 1890 NULL, "mt2701", 1891 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 1892 MTK_FUNCTION(0, "GPIO220"), 1893 MTK_FUNCTION(1, "AP_DO") 1894 ), 1895 MTK_PIN( 1896 PINCTRL_PIN(221, "DVD_BCLK"), 1897 NULL, "mt2701", 1898 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 1899 MTK_FUNCTION(0, "GPIO221"), 1900 MTK_FUNCTION(1, "DVD_BCLK") 1901 ), 1902 MTK_PIN( 1903 PINCTRL_PIN(222, "T8032_CLK"), 1904 NULL, "mt2701", 1905 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 1906 MTK_FUNCTION(0, "GPIO222"), 1907 MTK_FUNCTION(1, "T8032_CLK") 1908 ), 1909 MTK_PIN( 1910 PINCTRL_PIN(223, "AP_BCLK"), 1911 NULL, "mt2701", 1912 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 1913 MTK_FUNCTION(0, "GPIO223"), 1914 MTK_FUNCTION(1, "AP_BCLK") 1915 ), 1916 MTK_PIN( 1917 PINCTRL_PIN(224, "HOST_CS"), 1918 NULL, "mt2701", 1919 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 1920 MTK_FUNCTION(0, "GPIO224"), 1921 MTK_FUNCTION(1, "HOST_CS") 1922 ), 1923 MTK_PIN( 1924 PINCTRL_PIN(225, "HOST_CK"), 1925 NULL, "mt2701", 1926 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 1927 MTK_FUNCTION(0, "GPIO225"), 1928 MTK_FUNCTION(1, "HOST_CK") 1929 ), 1930 MTK_PIN( 1931 PINCTRL_PIN(226, "HOST_DO0"), 1932 NULL, "mt2701", 1933 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 1934 MTK_FUNCTION(0, "GPIO226"), 1935 MTK_FUNCTION(1, "HOST_DO0") 1936 ), 1937 MTK_PIN( 1938 PINCTRL_PIN(227, "HOST_DO1"), 1939 NULL, "mt2701", 1940 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 1941 MTK_FUNCTION(0, "GPIO227"), 1942 MTK_FUNCTION(1, "HOST_DO1") 1943 ), 1944 MTK_PIN( 1945 PINCTRL_PIN(228, "SLV_CS"), 1946 NULL, "mt2701", 1947 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 1948 MTK_FUNCTION(0, "GPIO228"), 1949 MTK_FUNCTION(1, "SLV_CS") 1950 ), 1951 MTK_PIN( 1952 PINCTRL_PIN(229, "SLV_CK"), 1953 NULL, "mt2701", 1954 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 1955 MTK_FUNCTION(0, "GPIO229"), 1956 MTK_FUNCTION(1, "SLV_CK") 1957 ), 1958 MTK_PIN( 1959 PINCTRL_PIN(230, "SLV_DI0"), 1960 NULL, "mt2701", 1961 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 1962 MTK_FUNCTION(0, "GPIO230"), 1963 MTK_FUNCTION(1, "SLV_DI0") 1964 ), 1965 MTK_PIN( 1966 PINCTRL_PIN(231, "SLV_DI1"), 1967 NULL, "mt2701", 1968 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 1969 MTK_FUNCTION(0, "GPIO231"), 1970 MTK_FUNCTION(1, "SLV_DI1") 1971 ), 1972 MTK_PIN( 1973 PINCTRL_PIN(232, "AP2DSP_INT"), 1974 NULL, "mt2701", 1975 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 1976 MTK_FUNCTION(0, "GPIO232"), 1977 MTK_FUNCTION(1, "AP2DSP_INT") 1978 ), 1979 MTK_PIN( 1980 PINCTRL_PIN(233, "AP2DSP_INT_CLR"), 1981 NULL, "mt2701", 1982 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 1983 MTK_FUNCTION(0, "GPIO233"), 1984 MTK_FUNCTION(1, "AP2DSP_INT_CLR") 1985 ), 1986 MTK_PIN( 1987 PINCTRL_PIN(234, "DSP2AP_INT"), 1988 NULL, "mt2701", 1989 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 1990 MTK_FUNCTION(0, "GPIO234"), 1991 MTK_FUNCTION(1, "DSP2AP_INT") 1992 ), 1993 MTK_PIN( 1994 PINCTRL_PIN(235, "DSP2AP_INT_CLR"), 1995 NULL, "mt2701", 1996 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 1997 MTK_FUNCTION(0, "GPIO235"), 1998 MTK_FUNCTION(1, "DSP2AP_INT_CLR") 1999 ), 2000 MTK_PIN( 2001 PINCTRL_PIN(236, "EXT_SDIO3"), 2002 NULL, "mt2701", 2003 MTK_EINT_FUNCTION(0, 122), 2004 MTK_FUNCTION(0, "GPIO236"), 2005 MTK_FUNCTION(1, "EXT_SDIO3"), 2006 MTK_FUNCTION(2, "IDDIG"), 2007 MTK_FUNCTION(7, "DBG_MON_A[1]") 2008 ), 2009 MTK_PIN( 2010 PINCTRL_PIN(237, "EXT_SDIO2"), 2011 NULL, "mt2701", 2012 MTK_EINT_FUNCTION(0, 123), 2013 MTK_FUNCTION(0, "GPIO237"), 2014 MTK_FUNCTION(1, "EXT_SDIO2"), 2015 MTK_FUNCTION(2, "DRV_VBUS") 2016 ), 2017 MTK_PIN( 2018 PINCTRL_PIN(238, "EXT_SDIO1"), 2019 NULL, "mt2701", 2020 MTK_EINT_FUNCTION(0, 124), 2021 MTK_FUNCTION(0, "GPIO238"), 2022 MTK_FUNCTION(1, "EXT_SDIO1"), 2023 MTK_FUNCTION(2, "IDDIG_P1") 2024 ), 2025 MTK_PIN( 2026 PINCTRL_PIN(239, "EXT_SDIO0"), 2027 NULL, "mt2701", 2028 MTK_EINT_FUNCTION(0, 125), 2029 MTK_FUNCTION(0, "GPIO239"), 2030 MTK_FUNCTION(1, "EXT_SDIO0"), 2031 MTK_FUNCTION(2, "DRV_VBUS_P1") 2032 ), 2033 MTK_PIN( 2034 PINCTRL_PIN(240, "EXT_XCS"), 2035 NULL, "mt2701", 2036 MTK_EINT_FUNCTION(0, 126), 2037 MTK_FUNCTION(0, "GPIO240"), 2038 MTK_FUNCTION(1, "EXT_XCS") 2039 ), 2040 MTK_PIN( 2041 PINCTRL_PIN(241, "EXT_SCK"), 2042 NULL, "mt2701", 2043 MTK_EINT_FUNCTION(0, 127), 2044 MTK_FUNCTION(0, "GPIO241"), 2045 MTK_FUNCTION(1, "EXT_SCK") 2046 ), 2047 MTK_PIN( 2048 PINCTRL_PIN(242, "URTS2"), 2049 NULL, "mt2701", 2050 MTK_EINT_FUNCTION(0, 128), 2051 MTK_FUNCTION(0, "GPIO242"), 2052 MTK_FUNCTION(1, "URTS2"), 2053 MTK_FUNCTION(2, "UTXD3"), 2054 MTK_FUNCTION(3, "URXD3"), 2055 MTK_FUNCTION(4, "SCL1"), 2056 MTK_FUNCTION(7, "DBG_MON_B[32]") 2057 ), 2058 MTK_PIN( 2059 PINCTRL_PIN(243, "UCTS2"), 2060 NULL, "mt2701", 2061 MTK_EINT_FUNCTION(0, 129), 2062 MTK_FUNCTION(0, "GPIO243"), 2063 MTK_FUNCTION(1, "UCTS2"), 2064 MTK_FUNCTION(2, "URXD3"), 2065 MTK_FUNCTION(3, "UTXD3"), 2066 MTK_FUNCTION(4, "SDA1"), 2067 MTK_FUNCTION(7, "DBG_MON_A[6]") 2068 ), 2069 MTK_PIN( 2070 PINCTRL_PIN(244, "HDMI_SDA_RX"), 2071 NULL, "mt2701", 2072 MTK_EINT_FUNCTION(0, 130), 2073 MTK_FUNCTION(0, "GPIO244"), 2074 MTK_FUNCTION(1, "HDMI_SDA_RX") 2075 ), 2076 MTK_PIN( 2077 PINCTRL_PIN(245, "HDMI_SCL_RX"), 2078 NULL, "mt2701", 2079 MTK_EINT_FUNCTION(0, 131), 2080 MTK_FUNCTION(0, "GPIO245"), 2081 MTK_FUNCTION(1, "HDMI_SCL_RX") 2082 ), 2083 MTK_PIN( 2084 PINCTRL_PIN(246, "MHL_SENCE"), 2085 NULL, "mt2701", 2086 MTK_EINT_FUNCTION(0, 132), 2087 MTK_FUNCTION(0, "GPIO246") 2088 ), 2089 MTK_PIN( 2090 PINCTRL_PIN(247, "HDMI_HPD_CBUS_RX"), 2091 NULL, "mt2701", 2092 MTK_EINT_FUNCTION(0, 69), 2093 MTK_FUNCTION(0, "GPIO247"), 2094 MTK_FUNCTION(1, "HDMI_HPD_RX") 2095 ), 2096 MTK_PIN( 2097 PINCTRL_PIN(248, "HDMI_TESTOUTP_RX"), 2098 NULL, "mt2701", 2099 MTK_EINT_FUNCTION(0, 133), 2100 MTK_FUNCTION(0, "GPIO248"), 2101 MTK_FUNCTION(1, "HDMI_TESTOUTP_RX") 2102 ), 2103 MTK_PIN( 2104 PINCTRL_PIN(249, "MSDC0E_RSTB"), 2105 NULL, "mt2701", 2106 MTK_EINT_FUNCTION(0, 134), 2107 MTK_FUNCTION(0, "GPIO249"), 2108 MTK_FUNCTION(1, "MSDC0E_RSTB") 2109 ), 2110 MTK_PIN( 2111 PINCTRL_PIN(250, "MSDC0E_DAT7"), 2112 NULL, "mt2701", 2113 MTK_EINT_FUNCTION(0, 135), 2114 MTK_FUNCTION(0, "GPIO250"), 2115 MTK_FUNCTION(1, "MSDC3_DAT7"), 2116 MTK_FUNCTION(6, "PCIE0_CLKREQ_N") 2117 ), 2118 MTK_PIN( 2119 PINCTRL_PIN(251, "MSDC0E_DAT6"), 2120 NULL, "mt2701", 2121 MTK_EINT_FUNCTION(0, 136), 2122 MTK_FUNCTION(0, "GPIO251"), 2123 MTK_FUNCTION(1, "MSDC3_DAT6"), 2124 MTK_FUNCTION(6, "PCIE0_WAKE_N") 2125 ), 2126 MTK_PIN( 2127 PINCTRL_PIN(252, "MSDC0E_DAT5"), 2128 NULL, "mt2701", 2129 MTK_EINT_FUNCTION(0, 137), 2130 MTK_FUNCTION(0, "GPIO252"), 2131 MTK_FUNCTION(1, "MSDC3_DAT5"), 2132 MTK_FUNCTION(6, "PCIE1_CLKREQ_N") 2133 ), 2134 MTK_PIN( 2135 PINCTRL_PIN(253, "MSDC0E_DAT4"), 2136 NULL, "mt2701", 2137 MTK_EINT_FUNCTION(0, 138), 2138 MTK_FUNCTION(0, "GPIO253"), 2139 MTK_FUNCTION(1, "MSDC3_DAT4"), 2140 MTK_FUNCTION(6, "PCIE1_WAKE_N") 2141 ), 2142 MTK_PIN( 2143 PINCTRL_PIN(254, "MSDC0E_DAT3"), 2144 NULL, "mt2701", 2145 MTK_EINT_FUNCTION(0, 139), 2146 MTK_FUNCTION(0, "GPIO254"), 2147 MTK_FUNCTION(1, "MSDC3_DAT3"), 2148 MTK_FUNCTION(6, "PCIE2_CLKREQ_N") 2149 ), 2150 MTK_PIN( 2151 PINCTRL_PIN(255, "MSDC0E_DAT2"), 2152 NULL, "mt2701", 2153 MTK_EINT_FUNCTION(0, 140), 2154 MTK_FUNCTION(0, "GPIO255"), 2155 MTK_FUNCTION(1, "MSDC3_DAT2"), 2156 MTK_FUNCTION(6, "PCIE2_WAKE_N") 2157 ), 2158 MTK_PIN( 2159 PINCTRL_PIN(256, "MSDC0E_DAT1"), 2160 NULL, "mt2701", 2161 MTK_EINT_FUNCTION(0, 141), 2162 MTK_FUNCTION(0, "GPIO256"), 2163 MTK_FUNCTION(1, "MSDC3_DAT1") 2164 ), 2165 MTK_PIN( 2166 PINCTRL_PIN(257, "MSDC0E_DAT0"), 2167 NULL, "mt2701", 2168 MTK_EINT_FUNCTION(0, 142), 2169 MTK_FUNCTION(0, "GPIO257"), 2170 MTK_FUNCTION(1, "MSDC3_DAT0") 2171 ), 2172 MTK_PIN( 2173 PINCTRL_PIN(258, "MSDC0E_CMD"), 2174 NULL, "mt2701", 2175 MTK_EINT_FUNCTION(0, 143), 2176 MTK_FUNCTION(0, "GPIO258"), 2177 MTK_FUNCTION(1, "MSDC3_CMD") 2178 ), 2179 MTK_PIN( 2180 PINCTRL_PIN(259, "MSDC0E_CLK"), 2181 NULL, "mt2701", 2182 MTK_EINT_FUNCTION(0, 144), 2183 MTK_FUNCTION(0, "GPIO259"), 2184 MTK_FUNCTION(1, "MSDC3_CLK") 2185 ), 2186 MTK_PIN( 2187 PINCTRL_PIN(260, "MSDC0E_DSL"), 2188 NULL, "mt2701", 2189 MTK_EINT_FUNCTION(0, 145), 2190 MTK_FUNCTION(0, "GPIO260"), 2191 MTK_FUNCTION(1, "MSDC3_DSL") 2192 ), 2193 MTK_PIN( 2194 PINCTRL_PIN(261, "MSDC1_INS"), 2195 NULL, "mt2701", 2196 MTK_EINT_FUNCTION(0, 146), 2197 MTK_FUNCTION(0, "GPIO261"), 2198 MTK_FUNCTION(1, "MSDC1_INS"), 2199 MTK_FUNCTION(7, "DBG_MON_B[29]") 2200 ), 2201 MTK_PIN( 2202 PINCTRL_PIN(262, "G2_TXEN"), 2203 NULL, "mt2701", 2204 MTK_EINT_FUNCTION(0, 8), 2205 MTK_FUNCTION(0, "GPIO262"), 2206 MTK_FUNCTION(1, "G2_TXEN") 2207 ), 2208 MTK_PIN( 2209 PINCTRL_PIN(263, "G2_TXD3"), 2210 NULL, "mt2701", 2211 MTK_EINT_FUNCTION(0, 9), 2212 MTK_FUNCTION(0, "GPIO263"), 2213 MTK_FUNCTION(1, "G2_TXD3"), 2214 MTK_FUNCTION(6, "ANT_SEL5") 2215 ), 2216 MTK_PIN( 2217 PINCTRL_PIN(264, "G2_TXD2"), 2218 NULL, "mt2701", 2219 MTK_EINT_FUNCTION(0, 10), 2220 MTK_FUNCTION(0, "GPIO264"), 2221 MTK_FUNCTION(1, "G2_TXD2"), 2222 MTK_FUNCTION(6, "ANT_SEL4") 2223 ), 2224 MTK_PIN( 2225 PINCTRL_PIN(265, "G2_TXD1"), 2226 NULL, "mt2701", 2227 MTK_EINT_FUNCTION(0, 11), 2228 MTK_FUNCTION(0, "GPIO265"), 2229 MTK_FUNCTION(1, "G2_TXD1"), 2230 MTK_FUNCTION(6, "ANT_SEL3") 2231 ), 2232 MTK_PIN( 2233 PINCTRL_PIN(266, "G2_TXD0"), 2234 NULL, "mt2701", 2235 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 2236 MTK_FUNCTION(0, "GPIO266"), 2237 MTK_FUNCTION(1, "G2_TXD0"), 2238 MTK_FUNCTION(6, "ANT_SEL2") 2239 ), 2240 MTK_PIN( 2241 PINCTRL_PIN(267, "G2_TXC"), 2242 NULL, "mt2701", 2243 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 2244 MTK_FUNCTION(0, "GPIO267"), 2245 MTK_FUNCTION(1, "G2_TXC") 2246 ), 2247 MTK_PIN( 2248 PINCTRL_PIN(268, "G2_RXC"), 2249 NULL, "mt2701", 2250 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 2251 MTK_FUNCTION(0, "GPIO268"), 2252 MTK_FUNCTION(1, "G2_RXC") 2253 ), 2254 MTK_PIN( 2255 PINCTRL_PIN(269, "G2_RXD0"), 2256 NULL, "mt2701", 2257 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 2258 MTK_FUNCTION(0, "GPIO269"), 2259 MTK_FUNCTION(1, "G2_RXD0") 2260 ), 2261 MTK_PIN( 2262 PINCTRL_PIN(270, "G2_RXD1"), 2263 NULL, "mt2701", 2264 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 2265 MTK_FUNCTION(0, "GPIO270"), 2266 MTK_FUNCTION(1, "G2_RXD1") 2267 ), 2268 MTK_PIN( 2269 PINCTRL_PIN(271, "G2_RXD2"), 2270 NULL, "mt2701", 2271 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 2272 MTK_FUNCTION(0, "GPIO271"), 2273 MTK_FUNCTION(1, "G2_RXD2") 2274 ), 2275 MTK_PIN( 2276 PINCTRL_PIN(272, "G2_RXD3"), 2277 NULL, "mt2701", 2278 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 2279 MTK_FUNCTION(0, "GPIO272"), 2280 MTK_FUNCTION(1, "G2_RXD3") 2281 ), 2282 MTK_PIN( 2283 PINCTRL_PIN(273, "ESW_INT"), 2284 NULL, "mt2701", 2285 MTK_EINT_FUNCTION(0, 168), 2286 MTK_FUNCTION(0, "GPIO273"), 2287 MTK_FUNCTION(1, "ESW_INT") 2288 ), 2289 MTK_PIN( 2290 PINCTRL_PIN(274, "G2_RXDV"), 2291 NULL, "mt2701", 2292 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 2293 MTK_FUNCTION(0, "GPIO274"), 2294 MTK_FUNCTION(1, "G2_RXDV") 2295 ), 2296 MTK_PIN( 2297 PINCTRL_PIN(275, "MDC"), 2298 NULL, "mt2701", 2299 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 2300 MTK_FUNCTION(0, "GPIO275"), 2301 MTK_FUNCTION(1, "MDC"), 2302 MTK_FUNCTION(6, "ANT_SEL0") 2303 ), 2304 MTK_PIN( 2305 PINCTRL_PIN(276, "MDIO"), 2306 NULL, "mt2701", 2307 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 2308 MTK_FUNCTION(0, "GPIO276"), 2309 MTK_FUNCTION(1, "MDIO"), 2310 MTK_FUNCTION(6, "ANT_SEL1") 2311 ), 2312 MTK_PIN( 2313 PINCTRL_PIN(277, "ESW_RST"), 2314 NULL, "mt2701", 2315 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 2316 MTK_FUNCTION(0, "GPIO277"), 2317 MTK_FUNCTION(1, "ESW_RST") 2318 ), 2319 MTK_PIN( 2320 PINCTRL_PIN(278, "JTAG_RESET"), 2321 NULL, "mt2701", 2322 MTK_EINT_FUNCTION(0, 147), 2323 MTK_FUNCTION(0, "GPIO278"), 2324 MTK_FUNCTION(1, "JTAG_RESET") 2325 ), 2326 MTK_PIN( 2327 PINCTRL_PIN(279, "USB3_RES_BOND"), 2328 NULL, "mt2701", 2329 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT), 2330 MTK_FUNCTION(0, "GPIO279"), 2331 MTK_FUNCTION(1, "USB3_RES_BOND") 2332 ), 2333 }; 2334 2335 #endif /* __PINCTRL_MTK_MT2701_H */ 2336