1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __PINCTRL_MTK_MT8127_H
3 #define __PINCTRL_MTK_MT8127_H
5 #include <linux/pinctrl/pinctrl.h>
6 #include "pinctrl-mtk-common.h"
8 static const struct mtk_desc_pin mtk_pins_mt8127
[] = {
10 PINCTRL_PIN(0, "PWRAP_SPI0_MI"),
12 MTK_EINT_FUNCTION(0, 22),
13 MTK_FUNCTION(0, "GPIO0"),
14 MTK_FUNCTION(1, "PWRAP_SPIDO"),
15 MTK_FUNCTION(2, "PWRAP_SPIDI")
18 PINCTRL_PIN(1, "PWRAP_SPI0_MO"),
20 MTK_EINT_FUNCTION(0, 23),
21 MTK_FUNCTION(0, "GPIO1"),
22 MTK_FUNCTION(1, "PWRAP_SPIDI"),
23 MTK_FUNCTION(2, "PWRAP_SPIDO")
26 PINCTRL_PIN(2, "PWRAP_INT"),
28 MTK_EINT_FUNCTION(0, 24),
29 MTK_FUNCTION(0, "GPIO2")
32 PINCTRL_PIN(3, "PWRAP_SPI0_CK"),
34 MTK_EINT_FUNCTION(0, 25),
35 MTK_FUNCTION(0, "GPIO3"),
36 MTK_FUNCTION(1, "PWRAP_SPICK_I")
39 PINCTRL_PIN(4, "PWRAP_SPI0_CSN"),
41 MTK_EINT_FUNCTION(0, 26),
42 MTK_FUNCTION(0, "GPIO4"),
43 MTK_FUNCTION(1, "PWRAP_SPICS_B_I")
46 PINCTRL_PIN(5, "PWRAP_SPI0_CK2"),
48 MTK_EINT_FUNCTION(0, 27),
49 MTK_FUNCTION(0, "GPIO5"),
50 MTK_FUNCTION(1, "PWRAP_SPICK2_I"),
51 MTK_FUNCTION(2, "ANT_SEL1"),
52 MTK_FUNCTION(3, "VDEC_TEST_CK"),
53 MTK_FUNCTION(7, "DBG_MON_B[0]")
56 PINCTRL_PIN(6, "PWRAP_SPI0_CSN2"),
58 MTK_EINT_FUNCTION(0, 28),
59 MTK_FUNCTION(0, "GPIO6"),
60 MTK_FUNCTION(1, "PWRAP_SPICS2_B_I"),
61 MTK_FUNCTION(2, "ANT_SEL0"),
62 MTK_FUNCTION(3, "MM_TEST_CK"),
63 MTK_FUNCTION(7, "DBG_MON_B[1]")
66 PINCTRL_PIN(7, "AUD_CLK_MOSI"),
68 MTK_EINT_FUNCTION(0, 29),
69 MTK_FUNCTION(0, "GPIO7"),
70 MTK_FUNCTION(1, "AUD_CLK"),
71 MTK_FUNCTION(2, "ADC_CK")
74 PINCTRL_PIN(8, "AUD_DAT_MISO"),
76 MTK_EINT_FUNCTION(0, 30),
77 MTK_FUNCTION(0, "GPIO8"),
78 MTK_FUNCTION(1, "AUD_MISO"),
79 MTK_FUNCTION(2, "ADC_DAT_IN"),
80 MTK_FUNCTION(3, "AUD_MOSI")
83 PINCTRL_PIN(9, "AUD_DAT_MOSI"),
85 MTK_EINT_FUNCTION(0, 31),
86 MTK_FUNCTION(0, "GPIO9"),
87 MTK_FUNCTION(1, "AUD_MOSI"),
88 MTK_FUNCTION(2, "ADC_WS"),
89 MTK_FUNCTION(3, "AUD_MISO")
92 PINCTRL_PIN(10, "RTC32K_CK"),
94 MTK_EINT_FUNCTION(0, 32),
95 MTK_FUNCTION(0, "GPIO10"),
96 MTK_FUNCTION(1, "RTC32K_CK")
99 PINCTRL_PIN(11, "WATCHDOG"),
101 MTK_EINT_FUNCTION(0, 33),
102 MTK_FUNCTION(0, "GPIO11"),
103 MTK_FUNCTION(1, "WATCHDOG")
106 PINCTRL_PIN(12, "SRCLKENA"),
108 MTK_EINT_FUNCTION(0, 34),
109 MTK_FUNCTION(0, "GPIO12"),
110 MTK_FUNCTION(1, "SRCLKENA")
113 PINCTRL_PIN(13, "SRCLKENAI"),
115 MTK_EINT_FUNCTION(0, 35),
116 MTK_FUNCTION(0, "GPIO13"),
117 MTK_FUNCTION(1, "SRCLKENAI")
120 PINCTRL_PIN(14, "URXD2"),
122 MTK_EINT_FUNCTION(0, 36),
123 MTK_FUNCTION(0, "GPIO14"),
124 MTK_FUNCTION(1, "URXD2"),
125 MTK_FUNCTION(2, "DPI_D5"),
126 MTK_FUNCTION(3, "UTXD2"),
127 MTK_FUNCTION(5, "SRCCLKENAI2"),
128 MTK_FUNCTION(6, "KROW4")
131 PINCTRL_PIN(15, "UTXD2"),
133 MTK_EINT_FUNCTION(0, 37),
134 MTK_FUNCTION(0, "GPIO15"),
135 MTK_FUNCTION(1, "UTXD2"),
136 MTK_FUNCTION(2, "DPI_HSYNC"),
137 MTK_FUNCTION(3, "URXD2"),
138 MTK_FUNCTION(6, "KROW5")
141 PINCTRL_PIN(16, "URXD3"),
143 MTK_EINT_FUNCTION(0, 38),
144 MTK_FUNCTION(0, "GPIO16"),
145 MTK_FUNCTION(1, "URXD3"),
146 MTK_FUNCTION(2, "DPI_DE"),
147 MTK_FUNCTION(3, "UTXD3"),
148 MTK_FUNCTION(4, "UCTS2"),
149 MTK_FUNCTION(5, "PWM3"),
150 MTK_FUNCTION(6, "KROW6")
153 PINCTRL_PIN(17, "UTXD3"),
155 MTK_EINT_FUNCTION(0, 39),
156 MTK_FUNCTION(0, "GPIO17"),
157 MTK_FUNCTION(1, "UTXD3"),
158 MTK_FUNCTION(2, "DPI_VSYNC"),
159 MTK_FUNCTION(3, "URXD3"),
160 MTK_FUNCTION(4, "URTS2"),
161 MTK_FUNCTION(5, "PWM4"),
162 MTK_FUNCTION(6, "KROW7")
165 PINCTRL_PIN(18, "PCM_CLK"),
167 MTK_EINT_FUNCTION(0, 40),
168 MTK_FUNCTION(0, "GPIO18"),
169 MTK_FUNCTION(1, "PCM_CLK0"),
170 MTK_FUNCTION(2, "DPI_D4"),
171 MTK_FUNCTION(3, "I2SIN1_BCK0"),
172 MTK_FUNCTION(4, "I2SOUT_BCK"),
173 MTK_FUNCTION(5, "CONN_DSP_JCK"),
174 MTK_FUNCTION(6, "IR"),
175 MTK_FUNCTION(7, "DBG_MON_A[0]")
178 PINCTRL_PIN(19, "PCM_SYNC"),
180 MTK_EINT_FUNCTION(0, 41),
181 MTK_FUNCTION(0, "GPIO19"),
182 MTK_FUNCTION(1, "PCM_SYNC"),
183 MTK_FUNCTION(2, "DPI_D3"),
184 MTK_FUNCTION(3, "I2SIN1_LRCK"),
185 MTK_FUNCTION(4, "I2SOUT_LRCK"),
186 MTK_FUNCTION(5, "CONN_DSP_JINTP"),
187 MTK_FUNCTION(6, "EXT_COL"),
188 MTK_FUNCTION(7, "DBG_MON_A[1]")
191 PINCTRL_PIN(20, "PCM_RX"),
193 MTK_EINT_FUNCTION(0, 42),
194 MTK_FUNCTION(0, "GPIO20"),
195 MTK_FUNCTION(1, "PCM_RX"),
196 MTK_FUNCTION(2, "DPI_D1"),
197 MTK_FUNCTION(3, "I2SIN1_DATA_IN"),
198 MTK_FUNCTION(4, "PCM_TX"),
199 MTK_FUNCTION(5, "CONN_DSP_JDI"),
200 MTK_FUNCTION(6, "EXT_MDIO"),
201 MTK_FUNCTION(7, "DBG_MON_A[2]")
204 PINCTRL_PIN(21, "PCM_TX"),
206 MTK_EINT_FUNCTION(0, 43),
207 MTK_FUNCTION(0, "GPIO21"),
208 MTK_FUNCTION(1, "PCM_TX"),
209 MTK_FUNCTION(2, "DPI_D2"),
210 MTK_FUNCTION(3, "I2SOUT_DATA_OUT"),
211 MTK_FUNCTION(4, "PCM_RX"),
212 MTK_FUNCTION(5, "CONN_DSP_JMS"),
213 MTK_FUNCTION(6, "EXT_MDC"),
214 MTK_FUNCTION(7, "DBG_MON_A[3]")
217 PINCTRL_PIN(22, "EINT0"),
219 MTK_EINT_FUNCTION(0, 0),
220 MTK_FUNCTION(0, "GPIO22"),
221 MTK_FUNCTION(1, "PWM1"),
222 MTK_FUNCTION(2, "DPI_CK"),
223 MTK_FUNCTION(4, "EXT_TXD0"),
224 MTK_FUNCTION(5, "CONN_DSP_JDO"),
225 MTK_FUNCTION(7, "DBG_MON_A[4]")
228 PINCTRL_PIN(23, "EINT1"),
230 MTK_EINT_FUNCTION(0, 1),
231 MTK_FUNCTION(0, "GPIO23"),
232 MTK_FUNCTION(1, "PWM2"),
233 MTK_FUNCTION(2, "DPI_D12"),
234 MTK_FUNCTION(4, "EXT_TXD1"),
235 MTK_FUNCTION(5, "CONN_MCU_TDO"),
236 MTK_FUNCTION(7, "DBG_MON_A[5]")
239 PINCTRL_PIN(24, "EINT2"),
241 MTK_EINT_FUNCTION(0, 2),
242 MTK_FUNCTION(0, "GPIO24"),
243 MTK_FUNCTION(1, "CLKM0"),
244 MTK_FUNCTION(2, "DPI_D13"),
245 MTK_FUNCTION(4, "EXT_TXD2"),
246 MTK_FUNCTION(5, "CONN_MCU_DBGACK_N"),
247 MTK_FUNCTION(6, "KCOL4"),
248 MTK_FUNCTION(7, "DBG_MON_A[6]")
251 PINCTRL_PIN(25, "EINT3"),
253 MTK_EINT_FUNCTION(0, 3),
254 MTK_FUNCTION(0, "GPIO25"),
255 MTK_FUNCTION(1, "CLKM1"),
256 MTK_FUNCTION(2, "DPI_D14"),
257 MTK_FUNCTION(3, "SPI_MI"),
258 MTK_FUNCTION(4, "EXT_TXD3"),
259 MTK_FUNCTION(5, "CONN_MCU_DBGI_N"),
260 MTK_FUNCTION(6, "KCOL5"),
261 MTK_FUNCTION(7, "DBG_MON_A[7]")
264 PINCTRL_PIN(26, "EINT4"),
266 MTK_EINT_FUNCTION(0, 4),
267 MTK_FUNCTION(0, "GPIO26"),
268 MTK_FUNCTION(1, "CLKM2"),
269 MTK_FUNCTION(2, "DPI_D15"),
270 MTK_FUNCTION(3, "SPI_MO"),
271 MTK_FUNCTION(4, "EXT_TXC"),
272 MTK_FUNCTION(5, "CONN_MCU_TCK0"),
273 MTK_FUNCTION(6, "CONN_MCU_AICE_JCKC"),
274 MTK_FUNCTION(7, "DBG_MON_A[8]")
277 PINCTRL_PIN(27, "EINT5"),
279 MTK_EINT_FUNCTION(0, 5),
280 MTK_FUNCTION(0, "GPIO27"),
281 MTK_FUNCTION(1, "UCTS2"),
282 MTK_FUNCTION(2, "DPI_D16"),
283 MTK_FUNCTION(3, "SPI_CS"),
284 MTK_FUNCTION(4, "EXT_RXER"),
285 MTK_FUNCTION(5, "CONN_MCU_TDI"),
286 MTK_FUNCTION(6, "KCOL6"),
287 MTK_FUNCTION(7, "DBG_MON_A[9]")
290 PINCTRL_PIN(28, "EINT6"),
292 MTK_EINT_FUNCTION(0, 6),
293 MTK_FUNCTION(0, "GPIO28"),
294 MTK_FUNCTION(1, "URTS2"),
295 MTK_FUNCTION(2, "DPI_D17"),
296 MTK_FUNCTION(3, "SPI_CK"),
297 MTK_FUNCTION(4, "EXT_RXC"),
298 MTK_FUNCTION(5, "CONN_MCU_TRST_B"),
299 MTK_FUNCTION(6, "KCOL7"),
300 MTK_FUNCTION(7, "DBG_MON_A[10]")
303 PINCTRL_PIN(29, "EINT7"),
305 MTK_EINT_FUNCTION(0, 7),
306 MTK_FUNCTION(0, "GPIO29"),
307 MTK_FUNCTION(1, "UCTS3"),
308 MTK_FUNCTION(2, "DPI_D6"),
309 MTK_FUNCTION(3, "SDA1"),
310 MTK_FUNCTION(4, "EXT_RXDV"),
311 MTK_FUNCTION(5, "CONN_MCU_TMS"),
312 MTK_FUNCTION(6, "CONN_MCU_AICE_JMSC"),
313 MTK_FUNCTION(7, "DBG_MON_A[11]")
316 PINCTRL_PIN(30, "EINT8"),
318 MTK_EINT_FUNCTION(0, 8),
319 MTK_FUNCTION(0, "GPIO30"),
320 MTK_FUNCTION(1, "URTS3"),
321 MTK_FUNCTION(2, "CLKM3"),
322 MTK_FUNCTION(3, "SCL1"),
323 MTK_FUNCTION(4, "EXT_RXD0"),
324 MTK_FUNCTION(5, "ANT_SEL0"),
325 MTK_FUNCTION(6, "DPI_D7"),
326 MTK_FUNCTION(7, "DBG_MON_B[2]")
329 PINCTRL_PIN(31, "EINT9"),
331 MTK_EINT_FUNCTION(0, 9),
332 MTK_FUNCTION(0, "GPIO31"),
333 MTK_FUNCTION(1, "CLKM4"),
334 MTK_FUNCTION(2, "SDA2"),
335 MTK_FUNCTION(3, "EXT_FRAME_SYNC"),
336 MTK_FUNCTION(4, "EXT_RXD1"),
337 MTK_FUNCTION(5, "ANT_SEL1"),
338 MTK_FUNCTION(6, "DPI_D8"),
339 MTK_FUNCTION(7, "DBG_MON_B[3]")
342 PINCTRL_PIN(32, "EINT10"),
344 MTK_EINT_FUNCTION(0, 10),
345 MTK_FUNCTION(0, "GPIO32"),
346 MTK_FUNCTION(1, "CLKM5"),
347 MTK_FUNCTION(2, "SCL2"),
348 MTK_FUNCTION(3, "EXT_FRAME_SYNC"),
349 MTK_FUNCTION(4, "EXT_RXD2"),
350 MTK_FUNCTION(5, "ANT_SEL2"),
351 MTK_FUNCTION(6, "DPI_D9"),
352 MTK_FUNCTION(7, "DBG_MON_B[4]")
355 PINCTRL_PIN(33, "KPROW0"),
357 MTK_EINT_FUNCTION(0, 44),
358 MTK_FUNCTION(0, "GPIO33"),
359 MTK_FUNCTION(1, "KROW0"),
360 MTK_FUNCTION(4, "IMG_TEST_CK"),
361 MTK_FUNCTION(7, "DBG_MON_A[12]")
364 PINCTRL_PIN(34, "KPROW1"),
366 MTK_EINT_FUNCTION(0, 45),
367 MTK_FUNCTION(0, "GPIO34"),
368 MTK_FUNCTION(1, "KROW1"),
369 MTK_FUNCTION(2, "IDDIG"),
370 MTK_FUNCTION(3, "EXT_FRAME_SYNC"),
371 MTK_FUNCTION(4, "MFG_TEST_CK"),
372 MTK_FUNCTION(7, "DBG_MON_B[5]")
375 PINCTRL_PIN(35, "KPROW2"),
377 MTK_EINT_FUNCTION(0, 46),
378 MTK_FUNCTION(0, "GPIO35"),
379 MTK_FUNCTION(1, "KROW2"),
380 MTK_FUNCTION(2, "DRV_VBUS"),
381 MTK_FUNCTION(3, "EXT_FRAME_SYNC"),
382 MTK_FUNCTION(4, "CONN_TEST_CK"),
383 MTK_FUNCTION(7, "DBG_MON_B[6]")
386 PINCTRL_PIN(36, "KPCOL0"),
388 MTK_EINT_FUNCTION(0, 47),
389 MTK_FUNCTION(0, "GPIO36"),
390 MTK_FUNCTION(1, "KCOL0"),
391 MTK_FUNCTION(7, "DBG_MON_A[13]")
394 PINCTRL_PIN(37, "KPCOL1"),
396 MTK_EINT_FUNCTION(0, 48),
397 MTK_FUNCTION(0, "GPIO37"),
398 MTK_FUNCTION(1, "KCOL1"),
399 MTK_FUNCTION(7, "DBG_MON_B[7]")
402 PINCTRL_PIN(38, "KPCOL2"),
404 MTK_EINT_FUNCTION(0, 49),
405 MTK_FUNCTION(0, "GPIO38"),
406 MTK_FUNCTION(1, "KCOL2"),
407 MTK_FUNCTION(2, "IDDIG"),
408 MTK_FUNCTION(3, "EXT_FRAME_SYNC"),
409 MTK_FUNCTION(7, "DBG_MON_B[8]")
412 PINCTRL_PIN(39, "JTMS"),
414 MTK_EINT_FUNCTION(0, 50),
415 MTK_FUNCTION(0, "GPIO39"),
416 MTK_FUNCTION(1, "JTMS"),
417 MTK_FUNCTION(2, "CONN_MCU_TMS"),
418 MTK_FUNCTION(3, "CONN_MCU_AICE_JMSC")
421 PINCTRL_PIN(40, "JTCK"),
423 MTK_EINT_FUNCTION(0, 51),
424 MTK_FUNCTION(0, "GPIO40"),
425 MTK_FUNCTION(1, "JTCK"),
426 MTK_FUNCTION(2, "CONN_MCU_TCK1"),
427 MTK_FUNCTION(3, "CONN_MCU_AICE_JCKC")
430 PINCTRL_PIN(41, "JTDI"),
432 MTK_EINT_FUNCTION(0, 52),
433 MTK_FUNCTION(0, "GPIO41"),
434 MTK_FUNCTION(1, "JTDI"),
435 MTK_FUNCTION(2, "CONN_MCU_TDI")
438 PINCTRL_PIN(42, "JTDO"),
440 MTK_EINT_FUNCTION(0, 53),
441 MTK_FUNCTION(0, "GPIO42"),
442 MTK_FUNCTION(1, "JTDO"),
443 MTK_FUNCTION(2, "CONN_MCU_TDO")
446 PINCTRL_PIN(43, "EINT11"),
448 MTK_EINT_FUNCTION(0, 11),
449 MTK_FUNCTION(0, "GPIO43"),
450 MTK_FUNCTION(1, "CLKM4"),
451 MTK_FUNCTION(2, "PWM2"),
452 MTK_FUNCTION(3, "KROW3"),
453 MTK_FUNCTION(4, "ANT_SEL3"),
454 MTK_FUNCTION(5, "DPI_D10"),
455 MTK_FUNCTION(6, "EXT_RXD3"),
456 MTK_FUNCTION(7, "DBG_MON_B[9]")
459 PINCTRL_PIN(44, "EINT12"),
461 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
462 MTK_FUNCTION(0, "GPIO44"),
463 MTK_FUNCTION(1, "CLKM5"),
464 MTK_FUNCTION(2, "PWM0"),
465 MTK_FUNCTION(3, "KCOL3"),
466 MTK_FUNCTION(4, "ANT_SEL4"),
467 MTK_FUNCTION(5, "DPI_D11"),
468 MTK_FUNCTION(6, "EXT_TXEN"),
469 MTK_FUNCTION(7, "DBG_MON_B[10]")
472 PINCTRL_PIN(45, "EINT13"),
474 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
475 MTK_FUNCTION(0, "GPIO45"),
476 MTK_FUNCTION(4, "ANT_SEL5"),
477 MTK_FUNCTION(5, "DPI_D0"),
478 MTK_FUNCTION(6, "SPDIF"),
479 MTK_FUNCTION(7, "DBG_MON_B[11]")
482 PINCTRL_PIN(46, "EINT14"),
484 MTK_EINT_FUNCTION(0, 14),
485 MTK_FUNCTION(0, "GPIO46"),
486 MTK_FUNCTION(2, "DAC_DAT_OUT"),
487 MTK_FUNCTION(4, "ANT_SEL1"),
488 MTK_FUNCTION(5, "CONN_MCU_DBGACK_N"),
489 MTK_FUNCTION(6, "NCLE"),
490 MTK_FUNCTION(7, "DBG_MON_A[14]")
493 PINCTRL_PIN(47, "EINT15"),
495 MTK_EINT_FUNCTION(0, 15),
496 MTK_FUNCTION(0, "GPIO47"),
497 MTK_FUNCTION(2, "DAC_WS"),
498 MTK_FUNCTION(4, "ANT_SEL2"),
499 MTK_FUNCTION(5, "CONN_MCU_DBGI_N"),
500 MTK_FUNCTION(6, "NCEB1"),
501 MTK_FUNCTION(7, "DBG_MON_A[15]")
504 PINCTRL_PIN(48, "EINT16"),
506 MTK_EINT_FUNCTION(0, 16),
507 MTK_FUNCTION(0, "GPIO48"),
508 MTK_FUNCTION(2, "DAC_CK"),
509 MTK_FUNCTION(4, "ANT_SEL3"),
510 MTK_FUNCTION(5, "CONN_MCU_TRST_B"),
511 MTK_FUNCTION(6, "NCEB0"),
512 MTK_FUNCTION(7, "DBG_MON_A[16]")
515 PINCTRL_PIN(49, "EINT17"),
517 MTK_EINT_FUNCTION(0, 17),
518 MTK_FUNCTION(0, "GPIO49"),
519 MTK_FUNCTION(1, "UCTS0"),
520 MTK_FUNCTION(3, "CLKM0"),
521 MTK_FUNCTION(4, "IDDIG"),
522 MTK_FUNCTION(5, "ANT_SEL4"),
523 MTK_FUNCTION(6, "NREB"),
524 MTK_FUNCTION(7, "DBG_MON_A[17]")
527 PINCTRL_PIN(50, "EINT18"),
529 MTK_EINT_FUNCTION(0, 18),
530 MTK_FUNCTION(0, "GPIO50"),
531 MTK_FUNCTION(1, "URTS0"),
532 MTK_FUNCTION(2, "CLKM3"),
533 MTK_FUNCTION(3, "I2SOUT_LRCK"),
534 MTK_FUNCTION(4, "DRV_VBUS"),
535 MTK_FUNCTION(5, "ANT_SEL3"),
536 MTK_FUNCTION(6, "ADC_CK"),
537 MTK_FUNCTION(7, "DBG_MON_B[12]")
540 PINCTRL_PIN(51, "EINT19"),
542 MTK_EINT_FUNCTION(0, 19),
543 MTK_FUNCTION(0, "GPIO51"),
544 MTK_FUNCTION(1, "UCTS1"),
545 MTK_FUNCTION(3, "I2SOUT_BCK"),
546 MTK_FUNCTION(4, "CLKM1"),
547 MTK_FUNCTION(5, "ANT_SEL4"),
548 MTK_FUNCTION(6, "ADC_DAT_IN"),
549 MTK_FUNCTION(7, "DBG_MON_B[13]")
552 PINCTRL_PIN(52, "EINT20"),
554 MTK_EINT_FUNCTION(0, 20),
555 MTK_FUNCTION(0, "GPIO52"),
556 MTK_FUNCTION(1, "URTS1"),
557 MTK_FUNCTION(2, "PCM_TX"),
558 MTK_FUNCTION(3, "I2SOUT_DATA_OUT"),
559 MTK_FUNCTION(4, "CLKM2"),
560 MTK_FUNCTION(5, "ANT_SEL5"),
561 MTK_FUNCTION(6, "ADC_WS"),
562 MTK_FUNCTION(7, "DBG_MON_B[14]")
565 PINCTRL_PIN(53, "SPI_CS"),
567 MTK_EINT_FUNCTION(0, 54),
568 MTK_FUNCTION(0, "GPIO53"),
569 MTK_FUNCTION(1, "SPI_CS"),
570 MTK_FUNCTION(3, "I2SIN1_DATA_IN"),
571 MTK_FUNCTION(4, "ADC_CK"),
572 MTK_FUNCTION(7, "DBG_MON_B[15]")
575 PINCTRL_PIN(54, "SPI_CK"),
577 MTK_EINT_FUNCTION(0, 55),
578 MTK_FUNCTION(0, "GPIO54"),
579 MTK_FUNCTION(1, "SPI_CK"),
580 MTK_FUNCTION(3, "I2SIN1_LRCK"),
581 MTK_FUNCTION(4, "ADC_DAT_IN"),
582 MTK_FUNCTION(7, "DBG_MON_B[16]")
585 PINCTRL_PIN(55, "SPI_MI"),
587 MTK_EINT_FUNCTION(0, 56),
588 MTK_FUNCTION(0, "GPIO55"),
589 MTK_FUNCTION(1, "SPI_MI"),
590 MTK_FUNCTION(2, "SPI_MO"),
591 MTK_FUNCTION(3, "I2SIN1_BCK1"),
592 MTK_FUNCTION(4, "ADC_WS"),
593 MTK_FUNCTION(7, "DBG_MON_B[17]")
596 PINCTRL_PIN(56, "SPI_MO"),
598 MTK_EINT_FUNCTION(0, 57),
599 MTK_FUNCTION(0, "GPIO56"),
600 MTK_FUNCTION(1, "SPI_MO"),
601 MTK_FUNCTION(2, "SPI_MI"),
602 MTK_FUNCTION(7, "DBG_MON_B[18]")
605 PINCTRL_PIN(57, "SDA1"),
607 MTK_EINT_FUNCTION(0, 58),
608 MTK_FUNCTION(0, "GPIO57"),
609 MTK_FUNCTION(1, "SDA1")
612 PINCTRL_PIN(58, "SCL1"),
614 MTK_EINT_FUNCTION(0, 59),
615 MTK_FUNCTION(0, "GPIO58"),
616 MTK_FUNCTION(1, "SCL1")
619 PINCTRL_PIN(59, "DISP_PWM"),
621 MTK_EINT_FUNCTION(0, 60),
622 MTK_FUNCTION(0, "GPIO59"),
623 MTK_FUNCTION(1, "DISP_PWM"),
624 MTK_FUNCTION(2, "PWM1"),
625 MTK_FUNCTION(7, "DBG_MON_A[18]")
628 PINCTRL_PIN(60, "WB_RSTB"),
630 MTK_EINT_FUNCTION(0, 61),
631 MTK_FUNCTION(0, "GPIO60"),
632 MTK_FUNCTION(1, "WB_RSTB"),
633 MTK_FUNCTION(7, "DBG_MON_A[19]")
636 PINCTRL_PIN(61, "F2W_DATA"),
638 MTK_EINT_FUNCTION(0, 62),
639 MTK_FUNCTION(0, "GPIO61"),
640 MTK_FUNCTION(1, "F2W_DATA"),
641 MTK_FUNCTION(7, "DBG_MON_A[20]")
644 PINCTRL_PIN(62, "F2W_CLK"),
646 MTK_EINT_FUNCTION(0, 63),
647 MTK_FUNCTION(0, "GPIO62"),
648 MTK_FUNCTION(1, "F2W_CK"),
649 MTK_FUNCTION(7, "DBG_MON_A[21]")
652 PINCTRL_PIN(63, "WB_SCLK"),
654 MTK_EINT_FUNCTION(0, 64),
655 MTK_FUNCTION(0, "GPIO63"),
656 MTK_FUNCTION(1, "WB_SCLK"),
657 MTK_FUNCTION(7, "DBG_MON_A[22]")
660 PINCTRL_PIN(64, "WB_SDATA"),
662 MTK_EINT_FUNCTION(0, 65),
663 MTK_FUNCTION(0, "GPIO64"),
664 MTK_FUNCTION(1, "WB_SDATA"),
665 MTK_FUNCTION(7, "DBG_MON_A[23]")
668 PINCTRL_PIN(65, "WB_SEN"),
670 MTK_EINT_FUNCTION(0, 66),
671 MTK_FUNCTION(0, "GPIO65"),
672 MTK_FUNCTION(1, "WB_SEN"),
673 MTK_FUNCTION(7, "DBG_MON_A[24]")
676 PINCTRL_PIN(66, "WB_CRTL0"),
678 MTK_EINT_FUNCTION(0, 67),
679 MTK_FUNCTION(0, "GPIO66"),
680 MTK_FUNCTION(1, "WB_CRTL0"),
681 MTK_FUNCTION(2, "DFD_NTRST_XI"),
682 MTK_FUNCTION(7, "DBG_MON_A[25]")
685 PINCTRL_PIN(67, "WB_CRTL1"),
687 MTK_EINT_FUNCTION(0, 68),
688 MTK_FUNCTION(0, "GPIO67"),
689 MTK_FUNCTION(1, "WB_CRTL1"),
690 MTK_FUNCTION(2, "DFD_TMS_XI"),
691 MTK_FUNCTION(7, "DBG_MON_A[26]")
694 PINCTRL_PIN(68, "WB_CRTL2"),
696 MTK_EINT_FUNCTION(0, 69),
697 MTK_FUNCTION(0, "GPIO68"),
698 MTK_FUNCTION(1, "WB_CRTL2"),
699 MTK_FUNCTION(2, "DFD_TCK_XI"),
700 MTK_FUNCTION(7, "DBG_MON_A[27]")
703 PINCTRL_PIN(69, "WB_CRTL3"),
705 MTK_EINT_FUNCTION(0, 70),
706 MTK_FUNCTION(0, "GPIO69"),
707 MTK_FUNCTION(1, "WB_CRTL3"),
708 MTK_FUNCTION(2, "DFD_TDI_XI"),
709 MTK_FUNCTION(7, "DBG_MON_A[28]")
712 PINCTRL_PIN(70, "WB_CRTL4"),
714 MTK_EINT_FUNCTION(0, 71),
715 MTK_FUNCTION(0, "GPIO70"),
716 MTK_FUNCTION(1, "WB_CRTL4"),
717 MTK_FUNCTION(2, "DFD_TDO"),
718 MTK_FUNCTION(7, "DBG_MON_A[29]")
721 PINCTRL_PIN(71, "WB_CRTL5"),
723 MTK_EINT_FUNCTION(0, 72),
724 MTK_FUNCTION(0, "GPIO71"),
725 MTK_FUNCTION(1, "WB_CRTL5"),
726 MTK_FUNCTION(7, "DBG_MON_A[30]")
729 PINCTRL_PIN(72, "I2S_DATA_IN"),
731 MTK_EINT_FUNCTION(0, 73),
732 MTK_FUNCTION(0, "GPIO72"),
733 MTK_FUNCTION(1, "I2SIN1_DATA_IN"),
734 MTK_FUNCTION(2, "PCM_RX"),
735 MTK_FUNCTION(3, "I2SOUT_DATA_OUT"),
736 MTK_FUNCTION(4, "DAC_DAT_OUT"),
737 MTK_FUNCTION(5, "PWM0"),
738 MTK_FUNCTION(6, "ADC_CK"),
739 MTK_FUNCTION(7, "DBG_MON_B[19]")
742 PINCTRL_PIN(73, "I2S_LRCK"),
744 MTK_EINT_FUNCTION(0, 74),
745 MTK_FUNCTION(0, "GPIO73"),
746 MTK_FUNCTION(1, "I2SIN1_LRCK"),
747 MTK_FUNCTION(2, "PCM_SYNC"),
748 MTK_FUNCTION(3, "I2SOUT_LRCK"),
749 MTK_FUNCTION(4, "DAC_WS"),
750 MTK_FUNCTION(5, "PWM3"),
751 MTK_FUNCTION(6, "ADC_DAT_IN"),
752 MTK_FUNCTION(7, "DBG_MON_B[20]")
755 PINCTRL_PIN(74, "I2S_BCK"),
757 MTK_EINT_FUNCTION(0, 75),
758 MTK_FUNCTION(0, "GPIO74"),
759 MTK_FUNCTION(1, "I2SIN1_BCK2"),
760 MTK_FUNCTION(2, "PCM_CLK1"),
761 MTK_FUNCTION(3, "I2SOUT_BCK"),
762 MTK_FUNCTION(4, "DAC_CK"),
763 MTK_FUNCTION(5, "PWM4"),
764 MTK_FUNCTION(6, "ADC_WS"),
765 MTK_FUNCTION(7, "DBG_MON_B[21]")
768 PINCTRL_PIN(75, "SDA0"),
770 MTK_EINT_FUNCTION(0, 76),
771 MTK_FUNCTION(0, "GPIO75"),
772 MTK_FUNCTION(1, "SDA0")
775 PINCTRL_PIN(76, "SCL0"),
777 MTK_EINT_FUNCTION(0, 77),
778 MTK_FUNCTION(0, "GPIO76"),
779 MTK_FUNCTION(1, "SCL0")
782 PINCTRL_PIN(77, "SDA2"),
784 MTK_EINT_FUNCTION(0, 78),
785 MTK_FUNCTION(0, "GPIO77"),
786 MTK_FUNCTION(1, "SDA2"),
787 MTK_FUNCTION(2, "PWM1")
790 PINCTRL_PIN(78, "SCL2"),
792 MTK_EINT_FUNCTION(0, 79),
793 MTK_FUNCTION(0, "GPIO78"),
794 MTK_FUNCTION(1, "SCL2"),
795 MTK_FUNCTION(2, "PWM2")
798 PINCTRL_PIN(79, "URXD0"),
800 MTK_EINT_FUNCTION(0, 80),
801 MTK_FUNCTION(0, "GPIO79"),
802 MTK_FUNCTION(1, "URXD0"),
803 MTK_FUNCTION(2, "UTXD0")
806 PINCTRL_PIN(80, "UTXD0"),
808 MTK_EINT_FUNCTION(0, 81),
809 MTK_FUNCTION(0, "GPIO80"),
810 MTK_FUNCTION(1, "UTXD0"),
811 MTK_FUNCTION(2, "URXD0")
814 PINCTRL_PIN(81, "URXD1"),
816 MTK_EINT_FUNCTION(0, 82),
817 MTK_FUNCTION(0, "GPIO81"),
818 MTK_FUNCTION(1, "URXD1"),
819 MTK_FUNCTION(2, "UTXD1")
822 PINCTRL_PIN(82, "UTXD1"),
824 MTK_EINT_FUNCTION(0, 83),
825 MTK_FUNCTION(0, "GPIO82"),
826 MTK_FUNCTION(1, "UTXD1"),
827 MTK_FUNCTION(2, "URXD1")
830 PINCTRL_PIN(83, "LCM_RST"),
832 MTK_EINT_FUNCTION(0, 84),
833 MTK_FUNCTION(0, "GPIO83"),
834 MTK_FUNCTION(1, "LCM_RST"),
835 MTK_FUNCTION(2, "VDAC_CK_XI"),
836 MTK_FUNCTION(7, "DBG_MON_A[31]")
839 PINCTRL_PIN(84, "DSI_TE"),
841 MTK_EINT_FUNCTION(0, 85),
842 MTK_FUNCTION(0, "GPIO84"),
843 MTK_FUNCTION(1, "DSI_TE"),
844 MTK_FUNCTION(7, "DBG_MON_A[32]")
847 PINCTRL_PIN(85, "MSDC2_CMD"),
849 MTK_EINT_FUNCTION(0, 86),
850 MTK_FUNCTION(0, "GPIO85"),
851 MTK_FUNCTION(1, "MSDC2_CMD"),
852 MTK_FUNCTION(2, "ANT_SEL0"),
853 MTK_FUNCTION(3, "SDA1"),
854 MTK_FUNCTION(6, "I2SOUT_BCK"),
855 MTK_FUNCTION(7, "DBG_MON_B[22]")
858 PINCTRL_PIN(86, "MSDC2_CLK"),
860 MTK_EINT_FUNCTION(0, 87),
861 MTK_FUNCTION(0, "GPIO86"),
862 MTK_FUNCTION(1, "MSDC2_CLK"),
863 MTK_FUNCTION(2, "ANT_SEL1"),
864 MTK_FUNCTION(3, "SCL1"),
865 MTK_FUNCTION(6, "I2SOUT_LRCK"),
866 MTK_FUNCTION(7, "DBG_MON_B[23]")
869 PINCTRL_PIN(87, "MSDC2_DAT0"),
871 MTK_EINT_FUNCTION(0, 88),
872 MTK_FUNCTION(0, "GPIO87"),
873 MTK_FUNCTION(1, "MSDC2_DAT0"),
874 MTK_FUNCTION(2, "ANT_SEL2"),
875 MTK_FUNCTION(5, "UTXD0"),
876 MTK_FUNCTION(6, "I2SOUT_DATA_OUT"),
877 MTK_FUNCTION(7, "DBG_MON_B[24]")
880 PINCTRL_PIN(88, "MSDC2_DAT1"),
882 MTK_EINT_FUNCTION(0, 89),
883 MTK_FUNCTION(0, "GPIO88"),
884 MTK_FUNCTION(1, "MSDC2_DAT1"),
885 MTK_FUNCTION(2, "ANT_SEL3"),
886 MTK_FUNCTION(3, "PWM0"),
887 MTK_FUNCTION(5, "URXD0"),
888 MTK_FUNCTION(6, "PWM1"),
889 MTK_FUNCTION(7, "DBG_MON_B[25]")
892 PINCTRL_PIN(89, "MSDC2_DAT2"),
894 MTK_EINT_FUNCTION(0, 90),
895 MTK_FUNCTION(0, "GPIO89"),
896 MTK_FUNCTION(1, "MSDC2_DAT2"),
897 MTK_FUNCTION(2, "ANT_SEL4"),
898 MTK_FUNCTION(3, "SDA2"),
899 MTK_FUNCTION(5, "UTXD1"),
900 MTK_FUNCTION(6, "PWM2"),
901 MTK_FUNCTION(7, "DBG_MON_B[26]")
904 PINCTRL_PIN(90, "MSDC2_DAT3"),
906 MTK_EINT_FUNCTION(0, 91),
907 MTK_FUNCTION(0, "GPIO90"),
908 MTK_FUNCTION(1, "MSDC2_DAT3"),
909 MTK_FUNCTION(2, "ANT_SEL5"),
910 MTK_FUNCTION(3, "SCL2"),
911 MTK_FUNCTION(4, "EXT_FRAME_SYNC"),
912 MTK_FUNCTION(5, "URXD1"),
913 MTK_FUNCTION(6, "PWM3"),
914 MTK_FUNCTION(7, "DBG_MON_B[27]")
917 PINCTRL_PIN(91, "TDN3"),
919 MTK_EINT_FUNCTION(0, 92),
920 MTK_FUNCTION(0, "GPI91"),
921 MTK_FUNCTION(1, "TDN3")
924 PINCTRL_PIN(92, "TDP3"),
926 MTK_EINT_FUNCTION(0, 93),
927 MTK_FUNCTION(0, "GPI92"),
928 MTK_FUNCTION(1, "TDP3")
931 PINCTRL_PIN(93, "TDN2"),
933 MTK_EINT_FUNCTION(0, 94),
934 MTK_FUNCTION(0, "GPI93"),
935 MTK_FUNCTION(1, "TDN2")
938 PINCTRL_PIN(94, "TDP2"),
940 MTK_EINT_FUNCTION(0, 95),
941 MTK_FUNCTION(0, "GPI94"),
942 MTK_FUNCTION(1, "TDP2")
945 PINCTRL_PIN(95, "TCN"),
947 MTK_EINT_FUNCTION(0, 96),
948 MTK_FUNCTION(0, "GPI95"),
949 MTK_FUNCTION(1, "TCN")
952 PINCTRL_PIN(96, "TCP"),
954 MTK_EINT_FUNCTION(0, 97),
955 MTK_FUNCTION(0, "GPI96"),
956 MTK_FUNCTION(1, "TCP")
959 PINCTRL_PIN(97, "TDN1"),
961 MTK_EINT_FUNCTION(0, 98),
962 MTK_FUNCTION(0, "GPI97"),
963 MTK_FUNCTION(1, "TDN1")
966 PINCTRL_PIN(98, "TDP1"),
968 MTK_EINT_FUNCTION(0, 99),
969 MTK_FUNCTION(0, "GPI98"),
970 MTK_FUNCTION(1, "TDP1")
973 PINCTRL_PIN(99, "TDN0"),
975 MTK_EINT_FUNCTION(0, 100),
976 MTK_FUNCTION(0, "GPI99"),
977 MTK_FUNCTION(1, "TDN0")
980 PINCTRL_PIN(100, "TDP0"),
982 MTK_EINT_FUNCTION(0, 101),
983 MTK_FUNCTION(0, "GPI100"),
984 MTK_FUNCTION(1, "TDP0")
987 PINCTRL_PIN(101, "RDN0"),
989 MTK_EINT_FUNCTION(0, 102),
990 MTK_FUNCTION(0, "GPI101"),
991 MTK_FUNCTION(1, "RDN0")
994 PINCTRL_PIN(102, "RDP0"),
996 MTK_EINT_FUNCTION(0, 103),
997 MTK_FUNCTION(0, "GPI102"),
998 MTK_FUNCTION(1, "RDP0")
1001 PINCTRL_PIN(103, "RDN1"),
1003 MTK_EINT_FUNCTION(0, 104),
1004 MTK_FUNCTION(0, "GPI103"),
1005 MTK_FUNCTION(1, "RDN1")
1008 PINCTRL_PIN(104, "RDP1"),
1010 MTK_EINT_FUNCTION(0, 105),
1011 MTK_FUNCTION(0, "GPI104"),
1012 MTK_FUNCTION(1, "RDP1")
1015 PINCTRL_PIN(105, "RCN"),
1017 MTK_EINT_FUNCTION(0, 106),
1018 MTK_FUNCTION(0, "GPI105"),
1019 MTK_FUNCTION(1, "RCN")
1022 PINCTRL_PIN(106, "RCP"),
1024 MTK_EINT_FUNCTION(0, 107),
1025 MTK_FUNCTION(0, "GPI106"),
1026 MTK_FUNCTION(1, "RCP")
1029 PINCTRL_PIN(107, "RDN2"),
1031 MTK_EINT_FUNCTION(0, 108),
1032 MTK_FUNCTION(0, "GPI107"),
1033 MTK_FUNCTION(1, "RDN2"),
1034 MTK_FUNCTION(2, "CMDAT8")
1037 PINCTRL_PIN(108, "RDP2"),
1039 MTK_EINT_FUNCTION(0, 109),
1040 MTK_FUNCTION(0, "GPI108"),
1041 MTK_FUNCTION(1, "RDP2"),
1042 MTK_FUNCTION(2, "CMDAT9")
1045 PINCTRL_PIN(109, "RDN3"),
1047 MTK_EINT_FUNCTION(0, 110),
1048 MTK_FUNCTION(0, "GPI109"),
1049 MTK_FUNCTION(1, "RDN3"),
1050 MTK_FUNCTION(2, "CMDAT4")
1053 PINCTRL_PIN(110, "RDP3"),
1055 MTK_EINT_FUNCTION(0, 111),
1056 MTK_FUNCTION(0, "GPI110"),
1057 MTK_FUNCTION(1, "RDP3"),
1058 MTK_FUNCTION(2, "CMDAT5")
1061 PINCTRL_PIN(111, "RCN_A"),
1063 MTK_EINT_FUNCTION(0, 112),
1064 MTK_FUNCTION(0, "GPI111"),
1065 MTK_FUNCTION(1, "RCN_A"),
1066 MTK_FUNCTION(2, "CMDAT6")
1069 PINCTRL_PIN(112, "RCP_A"),
1071 MTK_EINT_FUNCTION(0, 113),
1072 MTK_FUNCTION(0, "GPI112"),
1073 MTK_FUNCTION(1, "RCP_A"),
1074 MTK_FUNCTION(2, "CMDAT7")
1077 PINCTRL_PIN(113, "RDN1_A"),
1079 MTK_EINT_FUNCTION(0, 114),
1080 MTK_FUNCTION(0, "GPI113"),
1081 MTK_FUNCTION(1, "RDN1_A"),
1082 MTK_FUNCTION(2, "CMDAT2"),
1083 MTK_FUNCTION(3, "CMCSD2")
1086 PINCTRL_PIN(114, "RDP1_A"),
1088 MTK_EINT_FUNCTION(0, 115),
1089 MTK_FUNCTION(0, "GPI114"),
1090 MTK_FUNCTION(1, "RDP1_A"),
1091 MTK_FUNCTION(2, "CMDAT3"),
1092 MTK_FUNCTION(3, "CMCSD3")
1095 PINCTRL_PIN(115, "RDN0_A"),
1097 MTK_EINT_FUNCTION(0, 116),
1098 MTK_FUNCTION(0, "GPI115"),
1099 MTK_FUNCTION(1, "RDN0_A"),
1100 MTK_FUNCTION(2, "CMHSYNC")
1103 PINCTRL_PIN(116, "RDP0_A"),
1105 MTK_EINT_FUNCTION(0, 117),
1106 MTK_FUNCTION(0, "GPI116"),
1107 MTK_FUNCTION(1, "RDP0_A"),
1108 MTK_FUNCTION(2, "CMVSYNC")
1111 PINCTRL_PIN(117, "CMDAT0"),
1113 MTK_EINT_FUNCTION(0, 118),
1114 MTK_FUNCTION(0, "GPIO117"),
1115 MTK_FUNCTION(1, "CMDAT0"),
1116 MTK_FUNCTION(2, "CMCSD0"),
1117 MTK_FUNCTION(3, "ANT_SEL2"),
1118 MTK_FUNCTION(7, "DBG_MON_B[28]")
1121 PINCTRL_PIN(118, "CMDAT1"),
1123 MTK_EINT_FUNCTION(0, 119),
1124 MTK_FUNCTION(0, "GPIO118"),
1125 MTK_FUNCTION(1, "CMDAT1"),
1126 MTK_FUNCTION(2, "CMCSD1"),
1127 MTK_FUNCTION(3, "ANT_SEL3"),
1128 MTK_FUNCTION(7, "DBG_MON_B[29]")
1131 PINCTRL_PIN(119, "CMMCLK"),
1133 MTK_EINT_FUNCTION(0, 120),
1134 MTK_FUNCTION(0, "GPIO119"),
1135 MTK_FUNCTION(1, "CMMCLK"),
1136 MTK_FUNCTION(3, "ANT_SEL4"),
1137 MTK_FUNCTION(7, "DBG_MON_B[30]")
1140 PINCTRL_PIN(120, "CMPCLK"),
1142 MTK_EINT_FUNCTION(0, 121),
1143 MTK_FUNCTION(0, "GPIO120"),
1144 MTK_FUNCTION(1, "CMPCLK"),
1145 MTK_FUNCTION(2, "CMCSK"),
1146 MTK_FUNCTION(3, "ANT_SEL5"),
1147 MTK_FUNCTION(7, "DBG_MON_B[31]")
1150 PINCTRL_PIN(121, "MSDC1_CMD"),
1152 MTK_EINT_FUNCTION(0, 122),
1153 MTK_FUNCTION(0, "GPIO121"),
1154 MTK_FUNCTION(1, "MSDC1_CMD")
1157 PINCTRL_PIN(122, "MSDC1_CLK"),
1159 MTK_EINT_FUNCTION(0, 123),
1160 MTK_FUNCTION(0, "GPIO122"),
1161 MTK_FUNCTION(1, "MSDC1_CLK")
1164 PINCTRL_PIN(123, "MSDC1_DAT0"),
1166 MTK_EINT_FUNCTION(0, 124),
1167 MTK_FUNCTION(0, "GPIO123"),
1168 MTK_FUNCTION(1, "MSDC1_DAT0")
1171 PINCTRL_PIN(124, "MSDC1_DAT1"),
1173 MTK_EINT_FUNCTION(0, 125),
1174 MTK_FUNCTION(0, "GPIO124"),
1175 MTK_FUNCTION(1, "MSDC1_DAT1")
1178 PINCTRL_PIN(125, "MSDC1_DAT2"),
1180 MTK_EINT_FUNCTION(0, 126),
1181 MTK_FUNCTION(0, "GPIO125"),
1182 MTK_FUNCTION(1, "MSDC1_DAT2")
1185 PINCTRL_PIN(126, "MSDC1_DAT3"),
1187 MTK_EINT_FUNCTION(0, 127),
1188 MTK_FUNCTION(0, "GPIO126"),
1189 MTK_FUNCTION(1, "MSDC1_DAT3")
1192 PINCTRL_PIN(127, "MSDC0_DAT7"),
1194 MTK_EINT_FUNCTION(0, 128),
1195 MTK_FUNCTION(0, "GPIO127"),
1196 MTK_FUNCTION(1, "MSDC0_DAT7"),
1197 MTK_FUNCTION(4, "NLD7")
1200 PINCTRL_PIN(128, "MSDC0_DAT6"),
1202 MTK_EINT_FUNCTION(0, 129),
1203 MTK_FUNCTION(0, "GPIO128"),
1204 MTK_FUNCTION(1, "MSDC0_DAT6"),
1205 MTK_FUNCTION(4, "NLD6")
1208 PINCTRL_PIN(129, "MSDC0_DAT5"),
1210 MTK_EINT_FUNCTION(0, 130),
1211 MTK_FUNCTION(0, "GPIO129"),
1212 MTK_FUNCTION(1, "MSDC0_DAT5"),
1213 MTK_FUNCTION(4, "NLD4")
1216 PINCTRL_PIN(130, "MSDC0_DAT4"),
1218 MTK_EINT_FUNCTION(0, 131),
1219 MTK_FUNCTION(0, "GPIO130"),
1220 MTK_FUNCTION(1, "MSDC0_DAT4"),
1221 MTK_FUNCTION(4, "NLD3")
1224 PINCTRL_PIN(131, "MSDC0_RSTB"),
1226 MTK_EINT_FUNCTION(0, 132),
1227 MTK_FUNCTION(0, "GPIO131"),
1228 MTK_FUNCTION(1, "MSDC0_RSTB"),
1229 MTK_FUNCTION(4, "NLD0")
1232 PINCTRL_PIN(132, "MSDC0_CMD"),
1234 MTK_EINT_FUNCTION(0, 133),
1235 MTK_FUNCTION(0, "GPIO132"),
1236 MTK_FUNCTION(1, "MSDC0_CMD"),
1237 MTK_FUNCTION(4, "NALE")
1240 PINCTRL_PIN(133, "MSDC0_CLK"),
1242 MTK_EINT_FUNCTION(0, 134),
1243 MTK_FUNCTION(0, "GPIO133"),
1244 MTK_FUNCTION(1, "MSDC0_CLK"),
1245 MTK_FUNCTION(4, "NWEB")
1248 PINCTRL_PIN(134, "MSDC0_DAT3"),
1250 MTK_EINT_FUNCTION(0, 135),
1251 MTK_FUNCTION(0, "GPIO134"),
1252 MTK_FUNCTION(1, "MSDC0_DAT3"),
1253 MTK_FUNCTION(4, "NLD1")
1256 PINCTRL_PIN(135, "MSDC0_DAT2"),
1258 MTK_EINT_FUNCTION(0, 136),
1259 MTK_FUNCTION(0, "GPIO135"),
1260 MTK_FUNCTION(1, "MSDC0_DAT2"),
1261 MTK_FUNCTION(4, "NLD5")
1264 PINCTRL_PIN(136, "MSDC0_DAT1"),
1266 MTK_EINT_FUNCTION(0, 137),
1267 MTK_FUNCTION(0, "GPIO136"),
1268 MTK_FUNCTION(1, "MSDC0_DAT1"),
1269 MTK_FUNCTION(4, "NLD8")
1272 PINCTRL_PIN(137, "MSDC0_DAT0"),
1274 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1275 MTK_FUNCTION(0, "GPIO137"),
1276 MTK_FUNCTION(1, "MSDC0_DAT0"),
1277 MTK_FUNCTION(4, "WATCHDOG"),
1278 MTK_FUNCTION(5, "NLD2")
1281 PINCTRL_PIN(138, "CEC"),
1283 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1284 MTK_FUNCTION(0, "GPIO138"),
1285 MTK_FUNCTION(1, "CEC")
1288 PINCTRL_PIN(139, "HTPLG"),
1290 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1291 MTK_FUNCTION(0, "GPIO139"),
1292 MTK_FUNCTION(1, "HTPLG")
1295 PINCTRL_PIN(140, "HDMISCK"),
1297 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1298 MTK_FUNCTION(0, "GPIO140"),
1299 MTK_FUNCTION(1, "HDMISCK")
1302 PINCTRL_PIN(141, "HDMISD"),
1304 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1305 MTK_FUNCTION(0, "GPIO141"),
1306 MTK_FUNCTION(1, "HDMISD")
1309 PINCTRL_PIN(142, "EINT21"),
1311 MTK_EINT_FUNCTION(0, 21),
1312 MTK_FUNCTION(0, "GPIO142"),
1313 MTK_FUNCTION(1, "NRNB"),
1314 MTK_FUNCTION(2, "ANT_SEL0"),
1315 MTK_FUNCTION(7, "DBG_MON_B[32]")
1319 #endif /* __PINCTRL_MTK_MT8127_H */