1 #ifndef __PINCTRL_MTK_MT8127_H
2 #define __PINCTRL_MTK_MT8127_H
4 #include <linux/pinctrl/pinctrl.h>
5 #include "pinctrl-mtk-common.h"
7 static const struct mtk_desc_pin mtk_pins_mt8127
[] = {
9 PINCTRL_PIN(0, "PWRAP_SPI0_MI"),
11 MTK_EINT_FUNCTION(0, 22),
12 MTK_FUNCTION(0, "GPIO0"),
13 MTK_FUNCTION(1, "PWRAP_SPIDO"),
14 MTK_FUNCTION(2, "PWRAP_SPIDI")
17 PINCTRL_PIN(1, "PWRAP_SPI0_MO"),
19 MTK_EINT_FUNCTION(0, 23),
20 MTK_FUNCTION(0, "GPIO1"),
21 MTK_FUNCTION(1, "PWRAP_SPIDI"),
22 MTK_FUNCTION(2, "PWRAP_SPIDO")
25 PINCTRL_PIN(2, "PWRAP_INT"),
27 MTK_EINT_FUNCTION(0, 24),
28 MTK_FUNCTION(0, "GPIO2")
31 PINCTRL_PIN(3, "PWRAP_SPI0_CK"),
33 MTK_EINT_FUNCTION(0, 25),
34 MTK_FUNCTION(0, "GPIO3"),
35 MTK_FUNCTION(1, "PWRAP_SPICK_I")
38 PINCTRL_PIN(4, "PWRAP_SPI0_CSN"),
40 MTK_EINT_FUNCTION(0, 26),
41 MTK_FUNCTION(0, "GPIO4"),
42 MTK_FUNCTION(1, "PWRAP_SPICS_B_I")
45 PINCTRL_PIN(5, "PWRAP_SPI0_CK2"),
47 MTK_EINT_FUNCTION(0, 27),
48 MTK_FUNCTION(0, "GPIO5"),
49 MTK_FUNCTION(1, "PWRAP_SPICK2_I"),
50 MTK_FUNCTION(2, "ANT_SEL1"),
51 MTK_FUNCTION(3, "VDEC_TEST_CK"),
52 MTK_FUNCTION(7, "DBG_MON_B[0]")
55 PINCTRL_PIN(6, "PWRAP_SPI0_CSN2"),
57 MTK_EINT_FUNCTION(0, 28),
58 MTK_FUNCTION(0, "GPIO6"),
59 MTK_FUNCTION(1, "PWRAP_SPICS2_B_I"),
60 MTK_FUNCTION(2, "ANT_SEL0"),
61 MTK_FUNCTION(3, "MM_TEST_CK"),
62 MTK_FUNCTION(7, "DBG_MON_B[1]")
65 PINCTRL_PIN(7, "AUD_CLK_MOSI"),
67 MTK_EINT_FUNCTION(0, 29),
68 MTK_FUNCTION(0, "GPIO7"),
69 MTK_FUNCTION(1, "AUD_CLK"),
70 MTK_FUNCTION(2, "ADC_CK")
73 PINCTRL_PIN(8, "AUD_DAT_MISO"),
75 MTK_EINT_FUNCTION(0, 30),
76 MTK_FUNCTION(0, "GPIO8"),
77 MTK_FUNCTION(1, "AUD_MISO"),
78 MTK_FUNCTION(2, "ADC_DAT_IN"),
79 MTK_FUNCTION(3, "AUD_MOSI")
82 PINCTRL_PIN(9, "AUD_DAT_MOSI"),
84 MTK_EINT_FUNCTION(0, 31),
85 MTK_FUNCTION(0, "GPIO9"),
86 MTK_FUNCTION(1, "AUD_MOSI"),
87 MTK_FUNCTION(2, "ADC_WS"),
88 MTK_FUNCTION(3, "AUD_MISO")
91 PINCTRL_PIN(10, "RTC32K_CK"),
93 MTK_EINT_FUNCTION(0, 32),
94 MTK_FUNCTION(0, "GPIO10"),
95 MTK_FUNCTION(1, "RTC32K_CK")
98 PINCTRL_PIN(11, "WATCHDOG"),
100 MTK_EINT_FUNCTION(0, 33),
101 MTK_FUNCTION(0, "GPIO11"),
102 MTK_FUNCTION(1, "WATCHDOG")
105 PINCTRL_PIN(12, "SRCLKENA"),
107 MTK_EINT_FUNCTION(0, 34),
108 MTK_FUNCTION(0, "GPIO12"),
109 MTK_FUNCTION(1, "SRCLKENA")
112 PINCTRL_PIN(13, "SRCLKENAI"),
114 MTK_EINT_FUNCTION(0, 35),
115 MTK_FUNCTION(0, "GPIO13"),
116 MTK_FUNCTION(1, "SRCLKENAI")
119 PINCTRL_PIN(14, "URXD2"),
121 MTK_EINT_FUNCTION(0, 36),
122 MTK_FUNCTION(0, "GPIO14"),
123 MTK_FUNCTION(1, "URXD2"),
124 MTK_FUNCTION(2, "DPI_D5"),
125 MTK_FUNCTION(3, "UTXD2"),
126 MTK_FUNCTION(5, "SRCCLKENAI2"),
127 MTK_FUNCTION(6, "KROW4")
130 PINCTRL_PIN(15, "UTXD2"),
132 MTK_EINT_FUNCTION(0, 37),
133 MTK_FUNCTION(0, "GPIO15"),
134 MTK_FUNCTION(1, "UTXD2"),
135 MTK_FUNCTION(2, "DPI_HSYNC"),
136 MTK_FUNCTION(3, "URXD2"),
137 MTK_FUNCTION(6, "KROW5")
140 PINCTRL_PIN(16, "URXD3"),
142 MTK_EINT_FUNCTION(0, 38),
143 MTK_FUNCTION(0, "GPIO16"),
144 MTK_FUNCTION(1, "URXD3"),
145 MTK_FUNCTION(2, "DPI_DE"),
146 MTK_FUNCTION(3, "UTXD3"),
147 MTK_FUNCTION(4, "UCTS2"),
148 MTK_FUNCTION(5, "PWM3"),
149 MTK_FUNCTION(6, "KROW6")
152 PINCTRL_PIN(17, "UTXD3"),
154 MTK_EINT_FUNCTION(0, 39),
155 MTK_FUNCTION(0, "GPIO17"),
156 MTK_FUNCTION(1, "UTXD3"),
157 MTK_FUNCTION(2, "DPI_VSYNC"),
158 MTK_FUNCTION(3, "URXD3"),
159 MTK_FUNCTION(4, "URTS2"),
160 MTK_FUNCTION(5, "PWM4"),
161 MTK_FUNCTION(6, "KROW7")
164 PINCTRL_PIN(18, "PCM_CLK"),
166 MTK_EINT_FUNCTION(0, 40),
167 MTK_FUNCTION(0, "GPIO18"),
168 MTK_FUNCTION(1, "PCM_CLK0"),
169 MTK_FUNCTION(2, "DPI_D4"),
170 MTK_FUNCTION(3, "I2SIN1_BCK0"),
171 MTK_FUNCTION(4, "I2SOUT_BCK"),
172 MTK_FUNCTION(5, "CONN_DSP_JCK"),
173 MTK_FUNCTION(6, "IR"),
174 MTK_FUNCTION(7, "DBG_MON_A[0]")
177 PINCTRL_PIN(19, "PCM_SYNC"),
179 MTK_EINT_FUNCTION(0, 41),
180 MTK_FUNCTION(0, "GPIO19"),
181 MTK_FUNCTION(1, "PCM_SYNC"),
182 MTK_FUNCTION(2, "DPI_D3"),
183 MTK_FUNCTION(3, "I2SIN1_LRCK"),
184 MTK_FUNCTION(4, "I2SOUT_LRCK"),
185 MTK_FUNCTION(5, "CONN_DSP_JINTP"),
186 MTK_FUNCTION(6, "EXT_COL"),
187 MTK_FUNCTION(7, "DBG_MON_A[1]")
190 PINCTRL_PIN(20, "PCM_RX"),
192 MTK_EINT_FUNCTION(0, 42),
193 MTK_FUNCTION(0, "GPIO20"),
194 MTK_FUNCTION(1, "PCM_RX"),
195 MTK_FUNCTION(2, "DPI_D1"),
196 MTK_FUNCTION(3, "I2SIN1_DATA_IN"),
197 MTK_FUNCTION(4, "PCM_TX"),
198 MTK_FUNCTION(5, "CONN_DSP_JDI"),
199 MTK_FUNCTION(6, "EXT_MDIO"),
200 MTK_FUNCTION(7, "DBG_MON_A[2]")
203 PINCTRL_PIN(21, "PCM_TX"),
205 MTK_EINT_FUNCTION(0, 43),
206 MTK_FUNCTION(0, "GPIO21"),
207 MTK_FUNCTION(1, "PCM_TX"),
208 MTK_FUNCTION(2, "DPI_D2"),
209 MTK_FUNCTION(3, "I2SOUT_DATA_OUT"),
210 MTK_FUNCTION(4, "PCM_RX"),
211 MTK_FUNCTION(5, "CONN_DSP_JMS"),
212 MTK_FUNCTION(6, "EXT_MDC"),
213 MTK_FUNCTION(7, "DBG_MON_A[3]")
216 PINCTRL_PIN(22, "EINT0"),
218 MTK_EINT_FUNCTION(0, 0),
219 MTK_FUNCTION(0, "GPIO22"),
220 MTK_FUNCTION(1, "PWM1"),
221 MTK_FUNCTION(2, "DPI_CK"),
222 MTK_FUNCTION(4, "EXT_TXD0"),
223 MTK_FUNCTION(5, "CONN_DSP_JDO"),
224 MTK_FUNCTION(7, "DBG_MON_A[4]")
227 PINCTRL_PIN(23, "EINT1"),
229 MTK_EINT_FUNCTION(0, 1),
230 MTK_FUNCTION(0, "GPIO23"),
231 MTK_FUNCTION(1, "PWM2"),
232 MTK_FUNCTION(2, "DPI_D12"),
233 MTK_FUNCTION(4, "EXT_TXD1"),
234 MTK_FUNCTION(5, "CONN_MCU_TDO"),
235 MTK_FUNCTION(7, "DBG_MON_A[5]")
238 PINCTRL_PIN(24, "EINT2"),
240 MTK_EINT_FUNCTION(0, 2),
241 MTK_FUNCTION(0, "GPIO24"),
242 MTK_FUNCTION(1, "CLKM0"),
243 MTK_FUNCTION(2, "DPI_D13"),
244 MTK_FUNCTION(4, "EXT_TXD2"),
245 MTK_FUNCTION(5, "CONN_MCU_DBGACK_N"),
246 MTK_FUNCTION(6, "KCOL4"),
247 MTK_FUNCTION(7, "DBG_MON_A[6]")
250 PINCTRL_PIN(25, "EINT3"),
252 MTK_EINT_FUNCTION(0, 3),
253 MTK_FUNCTION(0, "GPIO25"),
254 MTK_FUNCTION(1, "CLKM1"),
255 MTK_FUNCTION(2, "DPI_D14"),
256 MTK_FUNCTION(3, "SPI_MI"),
257 MTK_FUNCTION(4, "EXT_TXD3"),
258 MTK_FUNCTION(5, "CONN_MCU_DBGI_N"),
259 MTK_FUNCTION(6, "KCOL5"),
260 MTK_FUNCTION(7, "DBG_MON_A[7]")
263 PINCTRL_PIN(26, "EINT4"),
265 MTK_EINT_FUNCTION(0, 4),
266 MTK_FUNCTION(0, "GPIO26"),
267 MTK_FUNCTION(1, "CLKM2"),
268 MTK_FUNCTION(2, "DPI_D15"),
269 MTK_FUNCTION(3, "SPI_MO"),
270 MTK_FUNCTION(4, "EXT_TXC"),
271 MTK_FUNCTION(5, "CONN_MCU_TCK0"),
272 MTK_FUNCTION(6, "CONN_MCU_AICE_JCKC"),
273 MTK_FUNCTION(7, "DBG_MON_A[8]")
276 PINCTRL_PIN(27, "EINT5"),
278 MTK_EINT_FUNCTION(0, 5),
279 MTK_FUNCTION(0, "GPIO27"),
280 MTK_FUNCTION(1, "UCTS2"),
281 MTK_FUNCTION(2, "DPI_D16"),
282 MTK_FUNCTION(3, "SPI_CS"),
283 MTK_FUNCTION(4, "EXT_RXER"),
284 MTK_FUNCTION(5, "CONN_MCU_TDI"),
285 MTK_FUNCTION(6, "KCOL6"),
286 MTK_FUNCTION(7, "DBG_MON_A[9]")
289 PINCTRL_PIN(28, "EINT6"),
291 MTK_EINT_FUNCTION(0, 6),
292 MTK_FUNCTION(0, "GPIO28"),
293 MTK_FUNCTION(1, "URTS2"),
294 MTK_FUNCTION(2, "DPI_D17"),
295 MTK_FUNCTION(3, "SPI_CK"),
296 MTK_FUNCTION(4, "EXT_RXC"),
297 MTK_FUNCTION(5, "CONN_MCU_TRST_B"),
298 MTK_FUNCTION(6, "KCOL7"),
299 MTK_FUNCTION(7, "DBG_MON_A[10]")
302 PINCTRL_PIN(29, "EINT7"),
304 MTK_EINT_FUNCTION(0, 7),
305 MTK_FUNCTION(0, "GPIO29"),
306 MTK_FUNCTION(1, "UCTS3"),
307 MTK_FUNCTION(2, "DPI_D6"),
308 MTK_FUNCTION(3, "SDA1"),
309 MTK_FUNCTION(4, "EXT_RXDV"),
310 MTK_FUNCTION(5, "CONN_MCU_TMS"),
311 MTK_FUNCTION(6, "CONN_MCU_AICE_JMSC"),
312 MTK_FUNCTION(7, "DBG_MON_A[11]")
315 PINCTRL_PIN(30, "EINT8"),
317 MTK_EINT_FUNCTION(0, 8),
318 MTK_FUNCTION(0, "GPIO30"),
319 MTK_FUNCTION(1, "URTS3"),
320 MTK_FUNCTION(2, "CLKM3"),
321 MTK_FUNCTION(3, "SCL1"),
322 MTK_FUNCTION(4, "EXT_RXD0"),
323 MTK_FUNCTION(5, "ANT_SEL0"),
324 MTK_FUNCTION(6, "DPI_D7"),
325 MTK_FUNCTION(7, "DBG_MON_B[2]")
328 PINCTRL_PIN(31, "EINT9"),
330 MTK_EINT_FUNCTION(0, 9),
331 MTK_FUNCTION(0, "GPIO31"),
332 MTK_FUNCTION(1, "CLKM4"),
333 MTK_FUNCTION(2, "SDA2"),
334 MTK_FUNCTION(3, "EXT_FRAME_SYNC"),
335 MTK_FUNCTION(4, "EXT_RXD1"),
336 MTK_FUNCTION(5, "ANT_SEL1"),
337 MTK_FUNCTION(6, "DPI_D8"),
338 MTK_FUNCTION(7, "DBG_MON_B[3]")
341 PINCTRL_PIN(32, "EINT10"),
343 MTK_EINT_FUNCTION(0, 10),
344 MTK_FUNCTION(0, "GPIO32"),
345 MTK_FUNCTION(1, "CLKM5"),
346 MTK_FUNCTION(2, "SCL2"),
347 MTK_FUNCTION(3, "EXT_FRAME_SYNC"),
348 MTK_FUNCTION(4, "EXT_RXD2"),
349 MTK_FUNCTION(5, "ANT_SEL2"),
350 MTK_FUNCTION(6, "DPI_D9"),
351 MTK_FUNCTION(7, "DBG_MON_B[4]")
354 PINCTRL_PIN(33, "KPROW0"),
356 MTK_EINT_FUNCTION(0, 44),
357 MTK_FUNCTION(0, "GPIO33"),
358 MTK_FUNCTION(1, "KROW0"),
359 MTK_FUNCTION(4, "IMG_TEST_CK"),
360 MTK_FUNCTION(7, "DBG_MON_A[12]")
363 PINCTRL_PIN(34, "KPROW1"),
365 MTK_EINT_FUNCTION(0, 45),
366 MTK_FUNCTION(0, "GPIO34"),
367 MTK_FUNCTION(1, "KROW1"),
368 MTK_FUNCTION(2, "IDDIG"),
369 MTK_FUNCTION(3, "EXT_FRAME_SYNC"),
370 MTK_FUNCTION(4, "MFG_TEST_CK"),
371 MTK_FUNCTION(7, "DBG_MON_B[5]")
374 PINCTRL_PIN(35, "KPROW2"),
376 MTK_EINT_FUNCTION(0, 46),
377 MTK_FUNCTION(0, "GPIO35"),
378 MTK_FUNCTION(1, "KROW2"),
379 MTK_FUNCTION(2, "DRV_VBUS"),
380 MTK_FUNCTION(3, "EXT_FRAME_SYNC"),
381 MTK_FUNCTION(4, "CONN_TEST_CK"),
382 MTK_FUNCTION(7, "DBG_MON_B[6]")
385 PINCTRL_PIN(36, "KPCOL0"),
387 MTK_EINT_FUNCTION(0, 47),
388 MTK_FUNCTION(0, "GPIO36"),
389 MTK_FUNCTION(1, "KCOL0"),
390 MTK_FUNCTION(7, "DBG_MON_A[13]")
393 PINCTRL_PIN(37, "KPCOL1"),
395 MTK_EINT_FUNCTION(0, 48),
396 MTK_FUNCTION(0, "GPIO37"),
397 MTK_FUNCTION(1, "KCOL1"),
398 MTK_FUNCTION(7, "DBG_MON_B[7]")
401 PINCTRL_PIN(38, "KPCOL2"),
403 MTK_EINT_FUNCTION(0, 49),
404 MTK_FUNCTION(0, "GPIO38"),
405 MTK_FUNCTION(1, "KCOL2"),
406 MTK_FUNCTION(2, "IDDIG"),
407 MTK_FUNCTION(3, "EXT_FRAME_SYNC"),
408 MTK_FUNCTION(7, "DBG_MON_B[8]")
411 PINCTRL_PIN(39, "JTMS"),
413 MTK_EINT_FUNCTION(0, 50),
414 MTK_FUNCTION(0, "GPIO39"),
415 MTK_FUNCTION(1, "JTMS"),
416 MTK_FUNCTION(2, "CONN_MCU_TMS"),
417 MTK_FUNCTION(3, "CONN_MCU_AICE_JMSC")
420 PINCTRL_PIN(40, "JTCK"),
422 MTK_EINT_FUNCTION(0, 51),
423 MTK_FUNCTION(0, "GPIO40"),
424 MTK_FUNCTION(1, "JTCK"),
425 MTK_FUNCTION(2, "CONN_MCU_TCK1"),
426 MTK_FUNCTION(3, "CONN_MCU_AICE_JCKC")
429 PINCTRL_PIN(41, "JTDI"),
431 MTK_EINT_FUNCTION(0, 52),
432 MTK_FUNCTION(0, "GPIO41"),
433 MTK_FUNCTION(1, "JTDI"),
434 MTK_FUNCTION(2, "CONN_MCU_TDI")
437 PINCTRL_PIN(42, "JTDO"),
439 MTK_EINT_FUNCTION(0, 53),
440 MTK_FUNCTION(0, "GPIO42"),
441 MTK_FUNCTION(1, "JTDO"),
442 MTK_FUNCTION(2, "CONN_MCU_TDO")
445 PINCTRL_PIN(43, "EINT11"),
447 MTK_EINT_FUNCTION(0, 11),
448 MTK_FUNCTION(0, "GPIO43"),
449 MTK_FUNCTION(1, "CLKM4"),
450 MTK_FUNCTION(2, "PWM2"),
451 MTK_FUNCTION(3, "KROW3"),
452 MTK_FUNCTION(4, "ANT_SEL3"),
453 MTK_FUNCTION(5, "DPI_D10"),
454 MTK_FUNCTION(6, "EXT_RXD3"),
455 MTK_FUNCTION(7, "DBG_MON_B[9]")
458 PINCTRL_PIN(44, "EINT12"),
460 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
461 MTK_FUNCTION(0, "GPIO44"),
462 MTK_FUNCTION(1, "CLKM5"),
463 MTK_FUNCTION(2, "PWM0"),
464 MTK_FUNCTION(3, "KCOL3"),
465 MTK_FUNCTION(4, "ANT_SEL4"),
466 MTK_FUNCTION(5, "DPI_D11"),
467 MTK_FUNCTION(6, "EXT_TXEN"),
468 MTK_FUNCTION(7, "DBG_MON_B[10]")
471 PINCTRL_PIN(45, "EINT13"),
473 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
474 MTK_FUNCTION(0, "GPIO45"),
475 MTK_FUNCTION(4, "ANT_SEL5"),
476 MTK_FUNCTION(5, "DPI_D0"),
477 MTK_FUNCTION(6, "SPDIF"),
478 MTK_FUNCTION(7, "DBG_MON_B[11]")
481 PINCTRL_PIN(46, "EINT14"),
483 MTK_EINT_FUNCTION(0, 14),
484 MTK_FUNCTION(0, "GPIO46"),
485 MTK_FUNCTION(2, "DAC_DAT_OUT"),
486 MTK_FUNCTION(4, "ANT_SEL1"),
487 MTK_FUNCTION(5, "CONN_MCU_DBGACK_N"),
488 MTK_FUNCTION(6, "NCLE"),
489 MTK_FUNCTION(7, "DBG_MON_A[14]")
492 PINCTRL_PIN(47, "EINT15"),
494 MTK_EINT_FUNCTION(0, 15),
495 MTK_FUNCTION(0, "GPIO47"),
496 MTK_FUNCTION(2, "DAC_WS"),
497 MTK_FUNCTION(4, "ANT_SEL2"),
498 MTK_FUNCTION(5, "CONN_MCU_DBGI_N"),
499 MTK_FUNCTION(6, "NCEB1"),
500 MTK_FUNCTION(7, "DBG_MON_A[15]")
503 PINCTRL_PIN(48, "EINT16"),
505 MTK_EINT_FUNCTION(0, 16),
506 MTK_FUNCTION(0, "GPIO48"),
507 MTK_FUNCTION(2, "DAC_CK"),
508 MTK_FUNCTION(4, "ANT_SEL3"),
509 MTK_FUNCTION(5, "CONN_MCU_TRST_B"),
510 MTK_FUNCTION(6, "NCEB0"),
511 MTK_FUNCTION(7, "DBG_MON_A[16]")
514 PINCTRL_PIN(49, "EINT17"),
516 MTK_EINT_FUNCTION(0, 17),
517 MTK_FUNCTION(0, "GPIO49"),
518 MTK_FUNCTION(1, "UCTS0"),
519 MTK_FUNCTION(3, "CLKM0"),
520 MTK_FUNCTION(4, "IDDIG"),
521 MTK_FUNCTION(5, "ANT_SEL4"),
522 MTK_FUNCTION(6, "NREB"),
523 MTK_FUNCTION(7, "DBG_MON_A[17]")
526 PINCTRL_PIN(50, "EINT18"),
528 MTK_EINT_FUNCTION(0, 18),
529 MTK_FUNCTION(0, "GPIO50"),
530 MTK_FUNCTION(1, "URTS0"),
531 MTK_FUNCTION(2, "CLKM3"),
532 MTK_FUNCTION(3, "I2SOUT_LRCK"),
533 MTK_FUNCTION(4, "DRV_VBUS"),
534 MTK_FUNCTION(5, "ANT_SEL3"),
535 MTK_FUNCTION(6, "ADC_CK"),
536 MTK_FUNCTION(7, "DBG_MON_B[12]")
539 PINCTRL_PIN(51, "EINT19"),
541 MTK_EINT_FUNCTION(0, 19),
542 MTK_FUNCTION(0, "GPIO51"),
543 MTK_FUNCTION(1, "UCTS1"),
544 MTK_FUNCTION(3, "I2SOUT_BCK"),
545 MTK_FUNCTION(4, "CLKM1"),
546 MTK_FUNCTION(5, "ANT_SEL4"),
547 MTK_FUNCTION(6, "ADC_DAT_IN"),
548 MTK_FUNCTION(7, "DBG_MON_B[13]")
551 PINCTRL_PIN(52, "EINT20"),
553 MTK_EINT_FUNCTION(0, 20),
554 MTK_FUNCTION(0, "GPIO52"),
555 MTK_FUNCTION(1, "URTS1"),
556 MTK_FUNCTION(2, "PCM_TX"),
557 MTK_FUNCTION(3, "I2SOUT_DATA_OUT"),
558 MTK_FUNCTION(4, "CLKM2"),
559 MTK_FUNCTION(5, "ANT_SEL5"),
560 MTK_FUNCTION(6, "ADC_WS"),
561 MTK_FUNCTION(7, "DBG_MON_B[14]")
564 PINCTRL_PIN(53, "SPI_CS"),
566 MTK_EINT_FUNCTION(0, 54),
567 MTK_FUNCTION(0, "GPIO53"),
568 MTK_FUNCTION(1, "SPI_CS"),
569 MTK_FUNCTION(3, "I2SIN1_DATA_IN"),
570 MTK_FUNCTION(4, "ADC_CK"),
571 MTK_FUNCTION(7, "DBG_MON_B[15]")
574 PINCTRL_PIN(54, "SPI_CK"),
576 MTK_EINT_FUNCTION(0, 55),
577 MTK_FUNCTION(0, "GPIO54"),
578 MTK_FUNCTION(1, "SPI_CK"),
579 MTK_FUNCTION(3, "I2SIN1_LRCK"),
580 MTK_FUNCTION(4, "ADC_DAT_IN"),
581 MTK_FUNCTION(7, "DBG_MON_B[16]")
584 PINCTRL_PIN(55, "SPI_MI"),
586 MTK_EINT_FUNCTION(0, 56),
587 MTK_FUNCTION(0, "GPIO55"),
588 MTK_FUNCTION(1, "SPI_MI"),
589 MTK_FUNCTION(2, "SPI_MO"),
590 MTK_FUNCTION(3, "I2SIN1_BCK1"),
591 MTK_FUNCTION(4, "ADC_WS"),
592 MTK_FUNCTION(7, "DBG_MON_B[17]")
595 PINCTRL_PIN(56, "SPI_MO"),
597 MTK_EINT_FUNCTION(0, 57),
598 MTK_FUNCTION(0, "GPIO56"),
599 MTK_FUNCTION(1, "SPI_MO"),
600 MTK_FUNCTION(2, "SPI_MI"),
601 MTK_FUNCTION(7, "DBG_MON_B[18]")
604 PINCTRL_PIN(57, "SDA1"),
606 MTK_EINT_FUNCTION(0, 58),
607 MTK_FUNCTION(0, "GPIO57"),
608 MTK_FUNCTION(1, "SDA1")
611 PINCTRL_PIN(58, "SCL1"),
613 MTK_EINT_FUNCTION(0, 59),
614 MTK_FUNCTION(0, "GPIO58"),
615 MTK_FUNCTION(1, "SCL1")
618 PINCTRL_PIN(59, "DISP_PWM"),
620 MTK_EINT_FUNCTION(0, 60),
621 MTK_FUNCTION(0, "GPIO59"),
622 MTK_FUNCTION(1, "DISP_PWM"),
623 MTK_FUNCTION(2, "PWM1"),
624 MTK_FUNCTION(7, "DBG_MON_A[18]")
627 PINCTRL_PIN(60, "WB_RSTB"),
629 MTK_EINT_FUNCTION(0, 61),
630 MTK_FUNCTION(0, "GPIO60"),
631 MTK_FUNCTION(1, "WB_RSTB"),
632 MTK_FUNCTION(7, "DBG_MON_A[19]")
635 PINCTRL_PIN(61, "F2W_DATA"),
637 MTK_EINT_FUNCTION(0, 62),
638 MTK_FUNCTION(0, "GPIO61"),
639 MTK_FUNCTION(1, "F2W_DATA"),
640 MTK_FUNCTION(7, "DBG_MON_A[20]")
643 PINCTRL_PIN(62, "F2W_CLK"),
645 MTK_EINT_FUNCTION(0, 63),
646 MTK_FUNCTION(0, "GPIO62"),
647 MTK_FUNCTION(1, "F2W_CK"),
648 MTK_FUNCTION(7, "DBG_MON_A[21]")
651 PINCTRL_PIN(63, "WB_SCLK"),
653 MTK_EINT_FUNCTION(0, 64),
654 MTK_FUNCTION(0, "GPIO63"),
655 MTK_FUNCTION(1, "WB_SCLK"),
656 MTK_FUNCTION(7, "DBG_MON_A[22]")
659 PINCTRL_PIN(64, "WB_SDATA"),
661 MTK_EINT_FUNCTION(0, 65),
662 MTK_FUNCTION(0, "GPIO64"),
663 MTK_FUNCTION(1, "WB_SDATA"),
664 MTK_FUNCTION(7, "DBG_MON_A[23]")
667 PINCTRL_PIN(65, "WB_SEN"),
669 MTK_EINT_FUNCTION(0, 66),
670 MTK_FUNCTION(0, "GPIO65"),
671 MTK_FUNCTION(1, "WB_SEN"),
672 MTK_FUNCTION(7, "DBG_MON_A[24]")
675 PINCTRL_PIN(66, "WB_CRTL0"),
677 MTK_EINT_FUNCTION(0, 67),
678 MTK_FUNCTION(0, "GPIO66"),
679 MTK_FUNCTION(1, "WB_CRTL0"),
680 MTK_FUNCTION(2, "DFD_NTRST_XI"),
681 MTK_FUNCTION(7, "DBG_MON_A[25]")
684 PINCTRL_PIN(67, "WB_CRTL1"),
686 MTK_EINT_FUNCTION(0, 68),
687 MTK_FUNCTION(0, "GPIO67"),
688 MTK_FUNCTION(1, "WB_CRTL1"),
689 MTK_FUNCTION(2, "DFD_TMS_XI"),
690 MTK_FUNCTION(7, "DBG_MON_A[26]")
693 PINCTRL_PIN(68, "WB_CRTL2"),
695 MTK_EINT_FUNCTION(0, 69),
696 MTK_FUNCTION(0, "GPIO68"),
697 MTK_FUNCTION(1, "WB_CRTL2"),
698 MTK_FUNCTION(2, "DFD_TCK_XI"),
699 MTK_FUNCTION(7, "DBG_MON_A[27]")
702 PINCTRL_PIN(69, "WB_CRTL3"),
704 MTK_EINT_FUNCTION(0, 70),
705 MTK_FUNCTION(0, "GPIO69"),
706 MTK_FUNCTION(1, "WB_CRTL3"),
707 MTK_FUNCTION(2, "DFD_TDI_XI"),
708 MTK_FUNCTION(7, "DBG_MON_A[28]")
711 PINCTRL_PIN(70, "WB_CRTL4"),
713 MTK_EINT_FUNCTION(0, 71),
714 MTK_FUNCTION(0, "GPIO70"),
715 MTK_FUNCTION(1, "WB_CRTL4"),
716 MTK_FUNCTION(2, "DFD_TDO"),
717 MTK_FUNCTION(7, "DBG_MON_A[29]")
720 PINCTRL_PIN(71, "WB_CRTL5"),
722 MTK_EINT_FUNCTION(0, 72),
723 MTK_FUNCTION(0, "GPIO71"),
724 MTK_FUNCTION(1, "WB_CRTL5"),
725 MTK_FUNCTION(7, "DBG_MON_A[30]")
728 PINCTRL_PIN(72, "I2S_DATA_IN"),
730 MTK_EINT_FUNCTION(0, 73),
731 MTK_FUNCTION(0, "GPIO72"),
732 MTK_FUNCTION(1, "I2SIN1_DATA_IN"),
733 MTK_FUNCTION(2, "PCM_RX"),
734 MTK_FUNCTION(3, "I2SOUT_DATA_OUT"),
735 MTK_FUNCTION(4, "DAC_DAT_OUT"),
736 MTK_FUNCTION(5, "PWM0"),
737 MTK_FUNCTION(6, "ADC_CK"),
738 MTK_FUNCTION(7, "DBG_MON_B[19]")
741 PINCTRL_PIN(73, "I2S_LRCK"),
743 MTK_EINT_FUNCTION(0, 74),
744 MTK_FUNCTION(0, "GPIO73"),
745 MTK_FUNCTION(1, "I2SIN1_LRCK"),
746 MTK_FUNCTION(2, "PCM_SYNC"),
747 MTK_FUNCTION(3, "I2SOUT_LRCK"),
748 MTK_FUNCTION(4, "DAC_WS"),
749 MTK_FUNCTION(5, "PWM3"),
750 MTK_FUNCTION(6, "ADC_DAT_IN"),
751 MTK_FUNCTION(7, "DBG_MON_B[20]")
754 PINCTRL_PIN(74, "I2S_BCK"),
756 MTK_EINT_FUNCTION(0, 75),
757 MTK_FUNCTION(0, "GPIO74"),
758 MTK_FUNCTION(1, "I2SIN1_BCK2"),
759 MTK_FUNCTION(2, "PCM_CLK1"),
760 MTK_FUNCTION(3, "I2SOUT_BCK"),
761 MTK_FUNCTION(4, "DAC_CK"),
762 MTK_FUNCTION(5, "PWM4"),
763 MTK_FUNCTION(6, "ADC_WS"),
764 MTK_FUNCTION(7, "DBG_MON_B[21]")
767 PINCTRL_PIN(75, "SDA0"),
769 MTK_EINT_FUNCTION(0, 76),
770 MTK_FUNCTION(0, "GPIO75"),
771 MTK_FUNCTION(1, "SDA0")
774 PINCTRL_PIN(76, "SCL0"),
776 MTK_EINT_FUNCTION(0, 77),
777 MTK_FUNCTION(0, "GPIO76"),
778 MTK_FUNCTION(1, "SCL0")
781 PINCTRL_PIN(77, "SDA2"),
783 MTK_EINT_FUNCTION(0, 78),
784 MTK_FUNCTION(0, "GPIO77"),
785 MTK_FUNCTION(1, "SDA2"),
786 MTK_FUNCTION(2, "PWM1")
789 PINCTRL_PIN(78, "SCL2"),
791 MTK_EINT_FUNCTION(0, 79),
792 MTK_FUNCTION(0, "GPIO78"),
793 MTK_FUNCTION(1, "SCL2"),
794 MTK_FUNCTION(2, "PWM2")
797 PINCTRL_PIN(79, "URXD0"),
799 MTK_EINT_FUNCTION(0, 80),
800 MTK_FUNCTION(0, "GPIO79"),
801 MTK_FUNCTION(1, "URXD0"),
802 MTK_FUNCTION(2, "UTXD0")
805 PINCTRL_PIN(80, "UTXD0"),
807 MTK_EINT_FUNCTION(0, 81),
808 MTK_FUNCTION(0, "GPIO80"),
809 MTK_FUNCTION(1, "UTXD0"),
810 MTK_FUNCTION(2, "URXD0")
813 PINCTRL_PIN(81, "URXD1"),
815 MTK_EINT_FUNCTION(0, 82),
816 MTK_FUNCTION(0, "GPIO81"),
817 MTK_FUNCTION(1, "URXD1"),
818 MTK_FUNCTION(2, "UTXD1")
821 PINCTRL_PIN(82, "UTXD1"),
823 MTK_EINT_FUNCTION(0, 83),
824 MTK_FUNCTION(0, "GPIO82"),
825 MTK_FUNCTION(1, "UTXD1"),
826 MTK_FUNCTION(2, "URXD1")
829 PINCTRL_PIN(83, "LCM_RST"),
831 MTK_EINT_FUNCTION(0, 84),
832 MTK_FUNCTION(0, "GPIO83"),
833 MTK_FUNCTION(1, "LCM_RST"),
834 MTK_FUNCTION(2, "VDAC_CK_XI"),
835 MTK_FUNCTION(7, "DBG_MON_A[31]")
838 PINCTRL_PIN(84, "DSI_TE"),
840 MTK_EINT_FUNCTION(0, 85),
841 MTK_FUNCTION(0, "GPIO84"),
842 MTK_FUNCTION(1, "DSI_TE"),
843 MTK_FUNCTION(7, "DBG_MON_A[32]")
846 PINCTRL_PIN(85, "MSDC2_CMD"),
848 MTK_EINT_FUNCTION(0, 86),
849 MTK_FUNCTION(0, "GPIO85"),
850 MTK_FUNCTION(1, "MSDC2_CMD"),
851 MTK_FUNCTION(2, "ANT_SEL0"),
852 MTK_FUNCTION(3, "SDA1"),
853 MTK_FUNCTION(6, "I2SOUT_BCK"),
854 MTK_FUNCTION(7, "DBG_MON_B[22]")
857 PINCTRL_PIN(86, "MSDC2_CLK"),
859 MTK_EINT_FUNCTION(0, 87),
860 MTK_FUNCTION(0, "GPIO86"),
861 MTK_FUNCTION(1, "MSDC2_CLK"),
862 MTK_FUNCTION(2, "ANT_SEL1"),
863 MTK_FUNCTION(3, "SCL1"),
864 MTK_FUNCTION(6, "I2SOUT_LRCK"),
865 MTK_FUNCTION(7, "DBG_MON_B[23]")
868 PINCTRL_PIN(87, "MSDC2_DAT0"),
870 MTK_EINT_FUNCTION(0, 88),
871 MTK_FUNCTION(0, "GPIO87"),
872 MTK_FUNCTION(1, "MSDC2_DAT0"),
873 MTK_FUNCTION(2, "ANT_SEL2"),
874 MTK_FUNCTION(5, "UTXD0"),
875 MTK_FUNCTION(6, "I2SOUT_DATA_OUT"),
876 MTK_FUNCTION(7, "DBG_MON_B[24]")
879 PINCTRL_PIN(88, "MSDC2_DAT1"),
881 MTK_EINT_FUNCTION(0, 89),
882 MTK_FUNCTION(0, "GPIO88"),
883 MTK_FUNCTION(1, "MSDC2_DAT1"),
884 MTK_FUNCTION(2, "ANT_SEL3"),
885 MTK_FUNCTION(3, "PWM0"),
886 MTK_FUNCTION(5, "URXD0"),
887 MTK_FUNCTION(6, "PWM1"),
888 MTK_FUNCTION(7, "DBG_MON_B[25]")
891 PINCTRL_PIN(89, "MSDC2_DAT2"),
893 MTK_EINT_FUNCTION(0, 90),
894 MTK_FUNCTION(0, "GPIO89"),
895 MTK_FUNCTION(1, "MSDC2_DAT2"),
896 MTK_FUNCTION(2, "ANT_SEL4"),
897 MTK_FUNCTION(3, "SDA2"),
898 MTK_FUNCTION(5, "UTXD1"),
899 MTK_FUNCTION(6, "PWM2"),
900 MTK_FUNCTION(7, "DBG_MON_B[26]")
903 PINCTRL_PIN(90, "MSDC2_DAT3"),
905 MTK_EINT_FUNCTION(0, 91),
906 MTK_FUNCTION(0, "GPIO90"),
907 MTK_FUNCTION(1, "MSDC2_DAT3"),
908 MTK_FUNCTION(2, "ANT_SEL5"),
909 MTK_FUNCTION(3, "SCL2"),
910 MTK_FUNCTION(4, "EXT_FRAME_SYNC"),
911 MTK_FUNCTION(5, "URXD1"),
912 MTK_FUNCTION(6, "PWM3"),
913 MTK_FUNCTION(7, "DBG_MON_B[27]")
916 PINCTRL_PIN(91, "TDN3"),
918 MTK_EINT_FUNCTION(0, 92),
919 MTK_FUNCTION(0, "GPI91"),
920 MTK_FUNCTION(1, "TDN3")
923 PINCTRL_PIN(92, "TDP3"),
925 MTK_EINT_FUNCTION(0, 93),
926 MTK_FUNCTION(0, "GPI92"),
927 MTK_FUNCTION(1, "TDP3")
930 PINCTRL_PIN(93, "TDN2"),
932 MTK_EINT_FUNCTION(0, 94),
933 MTK_FUNCTION(0, "GPI93"),
934 MTK_FUNCTION(1, "TDN2")
937 PINCTRL_PIN(94, "TDP2"),
939 MTK_EINT_FUNCTION(0, 95),
940 MTK_FUNCTION(0, "GPI94"),
941 MTK_FUNCTION(1, "TDP2")
944 PINCTRL_PIN(95, "TCN"),
946 MTK_EINT_FUNCTION(0, 96),
947 MTK_FUNCTION(0, "GPI95"),
948 MTK_FUNCTION(1, "TCN")
951 PINCTRL_PIN(96, "TCP"),
953 MTK_EINT_FUNCTION(0, 97),
954 MTK_FUNCTION(0, "GPI96"),
955 MTK_FUNCTION(1, "TCP")
958 PINCTRL_PIN(97, "TDN1"),
960 MTK_EINT_FUNCTION(0, 98),
961 MTK_FUNCTION(0, "GPI97"),
962 MTK_FUNCTION(1, "TDN1")
965 PINCTRL_PIN(98, "TDP1"),
967 MTK_EINT_FUNCTION(0, 99),
968 MTK_FUNCTION(0, "GPI98"),
969 MTK_FUNCTION(1, "TDP1")
972 PINCTRL_PIN(99, "TDN0"),
974 MTK_EINT_FUNCTION(0, 100),
975 MTK_FUNCTION(0, "GPI99"),
976 MTK_FUNCTION(1, "TDN0")
979 PINCTRL_PIN(100, "TDP0"),
981 MTK_EINT_FUNCTION(0, 101),
982 MTK_FUNCTION(0, "GPI100"),
983 MTK_FUNCTION(1, "TDP0")
986 PINCTRL_PIN(101, "RDN0"),
988 MTK_EINT_FUNCTION(0, 102),
989 MTK_FUNCTION(0, "GPI101"),
990 MTK_FUNCTION(1, "RDN0")
993 PINCTRL_PIN(102, "RDP0"),
995 MTK_EINT_FUNCTION(0, 103),
996 MTK_FUNCTION(0, "GPI102"),
997 MTK_FUNCTION(1, "RDP0")
1000 PINCTRL_PIN(103, "RDN1"),
1002 MTK_EINT_FUNCTION(0, 104),
1003 MTK_FUNCTION(0, "GPI103"),
1004 MTK_FUNCTION(1, "RDN1")
1007 PINCTRL_PIN(104, "RDP1"),
1009 MTK_EINT_FUNCTION(0, 105),
1010 MTK_FUNCTION(0, "GPI104"),
1011 MTK_FUNCTION(1, "RDP1")
1014 PINCTRL_PIN(105, "RCN"),
1016 MTK_EINT_FUNCTION(0, 106),
1017 MTK_FUNCTION(0, "GPI105"),
1018 MTK_FUNCTION(1, "RCN")
1021 PINCTRL_PIN(106, "RCP"),
1023 MTK_EINT_FUNCTION(0, 107),
1024 MTK_FUNCTION(0, "GPI106"),
1025 MTK_FUNCTION(1, "RCP")
1028 PINCTRL_PIN(107, "RDN2"),
1030 MTK_EINT_FUNCTION(0, 108),
1031 MTK_FUNCTION(0, "GPI107"),
1032 MTK_FUNCTION(1, "RDN2"),
1033 MTK_FUNCTION(2, "CMDAT8")
1036 PINCTRL_PIN(108, "RDP2"),
1038 MTK_EINT_FUNCTION(0, 109),
1039 MTK_FUNCTION(0, "GPI108"),
1040 MTK_FUNCTION(1, "RDP2"),
1041 MTK_FUNCTION(2, "CMDAT9")
1044 PINCTRL_PIN(109, "RDN3"),
1046 MTK_EINT_FUNCTION(0, 110),
1047 MTK_FUNCTION(0, "GPI109"),
1048 MTK_FUNCTION(1, "RDN3"),
1049 MTK_FUNCTION(2, "CMDAT4")
1052 PINCTRL_PIN(110, "RDP3"),
1054 MTK_EINT_FUNCTION(0, 111),
1055 MTK_FUNCTION(0, "GPI110"),
1056 MTK_FUNCTION(1, "RDP3"),
1057 MTK_FUNCTION(2, "CMDAT5")
1060 PINCTRL_PIN(111, "RCN_A"),
1062 MTK_EINT_FUNCTION(0, 112),
1063 MTK_FUNCTION(0, "GPI111"),
1064 MTK_FUNCTION(1, "RCN_A"),
1065 MTK_FUNCTION(2, "CMDAT6")
1068 PINCTRL_PIN(112, "RCP_A"),
1070 MTK_EINT_FUNCTION(0, 113),
1071 MTK_FUNCTION(0, "GPI112"),
1072 MTK_FUNCTION(1, "RCP_A"),
1073 MTK_FUNCTION(2, "CMDAT7")
1076 PINCTRL_PIN(113, "RDN1_A"),
1078 MTK_EINT_FUNCTION(0, 114),
1079 MTK_FUNCTION(0, "GPI113"),
1080 MTK_FUNCTION(1, "RDN1_A"),
1081 MTK_FUNCTION(2, "CMDAT2"),
1082 MTK_FUNCTION(3, "CMCSD2")
1085 PINCTRL_PIN(114, "RDP1_A"),
1087 MTK_EINT_FUNCTION(0, 115),
1088 MTK_FUNCTION(0, "GPI114"),
1089 MTK_FUNCTION(1, "RDP1_A"),
1090 MTK_FUNCTION(2, "CMDAT3"),
1091 MTK_FUNCTION(3, "CMCSD3")
1094 PINCTRL_PIN(115, "RDN0_A"),
1096 MTK_EINT_FUNCTION(0, 116),
1097 MTK_FUNCTION(0, "GPI115"),
1098 MTK_FUNCTION(1, "RDN0_A"),
1099 MTK_FUNCTION(2, "CMHSYNC")
1102 PINCTRL_PIN(116, "RDP0_A"),
1104 MTK_EINT_FUNCTION(0, 117),
1105 MTK_FUNCTION(0, "GPI116"),
1106 MTK_FUNCTION(1, "RDP0_A"),
1107 MTK_FUNCTION(2, "CMVSYNC")
1110 PINCTRL_PIN(117, "CMDAT0"),
1112 MTK_EINT_FUNCTION(0, 118),
1113 MTK_FUNCTION(0, "GPIO117"),
1114 MTK_FUNCTION(1, "CMDAT0"),
1115 MTK_FUNCTION(2, "CMCSD0"),
1116 MTK_FUNCTION(3, "ANT_SEL2"),
1117 MTK_FUNCTION(7, "DBG_MON_B[28]")
1120 PINCTRL_PIN(118, "CMDAT1"),
1122 MTK_EINT_FUNCTION(0, 119),
1123 MTK_FUNCTION(0, "GPIO118"),
1124 MTK_FUNCTION(1, "CMDAT1"),
1125 MTK_FUNCTION(2, "CMCSD1"),
1126 MTK_FUNCTION(3, "ANT_SEL3"),
1127 MTK_FUNCTION(7, "DBG_MON_B[29]")
1130 PINCTRL_PIN(119, "CMMCLK"),
1132 MTK_EINT_FUNCTION(0, 120),
1133 MTK_FUNCTION(0, "GPIO119"),
1134 MTK_FUNCTION(1, "CMMCLK"),
1135 MTK_FUNCTION(3, "ANT_SEL4"),
1136 MTK_FUNCTION(7, "DBG_MON_B[30]")
1139 PINCTRL_PIN(120, "CMPCLK"),
1141 MTK_EINT_FUNCTION(0, 121),
1142 MTK_FUNCTION(0, "GPIO120"),
1143 MTK_FUNCTION(1, "CMPCLK"),
1144 MTK_FUNCTION(2, "CMCSK"),
1145 MTK_FUNCTION(3, "ANT_SEL5"),
1146 MTK_FUNCTION(7, "DBG_MON_B[31]")
1149 PINCTRL_PIN(121, "MSDC1_CMD"),
1151 MTK_EINT_FUNCTION(0, 122),
1152 MTK_FUNCTION(0, "GPIO121"),
1153 MTK_FUNCTION(1, "MSDC1_CMD")
1156 PINCTRL_PIN(122, "MSDC1_CLK"),
1158 MTK_EINT_FUNCTION(0, 123),
1159 MTK_FUNCTION(0, "GPIO122"),
1160 MTK_FUNCTION(1, "MSDC1_CLK")
1163 PINCTRL_PIN(123, "MSDC1_DAT0"),
1165 MTK_EINT_FUNCTION(0, 124),
1166 MTK_FUNCTION(0, "GPIO123"),
1167 MTK_FUNCTION(1, "MSDC1_DAT0")
1170 PINCTRL_PIN(124, "MSDC1_DAT1"),
1172 MTK_EINT_FUNCTION(0, 125),
1173 MTK_FUNCTION(0, "GPIO124"),
1174 MTK_FUNCTION(1, "MSDC1_DAT1")
1177 PINCTRL_PIN(125, "MSDC1_DAT2"),
1179 MTK_EINT_FUNCTION(0, 126),
1180 MTK_FUNCTION(0, "GPIO125"),
1181 MTK_FUNCTION(1, "MSDC1_DAT2")
1184 PINCTRL_PIN(126, "MSDC1_DAT3"),
1186 MTK_EINT_FUNCTION(0, 127),
1187 MTK_FUNCTION(0, "GPIO126"),
1188 MTK_FUNCTION(1, "MSDC1_DAT3")
1191 PINCTRL_PIN(127, "MSDC0_DAT7"),
1193 MTK_EINT_FUNCTION(0, 128),
1194 MTK_FUNCTION(0, "GPIO127"),
1195 MTK_FUNCTION(1, "MSDC0_DAT7"),
1196 MTK_FUNCTION(4, "NLD7")
1199 PINCTRL_PIN(128, "MSDC0_DAT6"),
1201 MTK_EINT_FUNCTION(0, 129),
1202 MTK_FUNCTION(0, "GPIO128"),
1203 MTK_FUNCTION(1, "MSDC0_DAT6"),
1204 MTK_FUNCTION(4, "NLD6")
1207 PINCTRL_PIN(129, "MSDC0_DAT5"),
1209 MTK_EINT_FUNCTION(0, 130),
1210 MTK_FUNCTION(0, "GPIO129"),
1211 MTK_FUNCTION(1, "MSDC0_DAT5"),
1212 MTK_FUNCTION(4, "NLD4")
1215 PINCTRL_PIN(130, "MSDC0_DAT4"),
1217 MTK_EINT_FUNCTION(0, 131),
1218 MTK_FUNCTION(0, "GPIO130"),
1219 MTK_FUNCTION(1, "MSDC0_DAT4"),
1220 MTK_FUNCTION(4, "NLD3")
1223 PINCTRL_PIN(131, "MSDC0_RSTB"),
1225 MTK_EINT_FUNCTION(0, 132),
1226 MTK_FUNCTION(0, "GPIO131"),
1227 MTK_FUNCTION(1, "MSDC0_RSTB"),
1228 MTK_FUNCTION(4, "NLD0")
1231 PINCTRL_PIN(132, "MSDC0_CMD"),
1233 MTK_EINT_FUNCTION(0, 133),
1234 MTK_FUNCTION(0, "GPIO132"),
1235 MTK_FUNCTION(1, "MSDC0_CMD"),
1236 MTK_FUNCTION(4, "NALE")
1239 PINCTRL_PIN(133, "MSDC0_CLK"),
1241 MTK_EINT_FUNCTION(0, 134),
1242 MTK_FUNCTION(0, "GPIO133"),
1243 MTK_FUNCTION(1, "MSDC0_CLK"),
1244 MTK_FUNCTION(4, "NWEB")
1247 PINCTRL_PIN(134, "MSDC0_DAT3"),
1249 MTK_EINT_FUNCTION(0, 135),
1250 MTK_FUNCTION(0, "GPIO134"),
1251 MTK_FUNCTION(1, "MSDC0_DAT3"),
1252 MTK_FUNCTION(4, "NLD1")
1255 PINCTRL_PIN(135, "MSDC0_DAT2"),
1257 MTK_EINT_FUNCTION(0, 136),
1258 MTK_FUNCTION(0, "GPIO135"),
1259 MTK_FUNCTION(1, "MSDC0_DAT2"),
1260 MTK_FUNCTION(4, "NLD5")
1263 PINCTRL_PIN(136, "MSDC0_DAT1"),
1265 MTK_EINT_FUNCTION(0, 137),
1266 MTK_FUNCTION(0, "GPIO136"),
1267 MTK_FUNCTION(1, "MSDC0_DAT1"),
1268 MTK_FUNCTION(4, "NLD8")
1271 PINCTRL_PIN(137, "MSDC0_DAT0"),
1273 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1274 MTK_FUNCTION(0, "GPIO137"),
1275 MTK_FUNCTION(1, "MSDC0_DAT0"),
1276 MTK_FUNCTION(4, "WATCHDOG"),
1277 MTK_FUNCTION(5, "NLD2")
1280 PINCTRL_PIN(138, "CEC"),
1282 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1283 MTK_FUNCTION(0, "GPIO138"),
1284 MTK_FUNCTION(1, "CEC")
1287 PINCTRL_PIN(139, "HTPLG"),
1289 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1290 MTK_FUNCTION(0, "GPIO139"),
1291 MTK_FUNCTION(1, "HTPLG")
1294 PINCTRL_PIN(140, "HDMISCK"),
1296 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1297 MTK_FUNCTION(0, "GPIO140"),
1298 MTK_FUNCTION(1, "HDMISCK")
1301 PINCTRL_PIN(141, "HDMISD"),
1303 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1304 MTK_FUNCTION(0, "GPIO141"),
1305 MTK_FUNCTION(1, "HDMISD")
1308 PINCTRL_PIN(142, "EINT21"),
1310 MTK_EINT_FUNCTION(0, 21),
1311 MTK_FUNCTION(0, "GPIO142"),
1312 MTK_FUNCTION(1, "NRNB"),
1313 MTK_FUNCTION(2, "ANT_SEL0"),
1314 MTK_FUNCTION(7, "DBG_MON_B[32]")
1318 #endif /* __PINCTRL_MTK_MT8127_H */