1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Copyright (C) 2018 MediaTek Inc.
5 * Author: ZH Chen <zh.chen@mediatek.com>
9 #ifndef __PINCTRL_MTK_MT6765_H
10 #define __PINCTRL_MTK_MT6765_H
12 #include "pinctrl-paris.h"
14 static struct mtk_pin_desc mtk_pins_mt6765
[] = {
17 MTK_EINT_FUNCTION(0, 0),
19 MTK_FUNCTION(0, "GPIO0"),
20 MTK_FUNCTION(1, "UTXD1"),
21 MTK_FUNCTION(2, "CLKM0"),
22 MTK_FUNCTION(3, "MD_INT0"),
23 MTK_FUNCTION(4, "I2S0_MCK"),
24 MTK_FUNCTION(5, "MD_UTXD1"),
25 MTK_FUNCTION(6, "TP_GPIO0_AO"),
26 MTK_FUNCTION(7, "DBG_MON_B9")
30 MTK_EINT_FUNCTION(0, 1),
32 MTK_FUNCTION(0, "GPIO1"),
33 MTK_FUNCTION(1, "URXD1"),
34 MTK_FUNCTION(2, "CLKM1"),
35 MTK_FUNCTION(4, "I2S0_BCK"),
36 MTK_FUNCTION(5, "MD_URXD1"),
37 MTK_FUNCTION(6, "TP_GPIO1_AO"),
38 MTK_FUNCTION(7, "DBG_MON_B10")
42 MTK_EINT_FUNCTION(0, 2),
44 MTK_FUNCTION(0, "GPIO2"),
45 MTK_FUNCTION(1, "UCTS0"),
46 MTK_FUNCTION(2, "CLKM2"),
47 MTK_FUNCTION(3, "UTXD1"),
48 MTK_FUNCTION(4, "I2S0_LRCK"),
49 MTK_FUNCTION(5, "ANT_SEL6"),
50 MTK_FUNCTION(6, "TP_GPIO2_AO"),
51 MTK_FUNCTION(7, "DBG_MON_B11")
55 MTK_EINT_FUNCTION(0, 3),
57 MTK_FUNCTION(0, "GPIO3"),
58 MTK_FUNCTION(1, "URTS0"),
59 MTK_FUNCTION(2, "CLKM3"),
60 MTK_FUNCTION(3, "URXD1"),
61 MTK_FUNCTION(4, "I2S0_DI"),
62 MTK_FUNCTION(5, "ANT_SEL7"),
63 MTK_FUNCTION(6, "TP_GPIO3_AO"),
64 MTK_FUNCTION(7, "DBG_MON_B12")
68 MTK_EINT_FUNCTION(0, 4),
70 MTK_FUNCTION(0, "GPIO4"),
71 MTK_FUNCTION(1, "SPI1_B_MI"),
72 MTK_FUNCTION(2, "SCP_SPI1_MI"),
73 MTK_FUNCTION(3, "UCTS0"),
74 MTK_FUNCTION(4, "I2S3_MCK"),
75 MTK_FUNCTION(5, "SSPM_URXD_AO"),
76 MTK_FUNCTION(6, "TP_GPIO4_AO")
80 MTK_EINT_FUNCTION(0, 5),
82 MTK_FUNCTION(0, "GPIO5"),
83 MTK_FUNCTION(1, "SPI1_B_CSB"),
84 MTK_FUNCTION(2, "SCP_SPI1_CS"),
85 MTK_FUNCTION(3, "URTS0"),
86 MTK_FUNCTION(4, "I2S3_BCK"),
87 MTK_FUNCTION(5, "SSPM_UTXD_AO"),
88 MTK_FUNCTION(6, "TP_GPIO5_AO")
92 MTK_EINT_FUNCTION(0, 6),
94 MTK_FUNCTION(0, "GPIO6"),
95 MTK_FUNCTION(1, "SPI1_B_MO"),
96 MTK_FUNCTION(2, "SCP_SPI1_MO"),
97 MTK_FUNCTION(3, "PWM0"),
98 MTK_FUNCTION(4, "I2S3_LRCK"),
99 MTK_FUNCTION(5, "MD_UTXD0"),
100 MTK_FUNCTION(6, "TP_GPIO6_AO")
104 MTK_EINT_FUNCTION(0, 7),
106 MTK_FUNCTION(0, "GPIO7"),
107 MTK_FUNCTION(1, "SPI1_B_CLK"),
108 MTK_FUNCTION(2, "SCP_SPI1_CK"),
109 MTK_FUNCTION(3, "PWM1"),
110 MTK_FUNCTION(4, "I2S3_DO"),
111 MTK_FUNCTION(5, "MD_URXD0"),
112 MTK_FUNCTION(6, "TP_GPIO7_AO")
116 MTK_EINT_FUNCTION(0, 8),
118 MTK_FUNCTION(0, "GPIO8"),
119 MTK_FUNCTION(1, "UTXD1"),
120 MTK_FUNCTION(2, "SRCLKENAI0"),
121 MTK_FUNCTION(3, "MD_INT1_C2K_UIM0_HOT_PLUG"),
122 MTK_FUNCTION(4, "ANT_SEL3"),
123 MTK_FUNCTION(5, "MFG_JTAG_TRSTN"),
124 MTK_FUNCTION(6, "I2S2_MCK"),
125 MTK_FUNCTION(7, "JTRSTN_SEL1")
129 MTK_EINT_FUNCTION(0, 9),
131 MTK_FUNCTION(0, "GPIO9"),
132 MTK_FUNCTION(1, "MD_INT0"),
133 MTK_FUNCTION(2, "CMMCLK2"),
134 MTK_FUNCTION(3, "CONN_MCU_TRST_B"),
135 MTK_FUNCTION(4, "IDDIG"),
136 MTK_FUNCTION(5, "SDA_6306"),
137 MTK_FUNCTION(6, "MCUPM_JTAG_TRSTN"),
138 MTK_FUNCTION(7, "DBG_MON_B22")
142 MTK_EINT_FUNCTION(0, 10),
144 MTK_FUNCTION(0, "GPIO10"),
145 MTK_FUNCTION(1, "MD_INT1_C2K_UIM0_HOT_PLUG"),
146 MTK_FUNCTION(3, "CONN_MCU_DBGI_N"),
147 MTK_FUNCTION(4, "SRCLKENAI1"),
148 MTK_FUNCTION(5, "EXT_FRAME_SYNC"),
149 MTK_FUNCTION(6, "CMVREF1"),
150 MTK_FUNCTION(7, "DBG_MON_B23")
154 MTK_EINT_FUNCTION(0, 11),
156 MTK_FUNCTION(0, "GPIO11"),
157 MTK_FUNCTION(1, "MD_INT2_C2K_UIM1_HOT_PLUG"),
158 MTK_FUNCTION(2, "CLKM3"),
159 MTK_FUNCTION(3, "ANT_SEL6"),
160 MTK_FUNCTION(4, "SRCLKENAI0"),
161 MTK_FUNCTION(5, "EXT_FRAME_SYNC"),
162 MTK_FUNCTION(6, "UCTS1"),
163 MTK_FUNCTION(7, "DBG_MON_B24")
167 MTK_EINT_FUNCTION(0, 12),
169 MTK_FUNCTION(0, "GPIO12"),
170 MTK_FUNCTION(1, "PWM0"),
171 MTK_FUNCTION(2, "SRCLKENAI1"),
172 MTK_FUNCTION(3, "EXT_FRAME_SYNC"),
173 MTK_FUNCTION(4, "MD_INT0"),
174 MTK_FUNCTION(5, "DVFSRC_EXT_REQ"),
175 MTK_FUNCTION(6, "URTS1")
179 MTK_EINT_FUNCTION(0, 13),
181 MTK_FUNCTION(0, "GPIO13"),
182 MTK_FUNCTION(1, "ANT_SEL0"),
183 MTK_FUNCTION(2, "SPI4_MI"),
184 MTK_FUNCTION(3, "SCP_SPI0_MI"),
185 MTK_FUNCTION(4, "MD_URXD0"),
186 MTK_FUNCTION(5, "CLKM0"),
187 MTK_FUNCTION(6, "I2S0_MCK"),
188 MTK_FUNCTION(7, "DBG_MON_A0")
192 MTK_EINT_FUNCTION(0, 14),
194 MTK_FUNCTION(0, "GPIO14"),
195 MTK_FUNCTION(1, "ANT_SEL1"),
196 MTK_FUNCTION(2, "SPI4_CSB"),
197 MTK_FUNCTION(3, "SCP_SPI0_CS"),
198 MTK_FUNCTION(4, "MD_UTXD0"),
199 MTK_FUNCTION(5, "CLKM1"),
200 MTK_FUNCTION(6, "I2S0_BCK"),
201 MTK_FUNCTION(7, "DBG_MON_A1")
205 MTK_EINT_FUNCTION(0, 15),
207 MTK_FUNCTION(0, "GPIO15"),
208 MTK_FUNCTION(1, "ANT_SEL2"),
209 MTK_FUNCTION(2, "SPI4_MO"),
210 MTK_FUNCTION(3, "SCP_SPI0_MO"),
211 MTK_FUNCTION(4, "MD_URXD1"),
212 MTK_FUNCTION(5, "CLKM2"),
213 MTK_FUNCTION(6, "I2S0_LRCK"),
214 MTK_FUNCTION(7, "DBG_MON_A2")
218 MTK_EINT_FUNCTION(0, 16),
220 MTK_FUNCTION(0, "GPIO16"),
221 MTK_FUNCTION(1, "ANT_SEL3"),
222 MTK_FUNCTION(2, "SPI4_CLK"),
223 MTK_FUNCTION(3, "SCP_SPI0_CK"),
224 MTK_FUNCTION(4, "MD_UTXD1"),
225 MTK_FUNCTION(5, "CLKM3"),
226 MTK_FUNCTION(6, "I2S3_MCK"),
227 MTK_FUNCTION(7, "DBG_MON_A3")
231 MTK_EINT_FUNCTION(0, 17),
233 MTK_FUNCTION(0, "GPIO17"),
234 MTK_FUNCTION(1, "ANT_SEL4"),
235 MTK_FUNCTION(2, "SPI2_MO"),
236 MTK_FUNCTION(3, "SCP_SPI0_MO"),
237 MTK_FUNCTION(4, "PWM1"),
238 MTK_FUNCTION(5, "IDDIG"),
239 MTK_FUNCTION(6, "I2S0_DI"),
240 MTK_FUNCTION(7, "DBG_MON_A4")
244 MTK_EINT_FUNCTION(0, 18),
246 MTK_FUNCTION(0, "GPIO18"),
247 MTK_FUNCTION(1, "ANT_SEL5"),
248 MTK_FUNCTION(2, "SPI2_CLK"),
249 MTK_FUNCTION(3, "SCP_SPI0_CK"),
250 MTK_FUNCTION(4, "MD_INT0"),
251 MTK_FUNCTION(5, "USB_DRVVBUS"),
252 MTK_FUNCTION(6, "I2S3_BCK"),
253 MTK_FUNCTION(7, "DBG_MON_A5")
257 MTK_EINT_FUNCTION(0, 19),
259 MTK_FUNCTION(0, "GPIO19"),
260 MTK_FUNCTION(1, "ANT_SEL6"),
261 MTK_FUNCTION(2, "SPI2_MI"),
262 MTK_FUNCTION(3, "SCP_SPI0_MI"),
263 MTK_FUNCTION(4, "MD_INT2_C2K_UIM1_HOT_PLUG"),
264 MTK_FUNCTION(6, "I2S3_LRCK"),
265 MTK_FUNCTION(7, "DBG_MON_A6")
269 MTK_EINT_FUNCTION(0, 20),
271 MTK_FUNCTION(0, "GPIO20"),
272 MTK_FUNCTION(1, "ANT_SEL7"),
273 MTK_FUNCTION(2, "SPI2_CSB"),
274 MTK_FUNCTION(3, "SCP_SPI0_CS"),
275 MTK_FUNCTION(4, "MD_INT1_C2K_UIM0_HOT_PLUG"),
276 MTK_FUNCTION(5, "CMMCLK3"),
277 MTK_FUNCTION(6, "I2S3_DO"),
278 MTK_FUNCTION(7, "DBG_MON_A7")
282 MTK_EINT_FUNCTION(0, 21),
284 MTK_FUNCTION(0, "GPIO21"),
285 MTK_FUNCTION(1, "SPI3_MI"),
286 MTK_FUNCTION(2, "SRCLKENAI1"),
287 MTK_FUNCTION(3, "DAP_MD32_SWD"),
288 MTK_FUNCTION(4, "CMVREF0"),
289 MTK_FUNCTION(5, "SCP_SPI0_MI"),
290 MTK_FUNCTION(6, "I2S2_MCK"),
291 MTK_FUNCTION(7, "DBG_MON_A8")
295 MTK_EINT_FUNCTION(0, 22),
297 MTK_FUNCTION(0, "GPIO22"),
298 MTK_FUNCTION(1, "SPI3_CSB"),
299 MTK_FUNCTION(2, "SRCLKENAI0"),
300 MTK_FUNCTION(3, "DAP_MD32_SWCK"),
301 MTK_FUNCTION(4, "CMVREF1"),
302 MTK_FUNCTION(5, "SCP_SPI0_CS"),
303 MTK_FUNCTION(6, "I2S2_BCK"),
304 MTK_FUNCTION(7, "DBG_MON_A9")
308 MTK_EINT_FUNCTION(0, 23),
310 MTK_FUNCTION(0, "GPIO23"),
311 MTK_FUNCTION(1, "SPI3_MO"),
312 MTK_FUNCTION(2, "PWM0"),
313 MTK_FUNCTION(3, "KPROW7"),
314 MTK_FUNCTION(4, "ANT_SEL3"),
315 MTK_FUNCTION(5, "SCP_SPI0_MO"),
316 MTK_FUNCTION(6, "I2S2_LRCK"),
317 MTK_FUNCTION(7, "DBG_MON_A10")
321 MTK_EINT_FUNCTION(0, 24),
323 MTK_FUNCTION(0, "GPIO24"),
324 MTK_FUNCTION(1, "SPI3_CLK"),
325 MTK_FUNCTION(2, "UDI_TCK"),
326 MTK_FUNCTION(3, "IO_JTAG_TCK"),
327 MTK_FUNCTION(4, "SSPM_JTAG_TCK"),
328 MTK_FUNCTION(5, "SCP_SPI0_CK"),
329 MTK_FUNCTION(6, "I2S2_DI"),
330 MTK_FUNCTION(7, "DBG_MON_A11")
334 MTK_EINT_FUNCTION(0, 25),
336 MTK_FUNCTION(0, "GPIO25"),
337 MTK_FUNCTION(1, "SPI1_A_MI"),
338 MTK_FUNCTION(2, "UDI_TMS"),
339 MTK_FUNCTION(3, "IO_JTAG_TMS"),
340 MTK_FUNCTION(4, "SSPM_JTAG_TMS"),
341 MTK_FUNCTION(5, "KPROW3"),
342 MTK_FUNCTION(6, "I2S1_MCK"),
343 MTK_FUNCTION(7, "DBG_MON_A12")
347 MTK_EINT_FUNCTION(0, 26),
349 MTK_FUNCTION(0, "GPIO26"),
350 MTK_FUNCTION(1, "SPI1_A_CSB"),
351 MTK_FUNCTION(2, "UDI_TDI"),
352 MTK_FUNCTION(3, "IO_JTAG_TDI"),
353 MTK_FUNCTION(4, "SSPM_JTAG_TDI"),
354 MTK_FUNCTION(5, "KPROW4"),
355 MTK_FUNCTION(6, "I2S1_BCK"),
356 MTK_FUNCTION(7, "DBG_MON_A13")
360 MTK_EINT_FUNCTION(0, 27),
362 MTK_FUNCTION(0, "GPIO27"),
363 MTK_FUNCTION(1, "SPI1_A_MO"),
364 MTK_FUNCTION(2, "UDI_TDO"),
365 MTK_FUNCTION(3, "IO_JTAG_TDO"),
366 MTK_FUNCTION(4, "SSPM_JTAG_TDO"),
367 MTK_FUNCTION(5, "KPROW5"),
368 MTK_FUNCTION(6, "I2S1_LRCK"),
369 MTK_FUNCTION(7, "DBG_MON_A14")
373 MTK_EINT_FUNCTION(0, 28),
375 MTK_FUNCTION(0, "GPIO28"),
376 MTK_FUNCTION(1, "SPI1_A_CLK"),
377 MTK_FUNCTION(2, "UDI_NTRST"),
378 MTK_FUNCTION(3, "IO_JTAG_TRSTN"),
379 MTK_FUNCTION(4, "SSPM_JTAG_TRSTN"),
380 MTK_FUNCTION(5, "KPROW6"),
381 MTK_FUNCTION(6, "I2S1_DO"),
382 MTK_FUNCTION(7, "DBG_MON_A15")
386 MTK_EINT_FUNCTION(0, 29),
388 MTK_FUNCTION(0, "GPIO29"),
389 MTK_FUNCTION(1, "MSDC1_CLK"),
390 MTK_FUNCTION(2, "IO_JTAG_TCK"),
391 MTK_FUNCTION(3, "UDI_TCK"),
392 MTK_FUNCTION(4, "CONN_DSP_JCK"),
393 MTK_FUNCTION(5, "SSPM_JTAG_TCK"),
394 MTK_FUNCTION(6, "CONN_MCU_AICE_TCKC"),
395 MTK_FUNCTION(7, "DAP_MD32_SWCK")
399 MTK_EINT_FUNCTION(0, 30),
401 MTK_FUNCTION(0, "GPIO30"),
402 MTK_FUNCTION(1, "MSDC1_CMD"),
403 MTK_FUNCTION(2, "IO_JTAG_TMS"),
404 MTK_FUNCTION(3, "UDI_TMS"),
405 MTK_FUNCTION(4, "CONN_DSP_JMS"),
406 MTK_FUNCTION(5, "SSPM_JTAG_TMS"),
407 MTK_FUNCTION(6, "CONN_MCU_AICE_TMSC"),
408 MTK_FUNCTION(7, "DAP_MD32_SWD")
412 MTK_EINT_FUNCTION(0, 31),
414 MTK_FUNCTION(0, "GPIO31"),
415 MTK_FUNCTION(1, "MSDC1_DAT3")
419 MTK_EINT_FUNCTION(0, 32),
421 MTK_FUNCTION(0, "GPIO32"),
422 MTK_FUNCTION(1, "MSDC1_DAT0"),
423 MTK_FUNCTION(2, "IO_JTAG_TDI"),
424 MTK_FUNCTION(3, "UDI_TDI"),
425 MTK_FUNCTION(4, "CONN_DSP_JDI"),
426 MTK_FUNCTION(5, "SSPM_JTAG_TDI")
430 MTK_EINT_FUNCTION(0, 33),
432 MTK_FUNCTION(0, "GPIO33"),
433 MTK_FUNCTION(1, "MSDC1_DAT2"),
434 MTK_FUNCTION(2, "IO_JTAG_TRSTN"),
435 MTK_FUNCTION(3, "UDI_NTRST"),
436 MTK_FUNCTION(4, "CONN_DSP_JINTP"),
437 MTK_FUNCTION(5, "SSPM_JTAG_TRSTN")
441 MTK_EINT_FUNCTION(0, 34),
443 MTK_FUNCTION(0, "GPIO34"),
444 MTK_FUNCTION(1, "MSDC1_DAT1"),
445 MTK_FUNCTION(2, "IO_JTAG_TDO"),
446 MTK_FUNCTION(3, "UDI_TDO"),
447 MTK_FUNCTION(4, "CONN_DSP_JDO"),
448 MTK_FUNCTION(5, "SSPM_JTAG_TDO")
452 MTK_EINT_FUNCTION(0, 35),
454 MTK_FUNCTION(0, "GPIO35"),
455 MTK_FUNCTION(1, "MD1_SIM2_SIO"),
456 MTK_FUNCTION(2, "CCU_JTAG_TDO"),
457 MTK_FUNCTION(3, "MD1_SIM1_SIO"),
458 MTK_FUNCTION(5, "SCP_JTAG_TDO"),
459 MTK_FUNCTION(6, "CONN_DSP_JDO"),
460 MTK_FUNCTION(7, "DBG_MON_A16")
464 MTK_EINT_FUNCTION(0, 36),
466 MTK_FUNCTION(0, "GPIO36"),
467 MTK_FUNCTION(1, "MD1_SIM2_SRST"),
468 MTK_FUNCTION(2, "CCU_JTAG_TMS"),
469 MTK_FUNCTION(3, "MD1_SIM1_SRST"),
470 MTK_FUNCTION(4, "CONN_MCU_AICE_TMSC"),
471 MTK_FUNCTION(5, "SCP_JTAG_TMS"),
472 MTK_FUNCTION(6, "CONN_DSP_JMS"),
473 MTK_FUNCTION(7, "DBG_MON_A17")
477 MTK_EINT_FUNCTION(0, 37),
479 MTK_FUNCTION(0, "GPIO37"),
480 MTK_FUNCTION(1, "MD1_SIM2_SCLK"),
481 MTK_FUNCTION(2, "CCU_JTAG_TDI"),
482 MTK_FUNCTION(3, "MD1_SIM1_SCLK"),
483 MTK_FUNCTION(5, "SCP_JTAG_TDI"),
484 MTK_FUNCTION(6, "CONN_DSP_JDI"),
485 MTK_FUNCTION(7, "DBG_MON_A18")
489 MTK_EINT_FUNCTION(0, 38),
491 MTK_FUNCTION(0, "GPIO38"),
492 MTK_FUNCTION(1, "MD1_SIM1_SCLK"),
493 MTK_FUNCTION(3, "MD1_SIM2_SCLK"),
494 MTK_FUNCTION(7, "DBG_MON_A19")
498 MTK_EINT_FUNCTION(0, 39),
500 MTK_FUNCTION(0, "GPIO39"),
501 MTK_FUNCTION(1, "MD1_SIM1_SRST"),
502 MTK_FUNCTION(2, "CCU_JTAG_TCK"),
503 MTK_FUNCTION(3, "MD1_SIM2_SRST"),
504 MTK_FUNCTION(4, "CONN_MCU_AICE_TCKC"),
505 MTK_FUNCTION(5, "SCP_JTAG_TCK"),
506 MTK_FUNCTION(6, "CONN_DSP_JCK"),
507 MTK_FUNCTION(7, "DBG_MON_A20")
511 MTK_EINT_FUNCTION(0, 40),
513 MTK_FUNCTION(0, "GPIO40"),
514 MTK_FUNCTION(1, "MD1_SIM1_SIO"),
515 MTK_FUNCTION(2, "CCU_JTAG_TRST"),
516 MTK_FUNCTION(3, "MD1_SIM2_SIO"),
517 MTK_FUNCTION(5, "SCP_JTAG_TRSTN"),
518 MTK_FUNCTION(6, "CONN_DSP_JINTP"),
519 MTK_FUNCTION(7, "DBG_MON_A21")
523 MTK_EINT_FUNCTION(0, 41),
525 MTK_FUNCTION(0, "GPIO41"),
526 MTK_FUNCTION(1, "IDDIG"),
527 MTK_FUNCTION(2, "URXD1"),
528 MTK_FUNCTION(3, "UCTS0"),
529 MTK_FUNCTION(4, "KPCOL2"),
530 MTK_FUNCTION(5, "SSPM_UTXD_AO"),
531 MTK_FUNCTION(6, "MD_INT0"),
532 MTK_FUNCTION(7, "DBG_MON_A22")
536 MTK_EINT_FUNCTION(0, 42),
538 MTK_FUNCTION(0, "GPIO42"),
539 MTK_FUNCTION(1, "USB_DRVVBUS"),
540 MTK_FUNCTION(2, "UTXD1"),
541 MTK_FUNCTION(3, "URTS0"),
542 MTK_FUNCTION(4, "KPROW2"),
543 MTK_FUNCTION(5, "SSPM_URXD_AO"),
544 MTK_FUNCTION(6, "MD_INT1_C2K_UIM0_HOT_PLUG"),
545 MTK_FUNCTION(7, "DBG_MON_A23")
549 MTK_EINT_FUNCTION(0, 43),
551 MTK_FUNCTION(0, "GPIO43"),
552 MTK_FUNCTION(1, "DISP_PWM"),
553 MTK_FUNCTION(7, "DBG_MON_A24")
557 MTK_EINT_FUNCTION(0, 44),
559 MTK_FUNCTION(0, "GPIO44"),
560 MTK_FUNCTION(1, "DSI_TE"),
561 MTK_FUNCTION(7, "DBG_MON_A25")
565 MTK_EINT_FUNCTION(0, 45),
567 MTK_FUNCTION(0, "GPIO45"),
568 MTK_FUNCTION(1, "LCM_RST"),
569 MTK_FUNCTION(7, "DBG_MON_A26")
573 MTK_EINT_FUNCTION(0, 46),
575 MTK_FUNCTION(0, "GPIO46"),
576 MTK_FUNCTION(1, "MD_INT2_C2K_UIM1_HOT_PLUG"),
577 MTK_FUNCTION(2, "UCTS0"),
578 MTK_FUNCTION(3, "UCTS1"),
579 MTK_FUNCTION(4, "IDDIG"),
580 MTK_FUNCTION(5, "SCL_6306"),
581 MTK_FUNCTION(6, "TP_UCTS1_AO"),
582 MTK_FUNCTION(7, "DBG_MON_A27")
586 MTK_EINT_FUNCTION(0, 47),
588 MTK_FUNCTION(0, "GPIO47"),
589 MTK_FUNCTION(1, "MD_INT1_C2K_UIM0_HOT_PLUG"),
590 MTK_FUNCTION(2, "URTS0"),
591 MTK_FUNCTION(3, "URTS1"),
592 MTK_FUNCTION(4, "USB_DRVVBUS"),
593 MTK_FUNCTION(5, "SDA_6306"),
594 MTK_FUNCTION(6, "TP_URTS1_AO"),
595 MTK_FUNCTION(7, "DBG_MON_A28")
599 MTK_EINT_FUNCTION(0, 48),
601 MTK_FUNCTION(0, "GPIO48"),
602 MTK_FUNCTION(1, "SCL5"),
603 MTK_FUNCTION(7, "DBG_MON_A29")
607 MTK_EINT_FUNCTION(0, 49),
609 MTK_FUNCTION(0, "GPIO49"),
610 MTK_FUNCTION(1, "SDA5"),
611 MTK_FUNCTION(7, "DBG_MON_A30")
615 MTK_EINT_FUNCTION(0, 50),
617 MTK_FUNCTION(0, "GPIO50"),
618 MTK_FUNCTION(1, "SCL3"),
619 MTK_FUNCTION(2, "URXD1"),
620 MTK_FUNCTION(3, "MD_URXD1"),
621 MTK_FUNCTION(4, "SSPM_URXD_AO"),
622 MTK_FUNCTION(5, "IDDIG"),
623 MTK_FUNCTION(6, "TP_URXD1_AO"),
624 MTK_FUNCTION(7, "DBG_MON_A31")
628 MTK_EINT_FUNCTION(0, 51),
630 MTK_FUNCTION(0, "GPIO51"),
631 MTK_FUNCTION(1, "SDA3"),
632 MTK_FUNCTION(2, "UTXD1"),
633 MTK_FUNCTION(3, "MD_UTXD1"),
634 MTK_FUNCTION(4, "SSPM_UTXD_AO"),
635 MTK_FUNCTION(5, "USB_DRVVBUS"),
636 MTK_FUNCTION(6, "TP_UTXD1_AO"),
637 MTK_FUNCTION(7, "DBG_MON_A32")
641 MTK_EINT_FUNCTION(0, 52),
643 MTK_FUNCTION(0, "GPIO52"),
644 MTK_FUNCTION(1, "BPI_BUS15")
648 MTK_EINT_FUNCTION(0, 53),
650 MTK_FUNCTION(0, "GPIO53"),
651 MTK_FUNCTION(1, "BPI_BUS13")
655 MTK_EINT_FUNCTION(0, 54),
657 MTK_FUNCTION(0, "GPIO54"),
658 MTK_FUNCTION(1, "BPI_BUS12")
662 MTK_EINT_FUNCTION(0, 55),
664 MTK_FUNCTION(0, "GPIO55"),
665 MTK_FUNCTION(1, "BPI_BUS8")
669 MTK_EINT_FUNCTION(0, 56),
671 MTK_FUNCTION(0, "GPIO56"),
672 MTK_FUNCTION(1, "BPI_BUS9"),
673 MTK_FUNCTION(2, "SCL_6306")
677 MTK_EINT_FUNCTION(0, 57),
679 MTK_FUNCTION(0, "GPIO57"),
680 MTK_FUNCTION(1, "BPI_BUS10"),
681 MTK_FUNCTION(2, "SDA_6306")
685 MTK_EINT_FUNCTION(0, 58),
687 MTK_FUNCTION(0, "GPIO58"),
688 MTK_FUNCTION(1, "RFIC0_BSI_D2")
692 MTK_EINT_FUNCTION(0, 59),
694 MTK_FUNCTION(0, "GPIO59"),
695 MTK_FUNCTION(1, "RFIC0_BSI_D1")
699 MTK_EINT_FUNCTION(0, 60),
701 MTK_FUNCTION(0, "GPIO60"),
702 MTK_FUNCTION(1, "RFIC0_BSI_D0")
706 MTK_EINT_FUNCTION(0, 61),
708 MTK_FUNCTION(0, "GPIO61"),
709 MTK_FUNCTION(1, "MIPI1_SDATA")
713 MTK_EINT_FUNCTION(0, 62),
715 MTK_FUNCTION(0, "GPIO62"),
716 MTK_FUNCTION(1, "MIPI1_SCLK")
720 MTK_EINT_FUNCTION(0, 63),
722 MTK_FUNCTION(0, "GPIO63"),
723 MTK_FUNCTION(1, "MIPI0_SDATA")
727 MTK_EINT_FUNCTION(0, 64),
729 MTK_FUNCTION(0, "GPIO64"),
730 MTK_FUNCTION(1, "MIPI0_SCLK")
734 MTK_EINT_FUNCTION(0, 65),
736 MTK_FUNCTION(0, "GPIO65"),
737 MTK_FUNCTION(1, "MIPI3_SDATA"),
738 MTK_FUNCTION(2, "BPI_BUS16")
742 MTK_EINT_FUNCTION(0, 66),
744 MTK_FUNCTION(0, "GPIO66"),
745 MTK_FUNCTION(1, "MIPI3_SCLK"),
746 MTK_FUNCTION(2, "BPI_BUS17")
750 MTK_EINT_FUNCTION(0, 67),
752 MTK_FUNCTION(0, "GPIO67"),
753 MTK_FUNCTION(1, "MIPI2_SDATA")
757 MTK_EINT_FUNCTION(0, 68),
759 MTK_FUNCTION(0, "GPIO68"),
760 MTK_FUNCTION(1, "MIPI2_SCLK")
764 MTK_EINT_FUNCTION(0, 69),
766 MTK_FUNCTION(0, "GPIO69"),
767 MTK_FUNCTION(1, "BPI_BUS7")
771 MTK_EINT_FUNCTION(0, 70),
773 MTK_FUNCTION(0, "GPIO70"),
774 MTK_FUNCTION(1, "BPI_BUS6")
778 MTK_EINT_FUNCTION(0, 71),
780 MTK_FUNCTION(0, "GPIO71"),
781 MTK_FUNCTION(1, "BPI_BUS5")
785 MTK_EINT_FUNCTION(0, 72),
787 MTK_FUNCTION(0, "GPIO72"),
788 MTK_FUNCTION(1, "BPI_BUS4")
792 MTK_EINT_FUNCTION(0, 73),
794 MTK_FUNCTION(0, "GPIO73"),
795 MTK_FUNCTION(1, "BPI_BUS3")
799 MTK_EINT_FUNCTION(0, 74),
801 MTK_FUNCTION(0, "GPIO74"),
802 MTK_FUNCTION(1, "BPI_BUS2")
806 MTK_EINT_FUNCTION(0, 75),
808 MTK_FUNCTION(0, "GPIO75"),
809 MTK_FUNCTION(1, "BPI_BUS1")
813 MTK_EINT_FUNCTION(0, 76),
815 MTK_FUNCTION(0, "GPIO76"),
816 MTK_FUNCTION(1, "BPI_BUS0")
820 MTK_EINT_FUNCTION(0, 77),
822 MTK_FUNCTION(0, "GPIO77"),
823 MTK_FUNCTION(1, "BPI_BUS14")
827 MTK_EINT_FUNCTION(0, 78),
829 MTK_FUNCTION(0, "GPIO78"),
830 MTK_FUNCTION(1, "BPI_BUS11")
834 MTK_EINT_FUNCTION(0, 79),
836 MTK_FUNCTION(0, "GPIO79"),
837 MTK_FUNCTION(1, "BPI_PA_VM1"),
838 MTK_FUNCTION(2, "MIPI4_SDATA")
842 MTK_EINT_FUNCTION(0, 80),
844 MTK_FUNCTION(0, "GPIO80"),
845 MTK_FUNCTION(1, "BPI_PA_VM0"),
846 MTK_FUNCTION(2, "MIPI4_SCLK")
850 MTK_EINT_FUNCTION(0, 81),
852 MTK_FUNCTION(0, "GPIO81"),
853 MTK_FUNCTION(1, "SDA1"),
854 MTK_FUNCTION(7, "DBG_MON_B0")
858 MTK_EINT_FUNCTION(0, 82),
860 MTK_FUNCTION(0, "GPIO82"),
861 MTK_FUNCTION(1, "SDA0"),
862 MTK_FUNCTION(7, "DBG_MON_B1")
866 MTK_EINT_FUNCTION(0, 83),
868 MTK_FUNCTION(0, "GPIO83"),
869 MTK_FUNCTION(1, "SCL0"),
870 MTK_FUNCTION(7, "DBG_MON_B2")
874 MTK_EINT_FUNCTION(0, 84),
876 MTK_FUNCTION(0, "GPIO84"),
877 MTK_FUNCTION(1, "SCL1"),
878 MTK_FUNCTION(7, "DBG_MON_B3")
882 MTK_EINT_FUNCTION(0, 85),
884 MTK_FUNCTION(0, "GPIO85"),
885 MTK_FUNCTION(1, "RFIC0_BSI_EN")
889 MTK_EINT_FUNCTION(0, 86),
891 MTK_FUNCTION(0, "GPIO86"),
892 MTK_FUNCTION(1, "RFIC0_BSI_CK")
896 MTK_EINT_FUNCTION(0, 87),
898 MTK_FUNCTION(0, "GPIO87"),
899 MTK_FUNCTION(2, "MD_INT1_C2K_UIM0_HOT_PLUG"),
900 MTK_FUNCTION(3, "CMVREF0"),
901 MTK_FUNCTION(4, "MD_URXD0"),
902 MTK_FUNCTION(5, "AGPS_SYNC"),
903 MTK_FUNCTION(6, "EXT_FRAME_SYNC")
907 MTK_EINT_FUNCTION(0, 88),
909 MTK_FUNCTION(0, "GPIO88"),
910 MTK_FUNCTION(1, "CMMCLK3"),
911 MTK_FUNCTION(2, "MD_INT2_C2K_UIM1_HOT_PLUG"),
912 MTK_FUNCTION(3, "CMVREF1"),
913 MTK_FUNCTION(4, "MD_UTXD0"),
914 MTK_FUNCTION(5, "AGPS_SYNC"),
915 MTK_FUNCTION(6, "DVFSRC_EXT_REQ")
919 MTK_EINT_FUNCTION(0, 89),
921 MTK_FUNCTION(0, "GPIO89"),
922 MTK_FUNCTION(1, "SRCLKENAI0"),
923 MTK_FUNCTION(2, "PWM2"),
924 MTK_FUNCTION(3, "MD_INT0"),
925 MTK_FUNCTION(4, "USB_DRVVBUS"),
926 MTK_FUNCTION(5, "SCL_6306"),
927 MTK_FUNCTION(6, "TP_GPIO4_AO"),
928 MTK_FUNCTION(7, "DBG_MON_B21")
932 MTK_EINT_FUNCTION(0, 90),
934 MTK_FUNCTION(0, "GPIO90"),
935 MTK_FUNCTION(1, "URXD1"),
936 MTK_FUNCTION(2, "PWM0"),
937 MTK_FUNCTION(3, "MD_INT2_C2K_UIM1_HOT_PLUG"),
938 MTK_FUNCTION(4, "ANT_SEL4"),
939 MTK_FUNCTION(5, "USB_DRVVBUS"),
940 MTK_FUNCTION(6, "I2S2_BCK"),
941 MTK_FUNCTION(7, "DBG_MON_B4")
945 MTK_EINT_FUNCTION(0, 91),
947 MTK_FUNCTION(0, "GPIO91"),
948 MTK_FUNCTION(1, "KPROW1"),
949 MTK_FUNCTION(2, "PWM2"),
950 MTK_FUNCTION(3, "MD_INT0"),
951 MTK_FUNCTION(4, "ANT_SEL5"),
952 MTK_FUNCTION(5, "IDDIG"),
953 MTK_FUNCTION(6, "I2S2_LRCK"),
954 MTK_FUNCTION(7, "DBG_MON_B5")
958 MTK_EINT_FUNCTION(0, 92),
960 MTK_FUNCTION(0, "GPIO92"),
961 MTK_FUNCTION(1, "KPROW0"),
962 MTK_FUNCTION(5, "DVFSRC_EXT_REQ"),
963 MTK_FUNCTION(6, "I2S2_DI"),
964 MTK_FUNCTION(7, "DBG_MON_B6")
968 MTK_EINT_FUNCTION(0, 93),
970 MTK_FUNCTION(0, "GPIO93"),
971 MTK_FUNCTION(1, "KPCOL0"),
972 MTK_FUNCTION(7, "DBG_MON_B7")
976 MTK_EINT_FUNCTION(0, 94),
978 MTK_FUNCTION(0, "GPIO94"),
979 MTK_FUNCTION(1, "KPCOL1"),
980 MTK_FUNCTION(5, "CMFLASH"),
981 MTK_FUNCTION(6, "CMVREF0"),
982 MTK_FUNCTION(7, "DBG_MON_B8")
986 MTK_EINT_FUNCTION(0, 95),
988 MTK_FUNCTION(0, "GPIO95"),
989 MTK_FUNCTION(1, "URXD0"),
990 MTK_FUNCTION(2, "UTXD0"),
991 MTK_FUNCTION(3, "MD_URXD0"),
992 MTK_FUNCTION(4, "PTA_RXD"),
993 MTK_FUNCTION(5, "SSPM_URXD_AO"),
994 MTK_FUNCTION(6, "WIFI_RXD")
998 MTK_EINT_FUNCTION(0, 96),
1000 MTK_FUNCTION(0, "GPIO96"),
1001 MTK_FUNCTION(1, "UTXD0"),
1002 MTK_FUNCTION(2, "URXD0"),
1003 MTK_FUNCTION(3, "MD_UTXD0"),
1004 MTK_FUNCTION(4, "PTA_TXD"),
1005 MTK_FUNCTION(5, "SSPM_UTXD_AO"),
1006 MTK_FUNCTION(6, "WIFI_TXD")
1010 MTK_EINT_FUNCTION(0, 97),
1012 MTK_FUNCTION(0, "GPIO97"),
1013 MTK_FUNCTION(1, "UCTS0"),
1014 MTK_FUNCTION(2, "I2S1_MCK"),
1015 MTK_FUNCTION(3, "CONN_MCU_TDO"),
1016 MTK_FUNCTION(4, "SPI5_MI"),
1017 MTK_FUNCTION(5, "SCL_6306"),
1018 MTK_FUNCTION(6, "MCUPM_JTAG_TDO"),
1019 MTK_FUNCTION(7, "DBG_MON_B15")
1023 MTK_EINT_FUNCTION(0, 98),
1025 MTK_FUNCTION(0, "GPIO98"),
1026 MTK_FUNCTION(1, "URTS0"),
1027 MTK_FUNCTION(2, "I2S1_BCK"),
1028 MTK_FUNCTION(3, "CONN_MCU_TMS"),
1029 MTK_FUNCTION(4, "SPI5_CSB"),
1030 MTK_FUNCTION(6, "MCUPM_JTAG_TMS"),
1031 MTK_FUNCTION(7, "DBG_MON_B16")
1035 MTK_EINT_FUNCTION(0, 99),
1037 MTK_FUNCTION(0, "GPIO99"),
1038 MTK_FUNCTION(1, "CMMCLK0"),
1039 MTK_FUNCTION(4, "AUXIF_CLK"),
1040 MTK_FUNCTION(5, "PTA_RXD"),
1041 MTK_FUNCTION(6, "CONN_UART0_RXD"),
1042 MTK_FUNCTION(7, "DBG_MON_B17")
1047 MTK_EINT_FUNCTION(0, 100),
1049 MTK_FUNCTION(0, "GPIO100"),
1050 MTK_FUNCTION(1, "CMMCLK1"),
1051 MTK_FUNCTION(4, "AUXIF_ST"),
1052 MTK_FUNCTION(5, "PTA_TXD"),
1053 MTK_FUNCTION(6, "CONN_UART0_TXD"),
1054 MTK_FUNCTION(7, "DBG_MON_B18")
1058 MTK_EINT_FUNCTION(0, 101),
1060 MTK_FUNCTION(0, "GPIO101"),
1061 MTK_FUNCTION(1, "CMFLASH"),
1062 MTK_FUNCTION(2, "I2S1_LRCK"),
1063 MTK_FUNCTION(3, "CONN_MCU_TCK"),
1064 MTK_FUNCTION(4, "SPI5_MO"),
1065 MTK_FUNCTION(6, "MCUPM_JTAG_TCK"),
1066 MTK_FUNCTION(7, "DBG_MON_B19")
1070 MTK_EINT_FUNCTION(0, 102),
1072 MTK_FUNCTION(0, "GPIO102"),
1073 MTK_FUNCTION(1, "CMVREF0"),
1074 MTK_FUNCTION(2, "I2S1_DO"),
1075 MTK_FUNCTION(3, "CONN_MCU_TDI"),
1076 MTK_FUNCTION(4, "SPI5_CLK"),
1077 MTK_FUNCTION(5, "AGPS_SYNC"),
1078 MTK_FUNCTION(6, "MCUPM_JTAG_TDI"),
1079 MTK_FUNCTION(7, "DBG_MON_B20")
1083 MTK_EINT_FUNCTION(0, 103),
1085 MTK_FUNCTION(0, "GPIO103"),
1086 MTK_FUNCTION(1, "SCL2"),
1087 MTK_FUNCTION(2, "TP_UTXD1_AO"),
1088 MTK_FUNCTION(3, "MD_UTXD0"),
1089 MTK_FUNCTION(4, "MD_UTXD1"),
1090 MTK_FUNCTION(5, "TP_URTS2_AO"),
1091 MTK_FUNCTION(6, "WIFI_TXD"),
1092 MTK_FUNCTION(7, "DBG_MON_B25")
1096 MTK_EINT_FUNCTION(0, 104),
1098 MTK_FUNCTION(0, "GPIO104"),
1099 MTK_FUNCTION(1, "SDA2"),
1100 MTK_FUNCTION(2, "TP_URXD1_AO"),
1101 MTK_FUNCTION(3, "MD_URXD0"),
1102 MTK_FUNCTION(4, "MD_URXD1"),
1103 MTK_FUNCTION(5, "TP_UCTS2_AO"),
1104 MTK_FUNCTION(6, "WIFI_RXD"),
1105 MTK_FUNCTION(7, "DBG_MON_B26")
1109 MTK_EINT_FUNCTION(0, 105),
1111 MTK_FUNCTION(0, "GPIO105"),
1112 MTK_FUNCTION(1, "SCL4"),
1113 MTK_FUNCTION(3, "MD_UTXD1"),
1114 MTK_FUNCTION(4, "MD_UTXD0"),
1115 MTK_FUNCTION(5, "TP_UTXD2_AO"),
1116 MTK_FUNCTION(6, "PTA_TXD"),
1117 MTK_FUNCTION(7, "DBG_MON_B27")
1121 MTK_EINT_FUNCTION(0, 106),
1123 MTK_FUNCTION(0, "GPIO106"),
1124 MTK_FUNCTION(1, "SDA4"),
1125 MTK_FUNCTION(3, "MD_URXD1"),
1126 MTK_FUNCTION(4, "MD_URXD0"),
1127 MTK_FUNCTION(5, "TP_URXD2_AO"),
1128 MTK_FUNCTION(6, "PTA_RXD"),
1129 MTK_FUNCTION(7, "DBG_MON_B28")
1133 MTK_EINT_FUNCTION(0, 107),
1135 MTK_FUNCTION(0, "GPIO107"),
1136 MTK_FUNCTION(1, "UTXD1"),
1137 MTK_FUNCTION(2, "MD_UTXD0"),
1138 MTK_FUNCTION(3, "SDA_6306"),
1139 MTK_FUNCTION(4, "KPCOL3"),
1140 MTK_FUNCTION(5, "CMVREF0"),
1141 MTK_FUNCTION(6, "URTS0"),
1142 MTK_FUNCTION(7, "DBG_MON_B29")
1146 MTK_EINT_FUNCTION(0, 108),
1148 MTK_FUNCTION(0, "GPIO108"),
1149 MTK_FUNCTION(1, "CMMCLK2"),
1150 MTK_FUNCTION(2, "MD_INT0"),
1151 MTK_FUNCTION(3, "CONN_MCU_DBGACK_N"),
1152 MTK_FUNCTION(4, "KPCOL4"),
1153 MTK_FUNCTION(6, "I2S3_MCK"),
1154 MTK_FUNCTION(7, "DBG_MON_B30")
1158 MTK_EINT_FUNCTION(0, 109),
1160 MTK_FUNCTION(0, "GPIO109"),
1161 MTK_FUNCTION(1, "URXD1"),
1162 MTK_FUNCTION(2, "MD_URXD0"),
1163 MTK_FUNCTION(3, "ANT_SEL7"),
1164 MTK_FUNCTION(4, "KPCOL5"),
1165 MTK_FUNCTION(5, "CMVREF1"),
1166 MTK_FUNCTION(6, "UCTS0"),
1167 MTK_FUNCTION(7, "DBG_MON_B31")
1171 MTK_EINT_FUNCTION(0, 110),
1173 MTK_FUNCTION(0, "GPIO110"),
1174 MTK_FUNCTION(1, "ANT_SEL0"),
1175 MTK_FUNCTION(2, "CLKM0"),
1176 MTK_FUNCTION(3, "PWM3"),
1177 MTK_FUNCTION(4, "MD_INT0"),
1178 MTK_FUNCTION(5, "IDDIG"),
1179 MTK_FUNCTION(6, "I2S3_BCK"),
1180 MTK_FUNCTION(7, "DBG_MON_B13")
1184 MTK_EINT_FUNCTION(0, 111),
1186 MTK_FUNCTION(0, "GPIO111"),
1187 MTK_FUNCTION(1, "ANT_SEL1"),
1188 MTK_FUNCTION(2, "CLKM1"),
1189 MTK_FUNCTION(3, "PWM4"),
1190 MTK_FUNCTION(4, "PTA_RXD"),
1191 MTK_FUNCTION(5, "CMVREF0"),
1192 MTK_FUNCTION(6, "I2S3_LRCK"),
1193 MTK_FUNCTION(7, "DBG_MON_B14")
1197 MTK_EINT_FUNCTION(0, 112),
1199 MTK_FUNCTION(0, "GPIO112"),
1200 MTK_FUNCTION(1, "ANT_SEL2"),
1201 MTK_FUNCTION(2, "CLKM2"),
1202 MTK_FUNCTION(3, "PWM5"),
1203 MTK_FUNCTION(4, "PTA_TXD"),
1204 MTK_FUNCTION(5, "CMVREF1"),
1205 MTK_FUNCTION(6, "I2S3_DO")
1209 MTK_EINT_FUNCTION(0, NO_EINT_SUPPORT
),
1211 MTK_FUNCTION(0, "GPIO113"),
1212 MTK_FUNCTION(1, "CONN_TOP_CLK")
1216 MTK_EINT_FUNCTION(0, NO_EINT_SUPPORT
),
1218 MTK_FUNCTION(0, "GPIO114"),
1219 MTK_FUNCTION(1, "CONN_TOP_DATA")
1223 MTK_EINT_FUNCTION(0, NO_EINT_SUPPORT
),
1225 MTK_FUNCTION(0, "GPIO115"),
1226 MTK_FUNCTION(1, "CONN_BT_CLK")
1230 MTK_EINT_FUNCTION(0, NO_EINT_SUPPORT
),
1232 MTK_FUNCTION(0, "GPIO116"),
1233 MTK_FUNCTION(1, "CONN_BT_DATA")
1237 MTK_EINT_FUNCTION(0, NO_EINT_SUPPORT
),
1239 MTK_FUNCTION(0, "GPIO117"),
1240 MTK_FUNCTION(1, "CONN_WF_CTRL0")
1244 MTK_EINT_FUNCTION(0, NO_EINT_SUPPORT
),
1246 MTK_FUNCTION(0, "GPIO118"),
1247 MTK_FUNCTION(1, "CONN_WF_CTRL1")
1251 MTK_EINT_FUNCTION(0, NO_EINT_SUPPORT
),
1253 MTK_FUNCTION(0, "GPIO119"),
1254 MTK_FUNCTION(1, "CONN_WF_CTRL2")
1258 MTK_EINT_FUNCTION(0, NO_EINT_SUPPORT
),
1260 MTK_FUNCTION(0, "GPIO120"),
1261 MTK_FUNCTION(1, "CONN_WB_PTA")
1265 MTK_EINT_FUNCTION(0, NO_EINT_SUPPORT
),
1267 MTK_FUNCTION(0, "GPIO121"),
1268 MTK_FUNCTION(1, "CONN_HRST_B")
1272 MTK_EINT_FUNCTION(0, NO_EINT_SUPPORT
),
1274 MTK_FUNCTION(0, "GPIO122"),
1275 MTK_FUNCTION(1, "MSDC0_CMD"),
1276 MTK_FUNCTION(2, "MSDC0_CMD")
1280 MTK_EINT_FUNCTION(0, NO_EINT_SUPPORT
),
1282 MTK_FUNCTION(0, "GPIO123"),
1283 MTK_FUNCTION(1, "MSDC0_DAT0"),
1284 MTK_FUNCTION(2, "MSDC0_DAT4")
1288 MTK_EINT_FUNCTION(0, NO_EINT_SUPPORT
),
1290 MTK_FUNCTION(0, "GPIO124"),
1291 MTK_FUNCTION(1, "MSDC0_CLK"),
1292 MTK_FUNCTION(2, "MSDC0_CLK")
1296 MTK_EINT_FUNCTION(0, NO_EINT_SUPPORT
),
1298 MTK_FUNCTION(0, "GPIO125"),
1299 MTK_FUNCTION(1, "MSDC0_DAT2"),
1300 MTK_FUNCTION(2, "MSDC0_DAT5")
1304 MTK_EINT_FUNCTION(0, NO_EINT_SUPPORT
),
1306 MTK_FUNCTION(0, "GPIO126"),
1307 MTK_FUNCTION(1, "MSDC0_DAT4"),
1308 MTK_FUNCTION(2, "MSDC0_DAT2")
1312 MTK_EINT_FUNCTION(0, NO_EINT_SUPPORT
),
1314 MTK_FUNCTION(0, "GPIO127"),
1315 MTK_FUNCTION(1, "MSDC0_DAT6"),
1316 MTK_FUNCTION(2, "MSDC0_DAT1")
1320 MTK_EINT_FUNCTION(0, NO_EINT_SUPPORT
),
1322 MTK_FUNCTION(0, "GPIO128"),
1323 MTK_FUNCTION(1, "MSDC0_DAT1"),
1324 MTK_FUNCTION(2, "MSDC0_DAT6")
1328 MTK_EINT_FUNCTION(0, NO_EINT_SUPPORT
),
1330 MTK_FUNCTION(0, "GPIO129"),
1331 MTK_FUNCTION(1, "MSDC0_DAT5"),
1332 MTK_FUNCTION(2, "MSDC0_DAT0")
1336 MTK_EINT_FUNCTION(0, NO_EINT_SUPPORT
),
1338 MTK_FUNCTION(0, "GPIO130"),
1339 MTK_FUNCTION(1, "MSDC0_DAT7"),
1340 MTK_FUNCTION(2, "MSDC0_DAT7")
1344 MTK_EINT_FUNCTION(0, NO_EINT_SUPPORT
),
1346 MTK_FUNCTION(0, "GPIO131"),
1347 MTK_FUNCTION(1, "MSDC0_DSL"),
1348 MTK_FUNCTION(2, "MSDC0_DSL")
1352 MTK_EINT_FUNCTION(0, NO_EINT_SUPPORT
),
1354 MTK_FUNCTION(0, "GPIO132"),
1355 MTK_FUNCTION(1, "MSDC0_DAT3"),
1356 MTK_FUNCTION(2, "MSDC0_DAT3")
1360 MTK_EINT_FUNCTION(0, NO_EINT_SUPPORT
),
1362 MTK_FUNCTION(0, "GPIO133"),
1363 MTK_FUNCTION(1, "MSDC0_RSTB"),
1364 MTK_FUNCTION(2, "MSDC0_RSTB")
1368 MTK_EINT_FUNCTION(0, NO_EINT_SUPPORT
),
1370 MTK_FUNCTION(0, "GPIO134"),
1371 MTK_FUNCTION(1, "RTC32K_CK")
1375 MTK_EINT_FUNCTION(0, NO_EINT_SUPPORT
),
1377 MTK_FUNCTION(0, "GPIO135"),
1378 MTK_FUNCTION(1, "WATCHDOG")
1382 MTK_EINT_FUNCTION(0, NO_EINT_SUPPORT
),
1384 MTK_FUNCTION(0, "GPIO136"),
1385 MTK_FUNCTION(1, "AUD_CLK_MOSI"),
1386 MTK_FUNCTION(2, "AUD_CLK_MISO"),
1387 MTK_FUNCTION(3, "I2S1_MCK")
1391 MTK_EINT_FUNCTION(0, NO_EINT_SUPPORT
),
1393 MTK_FUNCTION(0, "GPIO137"),
1394 MTK_FUNCTION(1, "AUD_SYNC_MOSI"),
1395 MTK_FUNCTION(2, "AUD_SYNC_MISO"),
1396 MTK_FUNCTION(3, "I2S1_BCK")
1400 MTK_EINT_FUNCTION(0, NO_EINT_SUPPORT
),
1402 MTK_FUNCTION(0, "GPIO138"),
1403 MTK_FUNCTION(1, "AUD_DAT_MOSI0"),
1404 MTK_FUNCTION(2, "AUD_DAT_MISO0"),
1405 MTK_FUNCTION(3, "I2S1_LRCK")
1409 MTK_EINT_FUNCTION(0, NO_EINT_SUPPORT
),
1411 MTK_FUNCTION(0, "GPIO139"),
1412 MTK_FUNCTION(1, "AUD_DAT_MOSI1"),
1413 MTK_FUNCTION(2, "AUD_DAT_MISO1"),
1414 MTK_FUNCTION(3, "I2S1_DO")
1418 MTK_EINT_FUNCTION(0, NO_EINT_SUPPORT
),
1420 MTK_FUNCTION(0, "GPIO140"),
1421 MTK_FUNCTION(1, "AUD_CLK_MISO"),
1422 MTK_FUNCTION(2, "AUD_CLK_MOSI"),
1423 MTK_FUNCTION(3, "I2S2_MCK")
1427 MTK_EINT_FUNCTION(0, NO_EINT_SUPPORT
),
1429 MTK_FUNCTION(0, "GPIO141"),
1430 MTK_FUNCTION(1, "AUD_SYNC_MISO"),
1431 MTK_FUNCTION(2, "AUD_SYNC_MOSI"),
1432 MTK_FUNCTION(3, "I2S2_BCK")
1436 MTK_EINT_FUNCTION(0, NO_EINT_SUPPORT
),
1438 MTK_FUNCTION(0, "GPIO142"),
1439 MTK_FUNCTION(1, "AUD_DAT_MISO0"),
1440 MTK_FUNCTION(2, "AUD_DAT_MOSI0"),
1441 MTK_FUNCTION(3, "I2S2_LRCK")
1445 MTK_EINT_FUNCTION(0, NO_EINT_SUPPORT
),
1447 MTK_FUNCTION(0, "GPIO143"),
1448 MTK_FUNCTION(1, "AUD_DAT_MISO1"),
1449 MTK_FUNCTION(2, "AUD_DAT_MOSI1"),
1450 MTK_FUNCTION(3, "I2S2_DI")
1454 MTK_EINT_FUNCTION(0, NO_EINT_SUPPORT
),
1456 MTK_FUNCTION(0, "GPIO144"),
1457 MTK_FUNCTION(1, "PWRAP_SPI0_MI"),
1458 MTK_FUNCTION(2, "PWRAP_SPI0_MO")
1462 MTK_EINT_FUNCTION(0, NO_EINT_SUPPORT
),
1464 MTK_FUNCTION(0, "GPIO145"),
1465 MTK_FUNCTION(1, "PWRAP_SPI0_CSN")
1469 MTK_EINT_FUNCTION(0, NO_EINT_SUPPORT
),
1471 MTK_FUNCTION(0, "GPIO146"),
1472 MTK_FUNCTION(1, "PWRAP_SPI0_MO"),
1473 MTK_FUNCTION(2, "PWRAP_SPI0_MI")
1477 MTK_EINT_FUNCTION(0, NO_EINT_SUPPORT
),
1479 MTK_FUNCTION(0, "GPIO147"),
1480 MTK_FUNCTION(1, "PWRAP_SPI0_CK")
1484 MTK_EINT_FUNCTION(0, NO_EINT_SUPPORT
),
1486 MTK_FUNCTION(0, "GPIO148"),
1487 MTK_FUNCTION(1, "SRCLKENA0")
1491 MTK_EINT_FUNCTION(0, NO_EINT_SUPPORT
),
1493 MTK_FUNCTION(0, "GPIO149"),
1494 MTK_FUNCTION(1, "SRCLKENA1")
1498 MTK_EINT_FUNCTION(0, NO_EINT_SUPPORT
),
1500 MTK_FUNCTION(0, "GPIO150"),
1501 MTK_FUNCTION(1, "PWM0"),
1502 MTK_FUNCTION(2, "CMFLASH"),
1503 MTK_FUNCTION(3, "ANT_SEL3"),
1504 MTK_FUNCTION(5, "MD_URXD0"),
1505 MTK_FUNCTION(6, "TP_URXD2_AO")
1509 MTK_EINT_FUNCTION(0, NO_EINT_SUPPORT
),
1511 MTK_FUNCTION(0, "GPIO151"),
1512 MTK_FUNCTION(1, "PWM1"),
1513 MTK_FUNCTION(2, "CMVREF0"),
1514 MTK_FUNCTION(3, "ANT_SEL4"),
1515 MTK_FUNCTION(5, "MD_UTXD0"),
1516 MTK_FUNCTION(6, "TP_UTXD2_AO")
1520 MTK_EINT_FUNCTION(0, NO_EINT_SUPPORT
),
1522 MTK_FUNCTION(0, "GPIO152"),
1523 MTK_FUNCTION(1, "PWM2"),
1524 MTK_FUNCTION(2, "CMVREF1"),
1525 MTK_FUNCTION(3, "ANT_SEL5"),
1526 MTK_FUNCTION(5, "MD_URXD1"),
1527 MTK_FUNCTION(6, "TP_UCTS1_AO")
1531 MTK_EINT_FUNCTION(0, NO_EINT_SUPPORT
),
1533 MTK_FUNCTION(0, "GPIO153"),
1534 MTK_FUNCTION(1, "PWM3"),
1535 MTK_FUNCTION(2, "CLKM0"),
1536 MTK_FUNCTION(3, "ANT_SEL6"),
1537 MTK_FUNCTION(5, "MD_UTXD1"),
1538 MTK_FUNCTION(6, "TP_URTS1_AO")
1542 MTK_EINT_FUNCTION(0, NO_EINT_SUPPORT
),
1544 MTK_FUNCTION(0, "GPIO154"),
1545 MTK_FUNCTION(1, "PWM5"),
1546 MTK_FUNCTION(2, "CLKM2"),
1547 MTK_FUNCTION(3, "USB_DRVVBUS"),
1548 MTK_FUNCTION(5, "PTA_TXD"),
1549 MTK_FUNCTION(6, "CONN_UART0_TXD")
1553 MTK_EINT_FUNCTION(0, NO_EINT_SUPPORT
),
1555 MTK_FUNCTION(0, "GPIO155"),
1556 MTK_FUNCTION(1, "SPI0_MI"),
1557 MTK_FUNCTION(2, "IDDIG"),
1558 MTK_FUNCTION(3, "AGPS_SYNC"),
1559 MTK_FUNCTION(4, "TP_GPIO0_AO"),
1560 MTK_FUNCTION(5, "MFG_JTAG_TDO"),
1561 MTK_FUNCTION(6, "DFD_TDO"),
1562 MTK_FUNCTION(7, "JTDO_SEL1")
1566 MTK_EINT_FUNCTION(0, NO_EINT_SUPPORT
),
1568 MTK_FUNCTION(0, "GPIO156"),
1569 MTK_FUNCTION(1, "SPI0_CSB"),
1570 MTK_FUNCTION(2, "USB_DRVVBUS"),
1571 MTK_FUNCTION(3, "DVFSRC_EXT_REQ"),
1572 MTK_FUNCTION(4, "TP_GPIO1_AO"),
1573 MTK_FUNCTION(5, "MFG_JTAG_TMS"),
1574 MTK_FUNCTION(6, "DFD_TMS"),
1575 MTK_FUNCTION(7, "JTMS_SEL1")
1579 MTK_EINT_FUNCTION(0, NO_EINT_SUPPORT
),
1581 MTK_FUNCTION(0, "GPIO157"),
1582 MTK_FUNCTION(1, "SPI0_MO"),
1583 MTK_FUNCTION(2, "MD_INT1_C2K_UIM0_HOT_PLUG"),
1584 MTK_FUNCTION(3, "CLKM0"),
1585 MTK_FUNCTION(4, "TP_GPIO2_AO"),
1586 MTK_FUNCTION(5, "MFG_JTAG_TDI"),
1587 MTK_FUNCTION(6, "DFD_TDI"),
1588 MTK_FUNCTION(7, "JTDI_SEL1")
1592 MTK_EINT_FUNCTION(0, NO_EINT_SUPPORT
),
1594 MTK_FUNCTION(0, "GPIO158"),
1595 MTK_FUNCTION(1, "SPI0_CLK"),
1596 MTK_FUNCTION(2, "MD_INT2_C2K_UIM1_HOT_PLUG"),
1597 MTK_FUNCTION(3, "EXT_FRAME_SYNC"),
1598 MTK_FUNCTION(4, "TP_GPIO3_AO"),
1599 MTK_FUNCTION(5, "MFG_JTAG_TCK"),
1600 MTK_FUNCTION(6, "DFD_TCK_XI"),
1601 MTK_FUNCTION(7, "JTCK_SEL1")
1605 MTK_EINT_FUNCTION(0, NO_EINT_SUPPORT
),
1607 MTK_FUNCTION(0, "GPIO159"),
1608 MTK_FUNCTION(1, "PWM4"),
1609 MTK_FUNCTION(2, "CLKM1"),
1610 MTK_FUNCTION(3, "ANT_SEL7"),
1611 MTK_FUNCTION(5, "PTA_RXD"),
1612 MTK_FUNCTION(6, "CONN_UART0_RXD")
1616 MTK_EINT_FUNCTION(0, NO_EINT_SUPPORT
),
1618 MTK_FUNCTION(0, "GPIO160"),
1619 MTK_FUNCTION(1, "CLKM0"),
1620 MTK_FUNCTION(2, "PWM2"),
1621 MTK_FUNCTION(3, "EXT_FRAME_SYNC"),
1622 MTK_FUNCTION(4, "TP_GPIO5_AO"),
1623 MTK_FUNCTION(5, "AGPS_SYNC"),
1624 MTK_FUNCTION(6, "DVFSRC_EXT_REQ")
1628 MTK_EINT_FUNCTION(0, NO_EINT_SUPPORT
),
1630 MTK_FUNCTION(0, "GPIO161"),
1631 MTK_FUNCTION(1, "SCL6"),
1632 MTK_FUNCTION(2, "SCL_6306"),
1633 MTK_FUNCTION(3, "TP_GPIO6_AO"),
1634 MTK_FUNCTION(4, "KPCOL6"),
1635 MTK_FUNCTION(5, "PTA_RXD"),
1636 MTK_FUNCTION(6, "CONN_UART0_RXD")
1640 MTK_EINT_FUNCTION(0, NO_EINT_SUPPORT
),
1642 MTK_FUNCTION(0, "GPIO162"),
1643 MTK_FUNCTION(1, "SDA6"),
1644 MTK_FUNCTION(2, "SDA_6306"),
1645 MTK_FUNCTION(3, "TP_GPIO7_AO"),
1646 MTK_FUNCTION(4, "KPCOL7"),
1647 MTK_FUNCTION(5, "PTA_TXD"),
1648 MTK_FUNCTION(6, "CONN_UART0_TXD")
1652 MTK_EINT_FUNCTION(0, NO_EINT_SUPPORT
),
1654 MTK_FUNCTION(0, "GPIO163")
1658 MTK_EINT_FUNCTION(0, NO_EINT_SUPPORT
),
1660 MTK_FUNCTION(0, "GPIO164")
1664 MTK_EINT_FUNCTION(0, NO_EINT_SUPPORT
),
1666 MTK_FUNCTION(0, "GPIO165")
1670 MTK_EINT_FUNCTION(0, NO_EINT_SUPPORT
),
1672 MTK_FUNCTION(0, "GPIO166")
1676 MTK_EINT_FUNCTION(0, NO_EINT_SUPPORT
),
1678 MTK_FUNCTION(0, "GPIO167")
1682 MTK_EINT_FUNCTION(0, NO_EINT_SUPPORT
),
1684 MTK_FUNCTION(0, "GPIO168")
1688 MTK_EINT_FUNCTION(0, NO_EINT_SUPPORT
),
1690 MTK_FUNCTION(0, "GPIO169")
1694 MTK_EINT_FUNCTION(0, NO_EINT_SUPPORT
),
1696 MTK_FUNCTION(0, "GPIO170")
1700 MTK_EINT_FUNCTION(0, NO_EINT_SUPPORT
),
1702 MTK_FUNCTION(0, "GPIO171")
1706 MTK_EINT_FUNCTION(0, NO_EINT_SUPPORT
),
1708 MTK_FUNCTION(0, "GPIO172")
1712 MTK_EINT_FUNCTION(0, NO_EINT_SUPPORT
),
1714 MTK_FUNCTION(0, "GPIO173")
1718 MTK_EINT_FUNCTION(0, NO_EINT_SUPPORT
),
1720 MTK_FUNCTION(0, "GPIO174")
1724 MTK_EINT_FUNCTION(0, NO_EINT_SUPPORT
),
1726 MTK_FUNCTION(0, "GPIO175")
1730 MTK_EINT_FUNCTION(0, NO_EINT_SUPPORT
),
1732 MTK_FUNCTION(0, "GPIO176")
1736 MTK_EINT_FUNCTION(0, NO_EINT_SUPPORT
),
1738 MTK_FUNCTION(0, "GPIO177")
1742 MTK_EINT_FUNCTION(0, NO_EINT_SUPPORT
),
1744 MTK_FUNCTION(0, "GPIO178")
1748 MTK_EINT_FUNCTION(0, 151),
1750 MTK_FUNCTION(0, "GPIO179")
1754 #endif /* __PINCTRL_MTK_MT6765_H */