1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Copyright (C) 2018 MediaTek Inc.
5 * Author: Zhiyong Tao <zhiyong.tao@mediatek.com>
9 #ifndef __PINCTRL_MTK_MT8183_H
10 #define __PINCTRL_MTK_MT8183_H
12 #include "pinctrl-paris.h"
14 static struct mtk_pin_desc mtk_pins_mt8183
[] = {
17 MTK_EINT_FUNCTION(0, 0),
19 MTK_FUNCTION(0, "GPIO0"),
20 MTK_FUNCTION(1, "MRG_SYNC"),
21 MTK_FUNCTION(2, "PCM0_SYNC"),
22 MTK_FUNCTION(3, "TP_GPIO0_AO"),
23 MTK_FUNCTION(4, "SRCLKENAI0"),
24 MTK_FUNCTION(5, "SCP_SPI2_CS"),
25 MTK_FUNCTION(6, "I2S3_MCK"),
26 MTK_FUNCTION(7, "SPI2_CSB")
30 MTK_EINT_FUNCTION(0, 1),
32 MTK_FUNCTION(0, "GPIO1"),
33 MTK_FUNCTION(1, "MRG_CLK"),
34 MTK_FUNCTION(2, "PCM0_CLK"),
35 MTK_FUNCTION(3, "TP_GPIO1_AO"),
36 MTK_FUNCTION(4, "CLKM3"),
37 MTK_FUNCTION(5, "SCP_SPI2_MO"),
38 MTK_FUNCTION(6, "I2S3_BCK"),
39 MTK_FUNCTION(7, "SPI2_MO")
43 MTK_EINT_FUNCTION(0, 2),
45 MTK_FUNCTION(0, "GPIO2"),
46 MTK_FUNCTION(1, "MRG_DO"),
47 MTK_FUNCTION(2, "PCM0_DO"),
48 MTK_FUNCTION(3, "TP_GPIO2_AO"),
49 MTK_FUNCTION(4, "SCL6"),
50 MTK_FUNCTION(5, "SCP_SPI2_CK"),
51 MTK_FUNCTION(6, "I2S3_LRCK"),
52 MTK_FUNCTION(7, "SPI2_CLK")
56 MTK_EINT_FUNCTION(0, 3),
58 MTK_FUNCTION(0, "GPIO3"),
59 MTK_FUNCTION(1, "MRG_DI"),
60 MTK_FUNCTION(2, "PCM0_DI"),
61 MTK_FUNCTION(3, "TP_GPIO3_AO"),
62 MTK_FUNCTION(4, "SDA6"),
63 MTK_FUNCTION(5, "TDM_MCK"),
64 MTK_FUNCTION(6, "I2S3_DO"),
65 MTK_FUNCTION(7, "SCP_VREQ_VAO")
69 MTK_EINT_FUNCTION(0, 4),
71 MTK_FUNCTION(0, "GPIO4"),
72 MTK_FUNCTION(1, "PWM_B"),
73 MTK_FUNCTION(2, "I2S0_MCK"),
74 MTK_FUNCTION(3, "SSPM_UTXD_AO"),
75 MTK_FUNCTION(4, "MD_URXD1"),
76 MTK_FUNCTION(5, "TDM_BCK"),
77 MTK_FUNCTION(6, "TP_GPIO4_AO"),
78 MTK_FUNCTION(7, "DAP_MD32_SWD")
82 MTK_EINT_FUNCTION(0, 5),
84 MTK_FUNCTION(0, "GPIO5"),
85 MTK_FUNCTION(1, "PWM_C"),
86 MTK_FUNCTION(2, "I2S0_BCK"),
87 MTK_FUNCTION(3, "SSPM_URXD_AO"),
88 MTK_FUNCTION(4, "MD_UTXD1"),
89 MTK_FUNCTION(5, "TDM_LRCK"),
90 MTK_FUNCTION(6, "TP_GPIO5_AO"),
91 MTK_FUNCTION(7, "DAP_MD32_SWCK")
95 MTK_EINT_FUNCTION(0, 6),
97 MTK_FUNCTION(0, "GPIO6"),
98 MTK_FUNCTION(1, "PWM_A"),
99 MTK_FUNCTION(2, "I2S0_LRCK"),
100 MTK_FUNCTION(3, "IDDIG"),
101 MTK_FUNCTION(4, "MD_URXD0"),
102 MTK_FUNCTION(5, "TDM_DATA0"),
103 MTK_FUNCTION(6, "TP_GPIO6_AO"),
104 MTK_FUNCTION(7, "CMFLASH")
108 MTK_EINT_FUNCTION(0, 7),
110 MTK_FUNCTION(0, "GPIO7"),
111 MTK_FUNCTION(1, "SPI1_B_MI"),
112 MTK_FUNCTION(2, "I2S0_DI"),
113 MTK_FUNCTION(3, "USB_DRVVBUS"),
114 MTK_FUNCTION(4, "MD_UTXD0"),
115 MTK_FUNCTION(5, "TDM_DATA1"),
116 MTK_FUNCTION(6, "TP_GPIO7_AO"),
117 MTK_FUNCTION(7, "DVFSRC_EXT_REQ")
121 MTK_EINT_FUNCTION(0, 8),
123 MTK_FUNCTION(0, "GPIO8"),
124 MTK_FUNCTION(1, "SPI1_B_CSB"),
125 MTK_FUNCTION(2, "ANT_SEL3"),
126 MTK_FUNCTION(3, "SCL7"),
127 MTK_FUNCTION(4, "CONN_MCU_TRST_B"),
128 MTK_FUNCTION(5, "TDM_DATA2"),
129 MTK_FUNCTION(6, "MD_INT0"),
130 MTK_FUNCTION(7, "JTRSTN_SEL1")
134 MTK_EINT_FUNCTION(0, 9),
136 MTK_FUNCTION(0, "GPIO9"),
137 MTK_FUNCTION(1, "SPI1_B_MO"),
138 MTK_FUNCTION(2, "ANT_SEL4"),
139 MTK_FUNCTION(3, "CMMCLK2"),
140 MTK_FUNCTION(4, "CONN_MCU_DBGACK_N"),
141 MTK_FUNCTION(5, "SSPM_JTAG_TRSTN"),
142 MTK_FUNCTION(6, "IO_JTAG_TRSTN"),
143 MTK_FUNCTION(7, "DBG_MON_B10")
147 MTK_EINT_FUNCTION(0, 10),
149 MTK_FUNCTION(0, "GPIO10"),
150 MTK_FUNCTION(1, "SPI1_B_CLK"),
151 MTK_FUNCTION(2, "ANT_SEL5"),
152 MTK_FUNCTION(3, "CMMCLK3"),
153 MTK_FUNCTION(4, "CONN_MCU_DBGI_N"),
154 MTK_FUNCTION(5, "TDM_DATA3"),
155 MTK_FUNCTION(6, "EXT_FRAME_SYNC"),
156 MTK_FUNCTION(7, "DBG_MON_B11")
160 MTK_EINT_FUNCTION(0, 11),
162 MTK_FUNCTION(0, "GPIO11"),
163 MTK_FUNCTION(1, "TP_URXD1_AO"),
164 MTK_FUNCTION(2, "IDDIG"),
165 MTK_FUNCTION(3, "SCL6"),
166 MTK_FUNCTION(4, "UCTS1"),
167 MTK_FUNCTION(5, "UCTS0"),
168 MTK_FUNCTION(6, "SRCLKENAI1"),
169 MTK_FUNCTION(7, "I2S5_MCK")
173 MTK_EINT_FUNCTION(0, 12),
175 MTK_FUNCTION(0, "GPIO12"),
176 MTK_FUNCTION(1, "TP_UTXD1_AO"),
177 MTK_FUNCTION(2, "USB_DRVVBUS"),
178 MTK_FUNCTION(3, "SDA6"),
179 MTK_FUNCTION(4, "URTS1"),
180 MTK_FUNCTION(5, "URTS0"),
181 MTK_FUNCTION(6, "I2S2_DI2"),
182 MTK_FUNCTION(7, "I2S5_BCK")
186 MTK_EINT_FUNCTION(0, 13),
188 MTK_FUNCTION(0, "GPIO13"),
189 MTK_FUNCTION(1, "DBPI_D0"),
190 MTK_FUNCTION(2, "SPI5_MI"),
191 MTK_FUNCTION(3, "PCM0_SYNC"),
192 MTK_FUNCTION(4, "MD_URXD0"),
193 MTK_FUNCTION(5, "ANT_SEL3"),
194 MTK_FUNCTION(6, "I2S0_MCK"),
195 MTK_FUNCTION(7, "DBG_MON_B15")
199 MTK_EINT_FUNCTION(0, 14),
201 MTK_FUNCTION(0, "GPIO14"),
202 MTK_FUNCTION(1, "DBPI_D1"),
203 MTK_FUNCTION(2, "SPI5_CSB"),
204 MTK_FUNCTION(3, "PCM0_CLK"),
205 MTK_FUNCTION(4, "MD_UTXD0"),
206 MTK_FUNCTION(5, "ANT_SEL4"),
207 MTK_FUNCTION(6, "I2S0_BCK"),
208 MTK_FUNCTION(7, "DBG_MON_B16")
212 MTK_EINT_FUNCTION(0, 15),
214 MTK_FUNCTION(0, "GPIO15"),
215 MTK_FUNCTION(1, "DBPI_D2"),
216 MTK_FUNCTION(2, "SPI5_MO"),
217 MTK_FUNCTION(3, "PCM0_DO"),
218 MTK_FUNCTION(4, "MD_URXD1"),
219 MTK_FUNCTION(5, "ANT_SEL5"),
220 MTK_FUNCTION(6, "I2S0_LRCK"),
221 MTK_FUNCTION(7, "DBG_MON_B17")
225 MTK_EINT_FUNCTION(0, 16),
227 MTK_FUNCTION(0, "GPIO16"),
228 MTK_FUNCTION(1, "DBPI_D3"),
229 MTK_FUNCTION(2, "SPI5_CLK"),
230 MTK_FUNCTION(3, "PCM0_DI"),
231 MTK_FUNCTION(4, "MD_UTXD1"),
232 MTK_FUNCTION(5, "ANT_SEL6"),
233 MTK_FUNCTION(6, "I2S0_DI"),
234 MTK_FUNCTION(7, "DBG_MON_B23")
238 MTK_EINT_FUNCTION(0, 17),
240 MTK_FUNCTION(0, "GPIO17"),
241 MTK_FUNCTION(1, "DBPI_D4"),
242 MTK_FUNCTION(2, "SPI4_MI"),
243 MTK_FUNCTION(3, "CONN_MCU_TRST_B"),
244 MTK_FUNCTION(4, "MD_INT0"),
245 MTK_FUNCTION(5, "ANT_SEL7"),
246 MTK_FUNCTION(6, "I2S3_MCK"),
247 MTK_FUNCTION(7, "DBG_MON_A1")
251 MTK_EINT_FUNCTION(0, 18),
253 MTK_FUNCTION(0, "GPIO18"),
254 MTK_FUNCTION(1, "DBPI_D5"),
255 MTK_FUNCTION(2, "SPI4_CSB"),
256 MTK_FUNCTION(3, "CONN_MCU_DBGI_N"),
257 MTK_FUNCTION(4, "MD_INT0"),
258 MTK_FUNCTION(5, "SCP_VREQ_VAO"),
259 MTK_FUNCTION(6, "I2S3_BCK"),
260 MTK_FUNCTION(7, "DBG_MON_A2")
264 MTK_EINT_FUNCTION(0, 19),
266 MTK_FUNCTION(0, "GPIO19"),
267 MTK_FUNCTION(1, "DBPI_D6"),
268 MTK_FUNCTION(2, "SPI4_MO"),
269 MTK_FUNCTION(3, "CONN_MCU_TDO"),
270 MTK_FUNCTION(4, "MD_INT2_C2K_UIM1_HOT_PLUG"),
271 MTK_FUNCTION(5, "URXD1"),
272 MTK_FUNCTION(6, "I2S3_LRCK"),
273 MTK_FUNCTION(7, "DBG_MON_A3")
277 MTK_EINT_FUNCTION(0, 20),
279 MTK_FUNCTION(0, "GPIO20"),
280 MTK_FUNCTION(1, "DBPI_D7"),
281 MTK_FUNCTION(2, "SPI4_CLK"),
282 MTK_FUNCTION(3, "CONN_MCU_DBGACK_N"),
283 MTK_FUNCTION(4, "MD_INT1_C2K_UIM0_HOT_PLUG"),
284 MTK_FUNCTION(5, "UTXD1"),
285 MTK_FUNCTION(6, "I2S3_DO"),
286 MTK_FUNCTION(7, "DBG_MON_A19")
290 MTK_EINT_FUNCTION(0, 21),
292 MTK_FUNCTION(0, "GPIO21"),
293 MTK_FUNCTION(1, "DBPI_D8"),
294 MTK_FUNCTION(2, "SPI3_MI"),
295 MTK_FUNCTION(3, "CONN_MCU_TMS"),
296 MTK_FUNCTION(4, "DAP_MD32_SWD"),
297 MTK_FUNCTION(5, "CONN_MCU_AICE_TMSC"),
298 MTK_FUNCTION(6, "I2S2_MCK"),
299 MTK_FUNCTION(7, "DBG_MON_B5")
303 MTK_EINT_FUNCTION(0, 22),
305 MTK_FUNCTION(0, "GPIO22"),
306 MTK_FUNCTION(1, "DBPI_D9"),
307 MTK_FUNCTION(2, "SPI3_CSB"),
308 MTK_FUNCTION(3, "CONN_MCU_TCK"),
309 MTK_FUNCTION(4, "DAP_MD32_SWCK"),
310 MTK_FUNCTION(5, "CONN_MCU_AICE_TCKC"),
311 MTK_FUNCTION(6, "I2S2_BCK"),
312 MTK_FUNCTION(7, "DBG_MON_B6")
316 MTK_EINT_FUNCTION(0, 23),
318 MTK_FUNCTION(0, "GPIO23"),
319 MTK_FUNCTION(1, "DBPI_D10"),
320 MTK_FUNCTION(2, "SPI3_MO"),
321 MTK_FUNCTION(3, "CONN_MCU_TDI"),
322 MTK_FUNCTION(4, "UCTS1"),
323 MTK_FUNCTION(5, "EXT_FRAME_SYNC"),
324 MTK_FUNCTION(6, "I2S2_LRCK"),
325 MTK_FUNCTION(7, "DBG_MON_B7")
329 MTK_EINT_FUNCTION(0, 24),
331 MTK_FUNCTION(0, "GPIO24"),
332 MTK_FUNCTION(1, "DBPI_D11"),
333 MTK_FUNCTION(2, "SPI3_CLK"),
334 MTK_FUNCTION(3, "SRCLKENAI0"),
335 MTK_FUNCTION(4, "URTS1"),
336 MTK_FUNCTION(5, "IO_JTAG_TCK"),
337 MTK_FUNCTION(6, "I2S2_DI"),
338 MTK_FUNCTION(7, "DBG_MON_B31")
342 MTK_EINT_FUNCTION(0, 25),
344 MTK_FUNCTION(0, "GPIO25"),
345 MTK_FUNCTION(1, "DBPI_HSYNC"),
346 MTK_FUNCTION(2, "ANT_SEL0"),
347 MTK_FUNCTION(3, "SCL6"),
348 MTK_FUNCTION(4, "KPCOL2"),
349 MTK_FUNCTION(5, "IO_JTAG_TMS"),
350 MTK_FUNCTION(6, "I2S1_MCK"),
351 MTK_FUNCTION(7, "DBG_MON_B0")
355 MTK_EINT_FUNCTION(0, 26),
357 MTK_FUNCTION(0, "GPIO26"),
358 MTK_FUNCTION(1, "DBPI_VSYNC"),
359 MTK_FUNCTION(2, "ANT_SEL1"),
360 MTK_FUNCTION(3, "SDA6"),
361 MTK_FUNCTION(4, "KPROW2"),
362 MTK_FUNCTION(5, "IO_JTAG_TDI"),
363 MTK_FUNCTION(6, "I2S1_BCK"),
364 MTK_FUNCTION(7, "DBG_MON_B1")
368 MTK_EINT_FUNCTION(0, 27),
370 MTK_FUNCTION(0, "GPIO27"),
371 MTK_FUNCTION(1, "DBPI_DE"),
372 MTK_FUNCTION(2, "ANT_SEL2"),
373 MTK_FUNCTION(3, "SCL7"),
374 MTK_FUNCTION(4, "DMIC_CLK"),
375 MTK_FUNCTION(5, "IO_JTAG_TDO"),
376 MTK_FUNCTION(6, "I2S1_LRCK"),
377 MTK_FUNCTION(7, "DBG_MON_B9")
381 MTK_EINT_FUNCTION(0, 28),
383 MTK_FUNCTION(0, "GPIO28"),
384 MTK_FUNCTION(1, "DBPI_CK"),
385 MTK_FUNCTION(2, "DVFSRC_EXT_REQ"),
386 MTK_FUNCTION(3, "SDA7"),
387 MTK_FUNCTION(4, "DMIC_DAT"),
388 MTK_FUNCTION(5, "IO_JTAG_TRSTN"),
389 MTK_FUNCTION(6, "I2S1_DO"),
390 MTK_FUNCTION(7, "DBG_MON_B32")
394 MTK_EINT_FUNCTION(0, 29),
396 MTK_FUNCTION(0, "GPIO29"),
397 MTK_FUNCTION(1, "MSDC1_CLK"),
398 MTK_FUNCTION(2, "IO_JTAG_TCK"),
399 MTK_FUNCTION(3, "UDI_TCK"),
400 MTK_FUNCTION(4, "CONN_DSP_JCK"),
401 MTK_FUNCTION(5, "SSPM_JTAG_TCK"),
402 MTK_FUNCTION(6, "PCM1_CLK"),
403 MTK_FUNCTION(7, "DBG_MON_A6")
407 MTK_EINT_FUNCTION(0, 30),
409 MTK_FUNCTION(0, "GPIO30"),
410 MTK_FUNCTION(1, "MSDC1_DAT3"),
411 MTK_FUNCTION(2, "DAP_MD32_SWD"),
412 MTK_FUNCTION(3, "CONN_MCU_AICE_TMSC"),
413 MTK_FUNCTION(4, "CONN_DSP_JINTP"),
414 MTK_FUNCTION(5, "SSPM_JTAG_TRSTN"),
415 MTK_FUNCTION(6, "PCM1_DI"),
416 MTK_FUNCTION(7, "DBG_MON_A7")
420 MTK_EINT_FUNCTION(0, 31),
422 MTK_FUNCTION(0, "GPIO31"),
423 MTK_FUNCTION(1, "MSDC1_CMD"),
424 MTK_FUNCTION(2, "IO_JTAG_TMS"),
425 MTK_FUNCTION(3, "UDI_TMS"),
426 MTK_FUNCTION(4, "CONN_DSP_JMS"),
427 MTK_FUNCTION(5, "SSPM_JTAG_TMS"),
428 MTK_FUNCTION(6, "PCM1_SYNC"),
429 MTK_FUNCTION(7, "DBG_MON_A8")
433 MTK_EINT_FUNCTION(0, 32),
435 MTK_FUNCTION(0, "GPIO32"),
436 MTK_FUNCTION(1, "MSDC1_DAT0"),
437 MTK_FUNCTION(2, "IO_JTAG_TDI"),
438 MTK_FUNCTION(3, "UDI_TDI"),
439 MTK_FUNCTION(4, "CONN_DSP_JDI"),
440 MTK_FUNCTION(5, "SSPM_JTAG_TDI"),
441 MTK_FUNCTION(6, "PCM1_DO0"),
442 MTK_FUNCTION(7, "DBG_MON_A9")
446 MTK_EINT_FUNCTION(0, 33),
448 MTK_FUNCTION(0, "GPIO33"),
449 MTK_FUNCTION(1, "MSDC1_DAT2"),
450 MTK_FUNCTION(2, "IO_JTAG_TRSTN"),
451 MTK_FUNCTION(3, "UDI_NTRST"),
452 MTK_FUNCTION(4, "DAP_MD32_SWCK"),
453 MTK_FUNCTION(5, "CONN_MCU_AICE_TCKC"),
454 MTK_FUNCTION(6, "PCM1_DO2"),
455 MTK_FUNCTION(7, "DBG_MON_A10")
459 MTK_EINT_FUNCTION(0, 34),
461 MTK_FUNCTION(0, "GPIO34"),
462 MTK_FUNCTION(1, "MSDC1_DAT1"),
463 MTK_FUNCTION(2, "IO_JTAG_TDO"),
464 MTK_FUNCTION(3, "UDI_TDO"),
465 MTK_FUNCTION(4, "CONN_DSP_JDO"),
466 MTK_FUNCTION(5, "SSPM_JTAG_TDO"),
467 MTK_FUNCTION(6, "PCM1_DO1"),
468 MTK_FUNCTION(7, "DBG_MON_A11")
472 MTK_EINT_FUNCTION(0, 35),
474 MTK_FUNCTION(0, "GPIO35"),
475 MTK_FUNCTION(1, "MD1_SIM2_SIO"),
476 MTK_FUNCTION(2, "CCU_JTAG_TDO"),
477 MTK_FUNCTION(3, "MD1_SIM1_SIO"),
478 MTK_FUNCTION(5, "SCP_JTAG_TDO"),
479 MTK_FUNCTION(6, "CONN_DSP_JMS"),
480 MTK_FUNCTION(7, "DBG_MON_A28")
484 MTK_EINT_FUNCTION(0, 36),
486 MTK_FUNCTION(0, "GPIO36"),
487 MTK_FUNCTION(1, "MD1_SIM2_SRST"),
488 MTK_FUNCTION(2, "CCU_JTAG_TMS"),
489 MTK_FUNCTION(3, "MD1_SIM1_SRST"),
490 MTK_FUNCTION(4, "CONN_MCU_AICE_TMSC"),
491 MTK_FUNCTION(5, "SCP_JTAG_TMS"),
492 MTK_FUNCTION(6, "CONN_DSP_JINTP"),
493 MTK_FUNCTION(7, "DBG_MON_A29")
497 MTK_EINT_FUNCTION(0, 37),
499 MTK_FUNCTION(0, "GPIO37"),
500 MTK_FUNCTION(1, "MD1_SIM2_SCLK"),
501 MTK_FUNCTION(2, "CCU_JTAG_TDI"),
502 MTK_FUNCTION(3, "MD1_SIM1_SCLK"),
503 MTK_FUNCTION(5, "SCP_JTAG_TDI"),
504 MTK_FUNCTION(6, "CONN_DSP_JDO"),
505 MTK_FUNCTION(7, "DBG_MON_A30")
509 MTK_EINT_FUNCTION(0, 38),
511 MTK_FUNCTION(0, "GPIO38"),
512 MTK_FUNCTION(1, "MD1_SIM1_SCLK"),
513 MTK_FUNCTION(3, "MD1_SIM2_SCLK"),
514 MTK_FUNCTION(4, "CONN_MCU_AICE_TCKC"),
515 MTK_FUNCTION(7, "DBG_MON_A20")
519 MTK_EINT_FUNCTION(0, 39),
521 MTK_FUNCTION(0, "GPIO39"),
522 MTK_FUNCTION(1, "MD1_SIM1_SRST"),
523 MTK_FUNCTION(2, "CCU_JTAG_TCK"),
524 MTK_FUNCTION(3, "MD1_SIM2_SRST"),
525 MTK_FUNCTION(5, "SCP_JTAG_TCK"),
526 MTK_FUNCTION(6, "CONN_DSP_JCK"),
527 MTK_FUNCTION(7, "DBG_MON_A31")
531 MTK_EINT_FUNCTION(0, 40),
533 MTK_FUNCTION(0, "GPIO40"),
534 MTK_FUNCTION(1, "MD1_SIM1_SIO"),
535 MTK_FUNCTION(2, "CCU_JTAG_TRST"),
536 MTK_FUNCTION(3, "MD1_SIM2_SIO"),
537 MTK_FUNCTION(5, "SCP_JTAG_TRSTN"),
538 MTK_FUNCTION(6, "CONN_DSP_JDI"),
539 MTK_FUNCTION(7, "DBG_MON_A32")
543 MTK_EINT_FUNCTION(0, 41),
545 MTK_FUNCTION(0, "GPIO41"),
546 MTK_FUNCTION(1, "IDDIG"),
547 MTK_FUNCTION(2, "URXD1"),
548 MTK_FUNCTION(3, "UCTS0"),
549 MTK_FUNCTION(4, "SSPM_UTXD_AO"),
550 MTK_FUNCTION(5, "EXT_FRAME_SYNC"),
551 MTK_FUNCTION(6, "DMIC_CLK")
555 MTK_EINT_FUNCTION(0, 42),
557 MTK_FUNCTION(0, "GPIO42"),
558 MTK_FUNCTION(1, "USB_DRVVBUS"),
559 MTK_FUNCTION(2, "UTXD1"),
560 MTK_FUNCTION(3, "URTS0"),
561 MTK_FUNCTION(4, "SSPM_URXD_AO"),
562 MTK_FUNCTION(5, "EXT_FRAME_SYNC"),
563 MTK_FUNCTION(6, "DMIC_DAT")
567 MTK_EINT_FUNCTION(0, 43),
569 MTK_FUNCTION(0, "GPIO43"),
570 MTK_FUNCTION(1, "DISP_PWM")
574 MTK_EINT_FUNCTION(0, 44),
576 MTK_FUNCTION(0, "GPIO44"),
577 MTK_FUNCTION(1, "DSI_TE")
581 MTK_EINT_FUNCTION(0, 45),
583 MTK_FUNCTION(0, "GPIO45"),
584 MTK_FUNCTION(1, "LCM_RST")
588 MTK_EINT_FUNCTION(0, 46),
590 MTK_FUNCTION(0, "GPIO46"),
591 MTK_FUNCTION(1, "MD_INT2_C2K_UIM1_HOT_PLUG"),
592 MTK_FUNCTION(2, "URXD1"),
593 MTK_FUNCTION(3, "UCTS1"),
594 MTK_FUNCTION(4, "CCU_UTXD_AO"),
595 MTK_FUNCTION(5, "TP_UCTS1_AO"),
596 MTK_FUNCTION(6, "IDDIG"),
597 MTK_FUNCTION(7, "I2S5_LRCK")
601 MTK_EINT_FUNCTION(0, 47),
603 MTK_FUNCTION(0, "GPIO47"),
604 MTK_FUNCTION(1, "MD_INT1_C2K_UIM0_HOT_PLUG"),
605 MTK_FUNCTION(2, "UTXD1"),
606 MTK_FUNCTION(3, "URTS1"),
607 MTK_FUNCTION(4, "CCU_URXD_AO"),
608 MTK_FUNCTION(5, "TP_URTS1_AO"),
609 MTK_FUNCTION(6, "USB_DRVVBUS"),
610 MTK_FUNCTION(7, "I2S5_DO")
614 MTK_EINT_FUNCTION(0, 48),
616 MTK_FUNCTION(0, "GPIO48"),
617 MTK_FUNCTION(1, "SCL5")
621 MTK_EINT_FUNCTION(0, 49),
623 MTK_FUNCTION(0, "GPIO49"),
624 MTK_FUNCTION(1, "SDA5")
628 MTK_EINT_FUNCTION(0, 50),
630 MTK_FUNCTION(0, "GPIO50"),
631 MTK_FUNCTION(1, "SCL3")
635 MTK_EINT_FUNCTION(0, 51),
637 MTK_FUNCTION(0, "GPIO51"),
638 MTK_FUNCTION(1, "SDA3")
642 MTK_EINT_FUNCTION(0, 52),
644 MTK_FUNCTION(0, "GPIO52"),
645 MTK_FUNCTION(1, "BPI_ANT2")
649 MTK_EINT_FUNCTION(0, 53),
651 MTK_FUNCTION(0, "GPIO53"),
652 MTK_FUNCTION(1, "BPI_ANT0")
656 MTK_EINT_FUNCTION(0, 54),
658 MTK_FUNCTION(0, "GPIO54"),
659 MTK_FUNCTION(1, "BPI_OLAT1")
663 MTK_EINT_FUNCTION(0, 55),
665 MTK_FUNCTION(0, "GPIO55"),
666 MTK_FUNCTION(1, "BPI_BUS8")
670 MTK_EINT_FUNCTION(0, 56),
672 MTK_FUNCTION(0, "GPIO56"),
673 MTK_FUNCTION(1, "BPI_BUS9"),
674 MTK_FUNCTION(2, "SCL_6306")
678 MTK_EINT_FUNCTION(0, 57),
680 MTK_FUNCTION(0, "GPIO57"),
681 MTK_FUNCTION(1, "BPI_BUS10"),
682 MTK_FUNCTION(2, "SDA_6306")
686 MTK_EINT_FUNCTION(0, 58),
688 MTK_FUNCTION(0, "GPIO58"),
689 MTK_FUNCTION(1, "RFIC0_BSI_D2"),
690 MTK_FUNCTION(2, "SPM_BSI_D2"),
691 MTK_FUNCTION(3, "PWM_B")
695 MTK_EINT_FUNCTION(0, 59),
697 MTK_FUNCTION(0, "GPIO59"),
698 MTK_FUNCTION(1, "RFIC0_BSI_D1"),
699 MTK_FUNCTION(2, "SPM_BSI_D1")
703 MTK_EINT_FUNCTION(0, 60),
705 MTK_FUNCTION(0, "GPIO60"),
706 MTK_FUNCTION(1, "RFIC0_BSI_D0"),
707 MTK_FUNCTION(2, "SPM_BSI_D0")
711 MTK_EINT_FUNCTION(0, 61),
713 MTK_FUNCTION(0, "GPIO61"),
714 MTK_FUNCTION(1, "MIPI1_SDATA")
718 MTK_EINT_FUNCTION(0, 62),
720 MTK_FUNCTION(0, "GPIO62"),
721 MTK_FUNCTION(1, "MIPI1_SCLK")
725 MTK_EINT_FUNCTION(0, 63),
727 MTK_FUNCTION(0, "GPIO63"),
728 MTK_FUNCTION(1, "MIPI0_SDATA")
732 MTK_EINT_FUNCTION(0, 64),
734 MTK_FUNCTION(0, "GPIO64"),
735 MTK_FUNCTION(1, "MIPI0_SCLK")
739 MTK_EINT_FUNCTION(0, 65),
741 MTK_FUNCTION(0, "GPIO65"),
742 MTK_FUNCTION(1, "MIPI3_SDATA"),
743 MTK_FUNCTION(2, "BPI_OLAT2")
747 MTK_EINT_FUNCTION(0, 66),
749 MTK_FUNCTION(0, "GPIO66"),
750 MTK_FUNCTION(1, "MIPI3_SCLK"),
751 MTK_FUNCTION(2, "BPI_OLAT3")
755 MTK_EINT_FUNCTION(0, 67),
757 MTK_FUNCTION(0, "GPIO67"),
758 MTK_FUNCTION(1, "MIPI2_SDATA")
762 MTK_EINT_FUNCTION(0, 68),
764 MTK_FUNCTION(0, "GPIO68"),
765 MTK_FUNCTION(1, "MIPI2_SCLK")
769 MTK_EINT_FUNCTION(0, 69),
771 MTK_FUNCTION(0, "GPIO69"),
772 MTK_FUNCTION(1, "BPI_BUS7")
776 MTK_EINT_FUNCTION(0, 70),
778 MTK_FUNCTION(0, "GPIO70"),
779 MTK_FUNCTION(1, "BPI_BUS6")
783 MTK_EINT_FUNCTION(0, 71),
785 MTK_FUNCTION(0, "GPIO71"),
786 MTK_FUNCTION(1, "BPI_BUS5")
790 MTK_EINT_FUNCTION(0, 72),
792 MTK_FUNCTION(0, "GPIO72"),
793 MTK_FUNCTION(1, "BPI_BUS4")
797 MTK_EINT_FUNCTION(0, 73),
799 MTK_FUNCTION(0, "GPIO73"),
800 MTK_FUNCTION(1, "BPI_BUS3")
804 MTK_EINT_FUNCTION(0, 74),
806 MTK_FUNCTION(0, "GPIO74"),
807 MTK_FUNCTION(1, "BPI_BUS2")
811 MTK_EINT_FUNCTION(0, 75),
813 MTK_FUNCTION(0, "GPIO75"),
814 MTK_FUNCTION(1, "BPI_BUS1")
818 MTK_EINT_FUNCTION(0, 76),
820 MTK_FUNCTION(0, "GPIO76"),
821 MTK_FUNCTION(1, "BPI_BUS0")
825 MTK_EINT_FUNCTION(0, 77),
827 MTK_FUNCTION(0, "GPIO77"),
828 MTK_FUNCTION(1, "BPI_ANT1")
832 MTK_EINT_FUNCTION(0, 78),
834 MTK_FUNCTION(0, "GPIO78"),
835 MTK_FUNCTION(1, "BPI_OLAT0")
839 MTK_EINT_FUNCTION(0, 79),
841 MTK_FUNCTION(0, "GPIO79"),
842 MTK_FUNCTION(1, "BPI_PA_VM1"),
843 MTK_FUNCTION(2, "MIPI4_SDATA")
847 MTK_EINT_FUNCTION(0, 80),
849 MTK_FUNCTION(0, "GPIO80"),
850 MTK_FUNCTION(1, "BPI_PA_VM0"),
851 MTK_FUNCTION(2, "MIPI4_SCLK")
855 MTK_EINT_FUNCTION(0, 81),
857 MTK_FUNCTION(0, "GPIO81"),
858 MTK_FUNCTION(1, "SDA1")
862 MTK_EINT_FUNCTION(0, 82),
864 MTK_FUNCTION(0, "GPIO82"),
865 MTK_FUNCTION(1, "SDA0")
869 MTK_EINT_FUNCTION(0, 83),
871 MTK_FUNCTION(0, "GPIO83"),
872 MTK_FUNCTION(1, "SCL0")
876 MTK_EINT_FUNCTION(0, 84),
878 MTK_FUNCTION(0, "GPIO84"),
879 MTK_FUNCTION(1, "SCL1")
883 MTK_EINT_FUNCTION(0, 85),
885 MTK_FUNCTION(0, "GPIO85"),
886 MTK_FUNCTION(1, "SPI0_MI"),
887 MTK_FUNCTION(2, "SCP_SPI0_MI"),
888 MTK_FUNCTION(3, "CLKM3"),
889 MTK_FUNCTION(4, "I2S1_BCK"),
890 MTK_FUNCTION(5, "MFG_DFD_JTAG_TDO"),
891 MTK_FUNCTION(6, "DFD_TDO"),
892 MTK_FUNCTION(7, "JTDO_SEL1")
896 MTK_EINT_FUNCTION(0, 86),
898 MTK_FUNCTION(0, "GPIO86"),
899 MTK_FUNCTION(1, "SPI0_CSB"),
900 MTK_FUNCTION(2, "SCP_SPI0_CS"),
901 MTK_FUNCTION(3, "CLKM0"),
902 MTK_FUNCTION(4, "I2S1_LRCK"),
903 MTK_FUNCTION(5, "MFG_DFD_JTAG_TMS"),
904 MTK_FUNCTION(6, "DFD_TMS"),
905 MTK_FUNCTION(7, "JTMS_SEL1")
909 MTK_EINT_FUNCTION(0, 87),
911 MTK_FUNCTION(0, "GPIO87"),
912 MTK_FUNCTION(1, "SPI0_MO"),
913 MTK_FUNCTION(2, "SCP_SPI0_MO"),
914 MTK_FUNCTION(3, "SDA1"),
915 MTK_FUNCTION(4, "I2S1_DO"),
916 MTK_FUNCTION(5, "MFG_DFD_JTAG_TDI"),
917 MTK_FUNCTION(6, "DFD_TDI"),
918 MTK_FUNCTION(7, "JTDI_SEL1")
922 MTK_EINT_FUNCTION(0, 88),
924 MTK_FUNCTION(0, "GPIO88"),
925 MTK_FUNCTION(1, "SPI0_CLK"),
926 MTK_FUNCTION(2, "SCP_SPI0_CK"),
927 MTK_FUNCTION(3, "SCL1"),
928 MTK_FUNCTION(4, "I2S1_MCK"),
929 MTK_FUNCTION(5, "MFG_DFD_JTAG_TCK"),
930 MTK_FUNCTION(6, "DFD_TCK_XI"),
931 MTK_FUNCTION(7, "JTCK_SEL1")
935 MTK_EINT_FUNCTION(0, 89),
937 MTK_FUNCTION(0, "GPIO89"),
938 MTK_FUNCTION(1, "SRCLKENAI0"),
939 MTK_FUNCTION(2, "PWM_C"),
940 MTK_FUNCTION(3, "I2S5_BCK"),
941 MTK_FUNCTION(4, "ANT_SEL6"),
942 MTK_FUNCTION(5, "SDA8"),
943 MTK_FUNCTION(6, "CMVREF0"),
944 MTK_FUNCTION(7, "DBG_MON_A21")
948 MTK_EINT_FUNCTION(0, 90),
950 MTK_FUNCTION(0, "GPIO90"),
951 MTK_FUNCTION(1, "PWM_A"),
952 MTK_FUNCTION(2, "CMMCLK2"),
953 MTK_FUNCTION(3, "I2S5_LRCK"),
954 MTK_FUNCTION(4, "SCP_VREQ_VAO"),
955 MTK_FUNCTION(5, "SCL8"),
956 MTK_FUNCTION(6, "PTA_RXD"),
957 MTK_FUNCTION(7, "DBG_MON_A22")
961 MTK_EINT_FUNCTION(0, 91),
963 MTK_FUNCTION(0, "GPIO91"),
964 MTK_FUNCTION(1, "KPROW1"),
965 MTK_FUNCTION(2, "PWM_B"),
966 MTK_FUNCTION(3, "I2S5_DO"),
967 MTK_FUNCTION(4, "ANT_SEL7"),
968 MTK_FUNCTION(5, "CMMCLK3"),
969 MTK_FUNCTION(6, "PTA_TXD")
973 MTK_EINT_FUNCTION(0, 92),
975 MTK_FUNCTION(0, "GPIO92"),
976 MTK_FUNCTION(1, "KPROW0")
980 MTK_EINT_FUNCTION(0, 93),
982 MTK_FUNCTION(0, "GPIO93"),
983 MTK_FUNCTION(1, "KPCOL0"),
984 MTK_FUNCTION(7, "DBG_MON_B27")
988 MTK_EINT_FUNCTION(0, 94),
990 MTK_FUNCTION(0, "GPIO94"),
991 MTK_FUNCTION(1, "KPCOL1"),
992 MTK_FUNCTION(2, "I2S2_DI2"),
993 MTK_FUNCTION(3, "I2S5_MCK"),
994 MTK_FUNCTION(4, "CMMCLK2"),
995 MTK_FUNCTION(5, "SCP_SPI2_MI"),
996 MTK_FUNCTION(6, "SRCLKENAI1"),
997 MTK_FUNCTION(7, "SPI2_MI")
1001 MTK_EINT_FUNCTION(0, 95),
1003 MTK_FUNCTION(0, "GPIO95"),
1004 MTK_FUNCTION(1, "URXD0"),
1005 MTK_FUNCTION(2, "UTXD0"),
1006 MTK_FUNCTION(3, "MD_URXD0"),
1007 MTK_FUNCTION(4, "MD_URXD1"),
1008 MTK_FUNCTION(5, "SSPM_URXD_AO"),
1009 MTK_FUNCTION(6, "CCU_URXD_AO")
1013 MTK_EINT_FUNCTION(0, 96),
1015 MTK_FUNCTION(0, "GPIO96"),
1016 MTK_FUNCTION(1, "UTXD0"),
1017 MTK_FUNCTION(2, "URXD0"),
1018 MTK_FUNCTION(3, "MD_UTXD0"),
1019 MTK_FUNCTION(4, "MD_UTXD1"),
1020 MTK_FUNCTION(5, "SSPM_UTXD_AO"),
1021 MTK_FUNCTION(6, "CCU_UTXD_AO"),
1022 MTK_FUNCTION(7, "DBG_MON_B2")
1026 MTK_EINT_FUNCTION(0, 97),
1028 MTK_FUNCTION(0, "GPIO97"),
1029 MTK_FUNCTION(1, "UCTS0"),
1030 MTK_FUNCTION(2, "I2S2_MCK"),
1031 MTK_FUNCTION(3, "IDDIG"),
1032 MTK_FUNCTION(4, "CONN_MCU_TDO"),
1033 MTK_FUNCTION(5, "SSPM_JTAG_TDO"),
1034 MTK_FUNCTION(6, "IO_JTAG_TDO"),
1035 MTK_FUNCTION(7, "DBG_MON_B3")
1039 MTK_EINT_FUNCTION(0, 98),
1041 MTK_FUNCTION(0, "GPIO98"),
1042 MTK_FUNCTION(1, "URTS0"),
1043 MTK_FUNCTION(2, "I2S2_BCK"),
1044 MTK_FUNCTION(3, "USB_DRVVBUS"),
1045 MTK_FUNCTION(4, "CONN_MCU_TMS"),
1046 MTK_FUNCTION(5, "SSPM_JTAG_TMS"),
1047 MTK_FUNCTION(6, "IO_JTAG_TMS"),
1048 MTK_FUNCTION(7, "DBG_MON_B4")
1052 MTK_EINT_FUNCTION(0, 99),
1054 MTK_FUNCTION(0, "GPIO99"),
1055 MTK_FUNCTION(1, "CMMCLK0"),
1056 MTK_FUNCTION(4, "CONN_MCU_AICE_TMSC"),
1057 MTK_FUNCTION(7, "DBG_MON_B28")
1061 MTK_EINT_FUNCTION(0, 100),
1063 MTK_FUNCTION(0, "GPIO100"),
1064 MTK_FUNCTION(1, "CMMCLK1"),
1065 MTK_FUNCTION(2, "PWM_C"),
1066 MTK_FUNCTION(3, "MD_INT1_C2K_UIM0_HOT_PLUG"),
1067 MTK_FUNCTION(4, "CONN_MCU_AICE_TCKC"),
1068 MTK_FUNCTION(7, "DBG_MON_B29")
1072 MTK_EINT_FUNCTION(0, 101),
1074 MTK_FUNCTION(0, "GPIO101"),
1075 MTK_FUNCTION(1, "CLKM2"),
1076 MTK_FUNCTION(2, "I2S2_LRCK"),
1077 MTK_FUNCTION(3, "CMVREF1"),
1078 MTK_FUNCTION(4, "CONN_MCU_TCK"),
1079 MTK_FUNCTION(5, "SSPM_JTAG_TCK"),
1080 MTK_FUNCTION(6, "IO_JTAG_TCK")
1084 MTK_EINT_FUNCTION(0, 102),
1086 MTK_FUNCTION(0, "GPIO102"),
1087 MTK_FUNCTION(1, "CLKM1"),
1088 MTK_FUNCTION(2, "I2S2_DI"),
1089 MTK_FUNCTION(3, "DVFSRC_EXT_REQ"),
1090 MTK_FUNCTION(4, "CONN_MCU_TDI"),
1091 MTK_FUNCTION(5, "SSPM_JTAG_TDI"),
1092 MTK_FUNCTION(6, "IO_JTAG_TDI"),
1093 MTK_FUNCTION(7, "DBG_MON_B8")
1097 MTK_EINT_FUNCTION(0, 103),
1099 MTK_FUNCTION(0, "GPIO103"),
1100 MTK_FUNCTION(1, "SCL2")
1104 MTK_EINT_FUNCTION(0, 104),
1106 MTK_FUNCTION(0, "GPIO104"),
1107 MTK_FUNCTION(1, "SDA2")
1111 MTK_EINT_FUNCTION(0, 105),
1113 MTK_FUNCTION(0, "GPIO105"),
1114 MTK_FUNCTION(1, "SCL4")
1118 MTK_EINT_FUNCTION(0, 106),
1120 MTK_FUNCTION(0, "GPIO106"),
1121 MTK_FUNCTION(1, "SDA4")
1125 MTK_EINT_FUNCTION(0, 107),
1127 MTK_FUNCTION(0, "GPIO107"),
1128 MTK_FUNCTION(1, "DMIC_CLK"),
1129 MTK_FUNCTION(2, "ANT_SEL0"),
1130 MTK_FUNCTION(3, "CLKM0"),
1131 MTK_FUNCTION(4, "SDA7"),
1132 MTK_FUNCTION(5, "EXT_FRAME_SYNC"),
1133 MTK_FUNCTION(6, "PWM_A"),
1134 MTK_FUNCTION(7, "DBG_MON_B12")
1138 MTK_EINT_FUNCTION(0, 108),
1140 MTK_FUNCTION(0, "GPIO108"),
1141 MTK_FUNCTION(1, "CMMCLK2"),
1142 MTK_FUNCTION(2, "ANT_SEL1"),
1143 MTK_FUNCTION(3, "CLKM1"),
1144 MTK_FUNCTION(4, "SCL8"),
1145 MTK_FUNCTION(5, "DAP_MD32_SWD"),
1146 MTK_FUNCTION(6, "PWM_B"),
1147 MTK_FUNCTION(7, "DBG_MON_B13")
1151 MTK_EINT_FUNCTION(0, 109),
1153 MTK_FUNCTION(0, "GPIO109"),
1154 MTK_FUNCTION(1, "DMIC_DAT"),
1155 MTK_FUNCTION(2, "ANT_SEL2"),
1156 MTK_FUNCTION(3, "CLKM2"),
1157 MTK_FUNCTION(4, "SDA8"),
1158 MTK_FUNCTION(5, "DAP_MD32_SWCK"),
1159 MTK_FUNCTION(6, "PWM_C"),
1160 MTK_FUNCTION(7, "DBG_MON_B14")
1164 MTK_EINT_FUNCTION(0, 110),
1166 MTK_FUNCTION(0, "GPIO110"),
1167 MTK_FUNCTION(1, "SCL7"),
1168 MTK_FUNCTION(2, "ANT_SEL0"),
1169 MTK_FUNCTION(3, "TP_URXD1_AO"),
1170 MTK_FUNCTION(4, "USB_DRVVBUS"),
1171 MTK_FUNCTION(5, "SRCLKENAI1"),
1172 MTK_FUNCTION(6, "KPCOL2"),
1173 MTK_FUNCTION(7, "URXD1")
1177 MTK_EINT_FUNCTION(0, 111),
1179 MTK_FUNCTION(0, "GPIO111"),
1180 MTK_FUNCTION(1, "CMMCLK3"),
1181 MTK_FUNCTION(2, "ANT_SEL1"),
1182 MTK_FUNCTION(3, "SRCLKENAI0"),
1183 MTK_FUNCTION(4, "SCP_VREQ_VAO"),
1184 MTK_FUNCTION(5, "MD_INT2_C2K_UIM1_HOT_PLUG"),
1185 MTK_FUNCTION(7, "DVFSRC_EXT_REQ")
1189 MTK_EINT_FUNCTION(0, 112),
1191 MTK_FUNCTION(0, "GPIO112"),
1192 MTK_FUNCTION(1, "SDA7"),
1193 MTK_FUNCTION(2, "ANT_SEL2"),
1194 MTK_FUNCTION(3, "TP_UTXD1_AO"),
1195 MTK_FUNCTION(4, "IDDIG"),
1196 MTK_FUNCTION(5, "AGPS_SYNC"),
1197 MTK_FUNCTION(6, "KPROW2"),
1198 MTK_FUNCTION(7, "UTXD1")
1202 MTK_EINT_FUNCTION(0, 113),
1204 MTK_FUNCTION(0, "GPIO113"),
1205 MTK_FUNCTION(1, "CONN_TOP_CLK"),
1206 MTK_FUNCTION(3, "SCL6"),
1207 MTK_FUNCTION(4, "AUXIF_CLK0"),
1208 MTK_FUNCTION(6, "TP_UCTS1_AO")
1212 MTK_EINT_FUNCTION(0, 114),
1214 MTK_FUNCTION(0, "GPIO114"),
1215 MTK_FUNCTION(1, "CONN_TOP_DATA"),
1216 MTK_FUNCTION(3, "SDA6"),
1217 MTK_FUNCTION(4, "AUXIF_ST0"),
1218 MTK_FUNCTION(6, "TP_URTS1_AO")
1222 MTK_EINT_FUNCTION(0, 115),
1224 MTK_FUNCTION(0, "GPIO115"),
1225 MTK_FUNCTION(1, "CONN_BT_CLK"),
1226 MTK_FUNCTION(2, "UTXD1"),
1227 MTK_FUNCTION(3, "PTA_TXD"),
1228 MTK_FUNCTION(4, "AUXIF_CLK1"),
1229 MTK_FUNCTION(5, "DAP_MD32_SWD"),
1230 MTK_FUNCTION(6, "TP_UTXD1_AO")
1234 MTK_EINT_FUNCTION(0, 116),
1236 MTK_FUNCTION(0, "GPIO116"),
1237 MTK_FUNCTION(1, "CONN_BT_DATA"),
1238 MTK_FUNCTION(2, "IPU_JTAG_TRST"),
1239 MTK_FUNCTION(4, "AUXIF_ST1"),
1240 MTK_FUNCTION(5, "DAP_MD32_SWCK"),
1241 MTK_FUNCTION(6, "TP_URXD2_AO"),
1242 MTK_FUNCTION(7, "DBG_MON_A0")
1246 MTK_EINT_FUNCTION(0, 117),
1248 MTK_FUNCTION(0, "GPIO117"),
1249 MTK_FUNCTION(1, "CONN_WF_HB0"),
1250 MTK_FUNCTION(2, "IPU_JTAG_TDO"),
1251 MTK_FUNCTION(6, "TP_UTXD2_AO"),
1252 MTK_FUNCTION(7, "DBG_MON_A4")
1256 MTK_EINT_FUNCTION(0, 118),
1258 MTK_FUNCTION(0, "GPIO118"),
1259 MTK_FUNCTION(1, "CONN_WF_HB1"),
1260 MTK_FUNCTION(2, "IPU_JTAG_TDI"),
1261 MTK_FUNCTION(5, "SSPM_URXD_AO"),
1262 MTK_FUNCTION(6, "TP_UCTS2_AO"),
1263 MTK_FUNCTION(7, "DBG_MON_A5")
1267 MTK_EINT_FUNCTION(0, 119),
1269 MTK_FUNCTION(0, "GPIO119"),
1270 MTK_FUNCTION(1, "CONN_WF_HB2"),
1271 MTK_FUNCTION(2, "IPU_JTAG_TCK"),
1272 MTK_FUNCTION(5, "SSPM_UTXD_AO"),
1273 MTK_FUNCTION(6, "TP_URTS2_AO")
1277 MTK_EINT_FUNCTION(0, 120),
1279 MTK_FUNCTION(0, "GPIO120"),
1280 MTK_FUNCTION(1, "CONN_WB_PTA"),
1281 MTK_FUNCTION(2, "IPU_JTAG_TMS"),
1282 MTK_FUNCTION(5, "CCU_URXD_AO")
1286 MTK_EINT_FUNCTION(0, 121),
1288 MTK_FUNCTION(0, "GPIO121"),
1289 MTK_FUNCTION(1, "CONN_HRST_B"),
1290 MTK_FUNCTION(2, "URXD1"),
1291 MTK_FUNCTION(3, "PTA_RXD"),
1292 MTK_FUNCTION(5, "CCU_UTXD_AO"),
1293 MTK_FUNCTION(6, "TP_URXD1_AO")
1297 MTK_EINT_FUNCTION(0, 122),
1299 MTK_FUNCTION(0, "GPIO122"),
1300 MTK_FUNCTION(1, "MSDC0_CMD"),
1301 MTK_FUNCTION(2, "SSPM_URXD2_AO"),
1302 MTK_FUNCTION(3, "ANT_SEL1"),
1303 MTK_FUNCTION(7, "DBG_MON_A12")
1307 MTK_EINT_FUNCTION(0, 123),
1309 MTK_FUNCTION(0, "GPIO123"),
1310 MTK_FUNCTION(1, "MSDC0_DAT0"),
1311 MTK_FUNCTION(3, "ANT_SEL0"),
1312 MTK_FUNCTION(7, "DBG_MON_A13")
1316 MTK_EINT_FUNCTION(0, 124),
1318 MTK_FUNCTION(0, "GPIO124"),
1319 MTK_FUNCTION(1, "MSDC0_CLK"),
1320 MTK_FUNCTION(7, "DBG_MON_A14")
1324 MTK_EINT_FUNCTION(0, 125),
1326 MTK_FUNCTION(0, "GPIO125"),
1327 MTK_FUNCTION(1, "MSDC0_DAT2"),
1328 MTK_FUNCTION(3, "MRG_CLK"),
1329 MTK_FUNCTION(7, "DBG_MON_A15")
1333 MTK_EINT_FUNCTION(0, 126),
1335 MTK_FUNCTION(0, "GPIO126"),
1336 MTK_FUNCTION(1, "MSDC0_DAT4"),
1337 MTK_FUNCTION(3, "ANT_SEL5"),
1338 MTK_FUNCTION(6, "UFS_MPHY_SCL"),
1339 MTK_FUNCTION(7, "DBG_MON_A16")
1343 MTK_EINT_FUNCTION(0, 127),
1345 MTK_FUNCTION(0, "GPIO127"),
1346 MTK_FUNCTION(1, "MSDC0_DAT6"),
1347 MTK_FUNCTION(3, "ANT_SEL4"),
1348 MTK_FUNCTION(6, "UFS_MPHY_SDA"),
1349 MTK_FUNCTION(7, "DBG_MON_A17")
1353 MTK_EINT_FUNCTION(0, 128),
1355 MTK_FUNCTION(0, "GPIO128"),
1356 MTK_FUNCTION(1, "MSDC0_DAT1"),
1357 MTK_FUNCTION(3, "ANT_SEL2"),
1358 MTK_FUNCTION(6, "UFS_UNIPRO_SDA"),
1359 MTK_FUNCTION(7, "DBG_MON_A18")
1363 MTK_EINT_FUNCTION(0, 129),
1365 MTK_FUNCTION(0, "GPIO129"),
1366 MTK_FUNCTION(1, "MSDC0_DAT5"),
1367 MTK_FUNCTION(3, "ANT_SEL3"),
1368 MTK_FUNCTION(6, "UFS_UNIPRO_SCL"),
1369 MTK_FUNCTION(7, "DBG_MON_A23")
1373 MTK_EINT_FUNCTION(0, 130),
1375 MTK_FUNCTION(0, "GPIO130"),
1376 MTK_FUNCTION(1, "MSDC0_DAT7"),
1377 MTK_FUNCTION(3, "MRG_DO"),
1378 MTK_FUNCTION(7, "DBG_MON_A24")
1382 MTK_EINT_FUNCTION(0, 131),
1384 MTK_FUNCTION(0, "GPIO131"),
1385 MTK_FUNCTION(1, "MSDC0_DSL"),
1386 MTK_FUNCTION(3, "MRG_SYNC"),
1387 MTK_FUNCTION(7, "DBG_MON_A25")
1391 MTK_EINT_FUNCTION(0, 132),
1393 MTK_FUNCTION(0, "GPIO132"),
1394 MTK_FUNCTION(1, "MSDC0_DAT3"),
1395 MTK_FUNCTION(3, "MRG_DI"),
1396 MTK_FUNCTION(7, "DBG_MON_A26")
1400 MTK_EINT_FUNCTION(0, 133),
1402 MTK_FUNCTION(0, "GPIO133"),
1403 MTK_FUNCTION(1, "MSDC0_RSTB"),
1404 MTK_FUNCTION(3, "AGPS_SYNC"),
1405 MTK_FUNCTION(7, "DBG_MON_A27")
1409 MTK_EINT_FUNCTION(0, 134),
1411 MTK_FUNCTION(0, "GPIO134"),
1412 MTK_FUNCTION(1, "RTC32K_CK")
1416 MTK_EINT_FUNCTION(0, 135),
1418 MTK_FUNCTION(0, "GPIO135"),
1419 MTK_FUNCTION(1, "WATCHDOG")
1423 MTK_EINT_FUNCTION(0, 136),
1425 MTK_FUNCTION(0, "GPIO136"),
1426 MTK_FUNCTION(1, "AUD_CLK_MOSI"),
1427 MTK_FUNCTION(2, "AUD_CLK_MISO"),
1428 MTK_FUNCTION(3, "I2S1_MCK"),
1429 MTK_FUNCTION(6, "UFS_UNIPRO_SCL")
1433 MTK_EINT_FUNCTION(0, 137),
1435 MTK_FUNCTION(0, "GPIO137"),
1436 MTK_FUNCTION(1, "AUD_SYNC_MOSI"),
1437 MTK_FUNCTION(2, "AUD_SYNC_MISO"),
1438 MTK_FUNCTION(3, "I2S1_BCK")
1442 MTK_EINT_FUNCTION(0, 138),
1444 MTK_FUNCTION(0, "GPIO138"),
1445 MTK_FUNCTION(1, "AUD_DAT_MOSI0"),
1446 MTK_FUNCTION(2, "AUD_DAT_MISO0"),
1447 MTK_FUNCTION(3, "I2S1_LRCK"),
1448 MTK_FUNCTION(7, "DBG_MON_B24")
1452 MTK_EINT_FUNCTION(0, 139),
1454 MTK_FUNCTION(0, "GPIO139"),
1455 MTK_FUNCTION(1, "AUD_DAT_MOSI1"),
1456 MTK_FUNCTION(2, "AUD_DAT_MISO1"),
1457 MTK_FUNCTION(3, "I2S1_DO"),
1458 MTK_FUNCTION(6, "UFS_MPHY_SDA")
1462 MTK_EINT_FUNCTION(0, 140),
1464 MTK_FUNCTION(0, "GPIO140"),
1465 MTK_FUNCTION(1, "AUD_CLK_MISO"),
1466 MTK_FUNCTION(2, "AUD_CLK_MOSI"),
1467 MTK_FUNCTION(3, "I2S0_MCK"),
1468 MTK_FUNCTION(6, "UFS_UNIPRO_SDA")
1472 MTK_EINT_FUNCTION(0, 141),
1474 MTK_FUNCTION(0, "GPIO141"),
1475 MTK_FUNCTION(1, "AUD_SYNC_MISO"),
1476 MTK_FUNCTION(2, "AUD_SYNC_MOSI"),
1477 MTK_FUNCTION(3, "I2S0_BCK")
1481 MTK_EINT_FUNCTION(0, 142),
1483 MTK_FUNCTION(0, "GPIO142"),
1484 MTK_FUNCTION(1, "AUD_DAT_MISO0"),
1485 MTK_FUNCTION(2, "AUD_DAT_MOSI0"),
1486 MTK_FUNCTION(3, "I2S0_LRCK"),
1487 MTK_FUNCTION(4, "VOW_DAT_MISO"),
1488 MTK_FUNCTION(7, "DBG_MON_B25")
1492 MTK_EINT_FUNCTION(0, 143),
1494 MTK_FUNCTION(0, "GPIO143"),
1495 MTK_FUNCTION(1, "AUD_DAT_MISO1"),
1496 MTK_FUNCTION(2, "AUD_DAT_MOSI1"),
1497 MTK_FUNCTION(3, "I2S0_DI"),
1498 MTK_FUNCTION(4, "VOW_CLK_MISO"),
1499 MTK_FUNCTION(6, "UFS_MPHY_SCL"),
1500 MTK_FUNCTION(7, "DBG_MON_B26")
1504 MTK_EINT_FUNCTION(0, 144),
1506 MTK_FUNCTION(0, "GPIO144"),
1507 MTK_FUNCTION(1, "PWRAP_SPI0_MI"),
1508 MTK_FUNCTION(2, "PWRAP_SPI0_MO")
1512 MTK_EINT_FUNCTION(0, 145),
1514 MTK_FUNCTION(0, "GPIO145"),
1515 MTK_FUNCTION(1, "PWRAP_SPI0_CSN")
1519 MTK_EINT_FUNCTION(0, 146),
1521 MTK_FUNCTION(0, "GPIO146"),
1522 MTK_FUNCTION(1, "PWRAP_SPI0_MO"),
1523 MTK_FUNCTION(2, "PWRAP_SPI0_MI")
1527 MTK_EINT_FUNCTION(0, 147),
1529 MTK_FUNCTION(0, "GPIO147"),
1530 MTK_FUNCTION(1, "PWRAP_SPI0_CK")
1534 MTK_EINT_FUNCTION(0, 148),
1536 MTK_FUNCTION(0, "GPIO148"),
1537 MTK_FUNCTION(1, "SRCLKENA0")
1541 MTK_EINT_FUNCTION(0, 149),
1543 MTK_FUNCTION(0, "GPIO149"),
1544 MTK_FUNCTION(1, "SRCLKENA1")
1548 MTK_EINT_FUNCTION(0, 150),
1550 MTK_FUNCTION(0, "GPIO150"),
1551 MTK_FUNCTION(1, "PWM_A"),
1552 MTK_FUNCTION(2, "CMFLASH"),
1553 MTK_FUNCTION(3, "CLKM0"),
1554 MTK_FUNCTION(7, "DBG_MON_B30")
1558 MTK_EINT_FUNCTION(0, 151),
1560 MTK_FUNCTION(0, "GPIO151"),
1561 MTK_FUNCTION(1, "PWM_B"),
1562 MTK_FUNCTION(2, "CMVREF0"),
1563 MTK_FUNCTION(3, "CLKM1"),
1564 MTK_FUNCTION(7, "DBG_MON_B20")
1568 MTK_EINT_FUNCTION(0, 152),
1570 MTK_FUNCTION(0, "GPIO152"),
1571 MTK_FUNCTION(1, "PWM_C"),
1572 MTK_FUNCTION(2, "CMFLASH"),
1573 MTK_FUNCTION(3, "CLKM2"),
1574 MTK_FUNCTION(7, "DBG_MON_B21")
1578 MTK_EINT_FUNCTION(0, 153),
1580 MTK_FUNCTION(0, "GPIO153"),
1581 MTK_FUNCTION(1, "PWM_A"),
1582 MTK_FUNCTION(2, "CMVREF0"),
1583 MTK_FUNCTION(3, "CLKM3"),
1584 MTK_FUNCTION(7, "DBG_MON_B22")
1588 MTK_EINT_FUNCTION(0, 154),
1590 MTK_FUNCTION(0, "GPIO154"),
1591 MTK_FUNCTION(1, "SCP_VREQ_VAO"),
1592 MTK_FUNCTION(2, "DVFSRC_EXT_REQ"),
1593 MTK_FUNCTION(7, "DBG_MON_B18")
1597 MTK_EINT_FUNCTION(0, 155),
1599 MTK_FUNCTION(0, "GPIO155"),
1600 MTK_FUNCTION(1, "ANT_SEL0"),
1601 MTK_FUNCTION(2, "DVFSRC_EXT_REQ"),
1602 MTK_FUNCTION(3, "CMVREF1"),
1603 MTK_FUNCTION(7, "SCP_JTAG_TDI")
1607 MTK_EINT_FUNCTION(0, 156),
1609 MTK_FUNCTION(0, "GPIO156"),
1610 MTK_FUNCTION(1, "ANT_SEL1"),
1611 MTK_FUNCTION(2, "SRCLKENAI0"),
1612 MTK_FUNCTION(3, "SCL6"),
1613 MTK_FUNCTION(4, "KPCOL2"),
1614 MTK_FUNCTION(5, "IDDIG"),
1615 MTK_FUNCTION(7, "SCP_JTAG_TCK")
1619 MTK_EINT_FUNCTION(0, 157),
1621 MTK_FUNCTION(0, "GPIO157"),
1622 MTK_FUNCTION(1, "ANT_SEL2"),
1623 MTK_FUNCTION(2, "SRCLKENAI1"),
1624 MTK_FUNCTION(3, "SDA6"),
1625 MTK_FUNCTION(4, "KPROW2"),
1626 MTK_FUNCTION(5, "USB_DRVVBUS"),
1627 MTK_FUNCTION(7, "SCP_JTAG_TRSTN")
1631 MTK_EINT_FUNCTION(0, 158),
1633 MTK_FUNCTION(0, "GPIO158"),
1634 MTK_FUNCTION(1, "ANT_SEL3")
1638 MTK_EINT_FUNCTION(0, 159),
1640 MTK_FUNCTION(0, "GPIO159"),
1641 MTK_FUNCTION(1, "ANT_SEL4")
1645 MTK_EINT_FUNCTION(0, 160),
1647 MTK_FUNCTION(0, "GPIO160"),
1648 MTK_FUNCTION(1, "ANT_SEL5")
1652 MTK_EINT_FUNCTION(0, 161),
1654 MTK_FUNCTION(0, "GPIO161"),
1655 MTK_FUNCTION(1, "SPI1_A_MI"),
1656 MTK_FUNCTION(2, "SCP_SPI1_MI"),
1657 MTK_FUNCTION(3, "IDDIG"),
1658 MTK_FUNCTION(4, "ANT_SEL6"),
1659 MTK_FUNCTION(5, "KPCOL2"),
1660 MTK_FUNCTION(6, "PTA_RXD"),
1661 MTK_FUNCTION(7, "DBG_MON_B19")
1665 MTK_EINT_FUNCTION(0, 162),
1667 MTK_FUNCTION(0, "GPIO162"),
1668 MTK_FUNCTION(1, "SPI1_A_CSB"),
1669 MTK_FUNCTION(2, "SCP_SPI1_CS"),
1670 MTK_FUNCTION(3, "USB_DRVVBUS"),
1671 MTK_FUNCTION(4, "ANT_SEL5"),
1672 MTK_FUNCTION(5, "KPROW2"),
1673 MTK_FUNCTION(6, "PTA_TXD")
1677 MTK_EINT_FUNCTION(0, 163),
1679 MTK_FUNCTION(0, "GPIO163"),
1680 MTK_FUNCTION(1, "SPI1_A_MO"),
1681 MTK_FUNCTION(2, "SCP_SPI1_MO"),
1682 MTK_FUNCTION(3, "SDA1"),
1683 MTK_FUNCTION(4, "ANT_SEL4"),
1684 MTK_FUNCTION(5, "CMMCLK2"),
1685 MTK_FUNCTION(6, "DMIC_CLK")
1689 MTK_EINT_FUNCTION(0, 164),
1691 MTK_FUNCTION(0, "GPIO164"),
1692 MTK_FUNCTION(1, "SPI1_A_CLK"),
1693 MTK_FUNCTION(2, "SCP_SPI1_CK"),
1694 MTK_FUNCTION(3, "SCL1"),
1695 MTK_FUNCTION(4, "ANT_SEL3"),
1696 MTK_FUNCTION(5, "CMMCLK3"),
1697 MTK_FUNCTION(6, "DMIC_DAT")
1701 MTK_EINT_FUNCTION(0, 165),
1703 MTK_FUNCTION(0, "GPIO165"),
1704 MTK_FUNCTION(1, "PWM_B"),
1705 MTK_FUNCTION(2, "CMMCLK2"),
1706 MTK_FUNCTION(3, "SCP_VREQ_VAO"),
1707 MTK_FUNCTION(6, "TDM_MCK_2ND"),
1708 MTK_FUNCTION(7, "SCP_JTAG_TDO")
1712 MTK_EINT_FUNCTION(0, 166),
1714 MTK_FUNCTION(0, "GPIO166"),
1715 MTK_FUNCTION(1, "ANT_SEL6")
1719 MTK_EINT_FUNCTION(0, 167),
1721 MTK_FUNCTION(0, "GPIO167"),
1722 MTK_FUNCTION(1, "RFIC0_BSI_EN"),
1723 MTK_FUNCTION(2, "SPM_BSI_EN")
1727 MTK_EINT_FUNCTION(0, 168),
1729 MTK_FUNCTION(0, "GPIO168"),
1730 MTK_FUNCTION(1, "RFIC0_BSI_CK"),
1731 MTK_FUNCTION(2, "SPM_BSI_CK")
1735 MTK_EINT_FUNCTION(0, 169),
1737 MTK_FUNCTION(0, "GPIO169"),
1738 MTK_FUNCTION(1, "PWM_C"),
1739 MTK_FUNCTION(2, "CMMCLK3"),
1740 MTK_FUNCTION(3, "CMVREF1"),
1741 MTK_FUNCTION(4, "ANT_SEL7"),
1742 MTK_FUNCTION(5, "AGPS_SYNC"),
1743 MTK_FUNCTION(6, "TDM_BCK_2ND"),
1744 MTK_FUNCTION(7, "SCP_JTAG_TMS")
1748 MTK_EINT_FUNCTION(0, 170),
1750 MTK_FUNCTION(0, "GPIO170"),
1751 MTK_FUNCTION(1, "I2S1_BCK"),
1752 MTK_FUNCTION(2, "I2S3_BCK"),
1753 MTK_FUNCTION(3, "SCL7"),
1754 MTK_FUNCTION(4, "I2S5_BCK"),
1755 MTK_FUNCTION(5, "EXT_FRAME_SYNC"),
1756 MTK_FUNCTION(6, "TDM_LRCK_2ND"),
1757 MTK_FUNCTION(7, "ANT_SEL3")
1761 MTK_EINT_FUNCTION(0, 184),
1763 MTK_FUNCTION(0, "GPIO171"),
1764 MTK_FUNCTION(1, "I2S1_LRCK"),
1765 MTK_FUNCTION(2, "I2S3_LRCK"),
1766 MTK_FUNCTION(3, "SDA7"),
1767 MTK_FUNCTION(4, "I2S5_LRCK"),
1768 MTK_FUNCTION(5, "URXD1"),
1769 MTK_FUNCTION(6, "TDM_DATA0_2ND"),
1770 MTK_FUNCTION(7, "ANT_SEL4")
1774 MTK_EINT_FUNCTION(0, 185),
1776 MTK_FUNCTION(0, "GPIO172"),
1777 MTK_FUNCTION(1, "I2S1_DO"),
1778 MTK_FUNCTION(2, "I2S3_DO"),
1779 MTK_FUNCTION(3, "SCL8"),
1780 MTK_FUNCTION(4, "I2S5_DO"),
1781 MTK_FUNCTION(5, "UTXD1"),
1782 MTK_FUNCTION(6, "TDM_DATA1_2ND"),
1783 MTK_FUNCTION(7, "ANT_SEL5")
1787 MTK_EINT_FUNCTION(0, 186),
1789 MTK_FUNCTION(0, "GPIO173"),
1790 MTK_FUNCTION(1, "I2S1_MCK"),
1791 MTK_FUNCTION(2, "I2S3_MCK"),
1792 MTK_FUNCTION(3, "SDA8"),
1793 MTK_FUNCTION(4, "I2S5_MCK"),
1794 MTK_FUNCTION(5, "UCTS0"),
1795 MTK_FUNCTION(6, "TDM_DATA2_2ND"),
1796 MTK_FUNCTION(7, "ANT_SEL6")
1800 MTK_EINT_FUNCTION(0, 187),
1802 MTK_FUNCTION(0, "GPIO174"),
1803 MTK_FUNCTION(1, "I2S2_DI"),
1804 MTK_FUNCTION(2, "I2S0_DI"),
1805 MTK_FUNCTION(3, "DVFSRC_EXT_REQ"),
1806 MTK_FUNCTION(4, "I2S2_DI2"),
1807 MTK_FUNCTION(5, "URTS0"),
1808 MTK_FUNCTION(6, "TDM_DATA3_2ND"),
1809 MTK_FUNCTION(7, "ANT_SEL7")
1813 MTK_EINT_FUNCTION(0, 188),
1815 MTK_FUNCTION(0, "GPIO175"),
1816 MTK_FUNCTION(1, "ANT_SEL7")
1820 MTK_EINT_FUNCTION(0, 189),
1822 MTK_FUNCTION(0, "GPIO176")
1826 MTK_EINT_FUNCTION(0, 190),
1828 MTK_FUNCTION(0, "GPIO177")
1832 MTK_EINT_FUNCTION(0, 191),
1834 MTK_FUNCTION(0, "GPIO178")
1838 MTK_EINT_FUNCTION(0, 192),
1840 MTK_FUNCTION(0, "GPIO179")
1844 MTK_EINT_FUNCTION(0, 171),
1846 MTK_FUNCTION(0, "GPIO180")
1850 MTK_EINT_FUNCTION(0, 172),
1852 MTK_FUNCTION(0, "GPIO181")
1856 MTK_EINT_FUNCTION(0, 173),
1858 MTK_FUNCTION(0, "GPIO182")
1862 MTK_EINT_FUNCTION(0, 174),
1864 MTK_FUNCTION(0, "GPIO183")
1868 MTK_EINT_FUNCTION(0, 175),
1870 MTK_FUNCTION(0, "GPIO184")
1874 MTK_EINT_FUNCTION(0, 177),
1876 MTK_FUNCTION(0, "GPIO185")
1880 MTK_EINT_FUNCTION(0, 178),
1882 MTK_FUNCTION(0, "GPIO186")
1886 MTK_EINT_FUNCTION(0, 179),
1888 MTK_FUNCTION(0, "GPIO187")
1892 MTK_EINT_FUNCTION(0, 180),
1894 MTK_FUNCTION(0, "GPIO188")
1898 MTK_EINT_FUNCTION(0, 181),
1900 MTK_FUNCTION(0, "GPIO189")
1904 MTK_EINT_FUNCTION(0, 182),
1906 MTK_FUNCTION(0, "GPIO190")
1910 MTK_EINT_FUNCTION(0, 183),
1912 MTK_FUNCTION(0, "GPIO191")
1916 #endif /* __PINCTRL_MTK_MT8183_H */