pinctrl-mtk-mt8365.h (36924B)
1// SPDX-License-Identifier: GPL-2.0 2/* 3 * Copyright (C) 2018 MediaTek Inc. 4 * Author: Zhiyong Tao <zhiyong.tao@mediatek.com> 5 * 6 */ 7 8#ifndef __PINCTRL_MTK_MT8365_H 9#define __PINCTRL_MTK_MT8365_H 10 11#include <linux/pinctrl/pinctrl.h> 12#include "pinctrl-mtk-common.h" 13 14static const struct mtk_desc_pin mtk_pins_mt8365[] = { 15 MTK_PIN( 16 PINCTRL_PIN(0, "GPIO0"), 17 NULL, "mt8365", 18 MTK_EINT_FUNCTION(0, 0), 19 MTK_FUNCTION(0, "GPIO0"), 20 MTK_FUNCTION(1, "DPI_D0"), 21 MTK_FUNCTION(2, "PWM_A"), 22 MTK_FUNCTION(3, "I2S2_BCK"), 23 MTK_FUNCTION(4, "EXT_TXD0"), 24 MTK_FUNCTION(5, "CONN_MCU_TDO"), 25 MTK_FUNCTION(7, "DBG_MON_A0") 26 ), 27 MTK_PIN( 28 PINCTRL_PIN(1, "GPIO1"), 29 NULL, "mt8365", 30 MTK_EINT_FUNCTION(0, 1), 31 MTK_FUNCTION(0, "GPIO1"), 32 MTK_FUNCTION(1, "DPI_D1"), 33 MTK_FUNCTION(2, "PWM_B"), 34 MTK_FUNCTION(3, "I2S2_LRCK"), 35 MTK_FUNCTION(4, "EXT_TXD1"), 36 MTK_FUNCTION(5, "CONN_MCU_DBGACK_N"), 37 MTK_FUNCTION(7, "DBG_MON_A1") 38 ), 39 MTK_PIN( 40 PINCTRL_PIN(2, "GPIO2"), 41 NULL, "mt8365", 42 MTK_EINT_FUNCTION(0, 2), 43 MTK_FUNCTION(0, "GPIO2"), 44 MTK_FUNCTION(1, "DPI_D2"), 45 MTK_FUNCTION(2, "PWM_C"), 46 MTK_FUNCTION(3, "I2S2_MCK"), 47 MTK_FUNCTION(4, "EXT_TXD2"), 48 MTK_FUNCTION(5, "CONN_MCU_DBGI_N"), 49 MTK_FUNCTION(7, "DBG_MON_A2") 50 ), 51 MTK_PIN( 52 PINCTRL_PIN(3, "GPIO3"), 53 NULL, "mt8365", 54 MTK_EINT_FUNCTION(0, 3), 55 MTK_FUNCTION(0, "GPIO3"), 56 MTK_FUNCTION(1, "DPI_D3"), 57 MTK_FUNCTION(2, "CLKM0"), 58 MTK_FUNCTION(3, "I2S2_DI"), 59 MTK_FUNCTION(4, "EXT_TXD3"), 60 MTK_FUNCTION(5, "CONN_MCU_TCK"), 61 MTK_FUNCTION(6, "CONN_MCU_AICE_TCKC"), 62 MTK_FUNCTION(7, "DBG_MON_A3") 63 ), 64 MTK_PIN( 65 PINCTRL_PIN(4, "GPIO4"), 66 NULL, "mt8365", 67 MTK_EINT_FUNCTION(0, 4), 68 MTK_FUNCTION(0, "GPIO4"), 69 MTK_FUNCTION(1, "DPI_D4"), 70 MTK_FUNCTION(2, "CLKM1"), 71 MTK_FUNCTION(3, "I2S1_BCK"), 72 MTK_FUNCTION(4, "EXT_TXC"), 73 MTK_FUNCTION(5, "CONN_MCU_TDI"), 74 MTK_FUNCTION(6, "VDEC_TEST_CK"), 75 MTK_FUNCTION(7, "DBG_MON_A4") 76 ), 77 MTK_PIN( 78 PINCTRL_PIN(5, "GPIO5"), 79 NULL, "mt8365", 80 MTK_EINT_FUNCTION(0, 5), 81 MTK_FUNCTION(0, "GPIO5"), 82 MTK_FUNCTION(1, "DPI_D5"), 83 MTK_FUNCTION(2, "CLKM2"), 84 MTK_FUNCTION(3, "I2S1_LRCK"), 85 MTK_FUNCTION(4, "EXT_RXER"), 86 MTK_FUNCTION(5, "CONN_MCU_TRST_B"), 87 MTK_FUNCTION(6, "MM_TEST_CK"), 88 MTK_FUNCTION(7, "DBG_MON_A5") 89 ), 90 MTK_PIN( 91 PINCTRL_PIN(6, "GPIO6"), 92 NULL, "mt8365", 93 MTK_EINT_FUNCTION(0, 6), 94 MTK_FUNCTION(0, "GPIO6"), 95 MTK_FUNCTION(1, "DPI_D6"), 96 MTK_FUNCTION(2, "CLKM3"), 97 MTK_FUNCTION(3, "I2S1_MCK"), 98 MTK_FUNCTION(4, "EXT_RXC"), 99 MTK_FUNCTION(5, "CONN_MCU_TMS"), 100 MTK_FUNCTION(6, "CONN_MCU_AICE_TMSC"), 101 MTK_FUNCTION(7, "DBG_MON_A6") 102 ), 103 MTK_PIN( 104 PINCTRL_PIN(7, "GPIO7"), 105 NULL, "mt8365", 106 MTK_EINT_FUNCTION(0, 7), 107 MTK_FUNCTION(0, "GPIO7"), 108 MTK_FUNCTION(1, "DPI_D7"), 109 MTK_FUNCTION(3, "I2S1_DO"), 110 MTK_FUNCTION(4, "EXT_RXDV"), 111 MTK_FUNCTION(5, "CONN_DSP_JCK"), 112 MTK_FUNCTION(7, "DBG_MON_A7") 113 ), 114 MTK_PIN( 115 PINCTRL_PIN(8, "GPIO8"), 116 NULL, "mt8365", 117 MTK_EINT_FUNCTION(0, 8), 118 MTK_FUNCTION(0, "GPIO8"), 119 MTK_FUNCTION(1, "DPI_D8"), 120 MTK_FUNCTION(2, "SPI_CLK"), 121 MTK_FUNCTION(3, "I2S0_BCK"), 122 MTK_FUNCTION(4, "EXT_RXD0"), 123 MTK_FUNCTION(5, "CONN_DSP_JINTP"), 124 MTK_FUNCTION(7, "DBG_MON_A8") 125 ), 126 MTK_PIN( 127 PINCTRL_PIN(9, "GPIO9"), 128 NULL, "mt8365", 129 MTK_EINT_FUNCTION(0, 9), 130 MTK_FUNCTION(0, "GPIO9"), 131 MTK_FUNCTION(1, "DPI_D9"), 132 MTK_FUNCTION(2, "SPI_CSB"), 133 MTK_FUNCTION(3, "I2S0_LRCK"), 134 MTK_FUNCTION(4, "EXT_RXD1"), 135 MTK_FUNCTION(5, "CONN_DSP_JDI"), 136 MTK_FUNCTION(7, "DBG_MON_A9") 137 ), 138 MTK_PIN( 139 PINCTRL_PIN(10, "GPIO10"), 140 NULL, "mt8365", 141 MTK_EINT_FUNCTION(0, 10), 142 MTK_FUNCTION(0, "GPIO10"), 143 MTK_FUNCTION(1, "DPI_D10"), 144 MTK_FUNCTION(2, "SPI_MI"), 145 MTK_FUNCTION(3, "I2S0_MCK"), 146 MTK_FUNCTION(4, "EXT_RXD2"), 147 MTK_FUNCTION(5, "CONN_DSP_JMS"), 148 MTK_FUNCTION(7, "DBG_MON_A10") 149 ), 150 MTK_PIN( 151 PINCTRL_PIN(11, "GPIO11"), 152 NULL, "mt8365", 153 MTK_EINT_FUNCTION(0, 11), 154 MTK_FUNCTION(0, "GPIO11"), 155 MTK_FUNCTION(1, "DPI_D11"), 156 MTK_FUNCTION(2, "SPI_MO"), 157 MTK_FUNCTION(3, "I2S0_DI"), 158 MTK_FUNCTION(4, "EXT_RXD3"), 159 MTK_FUNCTION(5, "CONN_DSP_JDO"), 160 MTK_FUNCTION(7, "DBG_MON_A11") 161 ), 162 MTK_PIN( 163 PINCTRL_PIN(12, "GPIO12"), 164 NULL, "mt8365", 165 MTK_EINT_FUNCTION(0, 12), 166 MTK_FUNCTION(0, "GPIO12"), 167 MTK_FUNCTION(1, "DPI_DE"), 168 MTK_FUNCTION(2, "UCTS1"), 169 MTK_FUNCTION(3, "I2S3_BCK"), 170 MTK_FUNCTION(4, "EXT_TXEN"), 171 MTK_FUNCTION(5, "O_WIFI_TXD"), 172 MTK_FUNCTION(7, "DBG_MON_A12") 173 ), 174 MTK_PIN( 175 PINCTRL_PIN(13, "GPIO13"), 176 NULL, "mt8365", 177 MTK_EINT_FUNCTION(0, 13), 178 MTK_FUNCTION(0, "GPIO13"), 179 MTK_FUNCTION(1, "DPI_VSYNC"), 180 MTK_FUNCTION(2, "URTS1"), 181 MTK_FUNCTION(3, "I2S3_LRCK"), 182 MTK_FUNCTION(4, "EXT_COL"), 183 MTK_FUNCTION(5, "SPDIF_IN"), 184 MTK_FUNCTION(7, "DBG_MON_A13") 185 ), 186 MTK_PIN( 187 PINCTRL_PIN(14, "GPIO14"), 188 NULL, "mt8365", 189 MTK_EINT_FUNCTION(0, 14), 190 MTK_FUNCTION(0, "GPIO14"), 191 MTK_FUNCTION(1, "DPI_CK"), 192 MTK_FUNCTION(2, "UCTS2"), 193 MTK_FUNCTION(3, "I2S3_MCK"), 194 MTK_FUNCTION(4, "EXT_MDIO"), 195 MTK_FUNCTION(5, "SPDIF_OUT"), 196 MTK_FUNCTION(6, "DVFSRC_EXT_REQ"), 197 MTK_FUNCTION(7, "DBG_MON_A14") 198 ), 199 MTK_PIN( 200 PINCTRL_PIN(15, "GPIO15"), 201 NULL, "mt8365", 202 MTK_EINT_FUNCTION(0, 15), 203 MTK_FUNCTION(0, "GPIO15"), 204 MTK_FUNCTION(1, "DPI_HSYNC"), 205 MTK_FUNCTION(2, "URTS2"), 206 MTK_FUNCTION(3, "I2S3_DO"), 207 MTK_FUNCTION(4, "EXT_MDC"), 208 MTK_FUNCTION(5, "IRRX"), 209 MTK_FUNCTION(6, "EXT_FRAME_SYNC"), 210 MTK_FUNCTION(7, "DBG_MON_A15") 211 ), 212 MTK_PIN( 213 PINCTRL_PIN(16, "GPIO16"), 214 NULL, "mt8365", 215 MTK_EINT_FUNCTION(0, 16), 216 MTK_FUNCTION(0, "GPIO16"), 217 MTK_FUNCTION(1, "DPI_D12"), 218 MTK_FUNCTION(2, "USB_DRVVBUS"), 219 MTK_FUNCTION(3, "PWM_A"), 220 MTK_FUNCTION(4, "CLKM0"), 221 MTK_FUNCTION(5, "ANT_SEL0"), 222 MTK_FUNCTION(6, "TSF_IN"), 223 MTK_FUNCTION(7, "DBG_MON_A16") 224 ), 225 MTK_PIN( 226 PINCTRL_PIN(17, "GPIO17"), 227 NULL, "mt8365", 228 MTK_EINT_FUNCTION(0, 17), 229 MTK_FUNCTION(0, "GPIO17"), 230 MTK_FUNCTION(1, "DPI_D13"), 231 MTK_FUNCTION(2, "IDDIG"), 232 MTK_FUNCTION(3, "PWM_B"), 233 MTK_FUNCTION(4, "CLKM1"), 234 MTK_FUNCTION(5, "ANT_SEL1"), 235 MTK_FUNCTION(6, "DVFSRC_EXT_REQ"), 236 MTK_FUNCTION(7, "DBG_MON_A17") 237 ), 238 MTK_PIN( 239 PINCTRL_PIN(18, "GPIO18"), 240 NULL, "mt8365", 241 MTK_EINT_FUNCTION(0, 18), 242 MTK_FUNCTION(0, "GPIO18"), 243 MTK_FUNCTION(1, "DPI_D14"), 244 MTK_FUNCTION(2, "EXT_FRAME_SYNC"), 245 MTK_FUNCTION(3, "PWM_C"), 246 MTK_FUNCTION(4, "CLKM2"), 247 MTK_FUNCTION(5, "ANT_SEL2"), 248 MTK_FUNCTION(6, "MFG_TEST_CK"), 249 MTK_FUNCTION(7, "DBG_MON_A18") 250 ), 251 MTK_PIN( 252 PINCTRL_PIN(19, "DISP_PWM"), 253 NULL, "mt8365", 254 MTK_EINT_FUNCTION(0, 19), 255 MTK_FUNCTION(0, "GPIO19"), 256 MTK_FUNCTION(1, "DISP_PWM"), 257 MTK_FUNCTION(2, "PWM_A"), 258 MTK_FUNCTION(7, "DBG_MON_A19") 259 ), 260 MTK_PIN( 261 PINCTRL_PIN(20, "LCM_RST"), 262 NULL, "mt8365", 263 MTK_EINT_FUNCTION(0, 20), 264 MTK_FUNCTION(0, "GPIO20"), 265 MTK_FUNCTION(1, "LCM_RST"), 266 MTK_FUNCTION(2, "PWM_B"), 267 MTK_FUNCTION(7, "DBG_MON_A20") 268 ), 269 MTK_PIN( 270 PINCTRL_PIN(21, "DSI_TE"), 271 NULL, "mt8365", 272 MTK_EINT_FUNCTION(0, 21), 273 MTK_FUNCTION(0, "GPIO21"), 274 MTK_FUNCTION(1, "DSI_TE"), 275 MTK_FUNCTION(2, "PWM_C"), 276 MTK_FUNCTION(3, "ANT_SEL0"), 277 MTK_FUNCTION(4, "DVFSRC_EXT_REQ"), 278 MTK_FUNCTION(7, "DBG_MON_A21") 279 ), 280 MTK_PIN( 281 PINCTRL_PIN(22, "KPROW0"), 282 NULL, "mt8365", 283 MTK_EINT_FUNCTION(0, 22), 284 MTK_FUNCTION(0, "GPIO22"), 285 MTK_FUNCTION(1, "KPROW0"), 286 MTK_FUNCTION(7, "DBG_MON_A22") 287 ), 288 MTK_PIN( 289 PINCTRL_PIN(23, "KPROW1"), 290 NULL, "mt8365", 291 MTK_EINT_FUNCTION(0, 23), 292 MTK_FUNCTION(0, "GPIO23"), 293 MTK_FUNCTION(1, "KPROW1"), 294 MTK_FUNCTION(2, "IDDIG"), 295 MTK_FUNCTION(3, "WIFI_TXD"), 296 MTK_FUNCTION(4, "CLKM3"), 297 MTK_FUNCTION(5, "ANT_SEL1"), 298 MTK_FUNCTION(6, "EXT_FRAME_SYNC"), 299 MTK_FUNCTION(7, "DBG_MON_B0") 300 ), 301 MTK_PIN( 302 PINCTRL_PIN(24, "KPCOL0"), 303 NULL, "mt8365", 304 MTK_EINT_FUNCTION(0, 24), 305 MTK_FUNCTION(0, "GPIO24"), 306 MTK_FUNCTION(1, "KPCOL0"), 307 MTK_FUNCTION(7, "DBG_MON_A23") 308 ), 309 MTK_PIN( 310 PINCTRL_PIN(25, "KPCOL1"), 311 NULL, "mt8365", 312 MTK_EINT_FUNCTION(0, 25), 313 MTK_FUNCTION(0, "GPIO25"), 314 MTK_FUNCTION(1, "KPCOL1"), 315 MTK_FUNCTION(2, "USB_DRVVBUS"), 316 MTK_FUNCTION(3, "APU_JTAG_TRST"), 317 MTK_FUNCTION(4, "UDI_NTRST_XI"), 318 MTK_FUNCTION(5, "DFD_NTRST_XI"), 319 MTK_FUNCTION(6, "CONN_TEST_CK"), 320 MTK_FUNCTION(7, "DBG_MON_B1") 321 ), 322 MTK_PIN( 323 PINCTRL_PIN(26, "SPI_CS"), 324 NULL, "mt8365", 325 MTK_EINT_FUNCTION(0, 26), 326 MTK_FUNCTION(0, "GPIO26"), 327 MTK_FUNCTION(1, "SPI_CSB"), 328 MTK_FUNCTION(3, "APU_JTAG_TMS"), 329 MTK_FUNCTION(4, "UDI_TMS_XI"), 330 MTK_FUNCTION(5, "DFD_TMS_XI"), 331 MTK_FUNCTION(6, "CONN_TEST_CK"), 332 MTK_FUNCTION(7, "DBG_MON_A24") 333 ), 334 MTK_PIN( 335 PINCTRL_PIN(27, "SPI_CK"), 336 NULL, "mt8365", 337 MTK_EINT_FUNCTION(0, 27), 338 MTK_FUNCTION(0, "GPIO27"), 339 MTK_FUNCTION(1, "SPI_CLK"), 340 MTK_FUNCTION(3, "APU_JTAG_TCK"), 341 MTK_FUNCTION(4, "UDI_TCK_XI"), 342 MTK_FUNCTION(5, "DFD_TCK_XI"), 343 MTK_FUNCTION(6, "APU_TEST_CK"), 344 MTK_FUNCTION(7, "DBG_MON_A25") 345 ), 346 MTK_PIN( 347 PINCTRL_PIN(28, "SPI_MI"), 348 NULL, "mt8365", 349 MTK_EINT_FUNCTION(0, 28), 350 MTK_FUNCTION(0, "GPIO28"), 351 MTK_FUNCTION(1, "SPI_MI"), 352 MTK_FUNCTION(2, "SPI_MO"), 353 MTK_FUNCTION(3, "APU_JTAG_TDI"), 354 MTK_FUNCTION(4, "UDI_TDI_XI"), 355 MTK_FUNCTION(5, "DFD_TDI_XI"), 356 MTK_FUNCTION(6, "DSP_TEST_CK"), 357 MTK_FUNCTION(7, "DBG_MON_A26") 358 ), 359 MTK_PIN( 360 PINCTRL_PIN(29, "SPI_MO"), 361 NULL, "mt8365", 362 MTK_EINT_FUNCTION(0, 29), 363 MTK_FUNCTION(0, "GPIO29"), 364 MTK_FUNCTION(1, "SPI_MO"), 365 MTK_FUNCTION(2, "SPI_MI"), 366 MTK_FUNCTION(3, "APU_JTAG_TDO"), 367 MTK_FUNCTION(4, "UDI_TDO"), 368 MTK_FUNCTION(5, "DFD_TDO"), 369 MTK_FUNCTION(6, "DVFSRC_EXT_REQ"), 370 MTK_FUNCTION(7, "DBG_MON_A27") 371 ), 372 MTK_PIN( 373 PINCTRL_PIN(30, "JTMS"), 374 NULL, "mt8365", 375 MTK_EINT_FUNCTION(0, 30), 376 MTK_FUNCTION(0, "GPIO30"), 377 MTK_FUNCTION(1, "JTMS"), 378 MTK_FUNCTION(2, "DFD_TMS_XI"), 379 MTK_FUNCTION(3, "UDI_TMS_XI"), 380 MTK_FUNCTION(4, "MCU_SPM_TMS"), 381 MTK_FUNCTION(5, "CONN_MCU_TMS"), 382 MTK_FUNCTION(6, "CONN_MCU_AICE_TMSC") 383 ), 384 MTK_PIN( 385 PINCTRL_PIN(31, "JTCK"), 386 NULL, "mt8365", 387 MTK_EINT_FUNCTION(0, 31), 388 MTK_FUNCTION(0, "GPIO31"), 389 MTK_FUNCTION(1, "JTCK"), 390 MTK_FUNCTION(2, "DFD_TCK_XI"), 391 MTK_FUNCTION(3, "UDI_TCK_XI"), 392 MTK_FUNCTION(4, "MCU_SPM_TCK"), 393 MTK_FUNCTION(5, "CONN_MCU_TCK"), 394 MTK_FUNCTION(6, "CONN_MCU_AICE_TCKC") 395 ), 396 MTK_PIN( 397 PINCTRL_PIN(32, "JTDI"), 398 NULL, "mt8365", 399 MTK_EINT_FUNCTION(0, 32), 400 MTK_FUNCTION(0, "GPIO32"), 401 MTK_FUNCTION(1, "JTDI"), 402 MTK_FUNCTION(2, "DFD_TDI_XI"), 403 MTK_FUNCTION(3, "UDI_TDI_XI"), 404 MTK_FUNCTION(4, "MCU_SPM_TDI"), 405 MTK_FUNCTION(5, "CONN_MCU_TDI") 406 ), 407 MTK_PIN( 408 PINCTRL_PIN(33, "JTDO"), 409 NULL, "mt8365", 410 MTK_EINT_FUNCTION(0, 33), 411 MTK_FUNCTION(0, "GPIO33"), 412 MTK_FUNCTION(1, "JTDO"), 413 MTK_FUNCTION(2, "DFD_TDO"), 414 MTK_FUNCTION(3, "UDI_TDO"), 415 MTK_FUNCTION(4, "MCU_SPM_TDO"), 416 MTK_FUNCTION(5, "CONN_MCU_TDO") 417 ), 418 MTK_PIN( 419 PINCTRL_PIN(34, "JTRST"), 420 NULL, "mt8365", 421 MTK_EINT_FUNCTION(0, 34), 422 MTK_FUNCTION(0, "GPIO34"), 423 MTK_FUNCTION(1, "JTRST"), 424 MTK_FUNCTION(2, "DFD_NTRST_XI"), 425 MTK_FUNCTION(3, "UDI_NTRST_XI"), 426 MTK_FUNCTION(4, "MCU_SPM_NTRST"), 427 MTK_FUNCTION(5, "CONN_MCU_TRST_B") 428 ), 429 MTK_PIN( 430 PINCTRL_PIN(35, "URXD0"), 431 NULL, "mt8365", 432 MTK_EINT_FUNCTION(0, 35), 433 MTK_FUNCTION(0, "GPIO35"), 434 MTK_FUNCTION(1, "URXD0"), 435 MTK_FUNCTION(2, "UTXD0"), 436 MTK_FUNCTION(7, "DSP_URXD0") 437 ), 438 MTK_PIN( 439 PINCTRL_PIN(36, "UTXD0"), 440 NULL, "mt8365", 441 MTK_EINT_FUNCTION(0, 36), 442 MTK_FUNCTION(0, "GPIO36"), 443 MTK_FUNCTION(1, "UTXD0"), 444 MTK_FUNCTION(2, "URXD0"), 445 MTK_FUNCTION(7, "DSP_UTXD0") 446 ), 447 MTK_PIN( 448 PINCTRL_PIN(37, "URXD1"), 449 NULL, "mt8365", 450 MTK_EINT_FUNCTION(0, 37), 451 MTK_FUNCTION(0, "GPIO37"), 452 MTK_FUNCTION(1, "URXD1"), 453 MTK_FUNCTION(2, "UTXD1"), 454 MTK_FUNCTION(3, "UCTS2"), 455 MTK_FUNCTION(4, "DVFSRC_EXT_REQ"), 456 MTK_FUNCTION(5, "CONN_UART0_RXD"), 457 MTK_FUNCTION(6, "I2S0_MCK"), 458 MTK_FUNCTION(7, "DSP_URXD0") 459 ), 460 MTK_PIN( 461 PINCTRL_PIN(38, "UTXD1"), 462 NULL, "mt8365", 463 MTK_EINT_FUNCTION(0, 38), 464 MTK_FUNCTION(0, "GPIO38"), 465 MTK_FUNCTION(1, "UTXD1"), 466 MTK_FUNCTION(2, "URXD1"), 467 MTK_FUNCTION(3, "URTS2"), 468 MTK_FUNCTION(4, "ANT_SEL2"), 469 MTK_FUNCTION(5, "CONN_UART0_TXD"), 470 MTK_FUNCTION(6, "I2S1_MCK"), 471 MTK_FUNCTION(7, "DSP_UTXD0") 472 ), 473 MTK_PIN( 474 PINCTRL_PIN(39, "URXD2"), 475 NULL, "mt8365", 476 MTK_EINT_FUNCTION(0, 39), 477 MTK_FUNCTION(0, "GPIO39"), 478 MTK_FUNCTION(1, "URXD2"), 479 MTK_FUNCTION(2, "UTXD2"), 480 MTK_FUNCTION(3, "UCTS1"), 481 MTK_FUNCTION(4, "IDDIG"), 482 MTK_FUNCTION(5, "CONN_MCU_DBGACK_N"), 483 MTK_FUNCTION(6, "I2S2_MCK"), 484 MTK_FUNCTION(7, "DSP_URXD0") 485 ), 486 MTK_PIN( 487 PINCTRL_PIN(40, "UTXD2"), 488 NULL, "mt8365", 489 MTK_EINT_FUNCTION(0, 40), 490 MTK_FUNCTION(0, "GPIO40"), 491 MTK_FUNCTION(1, "UTXD2"), 492 MTK_FUNCTION(2, "URXD2"), 493 MTK_FUNCTION(3, "URTS1"), 494 MTK_FUNCTION(4, "USB_DRVVBUS"), 495 MTK_FUNCTION(5, "CONN_MCU_DBGI_N"), 496 MTK_FUNCTION(6, "I2S3_MCK"), 497 MTK_FUNCTION(7, "DSP_UTXD0") 498 ), 499 MTK_PIN( 500 PINCTRL_PIN(41, "PWRAP_SPI0_MI"), 501 NULL, "mt8365", 502 MTK_EINT_FUNCTION(0, 41), 503 MTK_FUNCTION(0, "GPIO41"), 504 MTK_FUNCTION(1, "PWRAP_SPI0_MI"), 505 MTK_FUNCTION(2, "PWRAP_SPI0_MO") 506 ), 507 MTK_PIN( 508 PINCTRL_PIN(42, "PWRAP_SPI0_MO"), 509 NULL, "mt8365", 510 MTK_EINT_FUNCTION(0, 42), 511 MTK_FUNCTION(0, "GPIO42"), 512 MTK_FUNCTION(1, "PWRAP_SPI0_MO"), 513 MTK_FUNCTION(2, "PWRAP_SPI0_MI") 514 ), 515 MTK_PIN( 516 PINCTRL_PIN(43, "PWRAP_SPI0_CK"), 517 NULL, "mt8365", 518 MTK_EINT_FUNCTION(0, 43), 519 MTK_FUNCTION(0, "GPIO43"), 520 MTK_FUNCTION(1, "PWRAP_SPI0_CK") 521 ), 522 MTK_PIN( 523 PINCTRL_PIN(44, "PWRAP_SPI0_CSN"), 524 NULL, "mt8365", 525 MTK_EINT_FUNCTION(0, 44), 526 MTK_FUNCTION(0, "GPIO44"), 527 MTK_FUNCTION(1, "PWRAP_SPI0_CSN") 528 ), 529 MTK_PIN( 530 PINCTRL_PIN(45, "RTC32K_CK"), 531 NULL, "mt8365", 532 MTK_EINT_FUNCTION(0, 45), 533 MTK_FUNCTION(0, "GPIO45"), 534 MTK_FUNCTION(1, "RTC32K_CK") 535 ), 536 MTK_PIN( 537 PINCTRL_PIN(46, "WATCHDOG"), 538 NULL, "mt8365", 539 MTK_EINT_FUNCTION(0, 46), 540 MTK_FUNCTION(0, "GPIO46"), 541 MTK_FUNCTION(1, "WATCHDOG") 542 ), 543 MTK_PIN( 544 PINCTRL_PIN(47, "SRCLKENA0"), 545 NULL, "mt8365", 546 MTK_EINT_FUNCTION(0, 47), 547 MTK_FUNCTION(0, "GPIO47"), 548 MTK_FUNCTION(1, "SRCLKENA0"), 549 MTK_FUNCTION(2, "SRCLKENA1") 550 ), 551 MTK_PIN( 552 PINCTRL_PIN(48, "SRCLKENA1"), 553 NULL, "mt8365", 554 MTK_EINT_FUNCTION(0, 48), 555 MTK_FUNCTION(0, "GPIO48"), 556 MTK_FUNCTION(1, "SRCLKENA1") 557 ), 558 MTK_PIN( 559 PINCTRL_PIN(49, "AUD_CLK_MOSI"), 560 NULL, "mt8365", 561 MTK_EINT_FUNCTION(0, 49), 562 MTK_FUNCTION(0, "GPIO49"), 563 MTK_FUNCTION(1, "AUD_CLK_MOSI"), 564 MTK_FUNCTION(2, "AUD_CLK_MISO"), 565 MTK_FUNCTION(3, "I2S1_MCK") 566 ), 567 MTK_PIN( 568 PINCTRL_PIN(50, "AUD_SYNC_MOSI"), 569 NULL, "mt8365", 570 MTK_EINT_FUNCTION(0, 50), 571 MTK_FUNCTION(0, "GPIO50"), 572 MTK_FUNCTION(1, "AUD_SYNC_MOSI"), 573 MTK_FUNCTION(2, "AUD_SYNC_MISO"), 574 MTK_FUNCTION(3, "I2S1_BCK") 575 ), 576 MTK_PIN( 577 PINCTRL_PIN(51, "AUD_DAT_MOSI0"), 578 NULL, "mt8365", 579 MTK_EINT_FUNCTION(0, 51), 580 MTK_FUNCTION(0, "GPIO51"), 581 MTK_FUNCTION(1, "AUD_DAT_MOSI0"), 582 MTK_FUNCTION(2, "AUD_DAT_MISO0"), 583 MTK_FUNCTION(3, "I2S1_LRCK") 584 ), 585 MTK_PIN( 586 PINCTRL_PIN(52, "AUD_DAT_MOSI1"), 587 NULL, "mt8365", 588 MTK_EINT_FUNCTION(0, 52), 589 MTK_FUNCTION(0, "GPIO52"), 590 MTK_FUNCTION(1, "AUD_DAT_MOSI1"), 591 MTK_FUNCTION(2, "AUD_DAT_MISO1"), 592 MTK_FUNCTION(3, "I2S1_DO") 593 ), 594 MTK_PIN( 595 PINCTRL_PIN(53, "AUD_CLK_MISO"), 596 NULL, "mt8365", 597 MTK_EINT_FUNCTION(0, 53), 598 MTK_FUNCTION(0, "GPIO53"), 599 MTK_FUNCTION(1, "AUD_CLK_MISO"), 600 MTK_FUNCTION(2, "AUD_CLK_MOSI"), 601 MTK_FUNCTION(3, "I2S2_MCK") 602 ), 603 MTK_PIN( 604 PINCTRL_PIN(54, "AUD_SYNC_MISO"), 605 NULL, "mt8365", 606 MTK_EINT_FUNCTION(0, 54), 607 MTK_FUNCTION(0, "GPIO54"), 608 MTK_FUNCTION(1, "AUD_SYNC_MISO"), 609 MTK_FUNCTION(2, "AUD_SYNC_MOSI"), 610 MTK_FUNCTION(3, "I2S2_BCK") 611 ), 612 MTK_PIN( 613 PINCTRL_PIN(55, "AUD_DAT_MISO0"), 614 NULL, "mt8365", 615 MTK_EINT_FUNCTION(0, 55), 616 MTK_FUNCTION(0, "GPIO55"), 617 MTK_FUNCTION(1, "AUD_DAT_MISO0"), 618 MTK_FUNCTION(2, "AUD_DAT_MOSI0"), 619 MTK_FUNCTION(3, "I2S2_LRCK") 620 ), 621 MTK_PIN( 622 PINCTRL_PIN(56, "AUD_DAT_MISO1"), 623 NULL, "mt8365", 624 MTK_EINT_FUNCTION(0, 56), 625 MTK_FUNCTION(0, "GPIO56"), 626 MTK_FUNCTION(1, "AUD_DAT_MISO1"), 627 MTK_FUNCTION(2, "AUD_DAT_MOSI1"), 628 MTK_FUNCTION(3, "I2S2_DI") 629 ), 630 MTK_PIN( 631 PINCTRL_PIN(57, "SDA0"), 632 NULL, "mt8365", 633 MTK_EINT_FUNCTION(0, 57), 634 MTK_FUNCTION(0, "GPIO57"), 635 MTK_FUNCTION(1, "SDA0_0") 636 ), 637 MTK_PIN( 638 PINCTRL_PIN(58, "SCL0"), 639 NULL, "mt8365", 640 MTK_EINT_FUNCTION(0, 58), 641 MTK_FUNCTION(0, "GPIO58"), 642 MTK_FUNCTION(1, "SCL0_0") 643 ), 644 MTK_PIN( 645 PINCTRL_PIN(59, "SDA1"), 646 NULL, "mt8365", 647 MTK_EINT_FUNCTION(0, 59), 648 MTK_FUNCTION(0, "GPIO59"), 649 MTK_FUNCTION(1, "SDA1_0"), 650 MTK_FUNCTION(6, "USB_SDA"), 651 MTK_FUNCTION(7, "DBG_SDA") 652 ), 653 MTK_PIN( 654 PINCTRL_PIN(60, "SCL1"), 655 NULL, "mt8365", 656 MTK_EINT_FUNCTION(0, 60), 657 MTK_FUNCTION(0, "GPIO60"), 658 MTK_FUNCTION(1, "SCL1_0"), 659 MTK_FUNCTION(6, "USB_SCL"), 660 MTK_FUNCTION(7, "DBG_SCL") 661 ), 662 MTK_PIN( 663 PINCTRL_PIN(61, "SDA2"), 664 NULL, "mt8365", 665 MTK_EINT_FUNCTION(0, 61), 666 MTK_FUNCTION(0, "GPIO61"), 667 MTK_FUNCTION(1, "SDA2_0") 668 ), 669 MTK_PIN( 670 PINCTRL_PIN(62, "SCL2"), 671 NULL, "mt8365", 672 MTK_EINT_FUNCTION(0, 62), 673 MTK_FUNCTION(0, "GPIO62"), 674 MTK_FUNCTION(1, "SCL2_0") 675 ), 676 MTK_PIN( 677 PINCTRL_PIN(63, "SDA3"), 678 NULL, "mt8365", 679 MTK_EINT_FUNCTION(0, 63), 680 MTK_FUNCTION(0, "GPIO63"), 681 MTK_FUNCTION(1, "SDA3_0") 682 ), 683 MTK_PIN( 684 PINCTRL_PIN(64, "SCL3"), 685 NULL, "mt8365", 686 MTK_EINT_FUNCTION(0, 64), 687 MTK_FUNCTION(0, "GPIO64"), 688 MTK_FUNCTION(1, "SCL3_0") 689 ), 690 MTK_PIN( 691 PINCTRL_PIN(65, "CMMCLK0"), 692 NULL, "mt8365", 693 MTK_EINT_FUNCTION(0, 65), 694 MTK_FUNCTION(0, "GPIO65"), 695 MTK_FUNCTION(1, "CMMCLK0"), 696 MTK_FUNCTION(2, "CMMCLK1"), 697 MTK_FUNCTION(7, "DBG_MON_A28") 698 ), 699 MTK_PIN( 700 PINCTRL_PIN(66, "CMMCLK1"), 701 NULL, "mt8365", 702 MTK_EINT_FUNCTION(0, 66), 703 MTK_FUNCTION(0, "GPIO66"), 704 MTK_FUNCTION(1, "CMMCLK1"), 705 MTK_FUNCTION(2, "CMMCLK0"), 706 MTK_FUNCTION(7, "DBG_MON_B2") 707 ), 708 MTK_PIN( 709 PINCTRL_PIN(67, "CMPCLK"), 710 NULL, "mt8365", 711 MTK_EINT_FUNCTION(0, 67), 712 MTK_FUNCTION(0, "GPIO67"), 713 MTK_FUNCTION(1, "CMPCLK"), 714 MTK_FUNCTION(2, "ANT_SEL0"), 715 MTK_FUNCTION(4, "TDM_RX_BCK"), 716 MTK_FUNCTION(5, "I2S0_BCK"), 717 MTK_FUNCTION(7, "DBG_MON_B3") 718 ), 719 MTK_PIN( 720 PINCTRL_PIN(68, "CMDAT0"), 721 NULL, "mt8365", 722 MTK_EINT_FUNCTION(0, 68), 723 MTK_FUNCTION(0, "GPIO68"), 724 MTK_FUNCTION(1, "CMDAT0"), 725 MTK_FUNCTION(2, "ANT_SEL1"), 726 MTK_FUNCTION(4, "TDM_RX_LRCK"), 727 MTK_FUNCTION(5, "I2S0_LRCK"), 728 MTK_FUNCTION(7, "DBG_MON_B4") 729 ), 730 MTK_PIN( 731 PINCTRL_PIN(69, "CMDAT1"), 732 NULL, "mt8365", 733 MTK_EINT_FUNCTION(0, 69), 734 MTK_FUNCTION(0, "GPIO69"), 735 MTK_FUNCTION(1, "CMDAT1"), 736 MTK_FUNCTION(2, "ANT_SEL2"), 737 MTK_FUNCTION(3, "DVFSRC_EXT_REQ"), 738 MTK_FUNCTION(4, "TDM_RX_MCK"), 739 MTK_FUNCTION(5, "I2S0_MCK"), 740 MTK_FUNCTION(7, "DBG_MON_B5") 741 ), 742 MTK_PIN( 743 PINCTRL_PIN(70, "CMDAT2"), 744 NULL, "mt8365", 745 MTK_EINT_FUNCTION(0, 70), 746 MTK_FUNCTION(0, "GPIO70"), 747 MTK_FUNCTION(1, "CMDAT2"), 748 MTK_FUNCTION(2, "ANT_SEL3"), 749 MTK_FUNCTION(4, "TDM_RX_DI"), 750 MTK_FUNCTION(5, "I2S0_DI"), 751 MTK_FUNCTION(7, "DBG_MON_B6") 752 ), 753 MTK_PIN( 754 PINCTRL_PIN(71, "CMDAT3"), 755 NULL, "mt8365", 756 MTK_EINT_FUNCTION(0, 71), 757 MTK_FUNCTION(0, "GPIO71"), 758 MTK_FUNCTION(1, "CMDAT3"), 759 MTK_FUNCTION(2, "ANT_SEL4"), 760 MTK_FUNCTION(7, "DBG_MON_B7") 761 ), 762 MTK_PIN( 763 PINCTRL_PIN(72, "CMDAT4"), 764 NULL, "mt8365", 765 MTK_EINT_FUNCTION(0, 72), 766 MTK_FUNCTION(0, "GPIO72"), 767 MTK_FUNCTION(1, "CMDAT4"), 768 MTK_FUNCTION(2, "ANT_SEL5"), 769 MTK_FUNCTION(5, "I2S3_BCK"), 770 MTK_FUNCTION(7, "DBG_MON_B8") 771 ), 772 MTK_PIN( 773 PINCTRL_PIN(73, "CMDAT5"), 774 NULL, "mt8365", 775 MTK_EINT_FUNCTION(0, 73), 776 MTK_FUNCTION(0, "GPIO73"), 777 MTK_FUNCTION(1, "CMDAT5"), 778 MTK_FUNCTION(2, "ANT_SEL6"), 779 MTK_FUNCTION(5, "I2S3_LRCK"), 780 MTK_FUNCTION(7, "DBG_MON_B9") 781 ), 782 MTK_PIN( 783 PINCTRL_PIN(74, "CMDAT6"), 784 NULL, "mt8365", 785 MTK_EINT_FUNCTION(0, 74), 786 MTK_FUNCTION(0, "GPIO74"), 787 MTK_FUNCTION(1, "CMDAT6"), 788 MTK_FUNCTION(2, "ANT_SEL7"), 789 MTK_FUNCTION(5, "I2S3_MCK"), 790 MTK_FUNCTION(7, "DBG_MON_B10") 791 ), 792 MTK_PIN( 793 PINCTRL_PIN(75, "CMDAT7"), 794 NULL, "mt8365", 795 MTK_EINT_FUNCTION(0, 75), 796 MTK_FUNCTION(0, "GPIO75"), 797 MTK_FUNCTION(1, "CMDAT7"), 798 MTK_FUNCTION(5, "I2S3_DO"), 799 MTK_FUNCTION(7, "DBG_MON_B11") 800 ), 801 MTK_PIN( 802 PINCTRL_PIN(76, "CMDAT8"), 803 NULL, "mt8365", 804 MTK_EINT_FUNCTION(0, 76), 805 MTK_FUNCTION(0, "GPIO76"), 806 MTK_FUNCTION(1, "CMDAT8"), 807 MTK_FUNCTION(5, "PCM_CLK"), 808 MTK_FUNCTION(7, "DBG_MON_A29") 809 ), 810 MTK_PIN( 811 PINCTRL_PIN(77, "CMDAT9"), 812 NULL, "mt8365", 813 MTK_EINT_FUNCTION(0, 77), 814 MTK_FUNCTION(0, "GPIO77"), 815 MTK_FUNCTION(1, "CMDAT9"), 816 MTK_FUNCTION(5, "PCM_SYNC"), 817 MTK_FUNCTION(7, "DBG_MON_A30") 818 ), 819 MTK_PIN( 820 PINCTRL_PIN(78, "CMHSYNC"), 821 NULL, "mt8365", 822 MTK_EINT_FUNCTION(0, 78), 823 MTK_FUNCTION(0, "GPIO78"), 824 MTK_FUNCTION(1, "CMHSYNC"), 825 MTK_FUNCTION(5, "PCM_RX"), 826 MTK_FUNCTION(7, "DBG_MON_A31") 827 ), 828 MTK_PIN( 829 PINCTRL_PIN(79, "CMVSYNC"), 830 NULL, "mt8365", 831 MTK_EINT_FUNCTION(0, 79), 832 MTK_FUNCTION(0, "GPIO79"), 833 MTK_FUNCTION(1, "CMVSYNC"), 834 MTK_FUNCTION(5, "PCM_TX"), 835 MTK_FUNCTION(7, "DBG_MON_A32") 836 ), 837 MTK_PIN( 838 PINCTRL_PIN(80, "MSDC2_CMD"), 839 NULL, "mt8365", 840 MTK_EINT_FUNCTION(0, 80), 841 MTK_FUNCTION(0, "GPIO80"), 842 MTK_FUNCTION(1, "MSDC2_CMD"), 843 MTK_FUNCTION(2, "TDM_TX_LRCK"), 844 MTK_FUNCTION(3, "UTXD1"), 845 MTK_FUNCTION(4, "DPI_D19"), 846 MTK_FUNCTION(5, "UDI_TMS_XI"), 847 MTK_FUNCTION(6, "ADSP_JTAG_TMS") 848 ), 849 MTK_PIN( 850 PINCTRL_PIN(81, "MSDC2_CLK"), 851 NULL, "mt8365", 852 MTK_EINT_FUNCTION(0, 81), 853 MTK_FUNCTION(0, "GPIO81"), 854 MTK_FUNCTION(1, "MSDC2_CLK"), 855 MTK_FUNCTION(2, "TDM_TX_BCK"), 856 MTK_FUNCTION(3, "URXD1"), 857 MTK_FUNCTION(4, "DPI_D20"), 858 MTK_FUNCTION(5, "UDI_TCK_XI"), 859 MTK_FUNCTION(6, "ADSP_JTAG_TCK") 860 ), 861 MTK_PIN( 862 PINCTRL_PIN(82, "MSDC2_DAT0"), 863 NULL, "mt8365", 864 MTK_EINT_FUNCTION(0, 82), 865 MTK_FUNCTION(0, "GPIO82"), 866 MTK_FUNCTION(1, "MSDC2_DAT0"), 867 MTK_FUNCTION(2, "TDM_TX_DATA0"), 868 MTK_FUNCTION(3, "UTXD2"), 869 MTK_FUNCTION(4, "DPI_D21"), 870 MTK_FUNCTION(5, "UDI_TDI_XI"), 871 MTK_FUNCTION(6, "ADSP_JTAG_TDI") 872 ), 873 MTK_PIN( 874 PINCTRL_PIN(83, "MSDC2_DAT1"), 875 NULL, "mt8365", 876 MTK_EINT_FUNCTION(0, 83), 877 MTK_FUNCTION(0, "GPIO83"), 878 MTK_FUNCTION(1, "MSDC2_DAT1"), 879 MTK_FUNCTION(2, "TDM_TX_DATA1"), 880 MTK_FUNCTION(3, "URXD2"), 881 MTK_FUNCTION(4, "DPI_D22"), 882 MTK_FUNCTION(5, "UDI_TDO"), 883 MTK_FUNCTION(6, "ADSP_JTAG_TDO") 884 ), 885 MTK_PIN( 886 PINCTRL_PIN(84, "MSDC2_DAT2"), 887 NULL, "mt8365", 888 MTK_EINT_FUNCTION(0, 84), 889 MTK_FUNCTION(0, "GPIO84"), 890 MTK_FUNCTION(1, "MSDC2_DAT2"), 891 MTK_FUNCTION(2, "TDM_TX_DATA2"), 892 MTK_FUNCTION(3, "PWM_A"), 893 MTK_FUNCTION(4, "DPI_D23"), 894 MTK_FUNCTION(5, "UDI_NTRST_XI"), 895 MTK_FUNCTION(6, "ADSP_JTAG_TRST") 896 ), 897 MTK_PIN( 898 PINCTRL_PIN(85, "MSDC2_DAT3"), 899 NULL, "mt8365", 900 MTK_EINT_FUNCTION(0, 85), 901 MTK_FUNCTION(0, "GPIO85"), 902 MTK_FUNCTION(1, "MSDC2_DAT3"), 903 MTK_FUNCTION(2, "TDM_TX_DATA3"), 904 MTK_FUNCTION(3, "PWM_B"), 905 MTK_FUNCTION(5, "EXT_FRAME_SYNC") 906 ), 907 MTK_PIN( 908 PINCTRL_PIN(86, "MSDC2_DSL"), 909 NULL, "mt8365", 910 MTK_EINT_FUNCTION(0, 86), 911 MTK_FUNCTION(0, "GPIO86"), 912 MTK_FUNCTION(1, "MSDC2_DSL"), 913 MTK_FUNCTION(2, "TDM_TX_MCK"), 914 MTK_FUNCTION(3, "PWM_C") 915 ), 916 MTK_PIN( 917 PINCTRL_PIN(87, "MSDC1_CMD"), 918 NULL, "mt8365", 919 MTK_EINT_FUNCTION(0, 87), 920 MTK_FUNCTION(0, "GPIO87"), 921 MTK_FUNCTION(1, "MSDC1_CMD"), 922 MTK_FUNCTION(2, "CONN_MCU_AICE_TMSC"), 923 MTK_FUNCTION(3, "DFD_TMS_XI"), 924 MTK_FUNCTION(4, "APU_JTAG_TMS"), 925 MTK_FUNCTION(5, "MCU_SPM_TMS"), 926 MTK_FUNCTION(6, "CONN_DSP_JMS"), 927 MTK_FUNCTION(7, "ADSP_JTAG_TMS") 928 ), 929 MTK_PIN( 930 PINCTRL_PIN(88, "MSDC1_CLK"), 931 NULL, "mt8365", 932 MTK_EINT_FUNCTION(0, 88), 933 MTK_FUNCTION(0, "GPIO88"), 934 MTK_FUNCTION(1, "MSDC1_CLK"), 935 MTK_FUNCTION(2, "CONN_MCU_AICE_TCKC"), 936 MTK_FUNCTION(3, "DFD_TCK_XI"), 937 MTK_FUNCTION(4, "APU_JTAG_TCK"), 938 MTK_FUNCTION(5, "MCU_SPM_TCK"), 939 MTK_FUNCTION(6, "CONN_DSP_JCK"), 940 MTK_FUNCTION(7, "ADSP_JTAG_TCK") 941 ), 942 MTK_PIN( 943 PINCTRL_PIN(89, "MSDC1_DAT0"), 944 NULL, "mt8365", 945 MTK_EINT_FUNCTION(0, 89), 946 MTK_FUNCTION(0, "GPIO89"), 947 MTK_FUNCTION(1, "MSDC1_DAT0"), 948 MTK_FUNCTION(2, "PWM_C"), 949 MTK_FUNCTION(3, "DFD_TDI_XI"), 950 MTK_FUNCTION(4, "APU_JTAG_TDI"), 951 MTK_FUNCTION(5, "MCU_SPM_TDI"), 952 MTK_FUNCTION(6, "CONN_DSP_JDI"), 953 MTK_FUNCTION(7, "ADSP_JTAG_TDI") 954 ), 955 MTK_PIN( 956 PINCTRL_PIN(90, "MSDC1_DAT1"), 957 NULL, "mt8365", 958 MTK_EINT_FUNCTION(0, 90), 959 MTK_FUNCTION(0, "GPIO90"), 960 MTK_FUNCTION(1, "MSDC1_DAT1"), 961 MTK_FUNCTION(2, "SPDIF_IN"), 962 MTK_FUNCTION(3, "DFD_TDO"), 963 MTK_FUNCTION(4, "APU_JTAG_TDO"), 964 MTK_FUNCTION(5, "MCU_SPM_TDO"), 965 MTK_FUNCTION(6, "CONN_DSP_JDO"), 966 MTK_FUNCTION(7, "ADSP_JTAG_TDO") 967 ), 968 MTK_PIN( 969 PINCTRL_PIN(91, "MSDC1_DAT2"), 970 NULL, "mt8365", 971 MTK_EINT_FUNCTION(0, 91), 972 MTK_FUNCTION(0, "GPIO91"), 973 MTK_FUNCTION(1, "MSDC1_DAT2"), 974 MTK_FUNCTION(2, "SPDIF_OUT"), 975 MTK_FUNCTION(3, "DFD_NTRST_XI"), 976 MTK_FUNCTION(4, "APU_JTAG_TRST"), 977 MTK_FUNCTION(5, "MCU_SPM_NTRST"), 978 MTK_FUNCTION(6, "CONN_DSP_JINTP"), 979 MTK_FUNCTION(7, "ADSP_JTAG_TRST") 980 ), 981 MTK_PIN( 982 PINCTRL_PIN(92, "MSDC1_DAT3"), 983 NULL, "mt8365", 984 MTK_EINT_FUNCTION(0, 92), 985 MTK_FUNCTION(0, "GPIO92"), 986 MTK_FUNCTION(1, "MSDC1_DAT3"), 987 MTK_FUNCTION(2, "IRRX"), 988 MTK_FUNCTION(3, "PWM_A") 989 ), 990 MTK_PIN( 991 PINCTRL_PIN(93, "MSDC0_DAT7"), 992 NULL, "mt8365", 993 MTK_EINT_FUNCTION(0, 93), 994 MTK_FUNCTION(0, "GPIO93"), 995 MTK_FUNCTION(1, "MSDC0_DAT7"), 996 MTK_FUNCTION(2, "NLD7") 997 ), 998 MTK_PIN( 999 PINCTRL_PIN(94, "MSDC0_DAT6"), 1000 NULL, "mt8365", 1001 MTK_EINT_FUNCTION(0, 94), 1002 MTK_FUNCTION(0, "GPIO94"), 1003 MTK_FUNCTION(1, "MSDC0_DAT6"), 1004 MTK_FUNCTION(2, "NLD6") 1005 ), 1006 MTK_PIN( 1007 PINCTRL_PIN(95, "MSDC0_DAT5"), 1008 NULL, "mt8365", 1009 MTK_EINT_FUNCTION(0, 95), 1010 MTK_FUNCTION(0, "GPIO95"), 1011 MTK_FUNCTION(1, "MSDC0_DAT5"), 1012 MTK_FUNCTION(2, "NLD4") 1013 ), 1014 MTK_PIN( 1015 PINCTRL_PIN(96, "MSDC0_DAT4"), 1016 NULL, "mt8365", 1017 MTK_EINT_FUNCTION(0, 96), 1018 MTK_FUNCTION(0, "GPIO96"), 1019 MTK_FUNCTION(1, "MSDC0_DAT4"), 1020 MTK_FUNCTION(2, "NLD3") 1021 ), 1022 MTK_PIN( 1023 PINCTRL_PIN(97, "MSDC0_RSTB"), 1024 NULL, "mt8365", 1025 MTK_EINT_FUNCTION(0, 97), 1026 MTK_FUNCTION(0, "GPIO97"), 1027 MTK_FUNCTION(1, "MSDC0_RSTB"), 1028 MTK_FUNCTION(2, "NLD0") 1029 ), 1030 MTK_PIN( 1031 PINCTRL_PIN(98, "MSDC0_CMD"), 1032 NULL, "mt8365", 1033 MTK_EINT_FUNCTION(0, 98), 1034 MTK_FUNCTION(0, "GPIO98"), 1035 MTK_FUNCTION(1, "MSDC0_CMD"), 1036 MTK_FUNCTION(2, "NALE") 1037 ), 1038 MTK_PIN( 1039 PINCTRL_PIN(99, "MSDC0_CLK"), 1040 NULL, "mt8365", 1041 MTK_EINT_FUNCTION(0, 99), 1042 MTK_FUNCTION(0, "GPIO99"), 1043 MTK_FUNCTION(1, "MSDC0_CLK"), 1044 MTK_FUNCTION(2, "NWEB") 1045 ), 1046 MTK_PIN( 1047 PINCTRL_PIN(100, "MSDC0_DAT3"), 1048 NULL, "mt8365", 1049 MTK_EINT_FUNCTION(0, 100), 1050 MTK_FUNCTION(0, "GPIO100"), 1051 MTK_FUNCTION(1, "MSDC0_DAT3"), 1052 MTK_FUNCTION(2, "NLD1") 1053 ), 1054 MTK_PIN( 1055 PINCTRL_PIN(101, "MSDC0_DAT2"), 1056 NULL, "mt8365", 1057 MTK_EINT_FUNCTION(0, 101), 1058 MTK_FUNCTION(0, "GPIO101"), 1059 MTK_FUNCTION(1, "MSDC0_DAT2"), 1060 MTK_FUNCTION(2, "NLD5") 1061 ), 1062 MTK_PIN( 1063 PINCTRL_PIN(102, "MSDC0_DAT1"), 1064 NULL, "mt8365", 1065 MTK_EINT_FUNCTION(0, 102), 1066 MTK_FUNCTION(0, "GPIO102"), 1067 MTK_FUNCTION(1, "MSDC0_DAT1"), 1068 MTK_FUNCTION(2, "NDQS") 1069 ), 1070 MTK_PIN( 1071 PINCTRL_PIN(103, "MSDC0_DAT0"), 1072 NULL, "mt8365", 1073 MTK_EINT_FUNCTION(0, 103), 1074 MTK_FUNCTION(0, "GPIO103"), 1075 MTK_FUNCTION(1, "MSDC0_DAT0"), 1076 MTK_FUNCTION(2, "NLD2") 1077 ), 1078 MTK_PIN( 1079 PINCTRL_PIN(104, "MSDC0_DSL"), 1080 NULL, "mt8365", 1081 MTK_EINT_FUNCTION(0, 104), 1082 MTK_FUNCTION(0, "GPIO104"), 1083 MTK_FUNCTION(1, "MSDC0_DSL") 1084 ), 1085 MTK_PIN( 1086 PINCTRL_PIN(105, "NCLE"), 1087 NULL, "mt8365", 1088 MTK_EINT_FUNCTION(0, 105), 1089 MTK_FUNCTION(0, "GPIO105"), 1090 MTK_FUNCTION(1, "NCLE"), 1091 MTK_FUNCTION(2, "TDM_RX_MCK"), 1092 MTK_FUNCTION(7, "DBG_MON_B12") 1093 ), 1094 MTK_PIN( 1095 PINCTRL_PIN(106, "NCEB1"), 1096 NULL, "mt8365", 1097 MTK_EINT_FUNCTION(0, 106), 1098 MTK_FUNCTION(0, "GPIO106"), 1099 MTK_FUNCTION(1, "NCEB1"), 1100 MTK_FUNCTION(2, "TDM_RX_BCK"), 1101 MTK_FUNCTION(7, "DBG_MON_B13") 1102 ), 1103 MTK_PIN( 1104 PINCTRL_PIN(107, "NCEB0"), 1105 NULL, "mt8365", 1106 MTK_EINT_FUNCTION(0, 107), 1107 MTK_FUNCTION(0, "GPIO107"), 1108 MTK_FUNCTION(1, "NCEB0"), 1109 MTK_FUNCTION(2, "TDM_RX_LRCK"), 1110 MTK_FUNCTION(7, "DBG_MON_B14") 1111 ), 1112 MTK_PIN( 1113 PINCTRL_PIN(108, "NREB"), 1114 NULL, "mt8365", 1115 MTK_EINT_FUNCTION(0, 108), 1116 MTK_FUNCTION(0, "GPIO108"), 1117 MTK_FUNCTION(1, "NREB"), 1118 MTK_FUNCTION(2, "TDM_RX_DI"), 1119 MTK_FUNCTION(7, "DBG_MON_B15") 1120 ), 1121 MTK_PIN( 1122 PINCTRL_PIN(109, "NRNB"), 1123 NULL, "mt8365", 1124 MTK_EINT_FUNCTION(0, 109), 1125 MTK_FUNCTION(0, "GPIO109"), 1126 MTK_FUNCTION(1, "NRNB"), 1127 MTK_FUNCTION(2, "TSF_IN"), 1128 MTK_FUNCTION(7, "DBG_MON_B16") 1129 ), 1130 MTK_PIN( 1131 PINCTRL_PIN(110, "PCM_CLK"), 1132 NULL, "mt8365", 1133 MTK_EINT_FUNCTION(0, 110), 1134 MTK_FUNCTION(0, "GPIO110"), 1135 MTK_FUNCTION(1, "PCM_CLK"), 1136 MTK_FUNCTION(2, "I2S0_BCK"), 1137 MTK_FUNCTION(3, "I2S3_BCK"), 1138 MTK_FUNCTION(4, "SPDIF_IN"), 1139 MTK_FUNCTION(5, "DPI_D15") 1140 ), 1141 MTK_PIN( 1142 PINCTRL_PIN(111, "PCM_SYNC"), 1143 NULL, "mt8365", 1144 MTK_EINT_FUNCTION(0, 111), 1145 MTK_FUNCTION(0, "GPIO111"), 1146 MTK_FUNCTION(1, "PCM_SYNC"), 1147 MTK_FUNCTION(2, "I2S0_LRCK"), 1148 MTK_FUNCTION(3, "I2S3_LRCK"), 1149 MTK_FUNCTION(4, "SPDIF_OUT"), 1150 MTK_FUNCTION(5, "DPI_D16") 1151 ), 1152 MTK_PIN( 1153 PINCTRL_PIN(112, "PCM_RX"), 1154 NULL, "mt8365", 1155 MTK_EINT_FUNCTION(0, 112), 1156 MTK_FUNCTION(0, "GPIO112"), 1157 MTK_FUNCTION(1, "PCM_RX"), 1158 MTK_FUNCTION(2, "I2S0_DI"), 1159 MTK_FUNCTION(3, "I2S3_MCK"), 1160 MTK_FUNCTION(4, "IRRX"), 1161 MTK_FUNCTION(5, "DPI_D17") 1162 ), 1163 MTK_PIN( 1164 PINCTRL_PIN(113, "PCM_TX"), 1165 NULL, "mt8365", 1166 MTK_EINT_FUNCTION(0, 113), 1167 MTK_FUNCTION(0, "GPIO113"), 1168 MTK_FUNCTION(1, "PCM_TX"), 1169 MTK_FUNCTION(2, "I2S0_MCK"), 1170 MTK_FUNCTION(3, "I2S3_DO"), 1171 MTK_FUNCTION(4, "PWM_B"), 1172 MTK_FUNCTION(5, "DPI_D18") 1173 ), 1174 MTK_PIN( 1175 PINCTRL_PIN(114, "I2S_DATA_IN"), 1176 NULL, "mt8365", 1177 MTK_EINT_FUNCTION(0, 114), 1178 MTK_FUNCTION(0, "GPIO114"), 1179 MTK_FUNCTION(1, "I2S0_DI"), 1180 MTK_FUNCTION(2, "I2S1_DO"), 1181 MTK_FUNCTION(3, "I2S2_DI"), 1182 MTK_FUNCTION(4, "I2S3_DO"), 1183 MTK_FUNCTION(5, "PWM_A"), 1184 MTK_FUNCTION(6, "SPDIF_IN"), 1185 MTK_FUNCTION(7, "DBG_MON_B17") 1186 ), 1187 MTK_PIN( 1188 PINCTRL_PIN(115, "I2S_LRCK"), 1189 NULL, "mt8365", 1190 MTK_EINT_FUNCTION(0, 115), 1191 MTK_FUNCTION(0, "GPIO115"), 1192 MTK_FUNCTION(1, "I2S0_LRCK"), 1193 MTK_FUNCTION(2, "I2S1_LRCK"), 1194 MTK_FUNCTION(3, "I2S2_LRCK"), 1195 MTK_FUNCTION(4, "I2S3_LRCK"), 1196 MTK_FUNCTION(5, "PWM_B"), 1197 MTK_FUNCTION(6, "SPDIF_OUT"), 1198 MTK_FUNCTION(7, "DBG_MON_B18") 1199 ), 1200 MTK_PIN( 1201 PINCTRL_PIN(116, "I2S_BCK"), 1202 NULL, "mt8365", 1203 MTK_EINT_FUNCTION(0, 116), 1204 MTK_FUNCTION(0, "GPIO116"), 1205 MTK_FUNCTION(1, "I2S0_BCK"), 1206 MTK_FUNCTION(2, "I2S1_BCK"), 1207 MTK_FUNCTION(3, "I2S2_BCK"), 1208 MTK_FUNCTION(4, "I2S3_BCK"), 1209 MTK_FUNCTION(5, "PWM_C"), 1210 MTK_FUNCTION(6, "IRRX"), 1211 MTK_FUNCTION(7, "DBG_MON_B19") 1212 ), 1213 MTK_PIN( 1214 PINCTRL_PIN(117, "DMIC0_CLK"), 1215 NULL, "mt8365", 1216 MTK_EINT_FUNCTION(0, 117), 1217 MTK_FUNCTION(0, "GPIO117"), 1218 MTK_FUNCTION(1, "DMIC0_CLK"), 1219 MTK_FUNCTION(2, "I2S2_BCK"), 1220 MTK_FUNCTION(7, "DBG_MON_B20") 1221 ), 1222 MTK_PIN( 1223 PINCTRL_PIN(118, "DMIC0_DAT0"), 1224 NULL, "mt8365", 1225 MTK_EINT_FUNCTION(0, 118), 1226 MTK_FUNCTION(0, "GPIO118"), 1227 MTK_FUNCTION(1, "DMIC0_DAT0"), 1228 MTK_FUNCTION(2, "I2S2_DI"), 1229 MTK_FUNCTION(7, "DBG_MON_B21") 1230 ), 1231 MTK_PIN( 1232 PINCTRL_PIN(119, "DMIC0_DAT1"), 1233 NULL, "mt8365", 1234 MTK_EINT_FUNCTION(0, 119), 1235 MTK_FUNCTION(0, "GPIO119"), 1236 MTK_FUNCTION(1, "DMIC0_DAT1"), 1237 MTK_FUNCTION(2, "I2S2_LRCK"), 1238 MTK_FUNCTION(7, "DBG_MON_B22") 1239 ), 1240 MTK_PIN( 1241 PINCTRL_PIN(120, "DMIC1_CLK"), 1242 NULL, "mt8365", 1243 MTK_EINT_FUNCTION(0, 120), 1244 MTK_FUNCTION(0, "GPIO120"), 1245 MTK_FUNCTION(1, "DMIC1_CLK"), 1246 MTK_FUNCTION(2, "I2S2_MCK"), 1247 MTK_FUNCTION(7, "DBG_MON_B23") 1248 ), 1249 MTK_PIN( 1250 PINCTRL_PIN(121, "DMIC1_DAT0"), 1251 NULL, "mt8365", 1252 MTK_EINT_FUNCTION(0, 121), 1253 MTK_FUNCTION(0, "GPIO121"), 1254 MTK_FUNCTION(1, "DMIC1_DAT0"), 1255 MTK_FUNCTION(2, "I2S1_BCK"), 1256 MTK_FUNCTION(7, "DBG_MON_B24") 1257 ), 1258 MTK_PIN( 1259 PINCTRL_PIN(122, "DMIC1_DAT1"), 1260 NULL, "mt8365", 1261 MTK_EINT_FUNCTION(0, 122), 1262 MTK_FUNCTION(0, "GPIO122"), 1263 MTK_FUNCTION(1, "DMIC1_DAT1"), 1264 MTK_FUNCTION(2, "I2S1_LRCK"), 1265 MTK_FUNCTION(7, "DBG_MON_B25") 1266 ), 1267 MTK_PIN( 1268 PINCTRL_PIN(123, "DMIC2_CLK"), 1269 NULL, "mt8365", 1270 MTK_EINT_FUNCTION(0, 123), 1271 MTK_FUNCTION(0, "GPIO123"), 1272 MTK_FUNCTION(1, "DMIC2_CLK"), 1273 MTK_FUNCTION(2, "I2S1_MCK"), 1274 MTK_FUNCTION(7, "DBG_MON_B26") 1275 ), 1276 MTK_PIN( 1277 PINCTRL_PIN(124, "DMIC2_DAT0"), 1278 NULL, "mt8365", 1279 MTK_EINT_FUNCTION(0, 124), 1280 MTK_FUNCTION(0, "GPIO124"), 1281 MTK_FUNCTION(1, "DMIC2_DAT0"), 1282 MTK_FUNCTION(2, "I2S1_DO"), 1283 MTK_FUNCTION(7, "DBG_MON_B27") 1284 ), 1285 MTK_PIN( 1286 PINCTRL_PIN(125, "DMIC2_DAT1"), 1287 NULL, "mt8365", 1288 MTK_EINT_FUNCTION(0, 125), 1289 MTK_FUNCTION(0, "GPIO125"), 1290 MTK_FUNCTION(1, "DMIC2_DAT1"), 1291 MTK_FUNCTION(2, "TDM_RX_BCK"), 1292 MTK_FUNCTION(7, "DBG_MON_B28") 1293 ), 1294 MTK_PIN( 1295 PINCTRL_PIN(126, "DMIC3_CLK"), 1296 NULL, "mt8365", 1297 MTK_EINT_FUNCTION(0, 126), 1298 MTK_FUNCTION(0, "GPIO126"), 1299 MTK_FUNCTION(1, "DMIC3_CLK"), 1300 MTK_FUNCTION(2, "TDM_RX_LRCK") 1301 ), 1302 MTK_PIN( 1303 PINCTRL_PIN(127, "DMIC3_DAT0"), 1304 NULL, "mt8365", 1305 MTK_EINT_FUNCTION(0, 127), 1306 MTK_FUNCTION(0, "GPIO127"), 1307 MTK_FUNCTION(1, "DMIC3_DAT0"), 1308 MTK_FUNCTION(2, "TDM_RX_DI") 1309 ), 1310 MTK_PIN( 1311 PINCTRL_PIN(128, "DMIC3_DAT1"), 1312 NULL, "mt8365", 1313 MTK_EINT_FUNCTION(0, 128), 1314 MTK_FUNCTION(0, "GPIO128"), 1315 MTK_FUNCTION(1, "DMIC3_DAT1"), 1316 MTK_FUNCTION(2, "TDM_RX_MCK"), 1317 MTK_FUNCTION(3, "VAD_CLK") 1318 ), 1319 MTK_PIN( 1320 PINCTRL_PIN(129, "TDM_TX_BCK"), 1321 NULL, "mt8365", 1322 MTK_EINT_FUNCTION(0, 129), 1323 MTK_FUNCTION(0, "GPIO129"), 1324 MTK_FUNCTION(1, "TDM_TX_BCK"), 1325 MTK_FUNCTION(2, "I2S3_BCK"), 1326 MTK_FUNCTION(3, "ckmon1_ck") 1327 ), 1328 MTK_PIN( 1329 PINCTRL_PIN(130, "TDM_TX_LRCK"), 1330 NULL, "mt8365", 1331 MTK_EINT_FUNCTION(0, 130), 1332 MTK_FUNCTION(0, "GPIO130"), 1333 MTK_FUNCTION(1, "TDM_TX_LRCK"), 1334 MTK_FUNCTION(2, "I2S3_LRCK"), 1335 MTK_FUNCTION(3, "ckmon2_ck") 1336 ), 1337 MTK_PIN( 1338 PINCTRL_PIN(131, "TDM_TX_MCK"), 1339 NULL, "mt8365", 1340 MTK_EINT_FUNCTION(0, 131), 1341 MTK_FUNCTION(0, "GPIO131"), 1342 MTK_FUNCTION(1, "TDM_TX_MCK"), 1343 MTK_FUNCTION(2, "I2S3_MCK"), 1344 MTK_FUNCTION(3, "ckmon3_ck") 1345 ), 1346 MTK_PIN( 1347 PINCTRL_PIN(132, "TDM_TX_DATA0"), 1348 NULL, "mt8365", 1349 MTK_EINT_FUNCTION(0, 132), 1350 MTK_FUNCTION(0, "GPIO132"), 1351 MTK_FUNCTION(1, "TDM_TX_DATA0"), 1352 MTK_FUNCTION(2, "I2S3_DO"), 1353 MTK_FUNCTION(3, "ckmon4_ck"), 1354 MTK_FUNCTION(7, "DBG_MON_B29") 1355 ), 1356 MTK_PIN( 1357 PINCTRL_PIN(133, "TDM_TX_DATA1"), 1358 NULL, "mt8365", 1359 MTK_EINT_FUNCTION(0, 133), 1360 MTK_FUNCTION(0, "GPIO133"), 1361 MTK_FUNCTION(1, "TDM_TX_DATA1"), 1362 MTK_FUNCTION(7, "DBG_MON_B30") 1363 ), 1364 MTK_PIN( 1365 PINCTRL_PIN(134, "TDM_TX_DATA2"), 1366 NULL, "mt8365", 1367 MTK_EINT_FUNCTION(0, 134), 1368 MTK_FUNCTION(0, "GPIO134"), 1369 MTK_FUNCTION(1, "TDM_TX_DATA2"), 1370 MTK_FUNCTION(7, "DBG_MON_B31") 1371 ), 1372 MTK_PIN( 1373 PINCTRL_PIN(135, "TDM_TX_DATA3"), 1374 NULL, "mt8365", 1375 MTK_EINT_FUNCTION(0, 135), 1376 MTK_FUNCTION(0, "GPIO135"), 1377 MTK_FUNCTION(1, "TDM_TX_DATA3"), 1378 MTK_FUNCTION(7, "DBG_MON_B32") 1379 ), 1380 MTK_PIN( 1381 PINCTRL_PIN(136, "CONN_TOP_CLK"), 1382 NULL, "mt8365", 1383 MTK_EINT_FUNCTION(0, 136), 1384 MTK_FUNCTION(0, "GPIO136"), 1385 MTK_FUNCTION(1, "CONN_TOP_CLK") 1386 ), 1387 MTK_PIN( 1388 PINCTRL_PIN(137, "CONN_TOP_DATA"), 1389 NULL, "mt8365", 1390 MTK_EINT_FUNCTION(0, 137), 1391 MTK_FUNCTION(0, "GPIO137"), 1392 MTK_FUNCTION(1, "CONN_TOP_DATA") 1393 ), 1394 MTK_PIN( 1395 PINCTRL_PIN(138, "CONN_HRST_B"), 1396 NULL, "mt8365", 1397 MTK_EINT_FUNCTION(0, 138), 1398 MTK_FUNCTION(0, "GPIO138"), 1399 MTK_FUNCTION(1, "CONN_HRST_B") 1400 ), 1401 MTK_PIN( 1402 PINCTRL_PIN(139, "CONN_WB_PTA"), 1403 NULL, "mt8365", 1404 MTK_EINT_FUNCTION(0, 139), 1405 MTK_FUNCTION(0, "GPIO139"), 1406 MTK_FUNCTION(1, "CONN_WB_PTA") 1407 ), 1408 MTK_PIN( 1409 PINCTRL_PIN(140, "CONN_BT_CLK"), 1410 NULL, "mt8365", 1411 MTK_EINT_FUNCTION(0, 140), 1412 MTK_FUNCTION(0, "GPIO140"), 1413 MTK_FUNCTION(1, "CONN_BT_CLK") 1414 ), 1415 MTK_PIN( 1416 PINCTRL_PIN(141, "CONN_BT_DATA"), 1417 NULL, "mt8365", 1418 MTK_EINT_FUNCTION(0, 141), 1419 MTK_FUNCTION(0, "GPIO141"), 1420 MTK_FUNCTION(1, "CONN_BT_DATA") 1421 ), 1422 MTK_PIN( 1423 PINCTRL_PIN(142, "CONN_WF_CTRL0"), 1424 NULL, "mt8365", 1425 MTK_EINT_FUNCTION(0, 142), 1426 MTK_FUNCTION(0, "GPIO142"), 1427 MTK_FUNCTION(1, "CONN_WF_CTRL0") 1428 ), 1429 MTK_PIN( 1430 PINCTRL_PIN(143, "CONN_WF_CTRL1"), 1431 NULL, "mt8365", 1432 MTK_EINT_FUNCTION(0, 143), 1433 MTK_FUNCTION(0, "GPIO143"), 1434 MTK_FUNCTION(1, "CONN_WF_CTRL1") 1435 ), 1436 MTK_PIN( 1437 PINCTRL_PIN(144, "CONN_WF_CTRL2"), 1438 NULL, "mt8365", 1439 MTK_EINT_FUNCTION(0, 144), 1440 MTK_FUNCTION(0, "GPIO144"), 1441 MTK_FUNCTION(1, "CONN_WF_CTRL2") 1442 ), 1443 MTK_PIN( 1444 PINCTRL_PIN(145, "TESTMODE"), 1445 NULL, "mt8365", 1446 MTK_EINT_FUNCTION(0, 145), 1447 MTK_FUNCTION(0, "GPIO145") 1448 ), 1449 MTK_PIN( 1450 PINCTRL_PIN(146, "SYSRSTB"), 1451 NULL, "mt8365", 1452 MTK_EINT_FUNCTION(0, 146), 1453 MTK_FUNCTION(0, "GPIO146") 1454 ), 1455 MTK_PIN( 1456 PINCTRL_PIN(147, "BIAS_MSDC0"), 1457 NULL, "mt8365", 1458 MTK_EINT_FUNCTION(0, 147), 1459 MTK_FUNCTION(0, "GPIO147") 1460 ), 1461 MTK_PIN( 1462 PINCTRL_PIN(148, "BIAS_IO0"), 1463 NULL, "mt8365", 1464 MTK_EINT_FUNCTION(0, 148), 1465 MTK_FUNCTION(0, "GPIO148") 1466 ), 1467 MTK_PIN( 1468 PINCTRL_PIN(149, "BIAS1_IO1"), 1469 NULL, "mt8365", 1470 MTK_EINT_FUNCTION(0, 149), 1471 MTK_FUNCTION(0, "GPIO149") 1472 ), 1473 MTK_PIN( 1474 PINCTRL_PIN(150, "BIAS2_IO1"), 1475 NULL, "mt8365", 1476 MTK_EINT_FUNCTION(0, 150), 1477 MTK_FUNCTION(0, "GPIO150") 1478 ), 1479 MTK_PIN( 1480 PINCTRL_PIN(151, "BIAS_DPI"), 1481 NULL, "mt8365", 1482 MTK_EINT_FUNCTION(0, 151), 1483 MTK_FUNCTION(0, "GPIO151") 1484 ), 1485 MTK_PIN( 1486 PINCTRL_PIN(152, "BIAS_MSDC2"), 1487 NULL, "mt8365", 1488 MTK_EINT_FUNCTION(0, 152), 1489 MTK_FUNCTION(0, "GPIO152") 1490 ), 1491 MTK_PIN( 1492 PINCTRL_PIN(153, "BIAS_IO2"), 1493 NULL, "mt8365", 1494 MTK_EINT_FUNCTION(0, 153), 1495 MTK_FUNCTION(0, "GPIO153") 1496 ), 1497 MTK_PIN( 1498 PINCTRL_PIN(154, "BIAS_IO3"), 1499 NULL, "mt8365", 1500 MTK_EINT_FUNCTION(0, 154), 1501 MTK_FUNCTION(0, "GPIO154") 1502 ), 1503 MTK_PIN( 1504 PINCTRL_PIN(155, "BIAS1_MSDC1"), 1505 NULL, "mt8365", 1506 MTK_EINT_FUNCTION(0, 155), 1507 MTK_FUNCTION(0, "GPIO155") 1508 ), 1509}; 1510 1511#endif /* __PINCTRL_MTK_MT8365_H */