1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Copyright (C) 2020 MediaTek Inc.
5 * Author: Zhiyong Tao <zhiyong.tao@mediatek.com>
9 #ifndef __PINCTRL_MTK_MT8195_H
10 #define __PINCTRL_MTK_MT8195_H
12 #include "pinctrl-paris.h"
14 static const struct mtk_pin_desc mtk_pins_mt8195[] = {
17 MTK_EINT_FUNCTION(0, 0),
19 MTK_FUNCTION(0, "GPIO0"),
20 MTK_FUNCTION(1, "TP_GPIO0_AO"),
21 MTK_FUNCTION(2, "MSDC2_CMD"),
22 MTK_FUNCTION(3, "TDMIN_MCK"),
23 MTK_FUNCTION(4, "CLKM0"),
24 MTK_FUNCTION(5, "PERSTN_1"),
25 MTK_FUNCTION(6, "IDDIG_1P"),
26 MTK_FUNCTION(7, "DMIC4_CLK")
30 MTK_EINT_FUNCTION(0, 1),
32 MTK_FUNCTION(0, "GPIO1"),
33 MTK_FUNCTION(1, "TP_GPIO1_AO"),
34 MTK_FUNCTION(2, "MSDC2_CLK"),
35 MTK_FUNCTION(3, "TDMIN_DI"),
36 MTK_FUNCTION(4, "CLKM1"),
37 MTK_FUNCTION(5, "CLKREQN_1"),
38 MTK_FUNCTION(6, "USB_DRVVBUS_1P"),
39 MTK_FUNCTION(7, "DMIC4_DAT")
43 MTK_EINT_FUNCTION(0, 2),
45 MTK_FUNCTION(0, "GPIO2"),
46 MTK_FUNCTION(1, "TP_GPIO2_AO"),
47 MTK_FUNCTION(2, "MSDC2_DAT3"),
48 MTK_FUNCTION(3, "TDMIN_LRCK"),
49 MTK_FUNCTION(4, "CLKM2"),
50 MTK_FUNCTION(5, "WAKEN_1"),
51 MTK_FUNCTION(7, "DMIC2_CLK")
55 MTK_EINT_FUNCTION(0, 3),
57 MTK_FUNCTION(0, "GPIO3"),
58 MTK_FUNCTION(1, "TP_GPIO3_AO"),
59 MTK_FUNCTION(2, "MSDC2_DAT0"),
60 MTK_FUNCTION(3, "TDMIN_BCK"),
61 MTK_FUNCTION(4, "CLKM3"),
62 MTK_FUNCTION(7, "DMIC2_DAT")
66 MTK_EINT_FUNCTION(0, 4),
68 MTK_FUNCTION(0, "GPIO4"),
69 MTK_FUNCTION(1, "TP_GPIO4_AO"),
70 MTK_FUNCTION(2, "MSDC2_DAT2"),
71 MTK_FUNCTION(3, "SPDIF_IN1"),
72 MTK_FUNCTION(4, "UTXD3"),
73 MTK_FUNCTION(5, "SDA2"),
74 MTK_FUNCTION(7, "IDDIG_2P")
78 MTK_EINT_FUNCTION(0, 5),
80 MTK_FUNCTION(0, "GPIO5"),
81 MTK_FUNCTION(1, "TP_GPIO5_AO"),
82 MTK_FUNCTION(2, "MSDC2_DAT1"),
83 MTK_FUNCTION(3, "SPDIF_IN0"),
84 MTK_FUNCTION(4, "URXD3"),
85 MTK_FUNCTION(5, "SCL2"),
86 MTK_FUNCTION(7, "USB_DRVVBUS_2P")
90 MTK_EINT_FUNCTION(0, 6),
92 MTK_FUNCTION(0, "GPIO6"),
93 MTK_FUNCTION(1, "TP_GPIO6_AO"),
94 MTK_FUNCTION(2, "DP_TX_HPD"),
95 MTK_FUNCTION(3, "I2SO1_D4"),
96 MTK_FUNCTION(4, "UTXD4"),
97 MTK_FUNCTION(5, "CMVREF3"),
98 MTK_FUNCTION(7, "DMIC3_CLK")
102 MTK_EINT_FUNCTION(0, 7),
104 MTK_FUNCTION(0, "GPIO7"),
105 MTK_FUNCTION(1, "TP_GPIO7_AO"),
106 MTK_FUNCTION(2, "EDP_TX_HPD"),
107 MTK_FUNCTION(3, "I2SO1_D5"),
108 MTK_FUNCTION(4, "URXD4"),
109 MTK_FUNCTION(5, "CMVREF4"),
110 MTK_FUNCTION(7, "DMIC3_DAT")
114 MTK_EINT_FUNCTION(0, 8),
116 MTK_FUNCTION(0, "GPIO8"),
117 MTK_FUNCTION(1, "SDA0"),
118 MTK_FUNCTION(2, "PWM_0"),
119 MTK_FUNCTION(4, "SPDIF_OUT"),
120 MTK_FUNCTION(6, "LVTS_FOUT"),
121 MTK_FUNCTION(7, "DBG_MON_A0")
125 MTK_EINT_FUNCTION(0, 9),
127 MTK_FUNCTION(0, "GPIO9"),
128 MTK_FUNCTION(1, "SCL0"),
129 MTK_FUNCTION(2, "PWM_1"),
130 MTK_FUNCTION(4, "IR_IN"),
131 MTK_FUNCTION(6, "LVTS_SDO"),
132 MTK_FUNCTION(7, "DBG_MON_A1")
136 MTK_EINT_FUNCTION(0, 10),
138 MTK_FUNCTION(0, "GPIO10"),
139 MTK_FUNCTION(1, "SDA1"),
140 MTK_FUNCTION(2, "PWM_2"),
141 MTK_FUNCTION(3, "ADSP_URXD0"),
142 MTK_FUNCTION(4, "SPDIF_IN1"),
143 MTK_FUNCTION(6, "LVTS_SCF"),
144 MTK_FUNCTION(7, "DBG_MON_A2")
148 MTK_EINT_FUNCTION(0, 11),
150 MTK_FUNCTION(0, "GPIO11"),
151 MTK_FUNCTION(1, "SCL1"),
152 MTK_FUNCTION(2, "PWM_3"),
153 MTK_FUNCTION(3, "ADSP_UTXD0"),
154 MTK_FUNCTION(4, "SPDIF_IN0"),
155 MTK_FUNCTION(6, "LVTS_SCK"),
156 MTK_FUNCTION(7, "DBG_MON_A3")
160 MTK_EINT_FUNCTION(0, 12),
162 MTK_FUNCTION(0, "GPIO12"),
163 MTK_FUNCTION(1, "SDA2"),
164 MTK_FUNCTION(2, "DMIC3_DAT_R"),
165 MTK_FUNCTION(3, "I2SO1_D6"),
166 MTK_FUNCTION(6, "LVTS_SDI"),
167 MTK_FUNCTION(7, "DBG_MON_A4")
171 MTK_EINT_FUNCTION(0, 13),
173 MTK_FUNCTION(0, "GPIO13"),
174 MTK_FUNCTION(1, "SCL2"),
175 MTK_FUNCTION(2, "DMIC4_DAT_R"),
176 MTK_FUNCTION(3, "I2SO1_D7"),
177 MTK_FUNCTION(7, "DBG_MON_A5")
181 MTK_EINT_FUNCTION(0, 14),
183 MTK_FUNCTION(0, "GPIO14"),
184 MTK_FUNCTION(1, "SDA3"),
185 MTK_FUNCTION(2, "DMIC3_DAT"),
186 MTK_FUNCTION(3, "TDMIN_MCK"),
187 MTK_FUNCTION(7, "DBG_MON_A6")
191 MTK_EINT_FUNCTION(0, 15),
193 MTK_FUNCTION(0, "GPIO15"),
194 MTK_FUNCTION(1, "SCL3"),
195 MTK_FUNCTION(2, "DMIC3_CLK"),
196 MTK_FUNCTION(3, "TDMIN_DI"),
197 MTK_FUNCTION(7, "DBG_MON_A7")
201 MTK_EINT_FUNCTION(0, 16),
203 MTK_FUNCTION(0, "GPIO16"),
204 MTK_FUNCTION(1, "SDA4"),
205 MTK_FUNCTION(2, "DMIC4_DAT"),
206 MTK_FUNCTION(3, "TDMIN_LRCK"),
207 MTK_FUNCTION(7, "DBG_MON_A8")
211 MTK_EINT_FUNCTION(0, 17),
213 MTK_FUNCTION(0, "GPIO17"),
214 MTK_FUNCTION(1, "SCL4"),
215 MTK_FUNCTION(2, "DMIC4_CLK"),
216 MTK_FUNCTION(3, "TDMIN_BCK"),
217 MTK_FUNCTION(7, "DBG_MON_A9")
221 MTK_EINT_FUNCTION(0, 18),
223 MTK_FUNCTION(0, "GPIO18"),
224 MTK_FUNCTION(1, "DP_TX_HPD")
228 MTK_EINT_FUNCTION(0, 19),
230 MTK_FUNCTION(0, "GPIO19"),
231 MTK_FUNCTION(1, "WAKEN"),
232 MTK_FUNCTION(2, "SCP_SDA1"),
233 MTK_FUNCTION(3, "MD32_0_JTAG_TCK"),
234 MTK_FUNCTION(4, "ADSP_JTAG0_TCK"),
235 MTK_FUNCTION(5, "SDA6")
239 MTK_EINT_FUNCTION(0, 20),
241 MTK_FUNCTION(0, "GPIO20"),
242 MTK_FUNCTION(1, "PERSTN"),
243 MTK_FUNCTION(2, "SCP_SCL1"),
244 MTK_FUNCTION(3, "MD32_0_JTAG_TMS"),
245 MTK_FUNCTION(4, "ADSP_JTAG0_TMS"),
246 MTK_FUNCTION(5, "SCL6")
250 MTK_EINT_FUNCTION(0, 21),
252 MTK_FUNCTION(0, "GPIO21"),
253 MTK_FUNCTION(1, "CLKREQN"),
254 MTK_FUNCTION(3, "MD32_0_JTAG_TDI"),
255 MTK_FUNCTION(4, "ADSP_JTAG0_TDI"),
256 MTK_FUNCTION(5, "SCP_SDA1")
260 MTK_EINT_FUNCTION(0, 22),
262 MTK_FUNCTION(0, "GPIO22"),
263 MTK_FUNCTION(1, "CMMCLK0"),
264 MTK_FUNCTION(2, "PERSTN_1"),
265 MTK_FUNCTION(5, "SCP_SCL1"),
266 MTK_FUNCTION(7, "MD32_0_GPIO0")
270 MTK_EINT_FUNCTION(0, 23),
272 MTK_FUNCTION(0, "GPIO23"),
273 MTK_FUNCTION(1, "CMMCLK1"),
274 MTK_FUNCTION(2, "CLKREQN_1"),
275 MTK_FUNCTION(3, "SDA4"),
276 MTK_FUNCTION(4, "DMIC1_CLK"),
277 MTK_FUNCTION(5, "SCP_SDA0"),
278 MTK_FUNCTION(7, "MD32_0_GPIO1")
282 MTK_EINT_FUNCTION(0, 24),
284 MTK_FUNCTION(0, "GPIO24"),
285 MTK_FUNCTION(1, "CMMCLK2"),
286 MTK_FUNCTION(2, "WAKEN_1"),
287 MTK_FUNCTION(3, "SCL4"),
288 MTK_FUNCTION(4, "DMIC1_DAT"),
289 MTK_FUNCTION(5, "SCP_SCL0"),
290 MTK_FUNCTION(6, "LVTS_26M"),
291 MTK_FUNCTION(7, "MD32_0_GPIO2")
295 MTK_EINT_FUNCTION(0, 25),
297 MTK_FUNCTION(0, "GPIO25"),
298 MTK_FUNCTION(1, "CMMRST"),
299 MTK_FUNCTION(2, "CMMCLK3"),
300 MTK_FUNCTION(3, "SPDIF_OUT"),
301 MTK_FUNCTION(4, "SDA6"),
302 MTK_FUNCTION(5, "ADSP_JTAG0_TRSTN"),
303 MTK_FUNCTION(6, "MD32_0_JTAG_TRST")
307 MTK_EINT_FUNCTION(0, 26),
309 MTK_FUNCTION(0, "GPIO26"),
310 MTK_FUNCTION(1, "CMMPDN"),
311 MTK_FUNCTION(2, "CMMCLK4"),
312 MTK_FUNCTION(3, "IR_IN"),
313 MTK_FUNCTION(4, "SCL6"),
314 MTK_FUNCTION(5, "ADSP_JTAG0_TDO"),
315 MTK_FUNCTION(6, "MD32_0_JTAG_TDO")
319 MTK_EINT_FUNCTION(0, 27),
321 MTK_FUNCTION(0, "GPIO27"),
322 MTK_FUNCTION(1, "HDMIRX20_HTPLG"),
323 MTK_FUNCTION(2, "CMFLASH0"),
324 MTK_FUNCTION(3, "MD32_0_TXD"),
325 MTK_FUNCTION(4, "TP_UTXD2_AO"),
326 MTK_FUNCTION(5, "SCL7"),
327 MTK_FUNCTION(6, "UCTS2"),
328 MTK_FUNCTION(7, "DBG_MON_A18")
332 MTK_EINT_FUNCTION(0, 28),
334 MTK_FUNCTION(0, "GPIO28"),
335 MTK_FUNCTION(1, "HDMIRX20_PWR5V"),
336 MTK_FUNCTION(2, "CMFLASH1"),
337 MTK_FUNCTION(3, "MD32_0_RXD"),
338 MTK_FUNCTION(4, "TP_URXD2_AO"),
339 MTK_FUNCTION(5, "SDA7"),
340 MTK_FUNCTION(6, "URTS2"),
341 MTK_FUNCTION(7, "DBG_MON_A19")
345 MTK_EINT_FUNCTION(0, 29),
347 MTK_FUNCTION(0, "GPIO29"),
348 MTK_FUNCTION(1, "HDMIRX20_SCL"),
349 MTK_FUNCTION(2, "CMFLASH2"),
350 MTK_FUNCTION(3, "SCL5"),
351 MTK_FUNCTION(4, "TP_URTS2_AO"),
352 MTK_FUNCTION(6, "UTXD2"),
353 MTK_FUNCTION(7, "DBG_MON_A20")
357 MTK_EINT_FUNCTION(0, 30),
359 MTK_FUNCTION(0, "GPIO30"),
360 MTK_FUNCTION(1, "HDMIRX20_SDA"),
361 MTK_FUNCTION(2, "CMFLASH3"),
362 MTK_FUNCTION(3, "SDA5"),
363 MTK_FUNCTION(4, "TP_UCTS2_AO"),
364 MTK_FUNCTION(6, "URXD2"),
365 MTK_FUNCTION(7, "DBG_MON_A21")
369 MTK_EINT_FUNCTION(0, 31),
371 MTK_FUNCTION(0, "GPIO31"),
372 MTK_FUNCTION(1, "HDMITX20_PWR5V"),
373 MTK_FUNCTION(2, "DMIC1_DAT_R"),
374 MTK_FUNCTION(3, "PERSTN"),
375 MTK_FUNCTION(7, "DBG_MON_A22")
379 MTK_EINT_FUNCTION(0, 32),
381 MTK_FUNCTION(0, "GPIO32"),
382 MTK_FUNCTION(1, "HDMITX20_HTPLG"),
383 MTK_FUNCTION(3, "CLKREQN"),
384 MTK_FUNCTION(7, "DBG_MON_A23")
388 MTK_EINT_FUNCTION(0, 33),
390 MTK_FUNCTION(0, "GPIO33"),
391 MTK_FUNCTION(1, "HDMITX20_CEC"),
392 MTK_FUNCTION(2, "CMVREF0"),
393 MTK_FUNCTION(3, "WAKEN")
397 MTK_EINT_FUNCTION(0, 34),
399 MTK_FUNCTION(0, "GPIO34"),
400 MTK_FUNCTION(1, "HDMITX20_SCL"),
401 MTK_FUNCTION(2, "CMVREF1"),
402 MTK_FUNCTION(3, "SCL7"),
403 MTK_FUNCTION(4, "SCL6"),
404 MTK_FUNCTION(7, "DBG_MON_A24")
408 MTK_EINT_FUNCTION(0, 35),
410 MTK_FUNCTION(0, "GPIO35"),
411 MTK_FUNCTION(1, "HDMITX20_SDA"),
412 MTK_FUNCTION(2, "CMVREF2"),
413 MTK_FUNCTION(3, "SDA7"),
414 MTK_FUNCTION(4, "SDA6"),
415 MTK_FUNCTION(7, "DBG_MON_A25")
419 MTK_EINT_FUNCTION(0, 36),
421 MTK_FUNCTION(0, "GPIO36"),
422 MTK_FUNCTION(1, "RTC32K_CK"),
423 MTK_FUNCTION(7, "DBG_MON_A27")
427 MTK_EINT_FUNCTION(0, 37),
429 MTK_FUNCTION(0, "GPIO37"),
430 MTK_FUNCTION(1, "WATCHDOG"),
431 MTK_FUNCTION(7, "DBG_MON_A28")
435 MTK_EINT_FUNCTION(0, 38),
437 MTK_FUNCTION(0, "GPIO38"),
438 MTK_FUNCTION(1, "SRCLKENA0"),
439 MTK_FUNCTION(7, "DBG_MON_A29")
443 MTK_EINT_FUNCTION(0, 39),
445 MTK_FUNCTION(0, "GPIO39"),
446 MTK_FUNCTION(1, "SRCLKENA1"),
447 MTK_FUNCTION(2, "DMIC2_DAT_R"),
448 MTK_FUNCTION(7, "DBG_MON_A30")
452 MTK_EINT_FUNCTION(0, 40),
454 MTK_FUNCTION(0, "GPIO40"),
455 MTK_FUNCTION(1, "PWRAP_SPI0_CSN"),
456 MTK_FUNCTION(3, "SPIM3_CSB"),
457 MTK_FUNCTION(7, "DBG_MON_A31")
461 MTK_EINT_FUNCTION(0, 41),
463 MTK_FUNCTION(0, "GPIO41"),
464 MTK_FUNCTION(1, "PWRAP_SPI0_CK"),
465 MTK_FUNCTION(3, "SPIM3_CLK"),
466 MTK_FUNCTION(7, "DBG_MON_A32")
470 MTK_EINT_FUNCTION(0, 42),
472 MTK_FUNCTION(0, "GPIO42"),
473 MTK_FUNCTION(1, "PWRAP_SPI0_MO"),
474 MTK_FUNCTION(2, "PWRAP_SPI0_MI"),
475 MTK_FUNCTION(3, "SPIM3_MO"),
476 MTK_FUNCTION(7, "DBG_MON_B0")
480 MTK_EINT_FUNCTION(0, 43),
482 MTK_FUNCTION(0, "GPIO43"),
483 MTK_FUNCTION(1, "PWRAP_SPI0_MI"),
484 MTK_FUNCTION(2, "PWRAP_SPI0_MO"),
485 MTK_FUNCTION(3, "SPIM3_MI"),
486 MTK_FUNCTION(7, "DBG_MON_B1")
490 MTK_EINT_FUNCTION(0, 44),
492 MTK_FUNCTION(0, "GPIO44"),
493 MTK_FUNCTION(1, "SPMI_M_SCL"),
494 MTK_FUNCTION(2, "I2SI00_DATA1"),
495 MTK_FUNCTION(3, "SCL5"),
496 MTK_FUNCTION(4, "UTXD5"),
497 MTK_FUNCTION(7, "DBG_MON_B2")
501 MTK_EINT_FUNCTION(0, 45),
503 MTK_FUNCTION(0, "GPIO45"),
504 MTK_FUNCTION(1, "SPMI_M_SDA"),
505 MTK_FUNCTION(2, "I2SI00_DATA2"),
506 MTK_FUNCTION(3, "SDA5"),
507 MTK_FUNCTION(4, "URXD5"),
508 MTK_FUNCTION(7, "DBG_MON_B3")
512 MTK_EINT_FUNCTION(0, 46),
514 MTK_FUNCTION(0, "GPIO46"),
515 MTK_FUNCTION(1, "I2SIN_MCK"),
516 MTK_FUNCTION(2, "I2SI00_DATA3"),
517 MTK_FUNCTION(3, "SPLIN_MCK"),
518 MTK_FUNCTION(7, "DBG_MON_B4")
522 MTK_EINT_FUNCTION(0, 47),
524 MTK_FUNCTION(0, "GPIO47"),
525 MTK_FUNCTION(1, "I2SIN_BCK"),
526 MTK_FUNCTION(2, "I2SIN0_BCK"),
527 MTK_FUNCTION(3, "SPLIN_LRCK"),
528 MTK_FUNCTION(7, "DBG_MON_B5")
532 MTK_EINT_FUNCTION(0, 48),
534 MTK_FUNCTION(0, "GPIO48"),
535 MTK_FUNCTION(1, "I2SIN_WS"),
536 MTK_FUNCTION(2, "I2SIN0_LRCK"),
537 MTK_FUNCTION(3, "SPLIN_BCK"),
538 MTK_FUNCTION(7, "DBG_MON_B6")
542 MTK_EINT_FUNCTION(0, 49),
544 MTK_FUNCTION(0, "GPIO49"),
545 MTK_FUNCTION(1, "I2SIN_D0"),
546 MTK_FUNCTION(2, "I2SI00_DATA0"),
547 MTK_FUNCTION(3, "SPLIN_D0"),
548 MTK_FUNCTION(7, "DBG_MON_B7")
552 MTK_EINT_FUNCTION(0, 50),
554 MTK_FUNCTION(0, "GPIO50"),
555 MTK_FUNCTION(1, "I2SO1_MCK"),
556 MTK_FUNCTION(2, "I2SI5_D0"),
557 MTK_FUNCTION(4, "I2SO4_MCK"),
558 MTK_FUNCTION(7, "DBG_MON_B8")
562 MTK_EINT_FUNCTION(0, 51),
564 MTK_FUNCTION(0, "GPIO51"),
565 MTK_FUNCTION(1, "I2SO1_BCK"),
566 MTK_FUNCTION(2, "I2SI5_BCK"),
567 MTK_FUNCTION(7, "DBG_MON_B9")
571 MTK_EINT_FUNCTION(0, 52),
573 MTK_FUNCTION(0, "GPIO52"),
574 MTK_FUNCTION(1, "I2SO1_WS"),
575 MTK_FUNCTION(2, "I2SI5_WS"),
576 MTK_FUNCTION(7, "DBG_MON_B10")
580 MTK_EINT_FUNCTION(0, 53),
582 MTK_FUNCTION(0, "GPIO53"),
583 MTK_FUNCTION(1, "I2SO1_D0"),
584 MTK_FUNCTION(2, "I2SI5_MCK"),
585 MTK_FUNCTION(7, "DBG_MON_B11")
589 MTK_EINT_FUNCTION(0, 54),
591 MTK_FUNCTION(0, "GPIO54"),
592 MTK_FUNCTION(1, "I2SO1_D1"),
593 MTK_FUNCTION(2, "I2SI01_DATA1"),
594 MTK_FUNCTION(3, "SPLIN_D1"),
595 MTK_FUNCTION(4, "I2SO4_BCK"),
596 MTK_FUNCTION(7, "DBG_MON_B12")
600 MTK_EINT_FUNCTION(0, 55),
602 MTK_FUNCTION(0, "GPIO55"),
603 MTK_FUNCTION(1, "I2SO1_D2"),
604 MTK_FUNCTION(2, "I2SI01_DATA2"),
605 MTK_FUNCTION(3, "SPLIN_D2"),
606 MTK_FUNCTION(4, "I2SO4_WS"),
607 MTK_FUNCTION(7, "DBG_MON_B13")
611 MTK_EINT_FUNCTION(0, 56),
613 MTK_FUNCTION(0, "GPIO56"),
614 MTK_FUNCTION(1, "I2SO1_D3"),
615 MTK_FUNCTION(2, "I2SI01_DATA3"),
616 MTK_FUNCTION(3, "SPLIN_D3"),
617 MTK_FUNCTION(4, "I2SO4_D0"),
618 MTK_FUNCTION(7, "DBG_MON_B14")
622 MTK_EINT_FUNCTION(0, 57),
624 MTK_FUNCTION(0, "GPIO57"),
625 MTK_FUNCTION(1, "I2SO2_MCK"),
626 MTK_FUNCTION(2, "I2SO1_D12"),
627 MTK_FUNCTION(3, "LCM1_RST"),
628 MTK_FUNCTION(7, "DBG_MON_B15")
632 MTK_EINT_FUNCTION(0, 58),
634 MTK_FUNCTION(0, "GPIO58"),
635 MTK_FUNCTION(1, "I2SO2_BCK"),
636 MTK_FUNCTION(2, "I2SO1_D13"),
637 MTK_FUNCTION(3, "I2SIN1_BCK"),
638 MTK_FUNCTION(7, "DBG_MON_B16")
642 MTK_EINT_FUNCTION(0, 59),
644 MTK_FUNCTION(0, "GPIO59"),
645 MTK_FUNCTION(1, "I2SO2_WS"),
646 MTK_FUNCTION(2, "I2SO1_D14"),
647 MTK_FUNCTION(3, "I2SIN1_LRCK"),
648 MTK_FUNCTION(7, "DBG_MON_B17")
652 MTK_EINT_FUNCTION(0, 60),
654 MTK_FUNCTION(0, "GPIO60"),
655 MTK_FUNCTION(1, "I2SO2_D0"),
656 MTK_FUNCTION(2, "I2SO1_D15"),
657 MTK_FUNCTION(3, "I2SI01_DATA0"),
658 MTK_FUNCTION(7, "DBG_MON_B18")
662 MTK_EINT_FUNCTION(0, 61),
664 MTK_FUNCTION(0, "GPIO61"),
665 MTK_FUNCTION(1, "DMIC1_CLK"),
666 MTK_FUNCTION(2, "I2SO2_BCK"),
667 MTK_FUNCTION(3, "SCP_SPI2_CK"),
668 MTK_FUNCTION(7, "DBG_MON_B19")
672 MTK_EINT_FUNCTION(0, 62),
674 MTK_FUNCTION(0, "GPIO62"),
675 MTK_FUNCTION(1, "DMIC1_DAT"),
676 MTK_FUNCTION(2, "I2SO2_WS"),
677 MTK_FUNCTION(3, "SCP_SPI2_MI"),
678 MTK_FUNCTION(7, "DBG_MON_B20")
682 MTK_EINT_FUNCTION(0, 63),
684 MTK_FUNCTION(0, "GPIO63"),
685 MTK_FUNCTION(1, "DMIC2_CLK"),
686 MTK_FUNCTION(2, "VBUSVALID"),
687 MTK_FUNCTION(3, "SCP_SPI2_MO"),
688 MTK_FUNCTION(4, "SCP_SCL2"),
689 MTK_FUNCTION(5, "SCP_JTAG1_TDO"),
690 MTK_FUNCTION(6, "JTDO_SEL1"),
691 MTK_FUNCTION(7, "DBG_MON_B21")
695 MTK_EINT_FUNCTION(0, 64),
697 MTK_FUNCTION(0, "GPIO64"),
698 MTK_FUNCTION(1, "DMIC2_DAT"),
699 MTK_FUNCTION(2, "VBUSVALID_1P"),
700 MTK_FUNCTION(3, "SCP_SPI2_CS"),
701 MTK_FUNCTION(4, "SCP_SDA2"),
702 MTK_FUNCTION(7, "DBG_MON_B22")
706 MTK_EINT_FUNCTION(0, 65),
708 MTK_FUNCTION(0, "GPIO65"),
709 MTK_FUNCTION(1, "PCM_DO"),
710 MTK_FUNCTION(2, "AUXIF_ST0"),
711 MTK_FUNCTION(3, "UCTS2"),
712 MTK_FUNCTION(5, "SCP_JTAG1_TMS"),
713 MTK_FUNCTION(6, "JTMS_SEL1"),
714 MTK_FUNCTION(7, "DBG_MON_B23")
718 MTK_EINT_FUNCTION(0, 66),
720 MTK_FUNCTION(0, "GPIO66"),
721 MTK_FUNCTION(1, "PCM_CLK"),
722 MTK_FUNCTION(2, "AUXIF_CLK0"),
723 MTK_FUNCTION(3, "URTS2"),
724 MTK_FUNCTION(5, "SCP_JTAG1_TCK"),
725 MTK_FUNCTION(6, "JTCK_SEL1"),
726 MTK_FUNCTION(7, "DBG_MON_B24")
730 MTK_EINT_FUNCTION(0, 67),
732 MTK_FUNCTION(0, "GPIO67"),
733 MTK_FUNCTION(1, "PCM_DI"),
734 MTK_FUNCTION(2, "AUXIF_ST1"),
735 MTK_FUNCTION(3, "UTXD2"),
736 MTK_FUNCTION(5, "SCP_JTAG1_TRSTN"),
737 MTK_FUNCTION(6, "JTRSTn_SEL1"),
738 MTK_FUNCTION(7, "DBG_MON_B25")
742 MTK_EINT_FUNCTION(0, 68),
744 MTK_FUNCTION(0, "GPIO68"),
745 MTK_FUNCTION(1, "PCM_SYNC"),
746 MTK_FUNCTION(2, "AUXIF_CLK1"),
747 MTK_FUNCTION(3, "URXD2"),
748 MTK_FUNCTION(5, "SCP_JTAG1_TDI"),
749 MTK_FUNCTION(6, "JTDI_SEL1"),
750 MTK_FUNCTION(7, "DBG_MON_B26")
754 MTK_EINT_FUNCTION(0, 69),
756 MTK_FUNCTION(0, "GPIO69"),
757 MTK_FUNCTION(1, "AUD_CLK_MOSI"),
758 MTK_FUNCTION(2, "I2SIN2_BCK"),
759 MTK_FUNCTION(3, "PWM_0"),
760 MTK_FUNCTION(4, "WAKEN"),
761 MTK_FUNCTION(7, "DBG_MON_B27")
765 MTK_EINT_FUNCTION(0, 70),
767 MTK_FUNCTION(0, "GPIO70"),
768 MTK_FUNCTION(1, "AUD_SYNC_MOSI"),
769 MTK_FUNCTION(2, "I2SIN2_LRCK"),
770 MTK_FUNCTION(3, "PWM_1"),
771 MTK_FUNCTION(4, "PERSTN"),
772 MTK_FUNCTION(7, "DBG_MON_B28")
776 MTK_EINT_FUNCTION(0, 71),
778 MTK_FUNCTION(0, "GPIO71"),
779 MTK_FUNCTION(1, "AUD_DAT_MOSI0"),
780 MTK_FUNCTION(2, "IDDIG_2P"),
781 MTK_FUNCTION(3, "PWM_2"),
782 MTK_FUNCTION(4, "CLKREQN"),
783 MTK_FUNCTION(7, "DBG_MON_B29")
787 MTK_EINT_FUNCTION(0, 72),
789 MTK_FUNCTION(0, "GPIO72"),
790 MTK_FUNCTION(1, "AUD_DAT_MOSI1"),
791 MTK_FUNCTION(2, "USB_DRVVBUS_2P"),
792 MTK_FUNCTION(3, "PWM_3"),
793 MTK_FUNCTION(4, "PERSTN_1"),
794 MTK_FUNCTION(7, "DBG_MON_B30")
798 MTK_EINT_FUNCTION(0, 73),
800 MTK_FUNCTION(0, "GPIO73"),
801 MTK_FUNCTION(1, "AUD_DAT_MISO0"),
802 MTK_FUNCTION(2, "I2SI02_DATA0"),
803 MTK_FUNCTION(4, "CLKREQN_1"),
804 MTK_FUNCTION(5, "VOW_DAT_MISO"),
805 MTK_FUNCTION(7, "DBG_MON_B31")
809 MTK_EINT_FUNCTION(0, 74),
811 MTK_FUNCTION(0, "GPIO74"),
812 MTK_FUNCTION(1, "AUD_DAT_MISO1"),
813 MTK_FUNCTION(2, "I2SI02_DATA1"),
814 MTK_FUNCTION(4, "WAKEN_1"),
815 MTK_FUNCTION(5, "VOW_CLK_MISO"),
816 MTK_FUNCTION(7, "DBG_MON_B32")
820 MTK_EINT_FUNCTION(0, 75),
822 MTK_FUNCTION(0, "GPIO75"),
823 MTK_FUNCTION(1, "AUD_DAT_MISO2"),
824 MTK_FUNCTION(2, "I2SI02_DATA2")
828 MTK_EINT_FUNCTION(0, 76),
830 MTK_FUNCTION(0, "GPIO76"),
831 MTK_FUNCTION(1, "SCP_VREQ_VAO"),
832 MTK_FUNCTION(2, "I2SI02_DATA3"),
833 MTK_FUNCTION(7, "DBG_MON_A26")
837 MTK_EINT_FUNCTION(0, 77),
839 MTK_FUNCTION(0, "GPIO77"),
840 MTK_FUNCTION(1, "DGI_D0"),
841 MTK_FUNCTION(2, "DPI_D0"),
842 MTK_FUNCTION(3, "I2SI4_MCK"),
843 MTK_FUNCTION(4, "SPIM4_CLK"),
844 MTK_FUNCTION(5, "GBE_TXD3"),
845 MTK_FUNCTION(6, "SPM_JTAG_TCK")
849 MTK_EINT_FUNCTION(0, 78),
851 MTK_FUNCTION(0, "GPIO78"),
852 MTK_FUNCTION(1, "DGI_D1"),
853 MTK_FUNCTION(2, "DPI_D1"),
854 MTK_FUNCTION(3, "I2SI4_BCK"),
855 MTK_FUNCTION(4, "SPIM4_MO"),
856 MTK_FUNCTION(5, "GBE_TXD2"),
857 MTK_FUNCTION(6, "SPM_JTAG_TMS")
861 MTK_EINT_FUNCTION(0, 79),
863 MTK_FUNCTION(0, "GPIO79"),
864 MTK_FUNCTION(1, "DGI_D2"),
865 MTK_FUNCTION(2, "DPI_D2"),
866 MTK_FUNCTION(3, "I2SI4_WS"),
867 MTK_FUNCTION(4, "SPIM4_CSB"),
868 MTK_FUNCTION(5, "GBE_TXD1"),
869 MTK_FUNCTION(6, "SPM_JTAG_TDI")
873 MTK_EINT_FUNCTION(0, 80),
875 MTK_FUNCTION(0, "GPIO80"),
876 MTK_FUNCTION(1, "DGI_D3"),
877 MTK_FUNCTION(2, "DPI_D3"),
878 MTK_FUNCTION(3, "I2SI4_D0"),
879 MTK_FUNCTION(4, "SPIM4_MI"),
880 MTK_FUNCTION(5, "GBE_TXD0"),
881 MTK_FUNCTION(6, "SPM_JTAG_TDO")
885 MTK_EINT_FUNCTION(0, 81),
887 MTK_FUNCTION(0, "GPIO81"),
888 MTK_FUNCTION(1, "DGI_D4"),
889 MTK_FUNCTION(2, "DPI_D4"),
890 MTK_FUNCTION(3, "I2SI5_MCK"),
891 MTK_FUNCTION(4, "SPIM5_CLK"),
892 MTK_FUNCTION(5, "GBE_RXD3"),
893 MTK_FUNCTION(6, "SPM_JTAG_TRSTN")
897 MTK_EINT_FUNCTION(0, 82),
899 MTK_FUNCTION(0, "GPIO82"),
900 MTK_FUNCTION(1, "DGI_D5"),
901 MTK_FUNCTION(2, "DPI_D5"),
902 MTK_FUNCTION(3, "I2SI5_BCK"),
903 MTK_FUNCTION(4, "SPIM5_MO"),
904 MTK_FUNCTION(5, "GBE_RXD2"),
905 MTK_FUNCTION(6, "MCUPM_JTAG_TDO")
909 MTK_EINT_FUNCTION(0, 83),
911 MTK_FUNCTION(0, "GPIO83"),
912 MTK_FUNCTION(1, "DGI_D6"),
913 MTK_FUNCTION(2, "DPI_D6"),
914 MTK_FUNCTION(3, "I2SI5_WS"),
915 MTK_FUNCTION(4, "SPIM5_CSB"),
916 MTK_FUNCTION(5, "GBE_RXD1"),
917 MTK_FUNCTION(6, "MCUPM_JTAG_TMS")
921 MTK_EINT_FUNCTION(0, 84),
923 MTK_FUNCTION(0, "GPIO84"),
924 MTK_FUNCTION(1, "DGI_D7"),
925 MTK_FUNCTION(2, "DPI_D7"),
926 MTK_FUNCTION(3, "I2SI5_D0"),
927 MTK_FUNCTION(4, "SPIM5_MI"),
928 MTK_FUNCTION(5, "GBE_RXD0"),
929 MTK_FUNCTION(6, "MCUPM_JTAG_TCK")
933 MTK_EINT_FUNCTION(0, 85),
935 MTK_FUNCTION(0, "GPIO85"),
936 MTK_FUNCTION(1, "DGI_D8"),
937 MTK_FUNCTION(2, "DPI_D8"),
938 MTK_FUNCTION(3, "I2SO4_MCK"),
939 MTK_FUNCTION(4, "SCP_SPI1_B_CK"),
940 MTK_FUNCTION(5, "GBE_TXC"),
941 MTK_FUNCTION(6, "MCUPM_JTAG_TDI")
945 MTK_EINT_FUNCTION(0, 86),
947 MTK_FUNCTION(0, "GPIO86"),
948 MTK_FUNCTION(1, "DGI_D9"),
949 MTK_FUNCTION(2, "DPI_D9"),
950 MTK_FUNCTION(3, "I2SO4_BCK"),
951 MTK_FUNCTION(4, "SCP_SPI1_B_MI"),
952 MTK_FUNCTION(5, "GBE_RXC"),
953 MTK_FUNCTION(6, "MCUPM_JTAG_TRSTN")
957 MTK_EINT_FUNCTION(0, 87),
959 MTK_FUNCTION(0, "GPIO87"),
960 MTK_FUNCTION(1, "DGI_D10"),
961 MTK_FUNCTION(2, "DPI_D10"),
962 MTK_FUNCTION(3, "I2SO4_WS"),
963 MTK_FUNCTION(4, "SCP_SPI1_B_CS"),
964 MTK_FUNCTION(5, "GBE_RXDV"),
965 MTK_FUNCTION(6, "SSPM_JTAG_TDO")
969 MTK_EINT_FUNCTION(0, 88),
971 MTK_FUNCTION(0, "GPIO88"),
972 MTK_FUNCTION(1, "DGI_D11"),
973 MTK_FUNCTION(2, "DPI_D11"),
974 MTK_FUNCTION(3, "I2SO4_D0"),
975 MTK_FUNCTION(4, "SCP_SPI1_B_MO"),
976 MTK_FUNCTION(5, "GBE_TXEN"),
977 MTK_FUNCTION(6, "SSPM_JTAG_TMS")
981 MTK_EINT_FUNCTION(0, 89),
983 MTK_FUNCTION(0, "GPIO89"),
984 MTK_FUNCTION(1, "DGI_D12"),
985 MTK_FUNCTION(2, "DPI_D12"),
986 MTK_FUNCTION(3, "MSDC2_CMD_A"),
987 MTK_FUNCTION(4, "I2SO5_BCK"),
988 MTK_FUNCTION(5, "GBE_MDC"),
989 MTK_FUNCTION(6, "SSPM_JTAG_TCK")
993 MTK_EINT_FUNCTION(0, 90),
995 MTK_FUNCTION(0, "GPIO90"),
996 MTK_FUNCTION(1, "DGI_D13"),
997 MTK_FUNCTION(2, "DPI_D13"),
998 MTK_FUNCTION(3, "MSDC2_CLK_A"),
999 MTK_FUNCTION(4, "I2SO5_WS"),
1000 MTK_FUNCTION(5, "GBE_MDIO"),
1001 MTK_FUNCTION(6, "SSPM_JTAG_TDI")
1005 MTK_EINT_FUNCTION(0, 91),
1007 MTK_FUNCTION(0, "GPIO91"),
1008 MTK_FUNCTION(1, "DGI_D14"),
1009 MTK_FUNCTION(2, "DPI_D14"),
1010 MTK_FUNCTION(3, "MSDC2_DAT3_A"),
1011 MTK_FUNCTION(4, "I2SO5_D0"),
1012 MTK_FUNCTION(5, "GBE_TXER"),
1013 MTK_FUNCTION(6, "SSPM_JTAG_TRSTN")
1017 MTK_EINT_FUNCTION(0, 92),
1019 MTK_FUNCTION(0, "GPIO92"),
1020 MTK_FUNCTION(1, "DGI_D15"),
1021 MTK_FUNCTION(2, "DPI_D15"),
1022 MTK_FUNCTION(3, "MSDC2_DAT0_A"),
1023 MTK_FUNCTION(4, "I2SO2_D1"),
1024 MTK_FUNCTION(5, "GBE_RXER"),
1025 MTK_FUNCTION(6, "CCU0_JTAG_TDO")
1029 MTK_EINT_FUNCTION(0, 93),
1031 MTK_FUNCTION(0, "GPIO93"),
1032 MTK_FUNCTION(1, "DGI_HSYNC"),
1033 MTK_FUNCTION(2, "DPI_HSYNC"),
1034 MTK_FUNCTION(3, "MSDC2_DAT2_A"),
1035 MTK_FUNCTION(4, "I2SO2_D2"),
1036 MTK_FUNCTION(5, "GBE_COL"),
1037 MTK_FUNCTION(6, "CCU0_JTAG_TMS")
1041 MTK_EINT_FUNCTION(0, 94),
1043 MTK_FUNCTION(0, "GPIO94"),
1044 MTK_FUNCTION(1, "DGI_VSYNC"),
1045 MTK_FUNCTION(2, "DPI_VSYNC"),
1046 MTK_FUNCTION(3, "MSDC2_DAT1_A"),
1047 MTK_FUNCTION(4, "I2SO2_D3"),
1048 MTK_FUNCTION(5, "GBE_INTR"),
1049 MTK_FUNCTION(6, "CCU0_JTAG_TDI")
1053 MTK_EINT_FUNCTION(0, 95),
1055 MTK_FUNCTION(0, "GPIO95"),
1056 MTK_FUNCTION(1, "DGI_DE"),
1057 MTK_FUNCTION(2, "DPI_DE"),
1058 MTK_FUNCTION(3, "UTXD2"),
1059 MTK_FUNCTION(5, "I2SIN_D1"),
1060 MTK_FUNCTION(6, "CCU0_JTAG_TCK")
1064 MTK_EINT_FUNCTION(0, 96),
1066 MTK_FUNCTION(0, "GPIO96"),
1067 MTK_FUNCTION(1, "DGI_CK"),
1068 MTK_FUNCTION(2, "DPI_CK"),
1069 MTK_FUNCTION(3, "URXD2"),
1070 MTK_FUNCTION(4, "I2SO5_MCK"),
1071 MTK_FUNCTION(5, "I2SIN_D2"),
1072 MTK_FUNCTION(6, "CCU0_JTAG_TRST")
1076 MTK_EINT_FUNCTION(0, 97),
1078 MTK_FUNCTION(0, "GPIO97"),
1079 MTK_FUNCTION(1, "DISP_PWM0"),
1080 MTK_FUNCTION(2, "DVFSRC_EXT_REQ")
1084 MTK_EINT_FUNCTION(0, 98),
1086 MTK_FUNCTION(0, "GPIO98"),
1087 MTK_FUNCTION(1, "UTXD0")
1091 MTK_EINT_FUNCTION(0, 99),
1093 MTK_FUNCTION(0, "GPIO99"),
1094 MTK_FUNCTION(1, "URXD0")
1098 MTK_EINT_FUNCTION(0, 100),
1100 MTK_FUNCTION(0, "GPIO100"),
1101 MTK_FUNCTION(1, "URTS1"),
1102 MTK_FUNCTION(2, "DSI_TE"),
1103 MTK_FUNCTION(3, "I2SO1_D8"),
1104 MTK_FUNCTION(4, "KPROW2"),
1105 MTK_FUNCTION(5, "PWM_0"),
1106 MTK_FUNCTION(6, "TP_URTS1_AO"),
1107 MTK_FUNCTION(7, "I2SIN_D0")
1111 MTK_EINT_FUNCTION(0, 101),
1113 MTK_FUNCTION(0, "GPIO101"),
1114 MTK_FUNCTION(1, "UCTS1"),
1115 MTK_FUNCTION(2, "DSI1_TE"),
1116 MTK_FUNCTION(3, "I2SO1_D9"),
1117 MTK_FUNCTION(4, "KPCOL2"),
1118 MTK_FUNCTION(5, "PWM_1"),
1119 MTK_FUNCTION(6, "TP_UCTS1_AO"),
1120 MTK_FUNCTION(7, "I2SIN_D1")
1124 MTK_EINT_FUNCTION(0, 102),
1126 MTK_FUNCTION(0, "GPIO102"),
1127 MTK_FUNCTION(1, "UTXD1"),
1128 MTK_FUNCTION(2, "VBUSVALID_2P"),
1129 MTK_FUNCTION(3, "I2SO1_D10"),
1130 MTK_FUNCTION(4, "SSPM_UTXD_AO"),
1131 MTK_FUNCTION(5, "TP_UTXD1_AO"),
1132 MTK_FUNCTION(6, "MD32_1_TXD"),
1133 MTK_FUNCTION(7, "I2SIN_D2")
1137 MTK_EINT_FUNCTION(0, 103),
1139 MTK_FUNCTION(0, "GPIO103"),
1140 MTK_FUNCTION(1, "URXD1"),
1141 MTK_FUNCTION(2, "VBUSVALID_3P"),
1142 MTK_FUNCTION(3, "I2SO1_D11"),
1143 MTK_FUNCTION(4, "SSPM_URXD_AO"),
1144 MTK_FUNCTION(5, "TP_URXD1_AO"),
1145 MTK_FUNCTION(6, "MD32_1_RXD"),
1146 MTK_FUNCTION(7, "I2SIN_D3")
1150 MTK_EINT_FUNCTION(0, 104),
1152 MTK_FUNCTION(0, "GPIO104"),
1153 MTK_FUNCTION(1, "KPROW0"),
1154 MTK_FUNCTION(2, "DISP_PWM1")
1158 MTK_EINT_FUNCTION(0, 105),
1160 MTK_FUNCTION(0, "GPIO105"),
1161 MTK_FUNCTION(1, "KPROW1"),
1162 MTK_FUNCTION(2, "EDP_TX_HPD"),
1163 MTK_FUNCTION(3, "PWM_2")
1167 MTK_EINT_FUNCTION(0, 106),
1169 MTK_FUNCTION(0, "GPIO106"),
1170 MTK_FUNCTION(1, "KPCOL0")
1174 MTK_EINT_FUNCTION(0, 107),
1176 MTK_FUNCTION(0, "GPIO107"),
1177 MTK_FUNCTION(1, "KPCOL1"),
1178 MTK_FUNCTION(2, "DSI1_TE"),
1179 MTK_FUNCTION(3, "PWM_3"),
1180 MTK_FUNCTION(4, "SCP_SCL3"),
1181 MTK_FUNCTION(5, "I2SIN_MCK")
1185 MTK_EINT_FUNCTION(0, 108),
1187 MTK_FUNCTION(0, "GPIO108"),
1188 MTK_FUNCTION(1, "LCM_RST"),
1189 MTK_FUNCTION(2, "KPCOL1"),
1190 MTK_FUNCTION(4, "SCP_SDA3"),
1191 MTK_FUNCTION(5, "I2SIN_BCK")
1195 MTK_EINT_FUNCTION(0, 109),
1197 MTK_FUNCTION(0, "GPIO109"),
1198 MTK_FUNCTION(1, "DSI_TE"),
1199 MTK_FUNCTION(2, "I2SIN_D3"),
1200 MTK_FUNCTION(5, "I2SIN_WS")
1204 MTK_EINT_FUNCTION(0, 110),
1206 MTK_FUNCTION(0, "GPIO110"),
1207 MTK_FUNCTION(1, "MSDC1_CMD"),
1208 MTK_FUNCTION(2, "JTMS_SEL3"),
1209 MTK_FUNCTION(3, "UDI_TMS"),
1210 MTK_FUNCTION(5, "CCU1_JTAG_TMS"),
1211 MTK_FUNCTION(6, "IPU_JTAG_TMS")
1215 MTK_EINT_FUNCTION(0, 111),
1217 MTK_FUNCTION(0, "GPIO111"),
1218 MTK_FUNCTION(1, "MSDC1_CLK"),
1219 MTK_FUNCTION(2, "JTCK_SEL3"),
1220 MTK_FUNCTION(3, "UDI_TCK"),
1221 MTK_FUNCTION(5, "CCU1_JTAG_TCK"),
1222 MTK_FUNCTION(6, "IPU_JTAG_TCK")
1226 MTK_EINT_FUNCTION(0, 112),
1228 MTK_FUNCTION(0, "GPIO112"),
1229 MTK_FUNCTION(1, "MSDC1_DAT0"),
1230 MTK_FUNCTION(2, "JTDI_SEL3"),
1231 MTK_FUNCTION(3, "UDI_TDI"),
1232 MTK_FUNCTION(4, "I2SO2_D0"),
1233 MTK_FUNCTION(5, "CCU1_JTAG_TDI"),
1234 MTK_FUNCTION(6, "IPU_JTAG_TDI")
1238 MTK_EINT_FUNCTION(0, 113),
1240 MTK_FUNCTION(0, "GPIO113"),
1241 MTK_FUNCTION(1, "MSDC1_DAT1"),
1242 MTK_FUNCTION(2, "JTDO_SEL3"),
1243 MTK_FUNCTION(3, "UDI_TDO"),
1244 MTK_FUNCTION(4, "I2SO2_D1"),
1245 MTK_FUNCTION(5, "CCU1_JTAG_TDO"),
1246 MTK_FUNCTION(6, "IPU_JTAG_TDO")
1250 MTK_EINT_FUNCTION(0, 114),
1252 MTK_FUNCTION(0, "GPIO114"),
1253 MTK_FUNCTION(1, "MSDC1_DAT2"),
1254 MTK_FUNCTION(2, "JTRSTn_SEL3"),
1255 MTK_FUNCTION(3, "UDI_NTRST"),
1256 MTK_FUNCTION(4, "I2SO2_D2"),
1257 MTK_FUNCTION(5, "CCU1_JTAG_TRST"),
1258 MTK_FUNCTION(6, "IPU_JTAG_TRST")
1262 MTK_EINT_FUNCTION(0, 115),
1264 MTK_FUNCTION(0, "GPIO115"),
1265 MTK_FUNCTION(1, "MSDC1_DAT3"),
1266 MTK_FUNCTION(4, "I2SO2_D3"),
1267 MTK_FUNCTION(6, "MD32_1_GPIO2")
1271 MTK_EINT_FUNCTION(0, 116),
1273 MTK_FUNCTION(0, "GPIO116"),
1274 MTK_FUNCTION(1, "MSDC0_DAT7")
1278 MTK_EINT_FUNCTION(0, 117),
1280 MTK_FUNCTION(0, "GPIO117"),
1281 MTK_FUNCTION(1, "MSDC0_DAT6")
1285 MTK_EINT_FUNCTION(0, 118),
1287 MTK_FUNCTION(0, "GPIO118"),
1288 MTK_FUNCTION(1, "MSDC0_DAT5")
1292 MTK_EINT_FUNCTION(0, 119),
1294 MTK_FUNCTION(0, "GPIO119"),
1295 MTK_FUNCTION(1, "MSDC0_DAT4")
1299 MTK_EINT_FUNCTION(0, 120),
1301 MTK_FUNCTION(0, "GPIO120"),
1302 MTK_FUNCTION(1, "MSDC0_RSTB")
1306 MTK_EINT_FUNCTION(0, 121),
1308 MTK_FUNCTION(0, "GPIO121"),
1309 MTK_FUNCTION(1, "MSDC0_CMD")
1313 MTK_EINT_FUNCTION(0, 122),
1315 MTK_FUNCTION(0, "GPIO122"),
1316 MTK_FUNCTION(1, "MSDC0_CLK")
1320 MTK_EINT_FUNCTION(0, 123),
1322 MTK_FUNCTION(0, "GPIO123"),
1323 MTK_FUNCTION(1, "MSDC0_DAT3")
1327 MTK_EINT_FUNCTION(0, 124),
1329 MTK_FUNCTION(0, "GPIO124"),
1330 MTK_FUNCTION(1, "MSDC0_DAT2")
1334 MTK_EINT_FUNCTION(0, 125),
1336 MTK_FUNCTION(0, "GPIO125"),
1337 MTK_FUNCTION(1, "MSDC0_DAT1")
1341 MTK_EINT_FUNCTION(0, 126),
1343 MTK_FUNCTION(0, "GPIO126"),
1344 MTK_FUNCTION(1, "MSDC0_DAT0")
1348 MTK_EINT_FUNCTION(0, 127),
1350 MTK_FUNCTION(0, "GPIO127"),
1351 MTK_FUNCTION(1, "MSDC0_DSL")
1355 MTK_EINT_FUNCTION(0, 128),
1357 MTK_FUNCTION(0, "GPIO128"),
1358 MTK_FUNCTION(1, "IDDIG"),
1359 MTK_FUNCTION(2, "UCTS2"),
1360 MTK_FUNCTION(3, "UTXD5"),
1361 MTK_FUNCTION(4, "UFS_MPHY_SCL"),
1362 MTK_FUNCTION(5, "mbistreaden_trigger"),
1363 MTK_FUNCTION(6, "MD32_1_GPIO0"),
1364 MTK_FUNCTION(7, "SCP_SCL2")
1368 MTK_EINT_FUNCTION(0, 129),
1370 MTK_FUNCTION(0, "GPIO129"),
1371 MTK_FUNCTION(1, "USB_DRVVBUS"),
1372 MTK_FUNCTION(2, "URTS2"),
1373 MTK_FUNCTION(3, "URXD5"),
1374 MTK_FUNCTION(4, "UFS_MPHY_SDA"),
1375 MTK_FUNCTION(5, "mbistwriteen_trigger"),
1376 MTK_FUNCTION(6, "MD32_1_GPIO1"),
1377 MTK_FUNCTION(7, "SCP_SDA2")
1381 MTK_EINT_FUNCTION(0, 130),
1383 MTK_FUNCTION(0, "GPIO130"),
1384 MTK_FUNCTION(1, "IDDIG_1P"),
1385 MTK_FUNCTION(2, "SPINOR_IO2"),
1386 MTK_FUNCTION(3, "SNFI_WP"),
1387 MTK_FUNCTION(4, "VPU_UDI_NTRST")
1391 MTK_EINT_FUNCTION(0, 131),
1393 MTK_FUNCTION(0, "GPIO131"),
1394 MTK_FUNCTION(1, "USB_DRVVBUS_1P"),
1395 MTK_FUNCTION(2, "SPINOR_IO3"),
1396 MTK_FUNCTION(3, "SNFI_HOLD"),
1397 MTK_FUNCTION(4, "MD32_1_JTAG_TRST"),
1398 MTK_FUNCTION(5, "SCP_JTAG0_TRSTN"),
1399 MTK_FUNCTION(6, "APU_JTAG_TRST")
1403 MTK_EINT_FUNCTION(0, 132),
1405 MTK_FUNCTION(0, "GPIO132"),
1406 MTK_FUNCTION(1, "SPIM0_CSB"),
1407 MTK_FUNCTION(2, "SCP_SPI0_CS"),
1408 MTK_FUNCTION(3, "SPIS0_CSB"),
1409 MTK_FUNCTION(4, "VPU_UDI_TMS"),
1410 MTK_FUNCTION(6, "I2SO5_D0")
1414 MTK_EINT_FUNCTION(0, 133),
1416 MTK_FUNCTION(0, "GPIO133"),
1417 MTK_FUNCTION(1, "SPIM0_CLK"),
1418 MTK_FUNCTION(2, "SCP_SPI0_CK"),
1419 MTK_FUNCTION(3, "SPIS0_CLK"),
1420 MTK_FUNCTION(4, "VPU_UDI_TCK"),
1421 MTK_FUNCTION(6, "I2SO5_BCK")
1425 MTK_EINT_FUNCTION(0, 134),
1427 MTK_FUNCTION(0, "GPIO134"),
1428 MTK_FUNCTION(1, "SPIM0_MO"),
1429 MTK_FUNCTION(2, "SCP_SPI0_MO"),
1430 MTK_FUNCTION(3, "SPIS0_SI"),
1431 MTK_FUNCTION(4, "VPU_UDI_TDO"),
1432 MTK_FUNCTION(6, "I2SO5_WS")
1436 MTK_EINT_FUNCTION(0, 135),
1438 MTK_FUNCTION(0, "GPIO135"),
1439 MTK_FUNCTION(1, "SPIM0_MI"),
1440 MTK_FUNCTION(2, "SCP_SPI0_MI"),
1441 MTK_FUNCTION(3, "SPIS0_SO"),
1442 MTK_FUNCTION(4, "VPU_UDI_TDI"),
1443 MTK_FUNCTION(6, "I2SO5_MCK")
1447 MTK_EINT_FUNCTION(0, 136),
1449 MTK_FUNCTION(0, "GPIO136"),
1450 MTK_FUNCTION(1, "SPIM1_CSB"),
1451 MTK_FUNCTION(2, "SCP_SPI1_A_CS"),
1452 MTK_FUNCTION(3, "SPIS1_CSB"),
1453 MTK_FUNCTION(4, "MD32_1_JTAG_TMS"),
1454 MTK_FUNCTION(5, "SCP_JTAG0_TMS"),
1455 MTK_FUNCTION(6, "APU_JTAG_TMS"),
1456 MTK_FUNCTION(7, "DBG_MON_A15")
1460 MTK_EINT_FUNCTION(0, 137),
1462 MTK_FUNCTION(0, "GPIO137"),
1463 MTK_FUNCTION(1, "SPIM1_CLK"),
1464 MTK_FUNCTION(2, "SCP_SPI1_A_CK"),
1465 MTK_FUNCTION(3, "SPIS1_CLK"),
1466 MTK_FUNCTION(4, "MD32_1_JTAG_TCK"),
1467 MTK_FUNCTION(5, "SCP_JTAG0_TCK"),
1468 MTK_FUNCTION(6, "APU_JTAG_TCK"),
1469 MTK_FUNCTION(7, "DBG_MON_A14")
1473 MTK_EINT_FUNCTION(0, 138),
1475 MTK_FUNCTION(0, "GPIO138"),
1476 MTK_FUNCTION(1, "SPIM1_MO"),
1477 MTK_FUNCTION(2, "SCP_SPI1_A_MO"),
1478 MTK_FUNCTION(3, "SPIS1_SI"),
1479 MTK_FUNCTION(4, "MD32_1_JTAG_TDO"),
1480 MTK_FUNCTION(5, "SCP_JTAG0_TDO"),
1481 MTK_FUNCTION(6, "APU_JTAG_TDO"),
1482 MTK_FUNCTION(7, "DBG_MON_A16")
1486 MTK_EINT_FUNCTION(0, 139),
1488 MTK_FUNCTION(0, "GPIO139"),
1489 MTK_FUNCTION(1, "SPIM1_MI"),
1490 MTK_FUNCTION(2, "SCP_SPI1_A_MI"),
1491 MTK_FUNCTION(3, "SPIS1_SO"),
1492 MTK_FUNCTION(4, "MD32_1_JTAG_TDI"),
1493 MTK_FUNCTION(5, "SCP_JTAG0_TDI"),
1494 MTK_FUNCTION(6, "APU_JTAG_TDI"),
1495 MTK_FUNCTION(7, "DBG_MON_A17")
1499 MTK_EINT_FUNCTION(0, 140),
1501 MTK_FUNCTION(0, "GPIO140"),
1502 MTK_FUNCTION(1, "SPIM2_CSB"),
1503 MTK_FUNCTION(2, "SPINOR_CS"),
1504 MTK_FUNCTION(3, "SNFI_CS"),
1505 MTK_FUNCTION(4, "DMIC3_DAT"),
1506 MTK_FUNCTION(7, "DBG_MON_A11")
1510 MTK_EINT_FUNCTION(0, 141),
1512 MTK_FUNCTION(0, "GPIO141"),
1513 MTK_FUNCTION(1, "SPIM2_CLK"),
1514 MTK_FUNCTION(2, "SPINOR_CK"),
1515 MTK_FUNCTION(3, "SNFI_CLK"),
1516 MTK_FUNCTION(4, "DMIC3_CLK"),
1517 MTK_FUNCTION(7, "DBG_MON_A10")
1521 MTK_EINT_FUNCTION(0, 142),
1523 MTK_FUNCTION(0, "GPIO142"),
1524 MTK_FUNCTION(1, "SPIM2_MO"),
1525 MTK_FUNCTION(2, "SPINOR_IO0"),
1526 MTK_FUNCTION(3, "SNFI_MOSI"),
1527 MTK_FUNCTION(4, "DMIC4_DAT"),
1528 MTK_FUNCTION(7, "DBG_MON_A12")
1532 MTK_EINT_FUNCTION(0, 143),
1534 MTK_FUNCTION(0, "GPIO143"),
1535 MTK_FUNCTION(1, "SPIM2_MI"),
1536 MTK_FUNCTION(2, "SPINOR_IO1"),
1537 MTK_FUNCTION(3, "SNFI_MISO"),
1538 MTK_FUNCTION(4, "DMIC4_CLK"),
1539 MTK_FUNCTION(7, "DBG_MON_A13")
1543 MTK_EINT_FUNCTION(0, 144),
1545 MTK_FUNCTION(0, NULL)
1549 MTK_EINT_FUNCTION(0, 145),
1551 MTK_FUNCTION(0, NULL)
1555 MTK_EINT_FUNCTION(0, 146),
1557 MTK_FUNCTION(0, NULL)
1561 MTK_EINT_FUNCTION(0, 147),
1563 MTK_FUNCTION(0, NULL)
1567 MTK_EINT_FUNCTION(0, 148),
1569 MTK_FUNCTION(0, NULL)
1573 MTK_EINT_FUNCTION(0, 149),
1575 MTK_FUNCTION(0, NULL)
1579 MTK_EINT_FUNCTION(0, 150),
1581 MTK_FUNCTION(0, NULL)
1585 MTK_EINT_FUNCTION(0, 151),
1587 MTK_FUNCTION(0, NULL)
1591 MTK_EINT_FUNCTION(0, 152),
1593 MTK_FUNCTION(0, NULL)
1597 MTK_EINT_FUNCTION(0, 153),
1599 MTK_FUNCTION(0, NULL)
1603 MTK_EINT_FUNCTION(0, 154),
1605 MTK_FUNCTION(0, NULL)
1609 MTK_EINT_FUNCTION(0, 155),
1611 MTK_FUNCTION(0, NULL)
1615 MTK_EINT_FUNCTION(0, 216),
1617 MTK_FUNCTION(0, NULL)
1621 MTK_EINT_FUNCTION(0, 217),
1623 MTK_FUNCTION(0, NULL)
1627 MTK_EINT_FUNCTION(0, 218),
1629 MTK_FUNCTION(0, NULL)
1633 MTK_EINT_FUNCTION(0, 219),
1635 MTK_FUNCTION(0, NULL)
1639 MTK_EINT_FUNCTION(0, 220),
1641 MTK_FUNCTION(0, NULL)
1645 MTK_EINT_FUNCTION(0, 221),
1647 MTK_FUNCTION(0, NULL)
1651 MTK_EINT_FUNCTION(0, 222),
1653 MTK_FUNCTION(0, NULL)
1657 MTK_EINT_FUNCTION(0, 223),
1659 MTK_FUNCTION(0, NULL)
1663 MTK_EINT_FUNCTION(0, 224),
1665 MTK_FUNCTION(0, NULL)
1669 #endif /* __PINCTRL_MTK_MT8195_H */