2 * Copyright (c) 2014 MediaTek Inc.
3 * Author: Hongzhou.Yang <hongzhou.yang@mediatek.com>
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 as
7 * published by the Free Software Foundation.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
15 #ifndef __PINCTRL_MTK_MT8135_H
16 #define __PINCTRL_MTK_MT8135_H
18 #include <linux/pinctrl/pinctrl.h>
19 #include "pinctrl-mtk-common.h"
21 static const struct mtk_desc_pin mtk_pins_mt8135
[] = {
23 PINCTRL_PIN(0, "MSDC0_DAT7"),
25 MTK_EINT_FUNCTION(2, 49),
26 MTK_FUNCTION(0, "GPIO0"),
27 MTK_FUNCTION(1, "MSDC0_DAT7"),
28 MTK_FUNCTION(2, "EINT49"),
29 MTK_FUNCTION(3, "I2SOUT_DAT"),
30 MTK_FUNCTION(4, "DAC_DAT_OUT"),
31 MTK_FUNCTION(5, "PCM1_DO"),
32 MTK_FUNCTION(6, "SPI1_MO"),
33 MTK_FUNCTION(7, "NALE")
36 PINCTRL_PIN(1, "MSDC0_DAT6"),
38 MTK_EINT_FUNCTION(2, 48),
39 MTK_FUNCTION(0, "GPIO1"),
40 MTK_FUNCTION(1, "MSDC0_DAT6"),
41 MTK_FUNCTION(2, "EINT48"),
42 MTK_FUNCTION(3, "I2SIN_WS"),
43 MTK_FUNCTION(4, "DAC_WS"),
44 MTK_FUNCTION(5, "PCM1_WS"),
45 MTK_FUNCTION(6, "SPI1_CSN"),
46 MTK_FUNCTION(7, "NCLE")
49 PINCTRL_PIN(2, "MSDC0_DAT5"),
51 MTK_EINT_FUNCTION(2, 47),
52 MTK_FUNCTION(0, "GPIO2"),
53 MTK_FUNCTION(1, "MSDC0_DAT5"),
54 MTK_FUNCTION(2, "EINT47"),
55 MTK_FUNCTION(3, "I2SIN_CK"),
56 MTK_FUNCTION(4, "DAC_CK"),
57 MTK_FUNCTION(5, "PCM1_CK"),
58 MTK_FUNCTION(6, "SPI1_CLK"),
59 MTK_FUNCTION(7, "NLD4")
62 PINCTRL_PIN(3, "MSDC0_DAT4"),
64 MTK_EINT_FUNCTION(2, 46),
65 MTK_FUNCTION(0, "GPIO3"),
66 MTK_FUNCTION(1, "MSDC0_DAT4"),
67 MTK_FUNCTION(2, "EINT46"),
68 MTK_FUNCTION(3, "A_FUNC_CK"),
69 MTK_FUNCTION(6, "LSCE1B_2X"),
70 MTK_FUNCTION(7, "NLD5")
73 PINCTRL_PIN(4, "MSDC0_CMD"),
75 MTK_EINT_FUNCTION(2, 41),
76 MTK_FUNCTION(0, "GPIO4"),
77 MTK_FUNCTION(1, "MSDC0_CMD"),
78 MTK_FUNCTION(2, "EINT41"),
79 MTK_FUNCTION(3, "A_FUNC_DOUT[0]"),
80 MTK_FUNCTION(5, "USB_TEST_IO[0]"),
81 MTK_FUNCTION(6, "LRSTB_2X"),
82 MTK_FUNCTION(7, "NRNB")
85 PINCTRL_PIN(5, "MSDC0_CLK"),
87 MTK_EINT_FUNCTION(2, 40),
88 MTK_FUNCTION(0, "GPIO5"),
89 MTK_FUNCTION(1, "MSDC0_CLK"),
90 MTK_FUNCTION(2, "EINT40"),
91 MTK_FUNCTION(3, "A_FUNC_DOUT[1]"),
92 MTK_FUNCTION(5, "USB_TEST_IO[1]"),
93 MTK_FUNCTION(6, "LPTE"),
94 MTK_FUNCTION(7, "NREB")
97 PINCTRL_PIN(6, "MSDC0_DAT3"),
99 MTK_EINT_FUNCTION(2, 45),
100 MTK_FUNCTION(0, "GPIO6"),
101 MTK_FUNCTION(1, "MSDC0_DAT3"),
102 MTK_FUNCTION(2, "EINT45"),
103 MTK_FUNCTION(3, "A_FUNC_DOUT[2]"),
104 MTK_FUNCTION(5, "USB_TEST_IO[2]"),
105 MTK_FUNCTION(6, "LSCE0B_2X"),
106 MTK_FUNCTION(7, "NLD7")
109 PINCTRL_PIN(7, "MSDC0_DAT2"),
111 MTK_EINT_FUNCTION(2, 44),
112 MTK_FUNCTION(0, "GPIO7"),
113 MTK_FUNCTION(1, "MSDC0_DAT2"),
114 MTK_FUNCTION(2, "EINT44"),
115 MTK_FUNCTION(3, "A_FUNC_DOUT[3]"),
116 MTK_FUNCTION(5, "USB_TEST_IO[3]"),
117 MTK_FUNCTION(6, "LSA0_2X"),
118 MTK_FUNCTION(7, "NLD14")
121 PINCTRL_PIN(8, "MSDC0_DAT1"),
123 MTK_EINT_FUNCTION(2, 43),
124 MTK_FUNCTION(0, "GPIO8"),
125 MTK_FUNCTION(1, "MSDC0_DAT1"),
126 MTK_FUNCTION(2, "EINT43"),
127 MTK_FUNCTION(5, "USB_TEST_IO[4]"),
128 MTK_FUNCTION(6, "LSCK_2X"),
129 MTK_FUNCTION(7, "NLD11")
132 PINCTRL_PIN(9, "MSDC0_DAT0"),
134 MTK_EINT_FUNCTION(2, 42),
135 MTK_FUNCTION(0, "GPIO9"),
136 MTK_FUNCTION(1, "MSDC0_DAT0"),
137 MTK_FUNCTION(2, "EINT42"),
138 MTK_FUNCTION(5, "USB_TEST_IO[5]"),
139 MTK_FUNCTION(6, "LSDA_2X")
142 PINCTRL_PIN(10, "NCEB0"),
144 MTK_EINT_FUNCTION(2, 139),
145 MTK_FUNCTION(0, "GPIO10"),
146 MTK_FUNCTION(1, "NCEB0"),
147 MTK_FUNCTION(2, "EINT139"),
148 MTK_FUNCTION(7, "TESTA_OUT4")
151 PINCTRL_PIN(11, "NCEB1"),
153 MTK_EINT_FUNCTION(2, 140),
154 MTK_FUNCTION(0, "GPIO11"),
155 MTK_FUNCTION(1, "NCEB1"),
156 MTK_FUNCTION(2, "EINT140"),
157 MTK_FUNCTION(6, "USB_DRVVBUS"),
158 MTK_FUNCTION(7, "TESTA_OUT5")
161 PINCTRL_PIN(12, "NRNB"),
163 MTK_EINT_FUNCTION(2, 141),
164 MTK_FUNCTION(0, "GPIO12"),
165 MTK_FUNCTION(1, "NRNB"),
166 MTK_FUNCTION(2, "EINT141"),
167 MTK_FUNCTION(3, "A_FUNC_DOUT[4]"),
168 MTK_FUNCTION(7, "TESTA_OUT6")
171 PINCTRL_PIN(13, "NCLE"),
173 MTK_EINT_FUNCTION(2, 142),
174 MTK_FUNCTION(0, "GPIO13"),
175 MTK_FUNCTION(1, "NCLE"),
176 MTK_FUNCTION(2, "EINT142"),
177 MTK_FUNCTION(3, "A_FUNC_DOUT[5]"),
178 MTK_FUNCTION(4, "CM2PDN_1X"),
179 MTK_FUNCTION(6, "NALE"),
180 MTK_FUNCTION(7, "TESTA_OUT7")
183 PINCTRL_PIN(14, "NALE"),
185 MTK_EINT_FUNCTION(2, 143),
186 MTK_FUNCTION(0, "GPIO14"),
187 MTK_FUNCTION(1, "NALE"),
188 MTK_FUNCTION(2, "EINT143"),
189 MTK_FUNCTION(3, "A_FUNC_DOUT[6]"),
190 MTK_FUNCTION(4, "CM2MCLK_1X"),
191 MTK_FUNCTION(5, "IRDA_RXD"),
192 MTK_FUNCTION(6, "NCLE"),
193 MTK_FUNCTION(7, "TESTA_OUT8")
196 PINCTRL_PIN(15, "NREB"),
198 MTK_EINT_FUNCTION(2, 144),
199 MTK_FUNCTION(0, "GPIO15"),
200 MTK_FUNCTION(1, "NREB"),
201 MTK_FUNCTION(2, "EINT144"),
202 MTK_FUNCTION(3, "A_FUNC_DOUT[7]"),
203 MTK_FUNCTION(4, "CM2RST_1X"),
204 MTK_FUNCTION(5, "IRDA_TXD"),
205 MTK_FUNCTION(7, "TESTA_OUT9")
208 PINCTRL_PIN(16, "NWEB"),
210 MTK_EINT_FUNCTION(2, 145),
211 MTK_FUNCTION(0, "GPIO16"),
212 MTK_FUNCTION(1, "NWEB"),
213 MTK_FUNCTION(2, "EINT145"),
214 MTK_FUNCTION(3, "A_FUNC_DIN[0]"),
215 MTK_FUNCTION(4, "CM2PCLK_1X"),
216 MTK_FUNCTION(5, "IRDA_PDN"),
217 MTK_FUNCTION(7, "TESTA_OUT10")
220 PINCTRL_PIN(17, "NLD0"),
222 MTK_EINT_FUNCTION(2, 146),
223 MTK_FUNCTION(0, "GPIO17"),
224 MTK_FUNCTION(1, "NLD0"),
225 MTK_FUNCTION(2, "EINT146"),
226 MTK_FUNCTION(3, "A_FUNC_DIN[1]"),
227 MTK_FUNCTION(4, "CM2DAT_1X[0]"),
228 MTK_FUNCTION(5, "I2SIN_CK"),
229 MTK_FUNCTION(6, "DAC_CK"),
230 MTK_FUNCTION(7, "TESTA_OUT11")
233 PINCTRL_PIN(18, "NLD1"),
235 MTK_EINT_FUNCTION(2, 147),
236 MTK_FUNCTION(0, "GPIO18"),
237 MTK_FUNCTION(1, "NLD1"),
238 MTK_FUNCTION(2, "EINT147"),
239 MTK_FUNCTION(3, "A_FUNC_DIN[2]"),
240 MTK_FUNCTION(4, "CM2DAT_1X[1]"),
241 MTK_FUNCTION(5, "I2SIN_WS"),
242 MTK_FUNCTION(6, "DAC_WS"),
243 MTK_FUNCTION(7, "TESTA_OUT12")
246 PINCTRL_PIN(19, "NLD2"),
248 MTK_EINT_FUNCTION(2, 148),
249 MTK_FUNCTION(0, "GPIO19"),
250 MTK_FUNCTION(1, "NLD2"),
251 MTK_FUNCTION(2, "EINT148"),
252 MTK_FUNCTION(3, "A_FUNC_DIN[3]"),
253 MTK_FUNCTION(4, "CM2DAT_1X[2]"),
254 MTK_FUNCTION(5, "I2SOUT_DAT"),
255 MTK_FUNCTION(6, "DAC_DAT_OUT"),
256 MTK_FUNCTION(7, "TESTA_OUT13")
259 PINCTRL_PIN(20, "NLD3"),
261 MTK_EINT_FUNCTION(2, 149),
262 MTK_FUNCTION(0, "GPIO20"),
263 MTK_FUNCTION(1, "NLD3"),
264 MTK_FUNCTION(2, "EINT149"),
265 MTK_FUNCTION(3, "A_FUNC_DIN[4]"),
266 MTK_FUNCTION(4, "CM2DAT_1X[3]"),
267 MTK_FUNCTION(7, "TESTA_OUT14")
270 PINCTRL_PIN(21, "NLD4"),
272 MTK_EINT_FUNCTION(2, 150),
273 MTK_FUNCTION(0, "GPIO21"),
274 MTK_FUNCTION(1, "NLD4"),
275 MTK_FUNCTION(2, "EINT150"),
276 MTK_FUNCTION(3, "A_FUNC_DIN[5]"),
277 MTK_FUNCTION(4, "CM2DAT_1X[4]"),
278 MTK_FUNCTION(7, "TESTA_OUT15")
281 PINCTRL_PIN(22, "NLD5"),
283 MTK_EINT_FUNCTION(2, 151),
284 MTK_FUNCTION(0, "GPIO22"),
285 MTK_FUNCTION(1, "NLD5"),
286 MTK_FUNCTION(2, "EINT151"),
287 MTK_FUNCTION(3, "A_FUNC_DIN[6]"),
288 MTK_FUNCTION(4, "CM2DAT_1X[5]"),
289 MTK_FUNCTION(7, "TESTA_OUT16")
292 PINCTRL_PIN(23, "NLD6"),
294 MTK_EINT_FUNCTION(2, 152),
295 MTK_FUNCTION(0, "GPIO23"),
296 MTK_FUNCTION(1, "NLD6"),
297 MTK_FUNCTION(2, "EINT152"),
298 MTK_FUNCTION(3, "A_FUNC_DIN[7]"),
299 MTK_FUNCTION(4, "CM2DAT_1X[6]"),
300 MTK_FUNCTION(7, "TESTA_OUT17")
303 PINCTRL_PIN(24, "NLD7"),
305 MTK_EINT_FUNCTION(2, 153),
306 MTK_FUNCTION(0, "GPIO24"),
307 MTK_FUNCTION(1, "NLD7"),
308 MTK_FUNCTION(2, "EINT153"),
309 MTK_FUNCTION(3, "A_FUNC_DIN[8]"),
310 MTK_FUNCTION(4, "CM2DAT_1X[7]"),
311 MTK_FUNCTION(7, "TESTA_OUT18")
314 PINCTRL_PIN(25, "NLD8"),
316 MTK_EINT_FUNCTION(2, 154),
317 MTK_FUNCTION(0, "GPIO25"),
318 MTK_FUNCTION(1, "NLD8"),
319 MTK_FUNCTION(2, "EINT154"),
320 MTK_FUNCTION(4, "CM2DAT_1X[8]")
323 PINCTRL_PIN(26, "NLD9"),
325 MTK_EINT_FUNCTION(2, 155),
326 MTK_FUNCTION(0, "GPIO26"),
327 MTK_FUNCTION(1, "NLD9"),
328 MTK_FUNCTION(2, "EINT155"),
329 MTK_FUNCTION(4, "CM2DAT_1X[9]"),
330 MTK_FUNCTION(5, "PWM1")
333 PINCTRL_PIN(27, "NLD10"),
335 MTK_EINT_FUNCTION(2, 156),
336 MTK_FUNCTION(0, "GPIO27"),
337 MTK_FUNCTION(1, "NLD10"),
338 MTK_FUNCTION(2, "EINT156"),
339 MTK_FUNCTION(4, "CM2VSYNC_1X"),
340 MTK_FUNCTION(5, "PWM2")
343 PINCTRL_PIN(28, "NLD11"),
345 MTK_EINT_FUNCTION(2, 157),
346 MTK_FUNCTION(0, "GPIO28"),
347 MTK_FUNCTION(1, "NLD11"),
348 MTK_FUNCTION(2, "EINT157"),
349 MTK_FUNCTION(4, "CM2HSYNC_1X"),
350 MTK_FUNCTION(5, "PWM3")
353 PINCTRL_PIN(29, "NLD12"),
355 MTK_EINT_FUNCTION(2, 158),
356 MTK_FUNCTION(0, "GPIO29"),
357 MTK_FUNCTION(1, "NLD12"),
358 MTK_FUNCTION(2, "EINT158"),
359 MTK_FUNCTION(3, "I2SIN_CK"),
360 MTK_FUNCTION(4, "DAC_CK"),
361 MTK_FUNCTION(5, "PCM1_CK")
364 PINCTRL_PIN(30, "NLD13"),
366 MTK_EINT_FUNCTION(2, 159),
367 MTK_FUNCTION(0, "GPIO30"),
368 MTK_FUNCTION(1, "NLD13"),
369 MTK_FUNCTION(2, "EINT159"),
370 MTK_FUNCTION(3, "I2SIN_WS"),
371 MTK_FUNCTION(4, "DAC_WS"),
372 MTK_FUNCTION(5, "PCM1_WS")
375 PINCTRL_PIN(31, "NLD14"),
377 MTK_EINT_FUNCTION(2, 160),
378 MTK_FUNCTION(0, "GPIO31"),
379 MTK_FUNCTION(1, "NLD14"),
380 MTK_FUNCTION(2, "EINT160"),
381 MTK_FUNCTION(3, "I2SOUT_DAT"),
382 MTK_FUNCTION(4, "DAC_DAT_OUT"),
383 MTK_FUNCTION(5, "PCM1_DO")
386 PINCTRL_PIN(32, "NLD15"),
388 MTK_EINT_FUNCTION(2, 161),
389 MTK_FUNCTION(0, "GPIO32"),
390 MTK_FUNCTION(1, "NLD15"),
391 MTK_FUNCTION(2, "EINT161"),
392 MTK_FUNCTION(3, "DISP_PWM"),
393 MTK_FUNCTION(4, "PWM4"),
394 MTK_FUNCTION(5, "PCM1_DI")
397 PINCTRL_PIN(33, "MSDC0_RSTB"),
399 MTK_EINT_FUNCTION(2, 50),
400 MTK_FUNCTION(0, "GPIO33"),
401 MTK_FUNCTION(1, "MSDC0_RSTB"),
402 MTK_FUNCTION(2, "EINT50"),
403 MTK_FUNCTION(3, "I2SIN_DAT"),
404 MTK_FUNCTION(5, "PCM1_DI"),
405 MTK_FUNCTION(6, "SPI1_MI"),
406 MTK_FUNCTION(7, "NLD10")
409 PINCTRL_PIN(34, "IDDIG"),
411 MTK_EINT_FUNCTION(2, 34),
412 MTK_FUNCTION(0, "GPIO34"),
413 MTK_FUNCTION(1, "IDDIG"),
414 MTK_FUNCTION(2, "EINT34")
417 PINCTRL_PIN(35, "SCL3"),
419 MTK_EINT_FUNCTION(2, 96),
420 MTK_FUNCTION(0, "GPIO35"),
421 MTK_FUNCTION(1, "SCL3"),
422 MTK_FUNCTION(2, "EINT96"),
423 MTK_FUNCTION(3, "CLKM6"),
424 MTK_FUNCTION(4, "PWM6")
427 PINCTRL_PIN(36, "SDA3"),
429 MTK_EINT_FUNCTION(2, 97),
430 MTK_FUNCTION(0, "GPIO36"),
431 MTK_FUNCTION(1, "SDA3"),
432 MTK_FUNCTION(2, "EINT97")
435 PINCTRL_PIN(37, "AUD_CLK_MOSI"),
437 MTK_EINT_FUNCTION(4, 19),
438 MTK_FUNCTION(0, "GPIO37"),
439 MTK_FUNCTION(1, "AUD_CLK"),
440 MTK_FUNCTION(2, "ADC_CK"),
441 MTK_FUNCTION(3, " HDMI_SDATA0"),
442 MTK_FUNCTION(4, "EINT19"),
443 MTK_FUNCTION(5, "USB_TEST_IO[6]"),
444 MTK_FUNCTION(7, "TESTA_OUT19")
447 PINCTRL_PIN(38, "AUD_DAT_MOSI"),
449 MTK_EINT_FUNCTION(4, 21),
450 MTK_FUNCTION(0, "GPIO38"),
451 MTK_FUNCTION(1, "AUD_DAT_MOSI"),
452 MTK_FUNCTION(2, "ADC_WS"),
453 MTK_FUNCTION(3, "AUD_DAT_MISO"),
454 MTK_FUNCTION(4, "EINT21"),
455 MTK_FUNCTION(5, "USB_TEST_IO[7]"),
456 MTK_FUNCTION(7, "TESTA_OUT20")
459 PINCTRL_PIN(39, "AUD_DAT_MISO"),
461 MTK_EINT_FUNCTION(4, 20),
462 MTK_FUNCTION(0, "GPIO39"),
463 MTK_FUNCTION(1, "AUD_DAT_MISO"),
464 MTK_FUNCTION(2, "ADC_DAT_IN"),
465 MTK_FUNCTION(3, "AUD_DAT_MOSI"),
466 MTK_FUNCTION(4, "EINT20"),
467 MTK_FUNCTION(5, "USB_TEST_IO[8]"),
468 MTK_FUNCTION(7, "TESTA_OUT21")
471 PINCTRL_PIN(40, "DAC_CLK"),
473 MTK_EINT_FUNCTION(2, 22),
474 MTK_FUNCTION(0, "GPIO40"),
475 MTK_FUNCTION(1, "DAC_CK"),
476 MTK_FUNCTION(2, "EINT22"),
477 MTK_FUNCTION(3, " HDMI_SDATA1"),
478 MTK_FUNCTION(5, "USB_TEST_IO[9]"),
479 MTK_FUNCTION(7, "TESTA_OUT22")
482 PINCTRL_PIN(41, "DAC_WS"),
484 MTK_EINT_FUNCTION(2, 24),
485 MTK_FUNCTION(0, "GPIO41"),
486 MTK_FUNCTION(1, "DAC_WS"),
487 MTK_FUNCTION(2, "EINT24"),
488 MTK_FUNCTION(3, " HDMI_SDATA2"),
489 MTK_FUNCTION(5, "USB_TEST_IO[10]"),
490 MTK_FUNCTION(7, "TESTA_OUT23")
493 PINCTRL_PIN(42, "DAC_DAT_OUT"),
495 MTK_EINT_FUNCTION(2, 23),
496 MTK_FUNCTION(0, "GPIO42"),
497 MTK_FUNCTION(1, "DAC_DAT_OUT"),
498 MTK_FUNCTION(2, "EINT23"),
499 MTK_FUNCTION(3, " HDMI_SDATA3"),
500 MTK_FUNCTION(5, "USB_TEST_IO[11]"),
501 MTK_FUNCTION(7, "TESTA_OUT24")
504 PINCTRL_PIN(43, "PWRAP_SPI0_MO"),
506 MTK_EINT_FUNCTION(2, 29),
507 MTK_FUNCTION(0, "GPIO43"),
508 MTK_FUNCTION(1, "PWRAP_SPIDI"),
509 MTK_FUNCTION(2, "EINT29")
512 PINCTRL_PIN(44, "PWRAP_SPI0_MI"),
514 MTK_EINT_FUNCTION(2, 28),
515 MTK_FUNCTION(0, "GPIO44"),
516 MTK_FUNCTION(1, "PWRAP_SPIDO"),
517 MTK_FUNCTION(2, "EINT28")
520 PINCTRL_PIN(45, "PWRAP_SPI0_CSN"),
522 MTK_EINT_FUNCTION(2, 27),
523 MTK_FUNCTION(0, "GPIO45"),
524 MTK_FUNCTION(1, "PWRAP_SPICS_B_I"),
525 MTK_FUNCTION(2, "EINT27")
528 PINCTRL_PIN(46, "PWRAP_SPI0_CLK"),
530 MTK_EINT_FUNCTION(2, 26),
531 MTK_FUNCTION(0, "GPIO46"),
532 MTK_FUNCTION(1, "PWRAP_SPICK_I"),
533 MTK_FUNCTION(2, "EINT26")
536 PINCTRL_PIN(47, "PWRAP_EVENT"),
538 MTK_EINT_FUNCTION(2, 25),
539 MTK_FUNCTION(0, "GPIO47"),
540 MTK_FUNCTION(1, "PWRAP_EVENT_IN"),
541 MTK_FUNCTION(2, "EINT25"),
542 MTK_FUNCTION(7, "TESTA_OUT2")
545 PINCTRL_PIN(48, "RTC32K_CK"),
547 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
548 MTK_FUNCTION(0, "GPIO48"),
549 MTK_FUNCTION(1, "RTC32K_CK")
552 PINCTRL_PIN(49, "WATCHDOG"),
554 MTK_EINT_FUNCTION(2, 36),
555 MTK_FUNCTION(0, "GPIO49"),
556 MTK_FUNCTION(1, "WATCHDOG"),
557 MTK_FUNCTION(2, "EINT36")
560 PINCTRL_PIN(50, "SRCLKENA"),
562 MTK_EINT_FUNCTION(2, 38),
563 MTK_FUNCTION(0, "GPIO50"),
564 MTK_FUNCTION(1, "SRCLKENA"),
565 MTK_FUNCTION(2, "EINT38")
568 PINCTRL_PIN(51, "SRCVOLTEN"),
570 MTK_EINT_FUNCTION(2, 37),
571 MTK_FUNCTION(0, "GPIO51"),
572 MTK_FUNCTION(1, "SRCVOLTEN"),
573 MTK_FUNCTION(2, "EINT37")
576 PINCTRL_PIN(52, "EINT0"),
578 MTK_EINT_FUNCTION(1, 0),
579 MTK_FUNCTION(0, "GPIO52"),
580 MTK_FUNCTION(1, "EINT0"),
581 MTK_FUNCTION(2, "PWM1"),
582 MTK_FUNCTION(3, "CLKM0"),
583 MTK_FUNCTION(4, " SPDIF_OUT"),
584 MTK_FUNCTION(5, "USB_TEST_IO[12]"),
585 MTK_FUNCTION(7, "USB_SCL")
588 PINCTRL_PIN(53, "URXD2"),
590 MTK_EINT_FUNCTION(2, 83),
591 MTK_FUNCTION(0, "GPIO53"),
592 MTK_FUNCTION(1, "URXD2"),
593 MTK_FUNCTION(2, "EINT83"),
594 MTK_FUNCTION(4, " HDMI_LRCK"),
595 MTK_FUNCTION(5, "CLKM3"),
596 MTK_FUNCTION(7, "UTXD2")
599 PINCTRL_PIN(54, "UTXD2"),
601 MTK_EINT_FUNCTION(2, 82),
602 MTK_FUNCTION(0, "GPIO54"),
603 MTK_FUNCTION(1, "UTXD2"),
604 MTK_FUNCTION(2, "EINT82"),
605 MTK_FUNCTION(4, " HDMI_BCK_OUT"),
606 MTK_FUNCTION(5, "CLKM2"),
607 MTK_FUNCTION(7, "URXD2")
610 PINCTRL_PIN(55, "UCTS2"),
612 MTK_EINT_FUNCTION(2, 84),
613 MTK_FUNCTION(0, "GPIO55"),
614 MTK_FUNCTION(1, "UCTS2"),
615 MTK_FUNCTION(2, "EINT84"),
616 MTK_FUNCTION(5, "PWM1"),
617 MTK_FUNCTION(7, "URTS2")
620 PINCTRL_PIN(56, "URTS2"),
622 MTK_EINT_FUNCTION(2, 85),
623 MTK_FUNCTION(0, "GPIO56"),
624 MTK_FUNCTION(1, "URTS2"),
625 MTK_FUNCTION(2, "EINT85"),
626 MTK_FUNCTION(5, "PWM2"),
627 MTK_FUNCTION(7, "UCTS2")
630 PINCTRL_PIN(57, "JTCK"),
632 MTK_EINT_FUNCTION(2, 188),
633 MTK_FUNCTION(0, "GPIO57"),
634 MTK_FUNCTION(1, "JTCK"),
635 MTK_FUNCTION(2, "EINT188"),
636 MTK_FUNCTION(3, "DSP1_ICK")
639 PINCTRL_PIN(58, "JTDO"),
641 MTK_EINT_FUNCTION(2, 190),
642 MTK_FUNCTION(0, "GPIO58"),
643 MTK_FUNCTION(1, "JTDO"),
644 MTK_FUNCTION(2, "EINT190"),
645 MTK_FUNCTION(3, "DSP2_IMS")
648 PINCTRL_PIN(59, "JTRST_B"),
650 MTK_EINT_FUNCTION(2, 0),
651 MTK_FUNCTION(0, "GPIO59"),
652 MTK_FUNCTION(1, "JTRST_B"),
653 MTK_FUNCTION(2, "EINT0"),
654 MTK_FUNCTION(3, "DSP2_ICK")
657 PINCTRL_PIN(60, "JTDI"),
659 MTK_EINT_FUNCTION(2, 189),
660 MTK_FUNCTION(0, "GPIO60"),
661 MTK_FUNCTION(1, "JTDI"),
662 MTK_FUNCTION(2, "EINT189"),
663 MTK_FUNCTION(3, "DSP1_IMS")
666 PINCTRL_PIN(61, "JRTCK"),
668 MTK_EINT_FUNCTION(2, 187),
669 MTK_FUNCTION(0, "GPIO61"),
670 MTK_FUNCTION(1, "JRTCK"),
671 MTK_FUNCTION(2, "EINT187"),
672 MTK_FUNCTION(3, "DSP1_ID")
675 PINCTRL_PIN(62, "JTMS"),
677 MTK_EINT_FUNCTION(2, 191),
678 MTK_FUNCTION(0, "GPIO62"),
679 MTK_FUNCTION(1, "JTMS"),
680 MTK_FUNCTION(2, "EINT191"),
681 MTK_FUNCTION(3, "DSP2_ID")
684 PINCTRL_PIN(63, "MSDC1_INSI"),
686 MTK_EINT_FUNCTION(1, 15),
687 MTK_FUNCTION(0, "GPIO63"),
688 MTK_FUNCTION(1, "MSDC1_INSI"),
689 MTK_FUNCTION(3, "SCL5"),
690 MTK_FUNCTION(4, "PWM6"),
691 MTK_FUNCTION(5, "CLKM5"),
692 MTK_FUNCTION(7, "TESTB_OUT6")
695 PINCTRL_PIN(64, "MSDC1_SDWPI"),
697 MTK_EINT_FUNCTION(2, 58),
698 MTK_FUNCTION(0, "GPIO64"),
699 MTK_FUNCTION(1, "MSDC1_SDWPI"),
700 MTK_FUNCTION(2, "EINT58"),
701 MTK_FUNCTION(3, "SDA5"),
702 MTK_FUNCTION(4, "PWM7"),
703 MTK_FUNCTION(5, "CLKM6"),
704 MTK_FUNCTION(7, "TESTB_OUT7")
707 PINCTRL_PIN(65, "MSDC2_INSI"),
709 MTK_EINT_FUNCTION(1, 14),
710 MTK_FUNCTION(0, "GPIO65"),
711 MTK_FUNCTION(1, "MSDC2_INSI"),
712 MTK_FUNCTION(5, "USB_TEST_IO[27]"),
713 MTK_FUNCTION(7, "TESTA_OUT3")
716 PINCTRL_PIN(66, "MSDC2_SDWPI"),
718 MTK_EINT_FUNCTION(2, 66),
719 MTK_FUNCTION(0, "GPIO66"),
720 MTK_FUNCTION(1, "MSDC2_SDWPI"),
721 MTK_FUNCTION(2, "EINT66"),
722 MTK_FUNCTION(5, "USB_TEST_IO[28]")
725 PINCTRL_PIN(67, "URXD4"),
727 MTK_EINT_FUNCTION(2, 89),
728 MTK_FUNCTION(0, "GPIO67"),
729 MTK_FUNCTION(1, "URXD4"),
730 MTK_FUNCTION(2, "EINT89"),
731 MTK_FUNCTION(3, "URXD1"),
732 MTK_FUNCTION(6, "UTXD4"),
733 MTK_FUNCTION(7, "TESTB_OUT10")
736 PINCTRL_PIN(68, "UTXD4"),
738 MTK_EINT_FUNCTION(2, 88),
739 MTK_FUNCTION(0, "GPIO68"),
740 MTK_FUNCTION(1, "UTXD4"),
741 MTK_FUNCTION(2, "EINT88"),
742 MTK_FUNCTION(3, "UTXD1"),
743 MTK_FUNCTION(6, "URXD4"),
744 MTK_FUNCTION(7, "TESTB_OUT11")
747 PINCTRL_PIN(69, "URXD1"),
749 MTK_EINT_FUNCTION(2, 79),
750 MTK_FUNCTION(0, "GPIO69"),
751 MTK_FUNCTION(1, "URXD1"),
752 MTK_FUNCTION(2, "EINT79"),
753 MTK_FUNCTION(3, "URXD4"),
754 MTK_FUNCTION(6, "UTXD1"),
755 MTK_FUNCTION(7, "TESTB_OUT24")
758 PINCTRL_PIN(70, "UTXD1"),
760 MTK_EINT_FUNCTION(2, 78),
761 MTK_FUNCTION(0, "GPIO70"),
762 MTK_FUNCTION(1, "UTXD1"),
763 MTK_FUNCTION(2, "EINT78"),
764 MTK_FUNCTION(3, "UTXD4"),
765 MTK_FUNCTION(6, "URXD1"),
766 MTK_FUNCTION(7, "TESTB_OUT25")
769 PINCTRL_PIN(71, "UCTS1"),
771 MTK_EINT_FUNCTION(2, 80),
772 MTK_FUNCTION(0, "GPIO71"),
773 MTK_FUNCTION(1, "UCTS1"),
774 MTK_FUNCTION(2, "EINT80"),
775 MTK_FUNCTION(5, "CLKM0"),
776 MTK_FUNCTION(6, "URTS1"),
777 MTK_FUNCTION(7, "TESTB_OUT31")
780 PINCTRL_PIN(72, "URTS1"),
782 MTK_EINT_FUNCTION(2, 81),
783 MTK_FUNCTION(0, "GPIO72"),
784 MTK_FUNCTION(1, "URTS1"),
785 MTK_FUNCTION(2, "EINT81"),
786 MTK_FUNCTION(5, "CLKM1"),
787 MTK_FUNCTION(6, "UCTS1"),
788 MTK_FUNCTION(7, "TESTB_OUT21")
791 PINCTRL_PIN(73, "PWM1"),
793 MTK_EINT_FUNCTION(2, 73),
794 MTK_FUNCTION(0, "GPIO73"),
795 MTK_FUNCTION(1, "PWM1"),
796 MTK_FUNCTION(2, "EINT73"),
797 MTK_FUNCTION(5, "USB_DRVVBUS"),
798 MTK_FUNCTION(6, "DISP_PWM"),
799 MTK_FUNCTION(7, "TESTB_OUT8")
802 PINCTRL_PIN(74, "PWM2"),
804 MTK_EINT_FUNCTION(2, 74),
805 MTK_FUNCTION(0, "GPIO74"),
806 MTK_FUNCTION(1, "PWM2"),
807 MTK_FUNCTION(2, "EINT74"),
808 MTK_FUNCTION(3, "DPI33_CK"),
809 MTK_FUNCTION(4, "PWM5"),
810 MTK_FUNCTION(5, "URXD2"),
811 MTK_FUNCTION(6, "DISP_PWM"),
812 MTK_FUNCTION(7, "TESTB_OUT9")
815 PINCTRL_PIN(75, "PWM3"),
817 MTK_EINT_FUNCTION(2, 75),
818 MTK_FUNCTION(0, "GPIO75"),
819 MTK_FUNCTION(1, "PWM3"),
820 MTK_FUNCTION(2, "EINT75"),
821 MTK_FUNCTION(3, "DPI33_D0"),
822 MTK_FUNCTION(4, "PWM6"),
823 MTK_FUNCTION(5, "UTXD2"),
824 MTK_FUNCTION(6, "DISP_PWM"),
825 MTK_FUNCTION(7, "TESTB_OUT12")
828 PINCTRL_PIN(76, "PWM4"),
830 MTK_EINT_FUNCTION(2, 76),
831 MTK_FUNCTION(0, "GPIO76"),
832 MTK_FUNCTION(1, "PWM4"),
833 MTK_FUNCTION(2, "EINT76"),
834 MTK_FUNCTION(3, "DPI33_D1"),
835 MTK_FUNCTION(4, "PWM7"),
836 MTK_FUNCTION(6, "DISP_PWM"),
837 MTK_FUNCTION(7, "TESTB_OUT13")
840 PINCTRL_PIN(77, "MSDC2_DAT2"),
842 MTK_EINT_FUNCTION(2, 63),
843 MTK_FUNCTION(0, "GPIO77"),
844 MTK_FUNCTION(1, "MSDC2_DAT2"),
845 MTK_FUNCTION(2, "EINT63"),
846 MTK_FUNCTION(4, "DSP2_IMS"),
847 MTK_FUNCTION(6, "DPI33_D6"),
848 MTK_FUNCTION(7, "TESTA_OUT25")
851 PINCTRL_PIN(78, "MSDC2_DAT3"),
853 MTK_EINT_FUNCTION(2, 64),
854 MTK_FUNCTION(0, "GPIO78"),
855 MTK_FUNCTION(1, "MSDC2_DAT3"),
856 MTK_FUNCTION(2, "EINT64"),
857 MTK_FUNCTION(4, "DSP2_ID"),
858 MTK_FUNCTION(6, "DPI33_D7"),
859 MTK_FUNCTION(7, "TESTA_OUT26")
862 PINCTRL_PIN(79, "MSDC2_CMD"),
864 MTK_EINT_FUNCTION(2, 60),
865 MTK_FUNCTION(0, "GPIO79"),
866 MTK_FUNCTION(1, "MSDC2_CMD"),
867 MTK_FUNCTION(2, "EINT60"),
868 MTK_FUNCTION(4, "DSP1_IMS"),
869 MTK_FUNCTION(5, "PCM1_WS"),
870 MTK_FUNCTION(6, "DPI33_D3"),
871 MTK_FUNCTION(7, "TESTA_OUT0")
874 PINCTRL_PIN(80, "MSDC2_CLK"),
876 MTK_EINT_FUNCTION(2, 59),
877 MTK_FUNCTION(0, "GPIO80"),
878 MTK_FUNCTION(1, "MSDC2_CLK"),
879 MTK_FUNCTION(2, "EINT59"),
880 MTK_FUNCTION(4, "DSP1_ICK"),
881 MTK_FUNCTION(5, "PCM1_CK"),
882 MTK_FUNCTION(6, "DPI33_D2"),
883 MTK_FUNCTION(7, "TESTA_OUT1")
886 PINCTRL_PIN(81, "MSDC2_DAT1"),
888 MTK_EINT_FUNCTION(2, 62),
889 MTK_FUNCTION(0, "GPIO81"),
890 MTK_FUNCTION(1, "MSDC2_DAT1"),
891 MTK_FUNCTION(2, "EINT62"),
892 MTK_FUNCTION(4, "DSP2_ICK"),
893 MTK_FUNCTION(5, "PCM1_DO"),
894 MTK_FUNCTION(6, "DPI33_D5")
897 PINCTRL_PIN(82, "MSDC2_DAT0"),
899 MTK_EINT_FUNCTION(2, 61),
900 MTK_FUNCTION(0, "GPIO82"),
901 MTK_FUNCTION(1, "MSDC2_DAT0"),
902 MTK_FUNCTION(2, "EINT61"),
903 MTK_FUNCTION(4, "DSP1_ID"),
904 MTK_FUNCTION(5, "PCM1_DI"),
905 MTK_FUNCTION(6, "DPI33_D4")
908 PINCTRL_PIN(83, "MSDC1_DAT0"),
910 MTK_EINT_FUNCTION(2, 53),
911 MTK_FUNCTION(0, "GPIO83"),
912 MTK_FUNCTION(1, "MSDC1_DAT0"),
913 MTK_FUNCTION(2, "EINT53"),
914 MTK_FUNCTION(3, "SCL1"),
915 MTK_FUNCTION(4, "PWM2"),
916 MTK_FUNCTION(5, "CLKM1"),
917 MTK_FUNCTION(7, "TESTB_OUT2")
920 PINCTRL_PIN(84, "MSDC1_DAT1"),
922 MTK_EINT_FUNCTION(2, 54),
923 MTK_FUNCTION(0, "GPIO84"),
924 MTK_FUNCTION(1, "MSDC1_DAT1"),
925 MTK_FUNCTION(2, "EINT54"),
926 MTK_FUNCTION(3, "SDA1"),
927 MTK_FUNCTION(4, "PWM3"),
928 MTK_FUNCTION(5, "CLKM2"),
929 MTK_FUNCTION(7, "TESTB_OUT3")
932 PINCTRL_PIN(85, "MSDC1_CMD"),
934 MTK_EINT_FUNCTION(2, 52),
935 MTK_FUNCTION(0, "GPIO85"),
936 MTK_FUNCTION(1, "MSDC1_CMD"),
937 MTK_FUNCTION(2, "EINT52"),
938 MTK_FUNCTION(3, "SDA0"),
939 MTK_FUNCTION(4, "PWM1"),
940 MTK_FUNCTION(5, "CLKM0"),
941 MTK_FUNCTION(7, "TESTB_OUT1")
944 PINCTRL_PIN(86, "MSDC1_CLK"),
946 MTK_EINT_FUNCTION(2, 51),
947 MTK_FUNCTION(0, "GPIO86"),
948 MTK_FUNCTION(1, "MSDC1_CLK"),
949 MTK_FUNCTION(2, "EINT51"),
950 MTK_FUNCTION(3, "SCL0"),
951 MTK_FUNCTION(4, "DISP_PWM"),
952 MTK_FUNCTION(7, "TESTB_OUT0")
955 PINCTRL_PIN(87, "MSDC1_DAT2"),
957 MTK_EINT_FUNCTION(2, 55),
958 MTK_FUNCTION(0, "GPIO87"),
959 MTK_FUNCTION(1, "MSDC1_DAT2"),
960 MTK_FUNCTION(2, "EINT55"),
961 MTK_FUNCTION(3, "SCL4"),
962 MTK_FUNCTION(4, "PWM4"),
963 MTK_FUNCTION(5, "CLKM3"),
964 MTK_FUNCTION(7, "TESTB_OUT4")
967 PINCTRL_PIN(88, "MSDC1_DAT3"),
969 MTK_EINT_FUNCTION(2, 56),
970 MTK_FUNCTION(0, "GPIO88"),
971 MTK_FUNCTION(1, "MSDC1_DAT3"),
972 MTK_FUNCTION(2, "EINT56"),
973 MTK_FUNCTION(3, "SDA4"),
974 MTK_FUNCTION(4, "PWM5"),
975 MTK_FUNCTION(5, "CLKM4"),
976 MTK_FUNCTION(7, "TESTB_OUT5")
979 PINCTRL_PIN(89, "MSDC4_DAT0"),
981 MTK_EINT_FUNCTION(2, 133),
982 MTK_FUNCTION(0, "GPIO89"),
983 MTK_FUNCTION(1, "MSDC4_DAT0"),
984 MTK_FUNCTION(2, "EINT133"),
985 MTK_FUNCTION(4, "EXT_FRAME_SYNC"),
986 MTK_FUNCTION(5, "USB_DRVVBUS"),
987 MTK_FUNCTION(6, "A_FUNC_DIN[9]"),
988 MTK_FUNCTION(7, "LPTE")
991 PINCTRL_PIN(90, "MSDC4_DAT1"),
993 MTK_EINT_FUNCTION(2, 134),
994 MTK_FUNCTION(0, "GPIO90"),
995 MTK_FUNCTION(1, "MSDC4_DAT1"),
996 MTK_FUNCTION(2, "EINT134"),
997 MTK_FUNCTION(6, "A_FUNC_DIN[10]"),
998 MTK_FUNCTION(7, "LRSTB_1X")
1001 PINCTRL_PIN(91, "MSDC4_DAT5"),
1003 MTK_EINT_FUNCTION(2, 136),
1004 MTK_FUNCTION(0, "GPIO91"),
1005 MTK_FUNCTION(1, "MSDC4_DAT5"),
1006 MTK_FUNCTION(2, "EINT136"),
1007 MTK_FUNCTION(3, "I2SIN_WS"),
1008 MTK_FUNCTION(4, "DAC_WS"),
1009 MTK_FUNCTION(5, "PCM1_WS"),
1010 MTK_FUNCTION(6, "A_FUNC_DIN[11]"),
1011 MTK_FUNCTION(7, "SPI1_CSN")
1014 PINCTRL_PIN(92, "MSDC4_DAT6"),
1016 MTK_EINT_FUNCTION(2, 137),
1017 MTK_FUNCTION(0, "GPIO92"),
1018 MTK_FUNCTION(1, "MSDC4_DAT6"),
1019 MTK_FUNCTION(2, "EINT137"),
1020 MTK_FUNCTION(3, "I2SOUT_DAT"),
1021 MTK_FUNCTION(4, "DAC_DAT_OUT"),
1022 MTK_FUNCTION(5, "PCM1_DO"),
1023 MTK_FUNCTION(6, "A_FUNC_DIN[12]"),
1024 MTK_FUNCTION(7, "SPI1_MO")
1027 PINCTRL_PIN(93, "MSDC4_DAT7"),
1029 MTK_EINT_FUNCTION(2, 138),
1030 MTK_FUNCTION(0, "GPIO93"),
1031 MTK_FUNCTION(1, "MSDC4_DAT7"),
1032 MTK_FUNCTION(2, "EINT138"),
1033 MTK_FUNCTION(3, "I2SIN_DAT"),
1034 MTK_FUNCTION(5, "PCM1_DI"),
1035 MTK_FUNCTION(6, "A_FUNC_DIN[13]"),
1036 MTK_FUNCTION(7, "SPI1_MI")
1039 PINCTRL_PIN(94, "MSDC4_DAT4"),
1041 MTK_EINT_FUNCTION(2, 135),
1042 MTK_FUNCTION(0, "GPIO94"),
1043 MTK_FUNCTION(1, "MSDC4_DAT4"),
1044 MTK_FUNCTION(2, "EINT135"),
1045 MTK_FUNCTION(3, "I2SIN_CK"),
1046 MTK_FUNCTION(4, "DAC_CK"),
1047 MTK_FUNCTION(5, "PCM1_CK"),
1048 MTK_FUNCTION(6, "A_FUNC_DIN[14]"),
1049 MTK_FUNCTION(7, "SPI1_CLK")
1052 PINCTRL_PIN(95, "MSDC4_DAT2"),
1054 MTK_EINT_FUNCTION(2, 131),
1055 MTK_FUNCTION(0, "GPIO95"),
1056 MTK_FUNCTION(1, "MSDC4_DAT2"),
1057 MTK_FUNCTION(2, "EINT131"),
1058 MTK_FUNCTION(3, "I2SIN_WS"),
1059 MTK_FUNCTION(4, "CM2PDN_2X"),
1060 MTK_FUNCTION(5, "DAC_WS"),
1061 MTK_FUNCTION(6, "PCM1_WS"),
1062 MTK_FUNCTION(7, "LSCE0B_1X")
1065 PINCTRL_PIN(96, "MSDC4_CLK"),
1067 MTK_EINT_FUNCTION(2, 129),
1068 MTK_FUNCTION(0, "GPIO96"),
1069 MTK_FUNCTION(1, "MSDC4_CLK"),
1070 MTK_FUNCTION(2, "EINT129"),
1071 MTK_FUNCTION(3, "DPI1_CK_2X"),
1072 MTK_FUNCTION(4, "CM2PCLK_2X"),
1073 MTK_FUNCTION(5, "PWM4"),
1074 MTK_FUNCTION(6, "PCM1_DI"),
1075 MTK_FUNCTION(7, "LSCK_1X")
1078 PINCTRL_PIN(97, "MSDC4_DAT3"),
1080 MTK_EINT_FUNCTION(2, 132),
1081 MTK_FUNCTION(0, "GPIO97"),
1082 MTK_FUNCTION(1, "MSDC4_DAT3"),
1083 MTK_FUNCTION(2, "EINT132"),
1084 MTK_FUNCTION(3, "I2SOUT_DAT"),
1085 MTK_FUNCTION(4, "CM2RST_2X"),
1086 MTK_FUNCTION(5, "DAC_DAT_OUT"),
1087 MTK_FUNCTION(6, "PCM1_DO"),
1088 MTK_FUNCTION(7, "LSCE1B_1X")
1091 PINCTRL_PIN(98, "MSDC4_CMD"),
1093 MTK_EINT_FUNCTION(2, 128),
1094 MTK_FUNCTION(0, "GPIO98"),
1095 MTK_FUNCTION(1, "MSDC4_CMD"),
1096 MTK_FUNCTION(2, "EINT128"),
1097 MTK_FUNCTION(3, "DPI1_DE_2X"),
1098 MTK_FUNCTION(5, "PWM3"),
1099 MTK_FUNCTION(7, "LSDA_1X")
1102 PINCTRL_PIN(99, "MSDC4_RSTB"),
1104 MTK_EINT_FUNCTION(2, 130),
1105 MTK_FUNCTION(0, "GPIO99"),
1106 MTK_FUNCTION(1, "MSDC4_RSTB"),
1107 MTK_FUNCTION(2, "EINT130"),
1108 MTK_FUNCTION(3, "I2SIN_CK"),
1109 MTK_FUNCTION(4, "CM2MCLK_2X"),
1110 MTK_FUNCTION(5, "DAC_CK"),
1111 MTK_FUNCTION(6, "PCM1_CK"),
1112 MTK_FUNCTION(7, "LSA0_1X")
1115 PINCTRL_PIN(100, "SDA0"),
1117 MTK_EINT_FUNCTION(2, 91),
1118 MTK_FUNCTION(0, "GPIO100"),
1119 MTK_FUNCTION(1, "SDA0"),
1120 MTK_FUNCTION(2, "EINT91"),
1121 MTK_FUNCTION(3, "CLKM1"),
1122 MTK_FUNCTION(4, "PWM1"),
1123 MTK_FUNCTION(7, "A_FUNC_DIN[15]")
1126 PINCTRL_PIN(101, "SCL0"),
1128 MTK_EINT_FUNCTION(2, 90),
1129 MTK_FUNCTION(0, "GPIO101"),
1130 MTK_FUNCTION(1, "SCL0"),
1131 MTK_FUNCTION(2, "EINT90"),
1132 MTK_FUNCTION(3, "CLKM0"),
1133 MTK_FUNCTION(4, "DISP_PWM"),
1134 MTK_FUNCTION(7, "A_FUNC_DIN[16]")
1137 PINCTRL_PIN(102, "EINT10_AUXIN2"),
1139 MTK_EINT_FUNCTION(1, 10),
1140 MTK_FUNCTION(0, "GPIO102"),
1141 MTK_FUNCTION(1, "EINT10"),
1142 MTK_FUNCTION(5, "USB_TEST_IO[16]"),
1143 MTK_FUNCTION(6, "TESTB_OUT16"),
1144 MTK_FUNCTION(7, "A_FUNC_DIN[17]")
1147 PINCTRL_PIN(103, "EINT11_AUXIN3"),
1149 MTK_EINT_FUNCTION(1, 11),
1150 MTK_FUNCTION(0, "GPIO103"),
1151 MTK_FUNCTION(1, "EINT11"),
1152 MTK_FUNCTION(5, "USB_TEST_IO[17]"),
1153 MTK_FUNCTION(6, "TESTB_OUT17"),
1154 MTK_FUNCTION(7, "A_FUNC_DIN[18]")
1157 PINCTRL_PIN(104, "EINT16_AUXIN4"),
1159 MTK_EINT_FUNCTION(1, 16),
1160 MTK_FUNCTION(0, "GPIO104"),
1161 MTK_FUNCTION(1, "EINT16"),
1162 MTK_FUNCTION(5, "USB_TEST_IO[18]"),
1163 MTK_FUNCTION(6, "TESTB_OUT18"),
1164 MTK_FUNCTION(7, "A_FUNC_DIN[19]")
1167 PINCTRL_PIN(105, "I2S_CLK"),
1169 MTK_EINT_FUNCTION(2, 10),
1170 MTK_FUNCTION(0, "GPIO105"),
1171 MTK_FUNCTION(1, "I2SIN_CK"),
1172 MTK_FUNCTION(2, "EINT10"),
1173 MTK_FUNCTION(3, "DAC_CK"),
1174 MTK_FUNCTION(4, "PCM1_CK"),
1175 MTK_FUNCTION(5, "USB_TEST_IO[19]"),
1176 MTK_FUNCTION(6, "TESTB_OUT19"),
1177 MTK_FUNCTION(7, "A_FUNC_DIN[20]")
1180 PINCTRL_PIN(106, "I2S_WS"),
1182 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1183 MTK_FUNCTION(0, "GPIO106"),
1184 MTK_FUNCTION(1, "I2SIN_WS"),
1185 MTK_FUNCTION(3, "DAC_WS"),
1186 MTK_FUNCTION(4, "PCM1_WS"),
1187 MTK_FUNCTION(5, "USB_TEST_IO[20]"),
1188 MTK_FUNCTION(6, "TESTB_OUT20"),
1189 MTK_FUNCTION(7, "A_FUNC_DIN[21]")
1192 PINCTRL_PIN(107, "I2S_DATA_IN"),
1194 MTK_EINT_FUNCTION(2, 11),
1195 MTK_FUNCTION(0, "GPIO107"),
1196 MTK_FUNCTION(1, "I2SIN_DAT"),
1197 MTK_FUNCTION(2, "EINT11"),
1198 MTK_FUNCTION(4, "PCM1_DI"),
1199 MTK_FUNCTION(5, "USB_TEST_IO[21]"),
1200 MTK_FUNCTION(6, "TESTB_OUT22"),
1201 MTK_FUNCTION(7, "A_FUNC_DIN[22]")
1204 PINCTRL_PIN(108, "I2S_DATA_OUT"),
1206 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1207 MTK_FUNCTION(0, "GPIO108"),
1208 MTK_FUNCTION(1, "I2SOUT_DAT"),
1209 MTK_FUNCTION(3, "DAC_DAT_OUT"),
1210 MTK_FUNCTION(4, "PCM1_DO"),
1211 MTK_FUNCTION(5, "USB_TEST_IO[22]"),
1212 MTK_FUNCTION(6, "TESTB_OUT23"),
1213 MTK_FUNCTION(7, "A_FUNC_DIN[23]")
1216 PINCTRL_PIN(109, "EINT5"),
1218 MTK_EINT_FUNCTION(1, 5),
1219 MTK_FUNCTION(0, "GPIO109"),
1220 MTK_FUNCTION(1, "EINT5"),
1221 MTK_FUNCTION(2, "PWM5"),
1222 MTK_FUNCTION(3, "CLKM3"),
1223 MTK_FUNCTION(4, "GPU_JTRSTB"),
1224 MTK_FUNCTION(5, "USB_TEST_IO[23]"),
1225 MTK_FUNCTION(6, "TESTB_OUT26"),
1226 MTK_FUNCTION(7, "A_FUNC_DIN[24]")
1229 PINCTRL_PIN(110, "EINT6"),
1231 MTK_EINT_FUNCTION(1, 6),
1232 MTK_FUNCTION(0, "GPIO110"),
1233 MTK_FUNCTION(1, "EINT6"),
1234 MTK_FUNCTION(2, "PWM6"),
1235 MTK_FUNCTION(3, "CLKM4"),
1236 MTK_FUNCTION(4, "GPU_JTMS"),
1237 MTK_FUNCTION(5, "USB_TEST_IO[24]"),
1238 MTK_FUNCTION(6, "TESTB_OUT27"),
1239 MTK_FUNCTION(7, "A_FUNC_DIN[25]")
1242 PINCTRL_PIN(111, "EINT7"),
1244 MTK_EINT_FUNCTION(1, 7),
1245 MTK_FUNCTION(0, "GPIO111"),
1246 MTK_FUNCTION(1, "EINT7"),
1247 MTK_FUNCTION(2, "PWM7"),
1248 MTK_FUNCTION(3, "CLKM5"),
1249 MTK_FUNCTION(4, "GPU_JTDO"),
1250 MTK_FUNCTION(5, "USB_TEST_IO[25]"),
1251 MTK_FUNCTION(6, "TESTB_OUT28"),
1252 MTK_FUNCTION(7, "A_FUNC_DIN[26]")
1255 PINCTRL_PIN(112, "EINT8"),
1257 MTK_EINT_FUNCTION(1, 8),
1258 MTK_FUNCTION(0, "GPIO112"),
1259 MTK_FUNCTION(1, "EINT8"),
1260 MTK_FUNCTION(2, "DISP_PWM"),
1261 MTK_FUNCTION(3, "CLKM6"),
1262 MTK_FUNCTION(4, "GPU_JTDI"),
1263 MTK_FUNCTION(5, "USB_TEST_IO[26]"),
1264 MTK_FUNCTION(6, "TESTB_OUT29"),
1265 MTK_FUNCTION(7, "EXT_FRAME_SYNC")
1268 PINCTRL_PIN(113, "EINT9"),
1270 MTK_EINT_FUNCTION(1, 9),
1271 MTK_FUNCTION(0, "GPIO113"),
1272 MTK_FUNCTION(1, "EINT9"),
1273 MTK_FUNCTION(4, "GPU_JTCK"),
1274 MTK_FUNCTION(5, "USB_DRVVBUS"),
1275 MTK_FUNCTION(6, "TESTB_OUT30"),
1276 MTK_FUNCTION(7, "A_FUNC_DIN[27]")
1279 PINCTRL_PIN(114, "LPCE1B"),
1281 MTK_EINT_FUNCTION(2, 127),
1282 MTK_FUNCTION(0, "GPIO114"),
1283 MTK_FUNCTION(1, "LPCE1B"),
1284 MTK_FUNCTION(2, "EINT127"),
1285 MTK_FUNCTION(5, "PWM2"),
1286 MTK_FUNCTION(6, "TESTB_OUT14"),
1287 MTK_FUNCTION(7, "A_FUNC_DIN[28]")
1290 PINCTRL_PIN(115, "LPCE0B"),
1292 MTK_EINT_FUNCTION(2, 126),
1293 MTK_FUNCTION(0, "GPIO115"),
1294 MTK_FUNCTION(1, "LPCE0B"),
1295 MTK_FUNCTION(2, "EINT126"),
1296 MTK_FUNCTION(5, "PWM1"),
1297 MTK_FUNCTION(6, "TESTB_OUT15"),
1298 MTK_FUNCTION(7, "A_FUNC_DIN[29]")
1301 PINCTRL_PIN(116, "DISP_PWM"),
1303 MTK_EINT_FUNCTION(2, 77),
1304 MTK_FUNCTION(0, "GPIO116"),
1305 MTK_FUNCTION(1, "DISP_PWM"),
1306 MTK_FUNCTION(2, "EINT77"),
1307 MTK_FUNCTION(3, "LSDI"),
1308 MTK_FUNCTION(4, "PWM1"),
1309 MTK_FUNCTION(5, "PWM2"),
1310 MTK_FUNCTION(7, "PWM3")
1313 PINCTRL_PIN(117, "EINT1"),
1315 MTK_EINT_FUNCTION(1, 1),
1316 MTK_FUNCTION(0, "GPIO117"),
1317 MTK_FUNCTION(1, "EINT1"),
1318 MTK_FUNCTION(2, "PWM2"),
1319 MTK_FUNCTION(3, "CLKM1"),
1320 MTK_FUNCTION(5, "USB_TEST_IO[13]"),
1321 MTK_FUNCTION(7, "USB_SDA")
1324 PINCTRL_PIN(118, "EINT2"),
1326 MTK_EINT_FUNCTION(1, 2),
1327 MTK_FUNCTION(0, "GPIO118"),
1328 MTK_FUNCTION(1, "EINT2"),
1329 MTK_FUNCTION(2, "PWM3"),
1330 MTK_FUNCTION(3, "CLKM2"),
1331 MTK_FUNCTION(5, "USB_TEST_IO[14]"),
1332 MTK_FUNCTION(6, "SRCLKENAI2"),
1333 MTK_FUNCTION(7, "A_FUNC_DIN[30]")
1336 PINCTRL_PIN(119, "EINT3"),
1338 MTK_EINT_FUNCTION(1, 3),
1339 MTK_FUNCTION(0, "GPIO119"),
1340 MTK_FUNCTION(1, "EINT3"),
1341 MTK_FUNCTION(5, "USB_TEST_IO[15]"),
1342 MTK_FUNCTION(6, "SRCLKENAI1"),
1343 MTK_FUNCTION(7, "EXT_26M_CK")
1346 PINCTRL_PIN(120, "EINT4"),
1348 MTK_EINT_FUNCTION(1, 4),
1349 MTK_FUNCTION(0, "GPIO120"),
1350 MTK_FUNCTION(1, "EINT4"),
1351 MTK_FUNCTION(2, "PWM4"),
1352 MTK_FUNCTION(5, "USB_DRVVBUS"),
1353 MTK_FUNCTION(7, "A_FUNC_DIN[31]")
1356 PINCTRL_PIN(121, "DPIDE"),
1358 MTK_EINT_FUNCTION(2, 100),
1359 MTK_FUNCTION(0, "GPIO121"),
1360 MTK_FUNCTION(1, "DPI0_DE"),
1361 MTK_FUNCTION(2, "EINT100"),
1362 MTK_FUNCTION(3, "I2SOUT_DAT"),
1363 MTK_FUNCTION(4, "DAC_DAT_OUT"),
1364 MTK_FUNCTION(5, "PCM1_DO"),
1365 MTK_FUNCTION(6, "IRDA_TXD")
1368 PINCTRL_PIN(122, "DPICK"),
1370 MTK_EINT_FUNCTION(2, 101),
1371 MTK_FUNCTION(0, "GPIO122"),
1372 MTK_FUNCTION(1, "DPI0_CK"),
1373 MTK_FUNCTION(2, "EINT101"),
1374 MTK_FUNCTION(3, "I2SIN_DAT"),
1375 MTK_FUNCTION(5, "PCM1_DI"),
1376 MTK_FUNCTION(6, "IRDA_PDN")
1379 PINCTRL_PIN(123, "DPIG4"),
1381 MTK_EINT_FUNCTION(2, 114),
1382 MTK_FUNCTION(0, "GPIO123"),
1383 MTK_FUNCTION(1, "DPI0_G4"),
1384 MTK_FUNCTION(2, "EINT114"),
1385 MTK_FUNCTION(4, "CM2DAT_2X[0]"),
1386 MTK_FUNCTION(5, "DSP2_ID")
1389 PINCTRL_PIN(124, "DPIG5"),
1391 MTK_EINT_FUNCTION(2, 115),
1392 MTK_FUNCTION(0, "GPIO124"),
1393 MTK_FUNCTION(1, "DPI0_G5"),
1394 MTK_FUNCTION(2, "EINT115"),
1395 MTK_FUNCTION(4, "CM2DAT_2X[1]"),
1396 MTK_FUNCTION(5, "DSP2_ICK")
1399 PINCTRL_PIN(125, "DPIR3"),
1401 MTK_EINT_FUNCTION(2, 121),
1402 MTK_FUNCTION(0, "GPIO125"),
1403 MTK_FUNCTION(1, "DPI0_R3"),
1404 MTK_FUNCTION(2, "EINT121"),
1405 MTK_FUNCTION(4, "CM2DAT_2X[7]")
1408 PINCTRL_PIN(126, "DPIG1"),
1410 MTK_EINT_FUNCTION(2, 111),
1411 MTK_FUNCTION(0, "GPIO126"),
1412 MTK_FUNCTION(1, "DPI0_G1"),
1413 MTK_FUNCTION(2, "EINT111"),
1414 MTK_FUNCTION(5, "DSP1_ICK")
1417 PINCTRL_PIN(127, "DPIVSYNC"),
1419 MTK_EINT_FUNCTION(2, 98),
1420 MTK_FUNCTION(0, "GPIO127"),
1421 MTK_FUNCTION(1, "DPI0_VSYNC"),
1422 MTK_FUNCTION(2, "EINT98"),
1423 MTK_FUNCTION(3, "I2SIN_CK"),
1424 MTK_FUNCTION(4, "DAC_CK"),
1425 MTK_FUNCTION(5, "PCM1_CK")
1428 PINCTRL_PIN(128, "DPIHSYNC"),
1430 MTK_EINT_FUNCTION(2, 99),
1431 MTK_FUNCTION(0, "GPIO128"),
1432 MTK_FUNCTION(1, "DPI0_HSYNC"),
1433 MTK_FUNCTION(2, "EINT99"),
1434 MTK_FUNCTION(3, "I2SIN_WS"),
1435 MTK_FUNCTION(4, "DAC_WS"),
1436 MTK_FUNCTION(5, "PCM1_WS"),
1437 MTK_FUNCTION(6, "IRDA_RXD")
1440 PINCTRL_PIN(129, "DPIB0"),
1442 MTK_EINT_FUNCTION(2, 102),
1443 MTK_FUNCTION(0, "GPIO129"),
1444 MTK_FUNCTION(1, "DPI0_B0"),
1445 MTK_FUNCTION(2, "EINT102"),
1446 MTK_FUNCTION(4, "SCL0"),
1447 MTK_FUNCTION(5, "DISP_PWM")
1450 PINCTRL_PIN(130, "DPIB1"),
1452 MTK_EINT_FUNCTION(2, 103),
1453 MTK_FUNCTION(0, "GPIO130"),
1454 MTK_FUNCTION(1, "DPI0_B1"),
1455 MTK_FUNCTION(2, "EINT103"),
1456 MTK_FUNCTION(3, "CLKM0"),
1457 MTK_FUNCTION(4, "SDA0"),
1458 MTK_FUNCTION(5, "PWM1")
1461 PINCTRL_PIN(131, "DPIB2"),
1463 MTK_EINT_FUNCTION(2, 104),
1464 MTK_FUNCTION(0, "GPIO131"),
1465 MTK_FUNCTION(1, "DPI0_B2"),
1466 MTK_FUNCTION(2, "EINT104"),
1467 MTK_FUNCTION(3, "CLKM1"),
1468 MTK_FUNCTION(4, "SCL1"),
1469 MTK_FUNCTION(5, "PWM2")
1472 PINCTRL_PIN(132, "DPIB3"),
1474 MTK_EINT_FUNCTION(2, 105),
1475 MTK_FUNCTION(0, "GPIO132"),
1476 MTK_FUNCTION(1, "DPI0_B3"),
1477 MTK_FUNCTION(2, "EINT105"),
1478 MTK_FUNCTION(3, "CLKM2"),
1479 MTK_FUNCTION(4, "SDA1"),
1480 MTK_FUNCTION(5, "PWM3")
1483 PINCTRL_PIN(133, "DPIB4"),
1485 MTK_EINT_FUNCTION(2, 106),
1486 MTK_FUNCTION(0, "GPIO133"),
1487 MTK_FUNCTION(1, "DPI0_B4"),
1488 MTK_FUNCTION(2, "EINT106"),
1489 MTK_FUNCTION(3, "CLKM3"),
1490 MTK_FUNCTION(4, "SCL2"),
1491 MTK_FUNCTION(5, "PWM4")
1494 PINCTRL_PIN(134, "DPIB5"),
1496 MTK_EINT_FUNCTION(2, 107),
1497 MTK_FUNCTION(0, "GPIO134"),
1498 MTK_FUNCTION(1, "DPI0_B5"),
1499 MTK_FUNCTION(2, "EINT107"),
1500 MTK_FUNCTION(3, "CLKM4"),
1501 MTK_FUNCTION(4, "SDA2"),
1502 MTK_FUNCTION(5, "PWM5")
1505 PINCTRL_PIN(135, "DPIB6"),
1507 MTK_EINT_FUNCTION(2, 108),
1508 MTK_FUNCTION(0, "GPIO135"),
1509 MTK_FUNCTION(1, "DPI0_B6"),
1510 MTK_FUNCTION(2, "EINT108"),
1511 MTK_FUNCTION(3, "CLKM5"),
1512 MTK_FUNCTION(4, "SCL3"),
1513 MTK_FUNCTION(5, "PWM6")
1516 PINCTRL_PIN(136, "DPIB7"),
1518 MTK_EINT_FUNCTION(2, 109),
1519 MTK_FUNCTION(0, "GPIO136"),
1520 MTK_FUNCTION(1, "DPI0_B7"),
1521 MTK_FUNCTION(2, "EINT109"),
1522 MTK_FUNCTION(3, "CLKM6"),
1523 MTK_FUNCTION(4, "SDA3"),
1524 MTK_FUNCTION(5, "PWM7")
1527 PINCTRL_PIN(137, "DPIG0"),
1529 MTK_EINT_FUNCTION(2, 110),
1530 MTK_FUNCTION(0, "GPIO137"),
1531 MTK_FUNCTION(1, "DPI0_G0"),
1532 MTK_FUNCTION(2, "EINT110"),
1533 MTK_FUNCTION(5, "DSP1_ID")
1536 PINCTRL_PIN(138, "DPIG2"),
1538 MTK_EINT_FUNCTION(2, 112),
1539 MTK_FUNCTION(0, "GPIO138"),
1540 MTK_FUNCTION(1, "DPI0_G2"),
1541 MTK_FUNCTION(2, "EINT112"),
1542 MTK_FUNCTION(5, "DSP1_IMS")
1545 PINCTRL_PIN(139, "DPIG3"),
1547 MTK_EINT_FUNCTION(2, 113),
1548 MTK_FUNCTION(0, "GPIO139"),
1549 MTK_FUNCTION(1, "DPI0_G3"),
1550 MTK_FUNCTION(2, "EINT113"),
1551 MTK_FUNCTION(5, "DSP2_IMS")
1554 PINCTRL_PIN(140, "DPIG6"),
1556 MTK_EINT_FUNCTION(2, 116),
1557 MTK_FUNCTION(0, "GPIO140"),
1558 MTK_FUNCTION(1, "DPI0_G6"),
1559 MTK_FUNCTION(2, "EINT116"),
1560 MTK_FUNCTION(4, "CM2DAT_2X[2]")
1563 PINCTRL_PIN(141, "DPIG7"),
1565 MTK_EINT_FUNCTION(2, 117),
1566 MTK_FUNCTION(0, "GPIO141"),
1567 MTK_FUNCTION(1, "DPI0_G7"),
1568 MTK_FUNCTION(2, "EINT117"),
1569 MTK_FUNCTION(4, "CM2DAT_2X[3]")
1572 PINCTRL_PIN(142, "DPIR0"),
1574 MTK_EINT_FUNCTION(2, 118),
1575 MTK_FUNCTION(0, "GPIO142"),
1576 MTK_FUNCTION(1, "DPI0_R0"),
1577 MTK_FUNCTION(2, "EINT118"),
1578 MTK_FUNCTION(4, "CM2DAT_2X[4]")
1581 PINCTRL_PIN(143, "DPIR1"),
1583 MTK_EINT_FUNCTION(2, 119),
1584 MTK_FUNCTION(0, "GPIO143"),
1585 MTK_FUNCTION(1, "DPI0_R1"),
1586 MTK_FUNCTION(2, "EINT119"),
1587 MTK_FUNCTION(4, "CM2DAT_2X[5]")
1590 PINCTRL_PIN(144, "DPIR2"),
1592 MTK_EINT_FUNCTION(2, 120),
1593 MTK_FUNCTION(0, "GPIO144"),
1594 MTK_FUNCTION(1, "DPI0_R2"),
1595 MTK_FUNCTION(2, "EINT120"),
1596 MTK_FUNCTION(4, "CM2DAT_2X[6]")
1599 PINCTRL_PIN(145, "DPIR4"),
1601 MTK_EINT_FUNCTION(2, 122),
1602 MTK_FUNCTION(0, "GPIO145"),
1603 MTK_FUNCTION(1, "DPI0_R4"),
1604 MTK_FUNCTION(2, "EINT122"),
1605 MTK_FUNCTION(4, "CM2DAT_2X[8]")
1608 PINCTRL_PIN(146, "DPIR5"),
1610 MTK_EINT_FUNCTION(2, 123),
1611 MTK_FUNCTION(0, "GPIO146"),
1612 MTK_FUNCTION(1, "DPI0_R5"),
1613 MTK_FUNCTION(2, "EINT123"),
1614 MTK_FUNCTION(4, "CM2DAT_2X[9]")
1617 PINCTRL_PIN(147, "DPIR6"),
1619 MTK_EINT_FUNCTION(2, 124),
1620 MTK_FUNCTION(0, "GPIO147"),
1621 MTK_FUNCTION(1, "DPI0_R6"),
1622 MTK_FUNCTION(2, "EINT124"),
1623 MTK_FUNCTION(4, "CM2VSYNC_2X")
1626 PINCTRL_PIN(148, "DPIR7"),
1628 MTK_EINT_FUNCTION(2, 125),
1629 MTK_FUNCTION(0, "GPIO148"),
1630 MTK_FUNCTION(1, "DPI0_R7"),
1631 MTK_FUNCTION(2, "EINT125"),
1632 MTK_FUNCTION(4, "CM2HSYNC_2X")
1635 PINCTRL_PIN(149, "TDN3/LVDS(TDN3)"),
1637 MTK_EINT_FUNCTION(2, 36),
1638 MTK_FUNCTION(0, "GPIO149"),
1639 MTK_FUNCTION(2, "EINT36")
1642 PINCTRL_PIN(150, "TDP3/LVDS(TDP3)"),
1644 MTK_EINT_FUNCTION(2, 35),
1645 MTK_FUNCTION(0, "GPIO150"),
1646 MTK_FUNCTION(2, "EINT35")
1649 PINCTRL_PIN(151, "TDN2/LVDS(TCN)"),
1651 MTK_EINT_FUNCTION(2, 169),
1652 MTK_FUNCTION(0, "GPIO151"),
1653 MTK_FUNCTION(2, "EINT169")
1656 PINCTRL_PIN(152, "TDP2/LVDS(TCP)"),
1658 MTK_EINT_FUNCTION(2, 168),
1659 MTK_FUNCTION(0, "GPIO152"),
1660 MTK_FUNCTION(2, "EINT168")
1663 PINCTRL_PIN(153, "TCN/LVDS(TDN2)"),
1665 MTK_EINT_FUNCTION(2, 163),
1666 MTK_FUNCTION(0, "GPIO153"),
1667 MTK_FUNCTION(2, "EINT163")
1670 PINCTRL_PIN(154, "TCP/LVDS(TDP2)"),
1672 MTK_EINT_FUNCTION(2, 162),
1673 MTK_FUNCTION(0, "GPIO154"),
1674 MTK_FUNCTION(2, "EINT162")
1677 PINCTRL_PIN(155, "TDN1/LVDS(TDN1)"),
1679 MTK_EINT_FUNCTION(2, 167),
1680 MTK_FUNCTION(0, "GPIO155"),
1681 MTK_FUNCTION(2, "EINT167")
1684 PINCTRL_PIN(156, "TDP1/LVDS(TDP1)"),
1686 MTK_EINT_FUNCTION(2, 166),
1687 MTK_FUNCTION(0, "GPIO156"),
1688 MTK_FUNCTION(2, "EINT166")
1691 PINCTRL_PIN(157, "TDN0/LVDS(TDN0)"),
1693 MTK_EINT_FUNCTION(2, 165),
1694 MTK_FUNCTION(0, "GPIO157"),
1695 MTK_FUNCTION(2, "EINT165")
1698 PINCTRL_PIN(158, "TDP0/LVDS(TDP0)"),
1700 MTK_EINT_FUNCTION(2, 164),
1701 MTK_FUNCTION(0, "GPIO158"),
1702 MTK_FUNCTION(2, "EINT164")
1705 PINCTRL_PIN(159, "RDN3"),
1707 MTK_EINT_FUNCTION(2, 18),
1708 MTK_FUNCTION(0, "GPIO159"),
1709 MTK_FUNCTION(2, "EINT18")
1712 PINCTRL_PIN(160, "RDP3"),
1714 MTK_EINT_FUNCTION(2, 30),
1715 MTK_FUNCTION(0, "GPIO160"),
1716 MTK_FUNCTION(2, "EINT30")
1719 PINCTRL_PIN(161, "RDN2"),
1721 MTK_EINT_FUNCTION(2, 31),
1722 MTK_FUNCTION(0, "GPIO161"),
1723 MTK_FUNCTION(2, "EINT31")
1726 PINCTRL_PIN(162, "RDP2"),
1728 MTK_EINT_FUNCTION(2, 32),
1729 MTK_FUNCTION(0, "GPIO162"),
1730 MTK_FUNCTION(2, "EINT32")
1733 PINCTRL_PIN(163, "RCN"),
1735 MTK_EINT_FUNCTION(2, 33),
1736 MTK_FUNCTION(0, "GPIO163"),
1737 MTK_FUNCTION(2, "EINT33")
1740 PINCTRL_PIN(164, "RCP"),
1742 MTK_EINT_FUNCTION(2, 39),
1743 MTK_FUNCTION(0, "GPIO164"),
1744 MTK_FUNCTION(2, "EINT39")
1747 PINCTRL_PIN(165, "RDN1"),
1749 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1750 MTK_FUNCTION(0, "GPIO165")
1753 PINCTRL_PIN(166, "RDP1"),
1755 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1756 MTK_FUNCTION(0, "GPIO166")
1759 PINCTRL_PIN(167, "RDN0"),
1761 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1762 MTK_FUNCTION(0, "GPIO167")
1765 PINCTRL_PIN(168, "RDP0"),
1767 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1768 MTK_FUNCTION(0, "GPIO168")
1771 PINCTRL_PIN(169, "RDN1_A"),
1773 MTK_EINT_FUNCTION(2, 175),
1774 MTK_FUNCTION(0, "GPIO169"),
1775 MTK_FUNCTION(1, "CMDAT6"),
1776 MTK_FUNCTION(2, "EINT175")
1779 PINCTRL_PIN(170, "RDP1_A"),
1781 MTK_EINT_FUNCTION(2, 174),
1782 MTK_FUNCTION(0, "GPIO170"),
1783 MTK_FUNCTION(1, "CMDAT7"),
1784 MTK_FUNCTION(2, "EINT174")
1787 PINCTRL_PIN(171, "RCN_A"),
1789 MTK_EINT_FUNCTION(2, 171),
1790 MTK_FUNCTION(0, "GPIO171"),
1791 MTK_FUNCTION(1, "CMDAT8"),
1792 MTK_FUNCTION(2, "EINT171")
1795 PINCTRL_PIN(172, "RCP_A"),
1797 MTK_EINT_FUNCTION(2, 170),
1798 MTK_FUNCTION(0, "GPIO172"),
1799 MTK_FUNCTION(1, "CMDAT9"),
1800 MTK_FUNCTION(2, "EINT170")
1803 PINCTRL_PIN(173, "RDN0_A"),
1805 MTK_EINT_FUNCTION(2, 173),
1806 MTK_FUNCTION(0, "GPIO173"),
1807 MTK_FUNCTION(1, "CMHSYNC"),
1808 MTK_FUNCTION(2, "EINT173")
1811 PINCTRL_PIN(174, "RDP0_A"),
1813 MTK_EINT_FUNCTION(2, 172),
1814 MTK_FUNCTION(0, "GPIO174"),
1815 MTK_FUNCTION(1, "CMVSYNC"),
1816 MTK_FUNCTION(2, "EINT172")
1819 PINCTRL_PIN(175, "RDN1_B"),
1821 MTK_EINT_FUNCTION(2, 181),
1822 MTK_FUNCTION(0, "GPIO175"),
1823 MTK_FUNCTION(1, "CMDAT2"),
1824 MTK_FUNCTION(2, "EINT181"),
1825 MTK_FUNCTION(3, "CMCSD2")
1828 PINCTRL_PIN(176, "RDP1_B"),
1830 MTK_EINT_FUNCTION(2, 180),
1831 MTK_FUNCTION(0, "GPIO176"),
1832 MTK_FUNCTION(1, "CMDAT3"),
1833 MTK_FUNCTION(2, "EINT180"),
1834 MTK_FUNCTION(3, "CMCSD3")
1837 PINCTRL_PIN(177, "RCN_B"),
1839 MTK_EINT_FUNCTION(2, 177),
1840 MTK_FUNCTION(0, "GPIO177"),
1841 MTK_FUNCTION(1, "CMDAT4"),
1842 MTK_FUNCTION(2, "EINT177")
1845 PINCTRL_PIN(178, "RCP_B"),
1847 MTK_EINT_FUNCTION(2, 176),
1848 MTK_FUNCTION(0, "GPIO178"),
1849 MTK_FUNCTION(1, "CMDAT5"),
1850 MTK_FUNCTION(2, "EINT176")
1853 PINCTRL_PIN(179, "RDN0_B"),
1855 MTK_EINT_FUNCTION(2, 179),
1856 MTK_FUNCTION(0, "GPIO179"),
1857 MTK_FUNCTION(1, "CMDAT0"),
1858 MTK_FUNCTION(2, "EINT179"),
1859 MTK_FUNCTION(3, "CMCSD0")
1862 PINCTRL_PIN(180, "RDP0_B"),
1864 MTK_EINT_FUNCTION(2, 178),
1865 MTK_FUNCTION(0, "GPIO180"),
1866 MTK_FUNCTION(1, "CMDAT1"),
1867 MTK_FUNCTION(2, "EINT178"),
1868 MTK_FUNCTION(3, "CMCSD1")
1871 PINCTRL_PIN(181, "CMPCLK"),
1873 MTK_EINT_FUNCTION(2, 182),
1874 MTK_FUNCTION(0, "GPIO181"),
1875 MTK_FUNCTION(1, "CMPCLK"),
1876 MTK_FUNCTION(2, "EINT182"),
1877 MTK_FUNCTION(3, "CMCSK"),
1878 MTK_FUNCTION(4, "CM2MCLK_4X"),
1879 MTK_FUNCTION(5, "TS_AUXADC_SEL[3]"),
1880 MTK_FUNCTION(6, "VENC_TEST_CK"),
1881 MTK_FUNCTION(7, "TESTA_OUT27")
1884 PINCTRL_PIN(182, "CMMCLK"),
1886 MTK_EINT_FUNCTION(2, 183),
1887 MTK_FUNCTION(0, "GPIO182"),
1888 MTK_FUNCTION(1, "CMMCLK"),
1889 MTK_FUNCTION(2, "EINT183"),
1890 MTK_FUNCTION(5, "TS_AUXADC_SEL[2]"),
1891 MTK_FUNCTION(7, "TESTA_OUT28")
1894 PINCTRL_PIN(183, "CMRST"),
1896 MTK_EINT_FUNCTION(2, 185),
1897 MTK_FUNCTION(0, "GPIO183"),
1898 MTK_FUNCTION(1, "CMRST"),
1899 MTK_FUNCTION(2, "EINT185"),
1900 MTK_FUNCTION(5, "TS_AUXADC_SEL[1]"),
1901 MTK_FUNCTION(7, "TESTA_OUT30")
1904 PINCTRL_PIN(184, "CMPDN"),
1906 MTK_EINT_FUNCTION(2, 184),
1907 MTK_FUNCTION(0, "GPIO184"),
1908 MTK_FUNCTION(1, "CMPDN"),
1909 MTK_FUNCTION(2, "EINT184"),
1910 MTK_FUNCTION(5, "TS_AUXADC_SEL[0]"),
1911 MTK_FUNCTION(7, "TESTA_OUT29")
1914 PINCTRL_PIN(185, "CMFLASH"),
1916 MTK_EINT_FUNCTION(2, 186),
1917 MTK_FUNCTION(0, "GPIO185"),
1918 MTK_FUNCTION(1, "CMFLASH"),
1919 MTK_FUNCTION(2, "EINT186"),
1920 MTK_FUNCTION(3, "CM2MCLK_3X"),
1921 MTK_FUNCTION(6, "MFG_TEST_CK_1"),
1922 MTK_FUNCTION(7, "TESTA_OUT31")
1925 PINCTRL_PIN(186, "MRG_I2S_PCM_CLK"),
1927 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1928 MTK_FUNCTION(0, "GPIO186"),
1929 MTK_FUNCTION(1, "MRG_I2S_PCM_CLK"),
1930 MTK_FUNCTION(3, "I2SIN_CK"),
1931 MTK_FUNCTION(4, "PCM0_CK"),
1932 MTK_FUNCTION(5, "DSP2_ICK"),
1933 MTK_FUNCTION(6, "IMG_TEST_CK"),
1934 MTK_FUNCTION(7, "USB_SCL")
1937 PINCTRL_PIN(187, "MRG_I2S_PCM_SYNC"),
1939 MTK_EINT_FUNCTION(2, 16),
1940 MTK_FUNCTION(0, "GPIO187"),
1941 MTK_FUNCTION(1, "MRG_I2S_PCM_SYNC"),
1942 MTK_FUNCTION(2, "EINT16"),
1943 MTK_FUNCTION(3, "I2SIN_WS"),
1944 MTK_FUNCTION(4, "PCM0_WS"),
1945 MTK_FUNCTION(6, "DISP_TEST_CK")
1948 PINCTRL_PIN(188, "MRG_I2S_PCM_RX"),
1950 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1951 MTK_FUNCTION(0, "GPIO188"),
1952 MTK_FUNCTION(1, "MRG_I2S_PCM_RX"),
1953 MTK_FUNCTION(3, "I2SIN_DAT"),
1954 MTK_FUNCTION(4, "PCM0_DI"),
1955 MTK_FUNCTION(5, "DSP2_ID"),
1956 MTK_FUNCTION(6, "MFG_TEST_CK"),
1957 MTK_FUNCTION(7, "USB_SDA")
1960 PINCTRL_PIN(189, "MRG_I2S_PCM_TX"),
1962 MTK_EINT_FUNCTION(2, 17),
1963 MTK_FUNCTION(0, "GPIO189"),
1964 MTK_FUNCTION(1, "MRG_I2S_PCM_TX"),
1965 MTK_FUNCTION(2, "EINT17"),
1966 MTK_FUNCTION(3, "I2SOUT_DAT"),
1967 MTK_FUNCTION(4, "PCM0_DO"),
1968 MTK_FUNCTION(6, "VDEC_TEST_CK")
1971 PINCTRL_PIN(190, "SRCLKENAI"),
1973 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1974 MTK_FUNCTION(0, "GPIO190"),
1975 MTK_FUNCTION(1, "SRCLKENAI")
1978 PINCTRL_PIN(191, "URXD3"),
1980 MTK_EINT_FUNCTION(2, 87),
1981 MTK_FUNCTION(0, "GPIO191"),
1982 MTK_FUNCTION(1, "URXD3"),
1983 MTK_FUNCTION(2, "EINT87"),
1984 MTK_FUNCTION(3, "UTXD3"),
1985 MTK_FUNCTION(5, "TS_AUX_ST"),
1986 MTK_FUNCTION(6, "PWM4")
1989 PINCTRL_PIN(192, "UTXD3"),
1991 MTK_EINT_FUNCTION(2, 86),
1992 MTK_FUNCTION(0, "GPIO192"),
1993 MTK_FUNCTION(1, "UTXD3"),
1994 MTK_FUNCTION(2, "EINT86"),
1995 MTK_FUNCTION(3, "URXD3"),
1996 MTK_FUNCTION(5, "TS_AUX_CS_B"),
1997 MTK_FUNCTION(6, "PWM3")
2000 PINCTRL_PIN(193, "SDA2"),
2002 MTK_EINT_FUNCTION(2, 95),
2003 MTK_FUNCTION(0, "GPIO193"),
2004 MTK_FUNCTION(1, "SDA2"),
2005 MTK_FUNCTION(2, "EINT95"),
2006 MTK_FUNCTION(3, "CLKM5"),
2007 MTK_FUNCTION(4, "PWM5"),
2008 MTK_FUNCTION(5, "TS_AUX_PWDB")
2011 PINCTRL_PIN(194, "SCL2"),
2013 MTK_EINT_FUNCTION(2, 94),
2014 MTK_FUNCTION(0, "GPIO194"),
2015 MTK_FUNCTION(1, "SCL2"),
2016 MTK_FUNCTION(2, "EINT94"),
2017 MTK_FUNCTION(3, "CLKM4"),
2018 MTK_FUNCTION(4, "PWM4"),
2019 MTK_FUNCTION(5, "TS_AUXADC_TEST_CK")
2022 PINCTRL_PIN(195, "SDA1"),
2024 MTK_EINT_FUNCTION(2, 93),
2025 MTK_FUNCTION(0, "GPIO195"),
2026 MTK_FUNCTION(1, "SDA1"),
2027 MTK_FUNCTION(2, "EINT93"),
2028 MTK_FUNCTION(3, "CLKM3"),
2029 MTK_FUNCTION(4, "PWM3"),
2030 MTK_FUNCTION(5, "TS_AUX_SCLK_PWDB")
2033 PINCTRL_PIN(196, "SCL1"),
2035 MTK_EINT_FUNCTION(2, 92),
2036 MTK_FUNCTION(0, "GPIO196"),
2037 MTK_FUNCTION(1, "SCL1"),
2038 MTK_FUNCTION(2, "EINT92"),
2039 MTK_FUNCTION(3, "CLKM2"),
2040 MTK_FUNCTION(4, "PWM2"),
2041 MTK_FUNCTION(5, "TS_AUX_DIN")
2044 PINCTRL_PIN(197, "MSDC3_DAT2"),
2046 MTK_EINT_FUNCTION(2, 71),
2047 MTK_FUNCTION(0, "GPIO197"),
2048 MTK_FUNCTION(1, "MSDC3_DAT2"),
2049 MTK_FUNCTION(2, "EINT71"),
2050 MTK_FUNCTION(3, "SCL6"),
2051 MTK_FUNCTION(4, "PWM5"),
2052 MTK_FUNCTION(5, "CLKM4"),
2053 MTK_FUNCTION(6, "MFG_TEST_CK_2")
2056 PINCTRL_PIN(198, "MSDC3_DAT3"),
2058 MTK_EINT_FUNCTION(2, 72),
2059 MTK_FUNCTION(0, "GPIO198"),
2060 MTK_FUNCTION(1, "MSDC3_DAT3"),
2061 MTK_FUNCTION(2, "EINT72"),
2062 MTK_FUNCTION(3, "SDA6"),
2063 MTK_FUNCTION(4, "PWM6"),
2064 MTK_FUNCTION(5, "CLKM5"),
2065 MTK_FUNCTION(6, "MFG_TEST_CK_3")
2068 PINCTRL_PIN(199, "MSDC3_CMD"),
2070 MTK_EINT_FUNCTION(2, 68),
2071 MTK_FUNCTION(0, "GPIO199"),
2072 MTK_FUNCTION(1, "MSDC3_CMD"),
2073 MTK_FUNCTION(2, "EINT68"),
2074 MTK_FUNCTION(3, "SDA2"),
2075 MTK_FUNCTION(4, "PWM2"),
2076 MTK_FUNCTION(5, "CLKM1"),
2077 MTK_FUNCTION(6, "MFG_TEST_CK_4")
2080 PINCTRL_PIN(200, "MSDC3_CLK"),
2082 MTK_EINT_FUNCTION(2, 67),
2083 MTK_FUNCTION(0, "GPIO200"),
2084 MTK_FUNCTION(1, "MSDC3_CLK"),
2085 MTK_FUNCTION(2, "EINT67"),
2086 MTK_FUNCTION(3, "SCL2"),
2087 MTK_FUNCTION(4, "PWM1"),
2088 MTK_FUNCTION(5, "CLKM0")
2091 PINCTRL_PIN(201, "MSDC3_DAT1"),
2093 MTK_EINT_FUNCTION(2, 70),
2094 MTK_FUNCTION(0, "GPIO201"),
2095 MTK_FUNCTION(1, "MSDC3_DAT1"),
2096 MTK_FUNCTION(2, "EINT70"),
2097 MTK_FUNCTION(3, "SDA3"),
2098 MTK_FUNCTION(4, "PWM4"),
2099 MTK_FUNCTION(5, "CLKM3")
2102 PINCTRL_PIN(202, "MSDC3_DAT0"),
2104 MTK_EINT_FUNCTION(2, 69),
2105 MTK_FUNCTION(0, "GPIO202"),
2106 MTK_FUNCTION(1, "MSDC3_DAT0"),
2107 MTK_FUNCTION(2, "EINT69"),
2108 MTK_FUNCTION(3, "SCL3"),
2109 MTK_FUNCTION(4, "PWM3"),
2110 MTK_FUNCTION(5, "CLKM2")
2114 #endif /* __PINCTRL_MTK_MT8135_H */