2 * Copyright (c) 2016 John Crispin <blogic@openwrt.org>
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
14 #ifndef __PINCTRL_MTK_MT7623_H
15 #define __PINCTRL_MTK_MT7623_H
17 #include <linux/pinctrl/pinctrl.h>
18 #include "pinctrl-mtk-common.h"
20 static const struct mtk_desc_pin mtk_pins_mt7623[] = {
22 PINCTRL_PIN(0, "PWRAP_SPI0_MI"),
24 MTK_EINT_FUNCTION(0, 148),
25 MTK_FUNCTION(0, "GPIO0"),
26 MTK_FUNCTION(1, "PWRAP_SPIDO"),
27 MTK_FUNCTION(2, "PWRAP_SPIDI")
30 PINCTRL_PIN(1, "PWRAP_SPI0_MO"),
32 MTK_EINT_FUNCTION(0, 149),
33 MTK_FUNCTION(0, "GPIO1"),
34 MTK_FUNCTION(1, "PWRAP_SPIDI"),
35 MTK_FUNCTION(2, "PWRAP_SPIDO")
38 PINCTRL_PIN(2, "PWRAP_INT"),
40 MTK_EINT_FUNCTION(0, 150),
41 MTK_FUNCTION(0, "GPIO2"),
42 MTK_FUNCTION(1, "PWRAP_INT")
45 PINCTRL_PIN(3, "PWRAP_SPI0_CK"),
47 MTK_EINT_FUNCTION(0, 151),
48 MTK_FUNCTION(0, "GPIO3"),
49 MTK_FUNCTION(1, "PWRAP_SPICK_I")
52 PINCTRL_PIN(4, "PWRAP_SPI0_CSN"),
54 MTK_EINT_FUNCTION(0, 152),
55 MTK_FUNCTION(0, "GPIO4"),
56 MTK_FUNCTION(1, "PWRAP_SPICS_B_I")
59 PINCTRL_PIN(5, "PWRAP_SPI0_CK2"),
61 MTK_EINT_FUNCTION(0, 155),
62 MTK_FUNCTION(0, "GPIO5"),
63 MTK_FUNCTION(1, "PWRAP_SPICK2_I")
66 PINCTRL_PIN(6, "PWRAP_SPI0_CSN2"),
68 MTK_EINT_FUNCTION(0, 156),
69 MTK_FUNCTION(0, "GPIO6"),
70 MTK_FUNCTION(1, "PWRAP_SPICS2_B_I")
73 PINCTRL_PIN(7, "SPI1_CSN"),
75 MTK_EINT_FUNCTION(0, 153),
76 MTK_FUNCTION(0, "GPIO7"),
77 MTK_FUNCTION(1, "SPI1_CS")
80 PINCTRL_PIN(8, "SPI1_MI"),
82 MTK_EINT_FUNCTION(0, 154),
83 MTK_FUNCTION(0, "GPIO8"),
84 MTK_FUNCTION(1, "SPI1_MI"),
85 MTK_FUNCTION(2, "SPI1_MO")
88 PINCTRL_PIN(9, "SPI1_MO"),
90 MTK_EINT_FUNCTION(0, 157),
91 MTK_FUNCTION(0, "GPIO9"),
92 MTK_FUNCTION(1, "SPI1_MO"),
93 MTK_FUNCTION(2, "SPI1_MI")
96 PINCTRL_PIN(10, "RTC32K_CK"),
98 MTK_EINT_FUNCTION(0, 158),
99 MTK_FUNCTION(0, "GPIO10"),
100 MTK_FUNCTION(1, "RTC32K_CK")
103 PINCTRL_PIN(11, "WATCHDOG"),
105 MTK_EINT_FUNCTION(0, 159),
106 MTK_FUNCTION(0, "GPIO11"),
107 MTK_FUNCTION(1, "WATCHDOG")
110 PINCTRL_PIN(12, "SRCLKENA"),
112 MTK_EINT_FUNCTION(0, 169),
113 MTK_FUNCTION(0, "GPIO12"),
114 MTK_FUNCTION(1, "SRCLKENA")
117 PINCTRL_PIN(13, "SRCLKENAI"),
119 MTK_EINT_FUNCTION(0, 161),
120 MTK_FUNCTION(0, "GPIO13"),
121 MTK_FUNCTION(1, "SRCLKENAI")
124 PINCTRL_PIN(14, "GPIO14"),
126 MTK_EINT_FUNCTION(0, 162),
127 MTK_FUNCTION(0, "GPIO14"),
128 MTK_FUNCTION(1, "URXD2"),
129 MTK_FUNCTION(2, "UTXD2")
132 PINCTRL_PIN(15, "GPIO15"),
134 MTK_EINT_FUNCTION(0, 163),
135 MTK_FUNCTION(0, "GPIO15"),
136 MTK_FUNCTION(1, "UTXD2"),
137 MTK_FUNCTION(2, "URXD2")
140 PINCTRL_PIN(16, "GPIO16"),
142 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
143 MTK_FUNCTION(0, "GPIO16")
146 PINCTRL_PIN(17, "GPIO17"),
148 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
149 MTK_FUNCTION(0, "GPIO17")
152 PINCTRL_PIN(18, "PCM_CLK"),
154 MTK_EINT_FUNCTION(0, 166),
155 MTK_FUNCTION(0, "GPIO18"),
156 MTK_FUNCTION(1, "PCM_CLK0"),
157 MTK_FUNCTION(6, "AP_PCM_CLKO")
160 PINCTRL_PIN(19, "PCM_SYNC"),
162 MTK_EINT_FUNCTION(0, 167),
163 MTK_FUNCTION(0, "GPIO19"),
164 MTK_FUNCTION(1, "PCM_SYNC"),
165 MTK_FUNCTION(6, "AP_PCM_SYNC")
168 PINCTRL_PIN(20, "PCM_RX"),
170 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
171 MTK_FUNCTION(0, "GPIO20"),
172 MTK_FUNCTION(1, "PCM_RX"),
173 MTK_FUNCTION(4, "PCM_TX"),
174 MTK_FUNCTION(6, "AP_PCM_RX")
177 PINCTRL_PIN(21, "PCM_TX"),
179 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
180 MTK_FUNCTION(0, "GPIO21"),
181 MTK_FUNCTION(1, "PCM_TX"),
182 MTK_FUNCTION(4, "PCM_RX"),
183 MTK_FUNCTION(6, "AP_PCM_TX")
186 PINCTRL_PIN(22, "EINT0"),
188 MTK_EINT_FUNCTION(0, 0),
189 MTK_FUNCTION(0, "GPIO22"),
190 MTK_FUNCTION(1, "UCTS0"),
191 MTK_FUNCTION(2, "PCIE0_PERST_N")
194 PINCTRL_PIN(23, "EINT1"),
196 MTK_EINT_FUNCTION(0, 1),
197 MTK_FUNCTION(0, "GPIO23"),
198 MTK_FUNCTION(1, "URTS0"),
199 MTK_FUNCTION(2, "PCIE1_PERST_N")
202 PINCTRL_PIN(24, "EINT2"),
204 MTK_EINT_FUNCTION(0, 2),
205 MTK_FUNCTION(0, "GPIO24"),
206 MTK_FUNCTION(1, "UCTS1"),
207 MTK_FUNCTION(2, "PCIE2_PERST_N")
210 PINCTRL_PIN(25, "EINT3"),
212 MTK_EINT_FUNCTION(0, 3),
213 MTK_FUNCTION(0, "GPIO25"),
214 MTK_FUNCTION(1, "URTS1")
217 PINCTRL_PIN(26, "EINT4"),
219 MTK_EINT_FUNCTION(0, 4),
220 MTK_FUNCTION(0, "GPIO26"),
221 MTK_FUNCTION(1, "UCTS3"),
222 MTK_FUNCTION(6, "PCIE2_WAKE_N")
225 PINCTRL_PIN(27, "EINT5"),
227 MTK_EINT_FUNCTION(0, 5),
228 MTK_FUNCTION(0, "GPIO27"),
229 MTK_FUNCTION(1, "URTS3"),
230 MTK_FUNCTION(6, "PCIE1_WAKE_N")
233 PINCTRL_PIN(28, "EINT6"),
235 MTK_EINT_FUNCTION(0, 6),
236 MTK_FUNCTION(0, "GPIO28"),
237 MTK_FUNCTION(1, "DRV_VBUS"),
238 MTK_FUNCTION(6, "PCIE0_WAKE_N")
241 PINCTRL_PIN(29, "EINT7"),
243 MTK_EINT_FUNCTION(0, 7),
244 MTK_FUNCTION(0, "GPIO29"),
245 MTK_FUNCTION(1, "IDDIG"),
246 MTK_FUNCTION(2, "MSDC1_WP"),
247 MTK_FUNCTION(6, "PCIE2_PERST_N")
250 PINCTRL_PIN(30, "GPIO30"),
252 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
253 MTK_FUNCTION(0, "GPIO30")
256 PINCTRL_PIN(31, "GPIO31"),
258 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
259 MTK_FUNCTION(0, "GPIO31")
262 PINCTRL_PIN(32, "GPIO32"),
264 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
265 MTK_FUNCTION(0, "GPIO32")
268 PINCTRL_PIN(33, "I2S1_DATA"),
270 MTK_EINT_FUNCTION(0, 15),
271 MTK_FUNCTION(0, "GPIO33"),
272 MTK_FUNCTION(1, "I2S1_DATA"),
273 MTK_FUNCTION(3, "PCM_TX"),
274 MTK_FUNCTION(6, "AP_PCM_TX")
277 PINCTRL_PIN(34, "I2S1_DATA_IN"),
279 MTK_EINT_FUNCTION(0, 16),
280 MTK_FUNCTION(0, "GPIO34"),
281 MTK_FUNCTION(1, "I2S1_DATA_IN"),
282 MTK_FUNCTION(3, "PCM_RX"),
283 MTK_FUNCTION(6, "AP_PCM_RX")
286 PINCTRL_PIN(35, "I2S1_BCK"),
288 MTK_EINT_FUNCTION(0, 17),
289 MTK_FUNCTION(0, "GPIO35"),
290 MTK_FUNCTION(1, "I2S1_BCK"),
291 MTK_FUNCTION(3, "PCM_CLK0"),
292 MTK_FUNCTION(6, "AP_PCM_CLKO")
295 PINCTRL_PIN(36, "I2S1_LRCK"),
297 MTK_EINT_FUNCTION(0, 18),
298 MTK_FUNCTION(0, "GPIO36"),
299 MTK_FUNCTION(1, "I2S1_LRCK"),
300 MTK_FUNCTION(3, "PCM_SYNC"),
301 MTK_FUNCTION(6, "AP_PCM_SYNC")
304 PINCTRL_PIN(37, "I2S1_MCLK"),
306 MTK_EINT_FUNCTION(0, 19),
307 MTK_FUNCTION(0, "GPIO37"),
308 MTK_FUNCTION(1, "I2S1_MCLK")
311 PINCTRL_PIN(38, "GPIO38"),
313 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
314 MTK_FUNCTION(0, "GPIO38")
317 PINCTRL_PIN(39, "JTMS"),
319 MTK_EINT_FUNCTION(0, 21),
320 MTK_FUNCTION(0, "GPIO39"),
321 MTK_FUNCTION(1, "JTMS")
324 PINCTRL_PIN(40, "GPIO40"),
326 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
327 MTK_FUNCTION(0, "GPIO40")
330 PINCTRL_PIN(41, "JTDI"),
332 MTK_EINT_FUNCTION(0, 23),
333 MTK_FUNCTION(0, "GPIO41"),
334 MTK_FUNCTION(1, "JTDI")
337 PINCTRL_PIN(42, "JTDO"),
339 MTK_EINT_FUNCTION(0, 24),
340 MTK_FUNCTION(0, "GPIO42"),
341 MTK_FUNCTION(1, "JTDO")
344 PINCTRL_PIN(43, "NCLE"),
346 MTK_EINT_FUNCTION(0, 25),
347 MTK_FUNCTION(0, "GPIO43"),
348 MTK_FUNCTION(1, "NCLE"),
349 MTK_FUNCTION(2, "EXT_XCS2")
352 PINCTRL_PIN(44, "NCEB1"),
354 MTK_EINT_FUNCTION(0, 26),
355 MTK_FUNCTION(0, "GPIO44"),
356 MTK_FUNCTION(1, "NCEB1"),
357 MTK_FUNCTION(2, "IDDIG")
360 PINCTRL_PIN(45, "NCEB0"),
362 MTK_EINT_FUNCTION(0, 27),
363 MTK_FUNCTION(0, "GPIO45"),
364 MTK_FUNCTION(1, "NCEB0"),
365 MTK_FUNCTION(2, "DRV_VBUS")
368 PINCTRL_PIN(46, "IR"),
370 MTK_EINT_FUNCTION(0, 28),
371 MTK_FUNCTION(0, "GPIO46"),
372 MTK_FUNCTION(1, "IR")
375 PINCTRL_PIN(47, "NREB"),
377 MTK_EINT_FUNCTION(0, 29),
378 MTK_FUNCTION(0, "GPIO47"),
379 MTK_FUNCTION(1, "NREB")
382 PINCTRL_PIN(48, "NRNB"),
384 MTK_EINT_FUNCTION(0, 30),
385 MTK_FUNCTION(0, "GPIO48"),
386 MTK_FUNCTION(1, "NRNB")
389 PINCTRL_PIN(49, "I2S0_DATA"),
391 MTK_EINT_FUNCTION(0, 31),
392 MTK_FUNCTION(0, "GPIO49"),
393 MTK_FUNCTION(1, "I2S0_DATA"),
394 MTK_FUNCTION(3, "PCM_TX"),
395 MTK_FUNCTION(6, "AP_I2S_DO")
398 PINCTRL_PIN(50, "GPIO50"),
400 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
401 MTK_FUNCTION(0, "GPIO50")
404 PINCTRL_PIN(51, "GPIO51"),
406 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
407 MTK_FUNCTION(0, "GPIO51")
410 PINCTRL_PIN(52, "GPIO52"),
412 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
413 MTK_FUNCTION(0, "GPIO52")
416 PINCTRL_PIN(53, "SPI0_CSN"),
418 MTK_EINT_FUNCTION(0, 35),
419 MTK_FUNCTION(0, "GPIO53"),
420 MTK_FUNCTION(1, "SPI0_CS"),
421 MTK_FUNCTION(5, "PWM1")
424 PINCTRL_PIN(54, "SPI0_CK"),
426 MTK_EINT_FUNCTION(0, 36),
427 MTK_FUNCTION(0, "GPIO54"),
428 MTK_FUNCTION(1, "SPI0_CK")
431 PINCTRL_PIN(55, "SPI0_MI"),
433 MTK_EINT_FUNCTION(0, 37),
434 MTK_FUNCTION(0, "GPIO55"),
435 MTK_FUNCTION(1, "SPI0_MI"),
436 MTK_FUNCTION(2, "SPI0_MO"),
437 MTK_FUNCTION(3, "MSDC1_WP"),
438 MTK_FUNCTION(5, "PWM2")
441 PINCTRL_PIN(56, "SPI0_MO"),
443 MTK_EINT_FUNCTION(0, 38),
444 MTK_FUNCTION(0, "GPIO56"),
445 MTK_FUNCTION(1, "SPI0_MO"),
446 MTK_FUNCTION(2, "SPI0_MI")
449 PINCTRL_PIN(57, "GPIO57"),
451 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
452 MTK_FUNCTION(0, "GPIO57")
455 PINCTRL_PIN(58, "GPIO58"),
457 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
458 MTK_FUNCTION(0, "GPIO58")
461 PINCTRL_PIN(59, "GPIO59"),
463 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
464 MTK_FUNCTION(0, "GPIO59")
467 PINCTRL_PIN(60, "WB_RSTB"),
469 MTK_EINT_FUNCTION(0, 41),
470 MTK_FUNCTION(0, "GPIO60"),
471 MTK_FUNCTION(1, "WB_RSTB")
474 PINCTRL_PIN(61, "GPIO61"),
476 MTK_EINT_FUNCTION(0, 42),
477 MTK_FUNCTION(0, "GPIO61"),
478 MTK_FUNCTION(1, "TEST_FD")
481 PINCTRL_PIN(62, "GPIO62"),
483 MTK_EINT_FUNCTION(0, 43),
484 MTK_FUNCTION(0, "GPIO62"),
485 MTK_FUNCTION(1, "TEST_FC")
488 PINCTRL_PIN(63, "WB_SCLK"),
490 MTK_EINT_FUNCTION(0, 44),
491 MTK_FUNCTION(0, "GPIO63"),
492 MTK_FUNCTION(1, "WB_SCLK")
495 PINCTRL_PIN(64, "WB_SDATA"),
497 MTK_EINT_FUNCTION(0, 45),
498 MTK_FUNCTION(0, "GPIO64"),
499 MTK_FUNCTION(1, "WB_SDATA")
502 PINCTRL_PIN(65, "WB_SEN"),
504 MTK_EINT_FUNCTION(0, 46),
505 MTK_FUNCTION(0, "GPIO65"),
506 MTK_FUNCTION(1, "WB_SEN")
509 PINCTRL_PIN(66, "WB_CRTL0"),
511 MTK_EINT_FUNCTION(0, 47),
512 MTK_FUNCTION(0, "GPIO66"),
513 MTK_FUNCTION(1, "WB_CRTL0")
516 PINCTRL_PIN(67, "WB_CRTL1"),
518 MTK_EINT_FUNCTION(0, 48),
519 MTK_FUNCTION(0, "GPIO67"),
520 MTK_FUNCTION(1, "WB_CRTL1")
523 PINCTRL_PIN(68, "WB_CRTL2"),
525 MTK_EINT_FUNCTION(0, 49),
526 MTK_FUNCTION(0, "GPIO68"),
527 MTK_FUNCTION(1, "WB_CRTL2")
530 PINCTRL_PIN(69, "WB_CRTL3"),
532 MTK_EINT_FUNCTION(0, 50),
533 MTK_FUNCTION(0, "GPIO69"),
534 MTK_FUNCTION(1, "WB_CRTL3")
537 PINCTRL_PIN(70, "WB_CRTL4"),
539 MTK_EINT_FUNCTION(0, 51),
540 MTK_FUNCTION(0, "GPIO70"),
541 MTK_FUNCTION(1, "WB_CRTL4")
544 PINCTRL_PIN(71, "WB_CRTL5"),
546 MTK_EINT_FUNCTION(0, 52),
547 MTK_FUNCTION(0, "GPIO71"),
548 MTK_FUNCTION(1, "WB_CRTL5")
551 PINCTRL_PIN(72, "I2S0_DATA_IN"),
553 MTK_EINT_FUNCTION(0, 53),
554 MTK_FUNCTION(0, "GPIO72"),
555 MTK_FUNCTION(1, "I2S0_DATA_IN"),
556 MTK_FUNCTION(3, "PCM_RX"),
557 MTK_FUNCTION(4, "PWM0"),
558 MTK_FUNCTION(5, "DISP_PWM"),
559 MTK_FUNCTION(6, "AP_I2S_DI")
562 PINCTRL_PIN(73, "I2S0_LRCK"),
564 MTK_EINT_FUNCTION(0, 54),
565 MTK_FUNCTION(0, "GPIO73"),
566 MTK_FUNCTION(1, "I2S0_LRCK"),
567 MTK_FUNCTION(3, "PCM_SYNC"),
568 MTK_FUNCTION(6, "AP_I2S_LRCK")
571 PINCTRL_PIN(74, "I2S0_BCK"),
573 MTK_EINT_FUNCTION(0, 55),
574 MTK_FUNCTION(0, "GPIO74"),
575 MTK_FUNCTION(1, "I2S0_BCK"),
576 MTK_FUNCTION(3, "PCM_CLK0"),
577 MTK_FUNCTION(6, "AP_I2S_BCK")
580 PINCTRL_PIN(75, "SDA0"),
582 MTK_EINT_FUNCTION(0, 56),
583 MTK_FUNCTION(0, "GPIO75"),
584 MTK_FUNCTION(1, "SDA0")
587 PINCTRL_PIN(76, "SCL0"),
589 MTK_EINT_FUNCTION(0, 57),
590 MTK_FUNCTION(0, "GPIO76"),
591 MTK_FUNCTION(1, "SCL0")
594 PINCTRL_PIN(77, "GPIO77"),
596 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
597 MTK_FUNCTION(0, "GPIO77")
600 PINCTRL_PIN(78, "GPIO78"),
602 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
603 MTK_FUNCTION(0, "GPIO78")
606 PINCTRL_PIN(79, "GPIO79"),
608 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
609 MTK_FUNCTION(0, "GPIO79")
612 PINCTRL_PIN(80, "GPIO80"),
614 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
615 MTK_FUNCTION(0, "GPIO80")
618 PINCTRL_PIN(81, "GPIO81"),
620 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
621 MTK_FUNCTION(0, "GPIO81")
624 PINCTRL_PIN(82, "GPIO82"),
626 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
627 MTK_FUNCTION(0, "GPIO82")
630 PINCTRL_PIN(83, "LCM_RST"),
632 MTK_EINT_FUNCTION(0, 64),
633 MTK_FUNCTION(0, "GPIO83"),
634 MTK_FUNCTION(1, "LCM_RST")
637 PINCTRL_PIN(84, "DSI_TE"),
639 MTK_EINT_FUNCTION(0, 65),
640 MTK_FUNCTION(0, "GPIO84"),
641 MTK_FUNCTION(1, "DSI_TE")
644 PINCTRL_PIN(85, "GPIO85"),
646 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
647 MTK_FUNCTION(0, "GPIO85")
650 PINCTRL_PIN(86, "GPIO86"),
652 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
653 MTK_FUNCTION(0, "GPIO86")
656 PINCTRL_PIN(87, "GPIO87"),
658 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
659 MTK_FUNCTION(0, "GPIO87")
662 PINCTRL_PIN(88, "GPIO88"),
664 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
665 MTK_FUNCTION(0, "GPIO88")
668 PINCTRL_PIN(89, "GPIO89"),
670 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
671 MTK_FUNCTION(0, "GPIO89")
674 PINCTRL_PIN(90, "GPIO90"),
676 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
677 MTK_FUNCTION(0, "GPIO90")
680 PINCTRL_PIN(91, "GPIO91"),
682 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
683 MTK_FUNCTION(0, "GPIO91")
686 PINCTRL_PIN(92, "GPIO92"),
688 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
689 MTK_FUNCTION(0, "GPIO92")
692 PINCTRL_PIN(93, "GPIO93"),
694 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
695 MTK_FUNCTION(0, "GPIO93")
698 PINCTRL_PIN(94, "GPIO94"),
700 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
701 MTK_FUNCTION(0, "GPIO94")
704 PINCTRL_PIN(95, "MIPI_TCN"),
706 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
707 MTK_FUNCTION(0, "GPIO95"),
708 MTK_FUNCTION(1, "TCN")
711 PINCTRL_PIN(96, "MIPI_TCP"),
713 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
714 MTK_FUNCTION(0, "GPIO96"),
715 MTK_FUNCTION(1, "TCP")
718 PINCTRL_PIN(97, "MIPI_TDN1"),
720 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
721 MTK_FUNCTION(0, "GPIO97"),
722 MTK_FUNCTION(1, "TDN1")
725 PINCTRL_PIN(98, "MIPI_TDP1"),
727 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
728 MTK_FUNCTION(0, "GPIO98"),
729 MTK_FUNCTION(1, "TDP1")
732 PINCTRL_PIN(99, "MIPI_TDN0"),
734 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
735 MTK_FUNCTION(0, "GPIO99"),
736 MTK_FUNCTION(1, "TDN0")
739 PINCTRL_PIN(100, "MIPI_TDP0"),
741 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
742 MTK_FUNCTION(0, "GPIO100"),
743 MTK_FUNCTION(1, "TDP0")
746 PINCTRL_PIN(101, "GPIO101"),
748 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
749 MTK_FUNCTION(0, "GPIO101")
752 PINCTRL_PIN(102, "GPIO102"),
754 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
755 MTK_FUNCTION(0, "GPIO102")
758 PINCTRL_PIN(103, "GPIO103"),
760 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
761 MTK_FUNCTION(0, "GPIO103")
764 PINCTRL_PIN(104, "GPIO104"),
766 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
767 MTK_FUNCTION(0, "GPIO104")
770 PINCTRL_PIN(105, "MSDC1_CMD"),
772 MTK_EINT_FUNCTION(0, 78),
773 MTK_FUNCTION(0, "GPIO105"),
774 MTK_FUNCTION(1, "MSDC1_CMD"),
775 MTK_FUNCTION(3, "SDA1"),
776 MTK_FUNCTION(6, "I2SOUT_BCK")
779 PINCTRL_PIN(106, "MSDC1_CLK"),
781 MTK_EINT_FUNCTION(0, 79),
782 MTK_FUNCTION(0, "GPIO106"),
783 MTK_FUNCTION(1, "MSDC1_CLK"),
784 MTK_FUNCTION(3, "SCL1"),
785 MTK_FUNCTION(6, "I2SOUT_LRCK")
788 PINCTRL_PIN(107, "MSDC1_DAT0"),
790 MTK_EINT_FUNCTION(0, 80),
791 MTK_FUNCTION(0, "GPIO107"),
792 MTK_FUNCTION(1, "MSDC1_DAT0"),
793 MTK_FUNCTION(5, "UTXD0"),
794 MTK_FUNCTION(6, "I2SOUT_DATA_OUT")
797 PINCTRL_PIN(108, "MSDC1_DAT1"),
799 MTK_EINT_FUNCTION(0, 81),
800 MTK_FUNCTION(0, "GPIO108"),
801 MTK_FUNCTION(1, "MSDC1_DAT1"),
802 MTK_FUNCTION(3, "PWM0"),
803 MTK_FUNCTION(5, "URXD0"),
804 MTK_FUNCTION(6, "PWM1")
807 PINCTRL_PIN(109, "MSDC1_DAT2"),
809 MTK_EINT_FUNCTION(0, 82),
810 MTK_FUNCTION(0, "GPIO109"),
811 MTK_FUNCTION(1, "MSDC1_DAT2"),
812 MTK_FUNCTION(3, "SDA2"),
813 MTK_FUNCTION(5, "UTXD1"),
814 MTK_FUNCTION(6, "PWM2")
817 PINCTRL_PIN(110, "MSDC1_DAT3"),
819 MTK_EINT_FUNCTION(0, 83),
820 MTK_FUNCTION(0, "GPIO110"),
821 MTK_FUNCTION(1, "MSDC1_DAT3"),
822 MTK_FUNCTION(3, "SCL2"),
823 MTK_FUNCTION(5, "URXD1"),
824 MTK_FUNCTION(6, "PWM3")
827 PINCTRL_PIN(111, "MSDC0_DAT7"),
829 MTK_EINT_FUNCTION(0, 84),
830 MTK_FUNCTION(0, "GPIO111"),
831 MTK_FUNCTION(1, "MSDC0_DAT7"),
832 MTK_FUNCTION(4, "NLD7")
835 PINCTRL_PIN(112, "MSDC0_DAT6"),
837 MTK_EINT_FUNCTION(0, 85),
838 MTK_FUNCTION(0, "GPIO112"),
839 MTK_FUNCTION(1, "MSDC0_DAT6"),
840 MTK_FUNCTION(4, "NLD6")
843 PINCTRL_PIN(113, "MSDC0_DAT5"),
845 MTK_EINT_FUNCTION(0, 86),
846 MTK_FUNCTION(0, "GPIO113"),
847 MTK_FUNCTION(1, "MSDC0_DAT5"),
848 MTK_FUNCTION(4, "NLD5")
851 PINCTRL_PIN(114, "MSDC0_DAT4"),
853 MTK_EINT_FUNCTION(0, 87),
854 MTK_FUNCTION(0, "GPIO114"),
855 MTK_FUNCTION(1, "MSDC0_DAT4"),
856 MTK_FUNCTION(4, "NLD4")
859 PINCTRL_PIN(115, "MSDC0_RSTB"),
861 MTK_EINT_FUNCTION(0, 88),
862 MTK_FUNCTION(0, "GPIO115"),
863 MTK_FUNCTION(1, "MSDC0_RSTB"),
864 MTK_FUNCTION(4, "NLD8")
867 PINCTRL_PIN(116, "MSDC0_CMD"),
869 MTK_EINT_FUNCTION(0, 89),
870 MTK_FUNCTION(0, "GPIO116"),
871 MTK_FUNCTION(1, "MSDC0_CMD"),
872 MTK_FUNCTION(4, "NALE")
875 PINCTRL_PIN(117, "MSDC0_CLK"),
877 MTK_EINT_FUNCTION(0, 90),
878 MTK_FUNCTION(0, "GPIO117"),
879 MTK_FUNCTION(1, "MSDC0_CLK"),
880 MTK_FUNCTION(4, "NWEB")
883 PINCTRL_PIN(118, "MSDC0_DAT3"),
885 MTK_EINT_FUNCTION(0, 91),
886 MTK_FUNCTION(0, "GPIO118"),
887 MTK_FUNCTION(1, "MSDC0_DAT3"),
888 MTK_FUNCTION(4, "NLD3")
891 PINCTRL_PIN(119, "MSDC0_DAT2"),
893 MTK_EINT_FUNCTION(0, 92),
894 MTK_FUNCTION(0, "GPIO119"),
895 MTK_FUNCTION(1, "MSDC0_DAT2"),
896 MTK_FUNCTION(4, "NLD2")
899 PINCTRL_PIN(120, "MSDC0_DAT1"),
901 MTK_EINT_FUNCTION(0, 93),
902 MTK_FUNCTION(0, "GPIO120"),
903 MTK_FUNCTION(1, "MSDC0_DAT1"),
904 MTK_FUNCTION(4, "NLD1")
907 PINCTRL_PIN(121, "MSDC0_DAT0"),
909 MTK_EINT_FUNCTION(0, 94),
910 MTK_FUNCTION(0, "GPIO121"),
911 MTK_FUNCTION(1, "MSDC0_DAT0"),
912 MTK_FUNCTION(4, "NLD0"),
913 MTK_FUNCTION(5, "WATCHDOG")
916 PINCTRL_PIN(122, "GPIO122"),
918 MTK_EINT_FUNCTION(0, 95),
919 MTK_FUNCTION(0, "GPIO122"),
920 MTK_FUNCTION(1, "TEST"),
921 MTK_FUNCTION(4, "SDA2"),
922 MTK_FUNCTION(5, "URXD0")
925 PINCTRL_PIN(123, "GPIO123"),
927 MTK_EINT_FUNCTION(0, 96),
928 MTK_FUNCTION(0, "GPIO123"),
929 MTK_FUNCTION(1, "TEST"),
930 MTK_FUNCTION(4, "SCL2"),
931 MTK_FUNCTION(5, "UTXD0")
934 PINCTRL_PIN(124, "GPIO124"),
936 MTK_EINT_FUNCTION(0, 97),
937 MTK_FUNCTION(0, "GPIO124"),
938 MTK_FUNCTION(1, "TEST"),
939 MTK_FUNCTION(4, "SDA1"),
940 MTK_FUNCTION(5, "PWM3")
943 PINCTRL_PIN(125, "GPIO125"),
945 MTK_EINT_FUNCTION(0, 98),
946 MTK_FUNCTION(0, "GPIO125"),
947 MTK_FUNCTION(1, "TEST"),
948 MTK_FUNCTION(4, "SCL1"),
949 MTK_FUNCTION(5, "PWM4")
952 PINCTRL_PIN(126, "I2S0_MCLK"),
954 MTK_EINT_FUNCTION(0, 99),
955 MTK_FUNCTION(0, "GPIO126"),
956 MTK_FUNCTION(1, "I2S0_MCLK"),
957 MTK_FUNCTION(6, "AP_I2S_MCLK")
960 PINCTRL_PIN(127, "GPIO127"),
962 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
963 MTK_FUNCTION(0, "GPIO127")
966 PINCTRL_PIN(128, "GPIO128"),
968 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
969 MTK_FUNCTION(0, "GPIO128")
972 PINCTRL_PIN(129, "GPIO129"),
974 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
975 MTK_FUNCTION(0, "GPIO129")
978 PINCTRL_PIN(130, "GPIO130"),
980 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
981 MTK_FUNCTION(0, "GPIO130")
984 PINCTRL_PIN(131, "GPIO131"),
986 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
987 MTK_FUNCTION(0, "GPIO131")
990 PINCTRL_PIN(132, "GPIO132"),
992 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
993 MTK_FUNCTION(0, "GPIO132")
996 PINCTRL_PIN(133, "GPIO133"),
998 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
999 MTK_FUNCTION(0, "GPIO133")
1002 PINCTRL_PIN(134, "GPIO134"),
1004 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1005 MTK_FUNCTION(0, "GPIO134")
1008 PINCTRL_PIN(135, "GPIO135"),
1010 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1011 MTK_FUNCTION(0, "GPIO135")
1014 PINCTRL_PIN(136, "GPIO136"),
1016 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1017 MTK_FUNCTION(0, "GPIO136")
1020 PINCTRL_PIN(137, "GPIO137"),
1022 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1023 MTK_FUNCTION(0, "GPIO137")
1026 PINCTRL_PIN(138, "GPIO138"),
1028 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1029 MTK_FUNCTION(0, "GPIO138")
1032 PINCTRL_PIN(139, "GPIO139"),
1034 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1035 MTK_FUNCTION(0, "GPIO139")
1038 PINCTRL_PIN(140, "GPIO140"),
1040 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1041 MTK_FUNCTION(0, "GPIO140")
1044 PINCTRL_PIN(141, "GPIO141"),
1046 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1047 MTK_FUNCTION(0, "GPIO141")
1050 PINCTRL_PIN(142, "GPIO142"),
1052 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1053 MTK_FUNCTION(0, "GPIO142")
1056 PINCTRL_PIN(143, "GPIO143"),
1058 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1059 MTK_FUNCTION(0, "GPIO143")
1062 PINCTRL_PIN(144, "GPIO144"),
1064 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1065 MTK_FUNCTION(0, "GPIO144")
1068 PINCTRL_PIN(145, "GPIO145"),
1070 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1071 MTK_FUNCTION(0, "GPIO145")
1074 PINCTRL_PIN(146, "GPIO146"),
1076 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1077 MTK_FUNCTION(0, "GPIO146")
1080 PINCTRL_PIN(147, "GPIO147"),
1082 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1083 MTK_FUNCTION(0, "GPIO147")
1086 PINCTRL_PIN(148, "GPIO148"),
1088 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1089 MTK_FUNCTION(0, "GPIO148")
1092 PINCTRL_PIN(149, "GPIO149"),
1094 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1095 MTK_FUNCTION(0, "GPIO149")
1098 PINCTRL_PIN(150, "GPIO150"),
1100 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1101 MTK_FUNCTION(0, "GPIO150")
1104 PINCTRL_PIN(151, "GPIO151"),
1106 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1107 MTK_FUNCTION(0, "GPIO151")
1110 PINCTRL_PIN(152, "GPIO152"),
1112 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1113 MTK_FUNCTION(0, "GPIO152")
1116 PINCTRL_PIN(153, "GPIO153"),
1118 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1119 MTK_FUNCTION(0, "GPIO153")
1122 PINCTRL_PIN(154, "GPIO154"),
1124 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1125 MTK_FUNCTION(0, "GPIO154")
1128 PINCTRL_PIN(155, "GPIO155"),
1130 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1131 MTK_FUNCTION(0, "GPIO155")
1134 PINCTRL_PIN(156, "GPIO156"),
1136 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1137 MTK_FUNCTION(0, "GPIO156")
1140 PINCTRL_PIN(157, "GPIO157"),
1142 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1143 MTK_FUNCTION(0, "GPIO157")
1146 PINCTRL_PIN(158, "GPIO158"),
1148 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1149 MTK_FUNCTION(0, "GPIO158")
1152 PINCTRL_PIN(159, "GPIO159"),
1154 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1155 MTK_FUNCTION(0, "GPIO159")
1158 PINCTRL_PIN(160, "GPIO160"),
1160 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1161 MTK_FUNCTION(0, "GPIO160")
1164 PINCTRL_PIN(161, "GPIO161"),
1166 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1167 MTK_FUNCTION(0, "GPIO161")
1170 PINCTRL_PIN(162, "GPIO162"),
1172 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1173 MTK_FUNCTION(0, "GPIO162")
1176 PINCTRL_PIN(163, "GPIO163"),
1178 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1179 MTK_FUNCTION(0, "GPIO163")
1182 PINCTRL_PIN(164, "GPIO164"),
1184 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1185 MTK_FUNCTION(0, "GPIO164")
1188 PINCTRL_PIN(165, "GPIO165"),
1190 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1191 MTK_FUNCTION(0, "GPIO165")
1194 PINCTRL_PIN(166, "GPIO166"),
1196 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1197 MTK_FUNCTION(0, "GPIO166")
1200 PINCTRL_PIN(167, "GPIO167"),
1202 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1203 MTK_FUNCTION(0, "GPIO167")
1206 PINCTRL_PIN(168, "GPIO168"),
1208 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1209 MTK_FUNCTION(0, "GPIO168")
1212 PINCTRL_PIN(169, "GPIO169"),
1214 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1215 MTK_FUNCTION(0, "GPIO169")
1218 PINCTRL_PIN(170, "GPIO170"),
1220 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1221 MTK_FUNCTION(0, "GPIO170")
1224 PINCTRL_PIN(171, "GPIO171"),
1226 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1227 MTK_FUNCTION(0, "GPIO171")
1230 PINCTRL_PIN(172, "GPIO172"),
1232 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1233 MTK_FUNCTION(0, "GPIO172")
1236 PINCTRL_PIN(173, "GPIO173"),
1238 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1239 MTK_FUNCTION(0, "GPIO173")
1242 PINCTRL_PIN(174, "GPIO174"),
1244 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1245 MTK_FUNCTION(0, "GPIO174")
1248 PINCTRL_PIN(175, "GPIO175"),
1250 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1251 MTK_FUNCTION(0, "GPIO175")
1254 PINCTRL_PIN(176, "GPIO176"),
1256 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1257 MTK_FUNCTION(0, "GPIO176")
1260 PINCTRL_PIN(177, "GPIO177"),
1262 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1263 MTK_FUNCTION(0, "GPIO177")
1266 PINCTRL_PIN(178, "GPIO178"),
1268 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1269 MTK_FUNCTION(0, "GPIO178")
1272 PINCTRL_PIN(179, "GPIO179"),
1274 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1275 MTK_FUNCTION(0, "GPIO179")
1278 PINCTRL_PIN(180, "GPIO180"),
1280 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1281 MTK_FUNCTION(0, "GPIO180")
1284 PINCTRL_PIN(181, "GPIO181"),
1286 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1287 MTK_FUNCTION(0, "GPIO181")
1290 PINCTRL_PIN(182, "GPIO182"),
1292 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1293 MTK_FUNCTION(0, "GPIO182")
1296 PINCTRL_PIN(183, "GPIO183"),
1298 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1299 MTK_FUNCTION(0, "GPIO183")
1302 PINCTRL_PIN(184, "GPIO184"),
1304 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1305 MTK_FUNCTION(0, "GPIO184")
1308 PINCTRL_PIN(185, "GPIO185"),
1310 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1311 MTK_FUNCTION(0, "GPIO185")
1314 PINCTRL_PIN(186, "GPIO186"),
1316 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1317 MTK_FUNCTION(0, "GPIO186")
1320 PINCTRL_PIN(187, "GPIO187"),
1322 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1323 MTK_FUNCTION(0, "GPIO187")
1326 PINCTRL_PIN(188, "GPIO188"),
1328 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1329 MTK_FUNCTION(0, "GPIO188")
1332 PINCTRL_PIN(189, "GPIO189"),
1334 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1335 MTK_FUNCTION(0, "GPIO189")
1338 PINCTRL_PIN(190, "GPIO190"),
1340 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1341 MTK_FUNCTION(0, "GPIO190")
1344 PINCTRL_PIN(191, "GPIO191"),
1346 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1347 MTK_FUNCTION(0, "GPIO191")
1350 PINCTRL_PIN(192, "GPIO192"),
1352 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1353 MTK_FUNCTION(0, "GPIO192")
1356 PINCTRL_PIN(193, "GPIO193"),
1358 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1359 MTK_FUNCTION(0, "GPIO193")
1362 PINCTRL_PIN(194, "GPIO194"),
1364 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1365 MTK_FUNCTION(0, "GPIO194")
1368 PINCTRL_PIN(195, "GPIO195"),
1370 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1371 MTK_FUNCTION(0, "GPIO195")
1374 PINCTRL_PIN(196, "GPIO196"),
1376 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1377 MTK_FUNCTION(0, "GPIO196")
1380 PINCTRL_PIN(197, "GPIO197"),
1382 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1383 MTK_FUNCTION(0, "GPIO197")
1386 PINCTRL_PIN(198, "GPIO198"),
1388 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1389 MTK_FUNCTION(0, "GPIO198")
1392 PINCTRL_PIN(199, "SPI1_CK"),
1394 MTK_EINT_FUNCTION(0, 111),
1395 MTK_FUNCTION(0, "GPIO199"),
1396 MTK_FUNCTION(1, "SPI1_CK")
1399 PINCTRL_PIN(200, "URXD2"),
1401 MTK_EINT_FUNCTION(0, 112),
1402 MTK_FUNCTION(0, "GPIO200"),
1403 MTK_FUNCTION(6, "URXD2")
1406 PINCTRL_PIN(201, "UTXD2"),
1408 MTK_EINT_FUNCTION(0, 113),
1409 MTK_FUNCTION(0, "GPIO201"),
1410 MTK_FUNCTION(6, "UTXD2")
1413 PINCTRL_PIN(202, "GPIO202"),
1415 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1416 MTK_FUNCTION(0, "GPIO202")
1419 PINCTRL_PIN(203, "PWM0"),
1421 MTK_EINT_FUNCTION(0, 115),
1422 MTK_FUNCTION(0, "GPIO203"),
1423 MTK_FUNCTION(1, "PWM0"),
1424 MTK_FUNCTION(2, "DISP_PWM")
1427 PINCTRL_PIN(204, "PWM1"),
1429 MTK_EINT_FUNCTION(0, 116),
1430 MTK_FUNCTION(0, "GPIO204"),
1431 MTK_FUNCTION(1, "PWM1")
1434 PINCTRL_PIN(205, "PWM2"),
1436 MTK_EINT_FUNCTION(0, 117),
1437 MTK_FUNCTION(0, "GPIO205"),
1438 MTK_FUNCTION(1, "PWM2")
1441 PINCTRL_PIN(206, "PWM3"),
1443 MTK_EINT_FUNCTION(0, 118),
1444 MTK_FUNCTION(0, "GPIO206"),
1445 MTK_FUNCTION(1, "PWM3")
1448 PINCTRL_PIN(207, "PWM4"),
1450 MTK_EINT_FUNCTION(0, 119),
1451 MTK_FUNCTION(0, "GPIO207"),
1452 MTK_FUNCTION(1, "PWM4")
1455 PINCTRL_PIN(208, "AUD_EXT_CK1"),
1457 MTK_EINT_FUNCTION(0, 120),
1458 MTK_FUNCTION(0, "GPIO208"),
1459 MTK_FUNCTION(1, "AUD_EXT_CK1"),
1460 MTK_FUNCTION(2, "PWM0"),
1461 MTK_FUNCTION(3, "PCIE0_PERST_N"),
1462 MTK_FUNCTION(5, "DISP_PWM")
1465 PINCTRL_PIN(209, "AUD_EXT_CK2"),
1467 MTK_EINT_FUNCTION(0, 121),
1468 MTK_FUNCTION(0, "GPIO209"),
1469 MTK_FUNCTION(1, "AUD_EXT_CK2"),
1470 MTK_FUNCTION(2, "MSDC1_WP"),
1471 MTK_FUNCTION(3, "PCIE1_PERST_N"),
1472 MTK_FUNCTION(5, "PWM1")
1475 PINCTRL_PIN(210, "GPIO210"),
1477 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1478 MTK_FUNCTION(0, "GPIO210")
1481 PINCTRL_PIN(211, "GPIO211"),
1483 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1484 MTK_FUNCTION(0, "GPIO211")
1487 PINCTRL_PIN(212, "GPIO212"),
1489 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1490 MTK_FUNCTION(0, "GPIO212")
1493 PINCTRL_PIN(213, "GPIO213"),
1495 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1496 MTK_FUNCTION(0, "GPIO213")
1499 PINCTRL_PIN(214, "GPIO214"),
1501 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1502 MTK_FUNCTION(0, "GPIO214")
1505 PINCTRL_PIN(215, "GPIO215"),
1507 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1508 MTK_FUNCTION(0, "GPIO215")
1511 PINCTRL_PIN(216, "GPIO216"),
1513 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1514 MTK_FUNCTION(0, "GPIO216")
1517 PINCTRL_PIN(217, "GPIO217"),
1519 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1520 MTK_FUNCTION(0, "GPIO217")
1523 PINCTRL_PIN(218, "GPIO218"),
1525 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1526 MTK_FUNCTION(0, "GPIO218")
1529 PINCTRL_PIN(219, "GPIO219"),
1531 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1532 MTK_FUNCTION(0, "GPIO219")
1535 PINCTRL_PIN(220, "GPIO220"),
1537 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1538 MTK_FUNCTION(0, "GPIO220")
1541 PINCTRL_PIN(221, "GPIO221"),
1543 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1544 MTK_FUNCTION(0, "GPIO221")
1547 PINCTRL_PIN(222, "GPIO222"),
1549 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1550 MTK_FUNCTION(0, "GPIO222")
1553 PINCTRL_PIN(223, "GPIO223"),
1555 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1556 MTK_FUNCTION(0, "GPIO223")
1559 PINCTRL_PIN(224, "GPIO224"),
1561 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1562 MTK_FUNCTION(0, "GPIO224")
1565 PINCTRL_PIN(225, "GPIO225"),
1567 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1568 MTK_FUNCTION(0, "GPIO225")
1571 PINCTRL_PIN(226, "GPIO226"),
1573 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1574 MTK_FUNCTION(0, "GPIO226")
1577 PINCTRL_PIN(227, "GPIO227"),
1579 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1580 MTK_FUNCTION(0, "GPIO227")
1583 PINCTRL_PIN(228, "GPIO228"),
1585 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1586 MTK_FUNCTION(0, "GPIO228")
1589 PINCTRL_PIN(229, "GPIO229"),
1591 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1592 MTK_FUNCTION(0, "GPIO229")
1595 PINCTRL_PIN(230, "GPIO230"),
1597 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1598 MTK_FUNCTION(0, "GPIO230")
1601 PINCTRL_PIN(231, "GPIO231"),
1603 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1604 MTK_FUNCTION(0, "GPIO231")
1607 PINCTRL_PIN(232, "GPIO232"),
1609 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1610 MTK_FUNCTION(0, "GPIO232")
1613 PINCTRL_PIN(233, "GPIO233"),
1615 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1616 MTK_FUNCTION(0, "GPIO233")
1619 PINCTRL_PIN(234, "GPIO234"),
1621 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1622 MTK_FUNCTION(0, "GPIO234")
1625 PINCTRL_PIN(235, "GPIO235"),
1627 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1628 MTK_FUNCTION(0, "GPIO235")
1631 PINCTRL_PIN(236, "EXT_SDIO3"),
1633 MTK_EINT_FUNCTION(0, 122),
1634 MTK_FUNCTION(0, "GPIO236"),
1635 MTK_FUNCTION(1, "EXT_SDIO3"),
1636 MTK_FUNCTION(2, "IDDIG")
1639 PINCTRL_PIN(237, "EXT_SDIO2"),
1641 MTK_EINT_FUNCTION(0, 123),
1642 MTK_FUNCTION(0, "GPIO237"),
1643 MTK_FUNCTION(1, "EXT_SDIO2"),
1644 MTK_FUNCTION(2, "DRV_VBUS")
1647 PINCTRL_PIN(238, "EXT_SDIO1"),
1649 MTK_EINT_FUNCTION(0, 124),
1650 MTK_FUNCTION(0, "GPIO238"),
1651 MTK_FUNCTION(1, "EXT_SDIO1")
1654 PINCTRL_PIN(239, "EXT_SDIO0"),
1656 MTK_EINT_FUNCTION(0, 125),
1657 MTK_FUNCTION(0, "GPIO239"),
1658 MTK_FUNCTION(1, "EXT_SDIO0")
1661 PINCTRL_PIN(240, "EXT_XCS"),
1663 MTK_EINT_FUNCTION(0, 126),
1664 MTK_FUNCTION(0, "GPIO240"),
1665 MTK_FUNCTION(1, "EXT_XCS")
1668 PINCTRL_PIN(241, "EXT_SCK"),
1670 MTK_EINT_FUNCTION(0, 127),
1671 MTK_FUNCTION(0, "GPIO241"),
1672 MTK_FUNCTION(1, "EXT_SCK")
1675 PINCTRL_PIN(242, "URTS2"),
1677 MTK_EINT_FUNCTION(0, 128),
1678 MTK_FUNCTION(0, "GPIO242"),
1679 MTK_FUNCTION(1, "URTS2"),
1680 MTK_FUNCTION(2, "UTXD3"),
1681 MTK_FUNCTION(3, "URXD3"),
1682 MTK_FUNCTION(4, "SCL1")
1685 PINCTRL_PIN(243, "UCTS2"),
1687 MTK_EINT_FUNCTION(0, 129),
1688 MTK_FUNCTION(0, "GPIO243"),
1689 MTK_FUNCTION(1, "UCTS2"),
1690 MTK_FUNCTION(2, "URXD3"),
1691 MTK_FUNCTION(3, "UTXD3"),
1692 MTK_FUNCTION(4, "SDA1")
1695 PINCTRL_PIN(244, "GPIO244"),
1697 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1698 MTK_FUNCTION(0, "GPIO244")
1701 PINCTRL_PIN(245, "GPIO245"),
1703 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1704 MTK_FUNCTION(0, "GPIO245")
1707 PINCTRL_PIN(246, "GPIO246"),
1709 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1710 MTK_FUNCTION(0, "GPIO246")
1713 PINCTRL_PIN(247, "GPIO247"),
1715 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1716 MTK_FUNCTION(0, "GPIO247")
1719 PINCTRL_PIN(248, "GPIO248"),
1721 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1722 MTK_FUNCTION(0, "GPIO248")
1725 PINCTRL_PIN(249, "GPIO249"),
1727 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1728 MTK_FUNCTION(0, "GPIO249")
1731 PINCTRL_PIN(250, "GPIO250"),
1733 MTK_EINT_FUNCTION(0, 135),
1734 MTK_FUNCTION(0, "GPIO250"),
1735 MTK_FUNCTION(1, "TEST_MD7"),
1736 MTK_FUNCTION(6, "PCIE0_CLKREQ_N")
1739 PINCTRL_PIN(251, "GPIO251"),
1741 MTK_EINT_FUNCTION(0, 136),
1742 MTK_FUNCTION(0, "GPIO251"),
1743 MTK_FUNCTION(1, "TEST_MD6"),
1744 MTK_FUNCTION(6, "PCIE0_WAKE_N")
1747 PINCTRL_PIN(252, "GPIO252"),
1749 MTK_EINT_FUNCTION(0, 137),
1750 MTK_FUNCTION(0, "GPIO252"),
1751 MTK_FUNCTION(1, "TEST_MD5"),
1752 MTK_FUNCTION(6, "PCIE1_CLKREQ_N")
1755 PINCTRL_PIN(253, "GPIO253"),
1757 MTK_EINT_FUNCTION(0, 138),
1758 MTK_FUNCTION(0, "GPIO253"),
1759 MTK_FUNCTION(1, "TEST_MD4"),
1760 MTK_FUNCTION(6, "PCIE1_WAKE_N")
1763 PINCTRL_PIN(254, "GPIO254"),
1765 MTK_EINT_FUNCTION(0, 139),
1766 MTK_FUNCTION(0, "GPIO254"),
1767 MTK_FUNCTION(1, "TEST_MD3"),
1768 MTK_FUNCTION(6, "PCIE2_CLKREQ_N")
1771 PINCTRL_PIN(255, "GPIO255"),
1773 MTK_EINT_FUNCTION(0, 140),
1774 MTK_FUNCTION(0, "GPIO255"),
1775 MTK_FUNCTION(1, "TEST_MD2"),
1776 MTK_FUNCTION(6, "PCIE2_WAKE_N")
1779 PINCTRL_PIN(256, "GPIO256"),
1781 MTK_EINT_FUNCTION(0, 141),
1782 MTK_FUNCTION(0, "GPIO256"),
1783 MTK_FUNCTION(1, "TEST_MD1")
1786 PINCTRL_PIN(257, "GPIO257"),
1788 MTK_EINT_FUNCTION(0, 142),
1789 MTK_FUNCTION(0, "GPIO257"),
1790 MTK_FUNCTION(1, "TEST_MD0")
1793 PINCTRL_PIN(258, "GPIO258"),
1795 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1796 MTK_FUNCTION(0, "GPIO258")
1799 PINCTRL_PIN(259, "GPIO259"),
1801 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1802 MTK_FUNCTION(0, "GPIO259")
1805 PINCTRL_PIN(260, "GPIO260"),
1807 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1808 MTK_FUNCTION(0, "GPIO260")
1811 PINCTRL_PIN(261, "MSDC1_INS"),
1813 MTK_EINT_FUNCTION(0, 146),
1814 MTK_FUNCTION(0, "GPIO261"),
1815 MTK_FUNCTION(1, "MSDC1_INS")
1818 PINCTRL_PIN(262, "G2_TXEN"),
1820 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1821 MTK_FUNCTION(0, "GPIO262"),
1822 MTK_FUNCTION(1, "G2_TXEN")
1825 PINCTRL_PIN(263, "G2_TXD3"),
1827 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1828 MTK_FUNCTION(0, "GPIO263"),
1829 MTK_FUNCTION(1, "G2_TXD3")
1832 PINCTRL_PIN(264, "G2_TXD2"),
1834 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1835 MTK_FUNCTION(0, "GPIO264"),
1836 MTK_FUNCTION(1, "G2_TXD2")
1839 PINCTRL_PIN(265, "G2_TXD1"),
1841 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1842 MTK_FUNCTION(0, "GPIO265"),
1843 MTK_FUNCTION(1, "G2_TXD1")
1846 PINCTRL_PIN(266, "G2_TXD0"),
1848 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1849 MTK_FUNCTION(0, "GPIO266"),
1850 MTK_FUNCTION(1, "G2_TXD0")
1853 PINCTRL_PIN(267, "G2_TXCLK"),
1855 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1856 MTK_FUNCTION(0, "GPIO267"),
1857 MTK_FUNCTION(1, "G2_TXC")
1860 PINCTRL_PIN(268, "G2_RXCLK"),
1862 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1863 MTK_FUNCTION(0, "GPIO268"),
1864 MTK_FUNCTION(1, "G2_RXC")
1867 PINCTRL_PIN(269, "G2_RXD0"),
1869 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1870 MTK_FUNCTION(0, "GPIO269"),
1871 MTK_FUNCTION(1, "G2_RXD0")
1874 PINCTRL_PIN(270, "G2_RXD1"),
1876 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1877 MTK_FUNCTION(0, "GPIO270"),
1878 MTK_FUNCTION(1, "G2_RXD1")
1881 PINCTRL_PIN(271, "G2_RXD2"),
1883 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1884 MTK_FUNCTION(0, "GPIO271"),
1885 MTK_FUNCTION(1, "G2_RXD2")
1888 PINCTRL_PIN(272, "G2_RXD3"),
1890 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1891 MTK_FUNCTION(0, "GPIO272"),
1892 MTK_FUNCTION(1, "G2_RXD3")
1895 PINCTRL_PIN(273, "GPIO273"),
1897 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1898 MTK_FUNCTION(0, "GPIO273")
1901 PINCTRL_PIN(274, "G2_RXDV"),
1903 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1904 MTK_FUNCTION(0, "GPIO274"),
1905 MTK_FUNCTION(1, "G2_RXDV")
1908 PINCTRL_PIN(275, "G2_MDC"),
1910 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1911 MTK_FUNCTION(0, "GPIO275"),
1912 MTK_FUNCTION(1, "MDC")
1915 PINCTRL_PIN(276, "G2_MDIO"),
1917 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1918 MTK_FUNCTION(0, "GPIO276"),
1919 MTK_FUNCTION(1, "MDIO")
1922 PINCTRL_PIN(277, "GPIO277"),
1924 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1925 MTK_FUNCTION(0, "GPIO277")
1928 PINCTRL_PIN(278, "JTAG_RESET"),
1930 MTK_EINT_FUNCTION(0, 147),
1931 MTK_FUNCTION(0, "GPIO278"),
1932 MTK_FUNCTION(1, "JTAG_RESET")
1936 #endif /* __PINCTRL_MTK_MT7623_H */