2 * Copyright (c) 2015 MediaTek Inc.
3 * Author: Biao Huang <biao.huang@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_MT2701_H
16 #define __PINCTRL_MTK_MT2701_H
18 #include <linux/pinctrl/pinctrl.h>
19 #include "pinctrl-mtk-common.h"
21 static const struct mtk_desc_pin mtk_pins_mt2701
[] = {
23 PINCTRL_PIN(0, "PWRAP_SPI0_MI"),
25 MTK_EINT_FUNCTION(0, 148),
26 MTK_FUNCTION(0, "GPIO0"),
27 MTK_FUNCTION(1, "PWRAP_SPIDO"),
28 MTK_FUNCTION(2, "PWRAP_SPIDI")
31 PINCTRL_PIN(1, "PWRAP_SPI0_MO"),
33 MTK_EINT_FUNCTION(0, 149),
34 MTK_FUNCTION(0, "GPIO1"),
35 MTK_FUNCTION(1, "PWRAP_SPIDI"),
36 MTK_FUNCTION(2, "PWRAP_SPIDO")
39 PINCTRL_PIN(2, "PWRAP_INT"),
41 MTK_EINT_FUNCTION(0, 150),
42 MTK_FUNCTION(0, "GPIO2"),
43 MTK_FUNCTION(1, "PWRAP_INT")
46 PINCTRL_PIN(3, "PWRAP_SPI0_CK"),
48 MTK_EINT_FUNCTION(0, 151),
49 MTK_FUNCTION(0, "GPIO3"),
50 MTK_FUNCTION(1, "PWRAP_SPICK_I")
53 PINCTRL_PIN(4, "PWRAP_SPI0_CSN"),
55 MTK_EINT_FUNCTION(0, 152),
56 MTK_FUNCTION(0, "GPIO4"),
57 MTK_FUNCTION(1, "PWRAP_SPICS_B_I")
60 PINCTRL_PIN(5, "PWRAP_SPI0_CK2"),
62 MTK_EINT_FUNCTION(0, 153),
63 MTK_FUNCTION(0, "GPIO5"),
64 MTK_FUNCTION(1, "PWRAP_SPICK2_I"),
65 MTK_FUNCTION(5, "ANT_SEL1")
68 PINCTRL_PIN(6, "PWRAP_SPI0_CSN2"),
70 MTK_EINT_FUNCTION(0, 154),
71 MTK_FUNCTION(0, "GPIO6"),
72 MTK_FUNCTION(1, "PWRAP_SPICS2_B_I"),
73 MTK_FUNCTION(5, "ANT_SEL0"),
74 MTK_FUNCTION(7, "DBG_MON_A[0]")
77 PINCTRL_PIN(7, "SPI1_CSN"),
79 MTK_EINT_FUNCTION(0, 155),
80 MTK_FUNCTION(0, "GPIO7"),
81 MTK_FUNCTION(1, "SPI1_CS"),
82 MTK_FUNCTION(4, "KCOL0"),
83 MTK_FUNCTION(7, "DBG_MON_B[12]")
86 PINCTRL_PIN(8, "SPI1_MI"),
88 MTK_EINT_FUNCTION(0, 156),
89 MTK_FUNCTION(0, "GPIO8"),
90 MTK_FUNCTION(1, "SPI1_MI"),
91 MTK_FUNCTION(2, "SPI1_MO"),
92 MTK_FUNCTION(4, "KCOL1"),
93 MTK_FUNCTION(7, "DBG_MON_B[13]")
96 PINCTRL_PIN(9, "SPI1_MO"),
98 MTK_EINT_FUNCTION(0, 157),
99 MTK_FUNCTION(0, "GPIO9"),
100 MTK_FUNCTION(1, "SPI1_MO"),
101 MTK_FUNCTION(2, "SPI1_MI"),
102 MTK_FUNCTION(3, "EXT_FRAME_SYNC"),
103 MTK_FUNCTION(4, "KCOL2"),
104 MTK_FUNCTION(7, "DBG_MON_B[14]")
107 PINCTRL_PIN(10, "RTC32K_CK"),
109 MTK_EINT_FUNCTION(0, 158),
110 MTK_FUNCTION(0, "GPIO10"),
111 MTK_FUNCTION(1, "RTC32K_CK")
114 PINCTRL_PIN(11, "WATCHDOG"),
116 MTK_EINT_FUNCTION(0, 159),
117 MTK_FUNCTION(0, "GPIO11"),
118 MTK_FUNCTION(1, "WATCHDOG")
121 PINCTRL_PIN(12, "SRCLKENA"),
123 MTK_EINT_FUNCTION(0, 160),
124 MTK_FUNCTION(0, "GPIO12"),
125 MTK_FUNCTION(1, "SRCLKENA")
128 PINCTRL_PIN(13, "SRCLKENAI"),
130 MTK_EINT_FUNCTION(0, 161),
131 MTK_FUNCTION(0, "GPIO13"),
132 MTK_FUNCTION(1, "SRCLKENAI")
135 PINCTRL_PIN(14, "URXD2"),
137 MTK_EINT_FUNCTION(0, 162),
138 MTK_FUNCTION(0, "GPIO14"),
139 MTK_FUNCTION(1, "URXD2"),
140 MTK_FUNCTION(2, "UTXD2"),
141 MTK_FUNCTION(5, "SRCCLKENAI2"),
142 MTK_FUNCTION(7, "DBG_MON_B[30]")
145 PINCTRL_PIN(15, "UTXD2"),
147 MTK_EINT_FUNCTION(0, 163),
148 MTK_FUNCTION(0, "GPIO15"),
149 MTK_FUNCTION(1, "UTXD2"),
150 MTK_FUNCTION(2, "URXD2"),
151 MTK_FUNCTION(7, "DBG_MON_B[31]")
154 PINCTRL_PIN(16, "I2S5_DATA_IN"),
156 MTK_EINT_FUNCTION(0, 164),
157 MTK_FUNCTION(0, "GPIO16"),
158 MTK_FUNCTION(1, "I2S5_DATA_IN"),
159 MTK_FUNCTION(3, "PCM_RX"),
160 MTK_FUNCTION(4, "ANT_SEL4")
163 PINCTRL_PIN(17, "I2S5_BCK"),
165 MTK_EINT_FUNCTION(0, 165),
166 MTK_FUNCTION(0, "GPIO17"),
167 MTK_FUNCTION(1, "I2S5_BCK"),
168 MTK_FUNCTION(3, "PCM_CLK0"),
169 MTK_FUNCTION(4, "ANT_SEL2")
172 PINCTRL_PIN(18, "PCM_CLK"),
174 MTK_EINT_FUNCTION(0, 166),
175 MTK_FUNCTION(0, "GPIO18"),
176 MTK_FUNCTION(1, "PCM_CLK0"),
177 MTK_FUNCTION(2, "MRG_CLK"),
178 MTK_FUNCTION(4, "MM_TEST_CK"),
179 MTK_FUNCTION(5, "CONN_DSP_JCK"),
180 MTK_FUNCTION(6, "WCN_PCM_CLKO"),
181 MTK_FUNCTION(7, "DBG_MON_A[3]")
184 PINCTRL_PIN(19, "PCM_SYNC"),
186 MTK_EINT_FUNCTION(0, 167),
187 MTK_FUNCTION(0, "GPIO19"),
188 MTK_FUNCTION(1, "PCM_SYNC"),
189 MTK_FUNCTION(2, "MRG_SYNC"),
190 MTK_FUNCTION(5, "CONN_DSP_JINTP"),
191 MTK_FUNCTION(6, "WCN_PCM_SYNC"),
192 MTK_FUNCTION(7, "DBG_MON_A[5]")
195 PINCTRL_PIN(20, "PCM_RX"),
197 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
198 MTK_FUNCTION(0, "GPIO20"),
199 MTK_FUNCTION(1, "PCM_RX"),
200 MTK_FUNCTION(2, "MRG_RX"),
201 MTK_FUNCTION(3, "MRG_TX"),
202 MTK_FUNCTION(4, "PCM_TX"),
203 MTK_FUNCTION(5, "CONN_DSP_JDI"),
204 MTK_FUNCTION(6, "WCN_PCM_RX"),
205 MTK_FUNCTION(7, "DBG_MON_A[4]")
208 PINCTRL_PIN(21, "PCM_TX"),
210 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
211 MTK_FUNCTION(0, "GPIO21"),
212 MTK_FUNCTION(1, "PCM_TX"),
213 MTK_FUNCTION(2, "MRG_TX"),
214 MTK_FUNCTION(3, "MRG_RX"),
215 MTK_FUNCTION(4, "PCM_RX"),
216 MTK_FUNCTION(5, "CONN_DSP_JMS"),
217 MTK_FUNCTION(6, "WCN_PCM_TX"),
218 MTK_FUNCTION(7, "DBG_MON_A[2]")
221 PINCTRL_PIN(22, "EINT0"),
223 MTK_EINT_FUNCTION(0, 0),
224 MTK_FUNCTION(0, "GPIO22"),
225 MTK_FUNCTION(1, "UCTS0"),
226 /* MT7623 take function 2 as PCIE0_PERST_N */
227 MTK_FUNCTION(2, "PCIE0_PERST_N"),
228 MTK_FUNCTION(3, "KCOL3"),
229 MTK_FUNCTION(4, "CONN_DSP_JDO"),
230 MTK_FUNCTION(5, "EXT_FRAME_SYNC"),
231 MTK_FUNCTION(7, "DBG_MON_A[30]"),
232 MTK_FUNCTION(10, "PCIE0_PERST_N")
235 PINCTRL_PIN(23, "EINT1"),
237 MTK_EINT_FUNCTION(0, 1),
238 MTK_FUNCTION(0, "GPIO23"),
239 MTK_FUNCTION(1, "URTS0"),
240 /* MT7623 take function 2 as PCIE1_PERST_N */
241 MTK_FUNCTION(2, "PCIE1_PERST_N"),
242 MTK_FUNCTION(3, "KCOL2"),
243 MTK_FUNCTION(4, "CONN_MCU_TDO"),
244 MTK_FUNCTION(5, "EXT_FRAME_SYNC"),
245 MTK_FUNCTION(7, "DBG_MON_A[29]"),
246 MTK_FUNCTION(10, "PCIE1_PERST_N")
249 PINCTRL_PIN(24, "EINT2"),
251 MTK_EINT_FUNCTION(0, 2),
252 MTK_FUNCTION(0, "GPIO24"),
253 MTK_FUNCTION(1, "UCTS1"),
254 /* MT7623 take function 2 as PCIE2_PERST_N */
255 MTK_FUNCTION(2, "PCIE2_PERST_N"),
256 MTK_FUNCTION(3, "KCOL1"),
257 MTK_FUNCTION(4, "CONN_MCU_DBGACK_N"),
258 MTK_FUNCTION(7, "DBG_MON_A[28]"),
259 MTK_FUNCTION(10, "PCIE2_PERST_N")
262 PINCTRL_PIN(25, "EINT3"),
264 MTK_EINT_FUNCTION(0, 3),
265 MTK_FUNCTION(0, "GPIO25"),
266 MTK_FUNCTION(1, "URTS1"),
267 MTK_FUNCTION(3, "KCOL0"),
268 MTK_FUNCTION(4, "CONN_MCU_DBGI_N"),
269 MTK_FUNCTION(7, "DBG_MON_A[27]")
272 PINCTRL_PIN(26, "EINT4"),
274 MTK_EINT_FUNCTION(0, 4),
275 MTK_FUNCTION(0, "GPIO26"),
276 MTK_FUNCTION(1, "UCTS3"),
277 MTK_FUNCTION(2, "DRV_VBUS_P1"),
278 MTK_FUNCTION(3, "KROW3"),
279 MTK_FUNCTION(4, "CONN_MCU_TCK0"),
280 MTK_FUNCTION(5, "CONN_MCU_AICE_JCKC"),
281 MTK_FUNCTION(6, "PCIE2_WAKE_N"),
282 MTK_FUNCTION(7, "DBG_MON_A[26]")
285 PINCTRL_PIN(27, "EINT5"),
287 MTK_EINT_FUNCTION(0, 5),
288 MTK_FUNCTION(0, "GPIO27"),
289 MTK_FUNCTION(1, "URTS3"),
290 MTK_FUNCTION(2, "IDDIG_P1"),
291 MTK_FUNCTION(3, "KROW2"),
292 MTK_FUNCTION(4, "CONN_MCU_TDI"),
293 MTK_FUNCTION(6, "PCIE1_WAKE_N"),
294 MTK_FUNCTION(7, "DBG_MON_A[25]")
297 PINCTRL_PIN(28, "EINT6"),
299 MTK_EINT_FUNCTION(0, 6),
300 MTK_FUNCTION(0, "GPIO28"),
301 MTK_FUNCTION(1, "DRV_VBUS"),
302 MTK_FUNCTION(3, "KROW1"),
303 MTK_FUNCTION(4, "CONN_MCU_TRST_B"),
304 MTK_FUNCTION(6, "PCIE0_WAKE_N"),
305 MTK_FUNCTION(7, "DBG_MON_A[24]")
308 PINCTRL_PIN(29, "EINT7"),
310 MTK_EINT_FUNCTION(0, 7),
311 MTK_FUNCTION(0, "GPIO29"),
312 MTK_FUNCTION(1, "IDDIG"),
313 MTK_FUNCTION(2, "MSDC1_WP"),
314 MTK_FUNCTION(3, "KROW0"),
315 MTK_FUNCTION(4, "CONN_MCU_TMS"),
316 MTK_FUNCTION(5, "CONN_MCU_AICE_JMSC"),
317 /* MT7623 take function 6 as PCIE2_PERST_N */
318 MTK_FUNCTION(6, "PCIE2_PERST_N"),
319 MTK_FUNCTION(7, "DBG_MON_A[23]"),
320 MTK_FUNCTION(14, "PCIE2_PERST_N")
323 PINCTRL_PIN(30, "I2S5_LRCK"),
325 MTK_EINT_FUNCTION(0, 12),
326 MTK_FUNCTION(0, "GPIO30"),
327 MTK_FUNCTION(1, "I2S5_LRCK"),
328 MTK_FUNCTION(3, "PCM_SYNC"),
329 MTK_FUNCTION(4, "ANT_SEL1")
332 PINCTRL_PIN(31, "I2S5_MCLK"),
334 MTK_EINT_FUNCTION(0, 13),
335 MTK_FUNCTION(0, "GPIO31"),
336 MTK_FUNCTION(1, "I2S5_MCLK"),
337 MTK_FUNCTION(4, "ANT_SEL0")
340 PINCTRL_PIN(32, "I2S5_DATA"),
342 MTK_EINT_FUNCTION(0, 14),
343 MTK_FUNCTION(0, "GPIO32"),
344 MTK_FUNCTION(1, "I2S5_DATA"),
345 MTK_FUNCTION(2, "I2S5_DATA_BYPS"),
346 MTK_FUNCTION(3, "PCM_TX"),
347 MTK_FUNCTION(4, "ANT_SEL3")
350 PINCTRL_PIN(33, "I2S1_DATA"),
352 MTK_EINT_FUNCTION(0, 15),
353 MTK_FUNCTION(0, "GPIO33"),
354 MTK_FUNCTION(1, "I2S1_DATA"),
355 MTK_FUNCTION(2, "I2S1_DATA_BYPS"),
356 MTK_FUNCTION(3, "PCM_TX"),
357 MTK_FUNCTION(4, "IMG_TEST_CK"),
358 MTK_FUNCTION(5, "G1_RXD0"),
359 MTK_FUNCTION(6, "WCN_PCM_TX"),
360 MTK_FUNCTION(7, "DBG_MON_B[8]")
363 PINCTRL_PIN(34, "I2S1_DATA_IN"),
365 MTK_EINT_FUNCTION(0, 16),
366 MTK_FUNCTION(0, "GPIO34"),
367 MTK_FUNCTION(1, "I2S1_DATA_IN"),
368 MTK_FUNCTION(3, "PCM_RX"),
369 MTK_FUNCTION(4, "VDEC_TEST_CK"),
370 MTK_FUNCTION(5, "G1_RXD1"),
371 MTK_FUNCTION(6, "WCN_PCM_RX"),
372 MTK_FUNCTION(7, "DBG_MON_B[7]")
375 PINCTRL_PIN(35, "I2S1_BCK"),
377 MTK_EINT_FUNCTION(0, 17),
378 MTK_FUNCTION(0, "GPIO35"),
379 MTK_FUNCTION(1, "I2S1_BCK"),
380 MTK_FUNCTION(3, "PCM_CLK0"),
381 MTK_FUNCTION(5, "G1_RXD2"),
382 MTK_FUNCTION(6, "WCN_PCM_CLKO"),
383 MTK_FUNCTION(7, "DBG_MON_B[9]")
386 PINCTRL_PIN(36, "I2S1_LRCK"),
388 MTK_EINT_FUNCTION(0, 18),
389 MTK_FUNCTION(0, "GPIO36"),
390 MTK_FUNCTION(1, "I2S1_LRCK"),
391 MTK_FUNCTION(3, "PCM_SYNC"),
392 MTK_FUNCTION(5, "G1_RXD3"),
393 MTK_FUNCTION(6, "WCN_PCM_SYNC"),
394 MTK_FUNCTION(7, "DBG_MON_B[10]")
397 PINCTRL_PIN(37, "I2S1_MCLK"),
399 MTK_EINT_FUNCTION(0, 19),
400 MTK_FUNCTION(0, "GPIO37"),
401 MTK_FUNCTION(1, "I2S1_MCLK"),
402 MTK_FUNCTION(5, "G1_RXDV"),
403 MTK_FUNCTION(7, "DBG_MON_B[11]")
406 PINCTRL_PIN(38, "I2S2_DATA"),
408 MTK_EINT_FUNCTION(0, 20),
409 MTK_FUNCTION(0, "GPIO38"),
410 MTK_FUNCTION(2, "I2S2_DATA_BYPS"),
411 MTK_FUNCTION(3, "PCM_TX"),
412 MTK_FUNCTION(4, "DMIC_DAT0")
415 PINCTRL_PIN(39, "JTMS"),
417 MTK_EINT_FUNCTION(0, 21),
418 MTK_FUNCTION(0, "GPIO39"),
419 MTK_FUNCTION(1, "JTMS"),
420 MTK_FUNCTION(2, "CONN_MCU_TMS"),
421 MTK_FUNCTION(3, "CONN_MCU_AICE_JMSC"),
422 MTK_FUNCTION(4, "DFD_TMS_XI")
425 PINCTRL_PIN(40, "JTCK"),
427 MTK_EINT_FUNCTION(0, 22),
428 MTK_FUNCTION(0, "GPIO40"),
429 MTK_FUNCTION(1, "JTCK"),
430 MTK_FUNCTION(2, "CONN_MCU_TCK1"),
431 MTK_FUNCTION(3, "CONN_MCU_AICE_JCKC"),
432 MTK_FUNCTION(4, "DFD_TCK_XI")
435 PINCTRL_PIN(41, "JTDI"),
437 MTK_EINT_FUNCTION(0, 23),
438 MTK_FUNCTION(0, "GPIO41"),
439 MTK_FUNCTION(1, "JTDI"),
440 MTK_FUNCTION(2, "CONN_MCU_TDI"),
441 MTK_FUNCTION(4, "DFD_TDI_XI")
444 PINCTRL_PIN(42, "JTDO"),
446 MTK_EINT_FUNCTION(0, 24),
447 MTK_FUNCTION(0, "GPIO42"),
448 MTK_FUNCTION(1, "JTDO"),
449 MTK_FUNCTION(2, "CONN_MCU_TDO"),
450 MTK_FUNCTION(4, "DFD_TDO")
453 PINCTRL_PIN(43, "NCLE"),
455 MTK_EINT_FUNCTION(0, 25),
456 MTK_FUNCTION(0, "GPIO43"),
457 MTK_FUNCTION(1, "NCLE"),
458 MTK_FUNCTION(2, "EXT_XCS2")
461 PINCTRL_PIN(44, "NCEB1"),
463 MTK_EINT_FUNCTION(0, 26),
464 MTK_FUNCTION(0, "GPIO44"),
465 MTK_FUNCTION(1, "NCEB1"),
466 MTK_FUNCTION(2, "IDDIG")
469 PINCTRL_PIN(45, "NCEB0"),
471 MTK_EINT_FUNCTION(0, 27),
472 MTK_FUNCTION(0, "GPIO45"),
473 MTK_FUNCTION(1, "NCEB0"),
474 MTK_FUNCTION(2, "DRV_VBUS")
477 PINCTRL_PIN(46, "IR"),
479 MTK_EINT_FUNCTION(0, 28),
480 MTK_FUNCTION(0, "GPIO46"),
481 MTK_FUNCTION(1, "IR")
484 PINCTRL_PIN(47, "NREB"),
486 MTK_EINT_FUNCTION(0, 29),
487 MTK_FUNCTION(0, "GPIO47"),
488 MTK_FUNCTION(1, "NREB"),
489 MTK_FUNCTION(2, "IDDIG_P1")
492 PINCTRL_PIN(48, "NRNB"),
494 MTK_EINT_FUNCTION(0, 30),
495 MTK_FUNCTION(0, "GPIO48"),
496 MTK_FUNCTION(1, "NRNB"),
497 MTK_FUNCTION(2, "DRV_VBUS_P1")
500 PINCTRL_PIN(49, "I2S0_DATA"),
502 MTK_EINT_FUNCTION(0, 31),
503 MTK_FUNCTION(0, "GPIO49"),
504 MTK_FUNCTION(1, "I2S0_DATA"),
505 MTK_FUNCTION(2, "I2S0_DATA_BYPS"),
506 MTK_FUNCTION(3, "PCM_TX"),
507 MTK_FUNCTION(6, "WCN_I2S_DO"),
508 MTK_FUNCTION(7, "DBG_MON_B[3]")
511 PINCTRL_PIN(50, "I2S2_BCK"),
513 MTK_EINT_FUNCTION(0, 32),
514 MTK_FUNCTION(0, "GPIO50"),
515 MTK_FUNCTION(1, "I2S2_BCK"),
516 MTK_FUNCTION(3, "PCM_CLK0"),
517 MTK_FUNCTION(4, "DMIC_SCK1")
520 PINCTRL_PIN(51, "I2S2_DATA_IN"),
522 MTK_EINT_FUNCTION(0, 33),
523 MTK_FUNCTION(0, "GPIO51"),
524 MTK_FUNCTION(1, "I2S2_DATA_IN"),
525 MTK_FUNCTION(3, "PCM_RX"),
526 MTK_FUNCTION(4, "DMIC_SCK0")
529 PINCTRL_PIN(52, "I2S2_LRCK"),
531 MTK_EINT_FUNCTION(0, 34),
532 MTK_FUNCTION(0, "GPIO52"),
533 MTK_FUNCTION(1, "I2S2_LRCK"),
534 MTK_FUNCTION(3, "PCM_SYNC"),
535 MTK_FUNCTION(4, "DMIC_DAT1")
538 PINCTRL_PIN(53, "SPI0_CSN"),
540 MTK_EINT_FUNCTION(0, 35),
541 MTK_FUNCTION(0, "GPIO53"),
542 MTK_FUNCTION(1, "SPI0_CS"),
543 MTK_FUNCTION(3, "SPDIF"),
544 MTK_FUNCTION(4, "ADC_CK"),
545 MTK_FUNCTION(5, "PWM1"),
546 MTK_FUNCTION(7, "DBG_MON_A[7]")
549 PINCTRL_PIN(54, "SPI0_CK"),
551 MTK_EINT_FUNCTION(0, 36),
552 MTK_FUNCTION(0, "GPIO54"),
553 MTK_FUNCTION(1, "SPI0_CK"),
554 MTK_FUNCTION(3, "SPDIF_IN1"),
555 MTK_FUNCTION(4, "ADC_DAT_IN"),
556 MTK_FUNCTION(7, "DBG_MON_A[10]")
559 PINCTRL_PIN(55, "SPI0_MI"),
561 MTK_EINT_FUNCTION(0, 37),
562 MTK_FUNCTION(0, "GPIO55"),
563 MTK_FUNCTION(1, "SPI0_MI"),
564 MTK_FUNCTION(2, "SPI0_MO"),
565 MTK_FUNCTION(3, "MSDC1_WP"),
566 MTK_FUNCTION(4, "ADC_WS"),
567 MTK_FUNCTION(5, "PWM2"),
568 MTK_FUNCTION(7, "DBG_MON_A[8]")
571 PINCTRL_PIN(56, "SPI0_MO"),
573 MTK_EINT_FUNCTION(0, 38),
574 MTK_FUNCTION(0, "GPIO56"),
575 MTK_FUNCTION(1, "SPI0_MO"),
576 MTK_FUNCTION(2, "SPI0_MI"),
577 MTK_FUNCTION(3, "SPDIF_IN0"),
578 MTK_FUNCTION(7, "DBG_MON_A[9]")
581 PINCTRL_PIN(57, "SDA1"),
583 MTK_EINT_FUNCTION(0, 39),
584 MTK_FUNCTION(0, "GPIO57"),
585 MTK_FUNCTION(1, "SDA1")
588 PINCTRL_PIN(58, "SCL1"),
590 MTK_EINT_FUNCTION(0, 40),
591 MTK_FUNCTION(0, "GPIO58"),
592 MTK_FUNCTION(1, "SCL1")
595 PINCTRL_PIN(59, "RAMBUF_I_CLK"),
597 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
598 MTK_FUNCTION(0, "GPIO59"),
599 MTK_FUNCTION(1, "RAMBUF_I_CLK")
602 PINCTRL_PIN(60, "WB_RSTB"),
604 MTK_EINT_FUNCTION(0, 41),
605 MTK_FUNCTION(0, "GPIO60"),
606 MTK_FUNCTION(1, "WB_RSTB"),
607 MTK_FUNCTION(7, "DBG_MON_A[11]")
610 PINCTRL_PIN(61, "F2W_DATA"),
612 MTK_EINT_FUNCTION(0, 42),
613 MTK_FUNCTION(0, "GPIO61"),
614 MTK_FUNCTION(1, "F2W_DATA"),
615 MTK_FUNCTION(7, "DBG_MON_A[16]")
618 PINCTRL_PIN(62, "F2W_CLK"),
620 MTK_EINT_FUNCTION(0, 43),
621 MTK_FUNCTION(0, "GPIO62"),
622 MTK_FUNCTION(1, "F2W_CK"),
623 MTK_FUNCTION(7, "DBG_MON_A[15]")
626 PINCTRL_PIN(63, "WB_SCLK"),
628 MTK_EINT_FUNCTION(0, 44),
629 MTK_FUNCTION(0, "GPIO63"),
630 MTK_FUNCTION(1, "WB_SCLK"),
631 MTK_FUNCTION(7, "DBG_MON_A[13]")
634 PINCTRL_PIN(64, "WB_SDATA"),
636 MTK_EINT_FUNCTION(0, 45),
637 MTK_FUNCTION(0, "GPIO64"),
638 MTK_FUNCTION(1, "WB_SDATA"),
639 MTK_FUNCTION(7, "DBG_MON_A[12]")
642 PINCTRL_PIN(65, "WB_SEN"),
644 MTK_EINT_FUNCTION(0, 46),
645 MTK_FUNCTION(0, "GPIO65"),
646 MTK_FUNCTION(1, "WB_SEN"),
647 MTK_FUNCTION(7, "DBG_MON_A[14]")
650 PINCTRL_PIN(66, "WB_CRTL0"),
652 MTK_EINT_FUNCTION(0, 47),
653 MTK_FUNCTION(0, "GPIO66"),
654 MTK_FUNCTION(1, "WB_CRTL0"),
655 MTK_FUNCTION(5, "DFD_NTRST_XI"),
656 MTK_FUNCTION(7, "DBG_MON_A[17]")
659 PINCTRL_PIN(67, "WB_CRTL1"),
661 MTK_EINT_FUNCTION(0, 48),
662 MTK_FUNCTION(0, "GPIO67"),
663 MTK_FUNCTION(1, "WB_CRTL1"),
664 MTK_FUNCTION(5, "DFD_TMS_XI"),
665 MTK_FUNCTION(7, "DBG_MON_A[18]")
668 PINCTRL_PIN(68, "WB_CRTL2"),
670 MTK_EINT_FUNCTION(0, 49),
671 MTK_FUNCTION(0, "GPIO68"),
672 MTK_FUNCTION(1, "WB_CRTL2"),
673 MTK_FUNCTION(5, "DFD_TCK_XI"),
674 MTK_FUNCTION(7, "DBG_MON_A[19]")
677 PINCTRL_PIN(69, "WB_CRTL3"),
679 MTK_EINT_FUNCTION(0, 50),
680 MTK_FUNCTION(0, "GPIO69"),
681 MTK_FUNCTION(1, "WB_CRTL3"),
682 MTK_FUNCTION(5, "DFD_TDI_XI"),
683 MTK_FUNCTION(7, "DBG_MON_A[20]")
686 PINCTRL_PIN(70, "WB_CRTL4"),
688 MTK_EINT_FUNCTION(0, 51),
689 MTK_FUNCTION(0, "GPIO70"),
690 MTK_FUNCTION(1, "WB_CRTL4"),
691 MTK_FUNCTION(5, "DFD_TDO"),
692 MTK_FUNCTION(7, "DBG_MON_A[21]")
695 PINCTRL_PIN(71, "WB_CRTL5"),
697 MTK_EINT_FUNCTION(0, 52),
698 MTK_FUNCTION(0, "GPIO71"),
699 MTK_FUNCTION(1, "WB_CRTL5"),
700 MTK_FUNCTION(7, "DBG_MON_A[22]")
703 PINCTRL_PIN(72, "I2S0_DATA_IN"),
705 MTK_EINT_FUNCTION(0, 53),
706 MTK_FUNCTION(0, "GPIO72"),
707 MTK_FUNCTION(1, "I2S0_DATA_IN"),
708 MTK_FUNCTION(3, "PCM_RX"),
709 MTK_FUNCTION(4, "PWM0"),
710 MTK_FUNCTION(5, "DISP_PWM"),
711 MTK_FUNCTION(6, "WCN_I2S_DI"),
712 MTK_FUNCTION(7, "DBG_MON_B[2]")
715 PINCTRL_PIN(73, "I2S0_LRCK"),
717 MTK_EINT_FUNCTION(0, 54),
718 MTK_FUNCTION(0, "GPIO73"),
719 MTK_FUNCTION(1, "I2S0_LRCK"),
720 MTK_FUNCTION(3, "PCM_SYNC"),
721 MTK_FUNCTION(6, "WCN_I2S_LRCK"),
722 MTK_FUNCTION(7, "DBG_MON_B[5]")
725 PINCTRL_PIN(74, "I2S0_BCK"),
727 MTK_EINT_FUNCTION(0, 55),
728 MTK_FUNCTION(0, "GPIO74"),
729 MTK_FUNCTION(1, "I2S0_BCK"),
730 MTK_FUNCTION(3, "PCM_CLK0"),
731 MTK_FUNCTION(6, "WCN_I2S_BCK"),
732 MTK_FUNCTION(7, "DBG_MON_B[4]")
735 PINCTRL_PIN(75, "SDA0"),
737 MTK_EINT_FUNCTION(0, 56),
738 MTK_FUNCTION(0, "GPIO75"),
739 MTK_FUNCTION(1, "SDA0")
742 PINCTRL_PIN(76, "SCL0"),
744 MTK_EINT_FUNCTION(0, 57),
745 MTK_FUNCTION(0, "GPIO76"),
746 MTK_FUNCTION(1, "SCL0")
749 PINCTRL_PIN(77, "SDA2"),
751 MTK_EINT_FUNCTION(0, 58),
752 MTK_FUNCTION(0, "GPIO77"),
753 MTK_FUNCTION(1, "SDA2")
756 PINCTRL_PIN(78, "SCL2"),
758 MTK_EINT_FUNCTION(0, 59),
759 MTK_FUNCTION(0, "GPIO78"),
760 MTK_FUNCTION(1, "SCL2")
763 PINCTRL_PIN(79, "URXD0"),
765 MTK_EINT_FUNCTION(0, 60),
766 MTK_FUNCTION(0, "GPIO79"),
767 MTK_FUNCTION(1, "URXD0"),
768 MTK_FUNCTION(2, "UTXD0")
771 PINCTRL_PIN(80, "UTXD0"),
773 MTK_EINT_FUNCTION(0, 61),
774 MTK_FUNCTION(0, "GPIO80"),
775 MTK_FUNCTION(1, "UTXD0"),
776 MTK_FUNCTION(2, "URXD0")
779 PINCTRL_PIN(81, "URXD1"),
781 MTK_EINT_FUNCTION(0, 62),
782 MTK_FUNCTION(0, "GPIO81"),
783 MTK_FUNCTION(1, "URXD1"),
784 MTK_FUNCTION(2, "UTXD1")
787 PINCTRL_PIN(82, "UTXD1"),
789 MTK_EINT_FUNCTION(0, 63),
790 MTK_FUNCTION(0, "GPIO82"),
791 MTK_FUNCTION(1, "UTXD1"),
792 MTK_FUNCTION(2, "URXD1")
795 PINCTRL_PIN(83, "LCM_RST"),
797 MTK_EINT_FUNCTION(0, 64),
798 MTK_FUNCTION(0, "GPIO83"),
799 MTK_FUNCTION(1, "LCM_RST"),
800 MTK_FUNCTION(2, "VDAC_CK_XI"),
801 MTK_FUNCTION(7, "DBG_MON_B[1]")
804 PINCTRL_PIN(84, "DSI_TE"),
806 MTK_EINT_FUNCTION(0, 65),
807 MTK_FUNCTION(0, "GPIO84"),
808 MTK_FUNCTION(1, "DSI_TE"),
809 MTK_FUNCTION(7, "DBG_MON_B[0]")
812 PINCTRL_PIN(85, "MSDC2_CMD"),
814 MTK_EINT_FUNCTION(0, 66),
815 MTK_FUNCTION(0, "GPIO85"),
816 MTK_FUNCTION(1, "MSDC2_CMD"),
817 MTK_FUNCTION(2, "ANT_SEL0"),
818 MTK_FUNCTION(3, "SDA1"),
819 MTK_FUNCTION(6, "I2SOUT_BCK")
822 PINCTRL_PIN(86, "MSDC2_CLK"),
824 MTK_EINT_FUNCTION(0, 67),
825 MTK_FUNCTION(0, "GPIO86"),
826 MTK_FUNCTION(1, "MSDC2_CLK"),
827 MTK_FUNCTION(2, "ANT_SEL1"),
828 MTK_FUNCTION(3, "SCL1"),
829 MTK_FUNCTION(6, "I2SOUT_LRCK")
832 PINCTRL_PIN(87, "MSDC2_DAT0"),
834 MTK_EINT_FUNCTION(0, 68),
835 MTK_FUNCTION(0, "GPIO87"),
836 MTK_FUNCTION(1, "MSDC2_DAT0"),
837 MTK_FUNCTION(2, "ANT_SEL2"),
838 MTK_FUNCTION(5, "UTXD0"),
839 MTK_FUNCTION(6, "I2SOUT_DATA_OUT")
842 PINCTRL_PIN(88, "MSDC2_DAT1"),
844 MTK_EINT_FUNCTION(0, 71),
845 MTK_FUNCTION(0, "GPIO88"),
846 MTK_FUNCTION(1, "MSDC2_DAT1"),
847 MTK_FUNCTION(2, "ANT_SEL3"),
848 MTK_FUNCTION(3, "PWM0"),
849 MTK_FUNCTION(5, "URXD0"),
850 MTK_FUNCTION(6, "PWM1")
853 PINCTRL_PIN(89, "MSDC2_DAT2"),
855 MTK_EINT_FUNCTION(0, 72),
856 MTK_FUNCTION(0, "GPIO89"),
857 MTK_FUNCTION(1, "MSDC2_DAT2"),
858 MTK_FUNCTION(2, "ANT_SEL4"),
859 MTK_FUNCTION(3, "SDA2"),
860 MTK_FUNCTION(5, "UTXD1"),
861 MTK_FUNCTION(6, "PWM2")
864 PINCTRL_PIN(90, "MSDC2_DAT3"),
866 MTK_EINT_FUNCTION(0, 73),
867 MTK_FUNCTION(0, "GPIO90"),
868 MTK_FUNCTION(1, "MSDC2_DAT3"),
869 MTK_FUNCTION(2, "ANT_SEL5"),
870 MTK_FUNCTION(3, "SCL2"),
871 MTK_FUNCTION(4, "EXT_FRAME_SYNC"),
872 MTK_FUNCTION(5, "URXD1"),
873 MTK_FUNCTION(6, "PWM3")
876 PINCTRL_PIN(91, "TDN3"),
878 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
879 MTK_FUNCTION(0, "GPI91"),
880 MTK_FUNCTION(1, "TDN3")
883 PINCTRL_PIN(92, "TDP3"),
885 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
886 MTK_FUNCTION(0, "GPI92"),
887 MTK_FUNCTION(1, "TDP3")
890 PINCTRL_PIN(93, "TDN2"),
892 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
893 MTK_FUNCTION(0, "GPI93"),
894 MTK_FUNCTION(1, "TDN2")
897 PINCTRL_PIN(94, "TDP2"),
899 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
900 MTK_FUNCTION(0, "GPI94"),
901 MTK_FUNCTION(1, "TDP2")
904 PINCTRL_PIN(95, "TCN"),
906 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
907 MTK_FUNCTION(0, "GPI95"),
908 MTK_FUNCTION(1, "TCN")
911 PINCTRL_PIN(96, "TCP"),
913 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
914 MTK_FUNCTION(0, "GPI96"),
915 MTK_FUNCTION(1, "TCP")
918 PINCTRL_PIN(97, "TDN1"),
920 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
921 MTK_FUNCTION(0, "GPI97"),
922 MTK_FUNCTION(1, "TDN1")
925 PINCTRL_PIN(98, "TDP1"),
927 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
928 MTK_FUNCTION(0, "GPI98"),
929 MTK_FUNCTION(1, "TDP1")
932 PINCTRL_PIN(99, "TDN0"),
934 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
935 MTK_FUNCTION(0, "GPI99"),
936 MTK_FUNCTION(1, "TDN0")
939 PINCTRL_PIN(100, "TDP0"),
941 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
942 MTK_FUNCTION(0, "GPI100"),
943 MTK_FUNCTION(1, "TDP0")
946 PINCTRL_PIN(101, "SPI2_CSN"),
948 MTK_EINT_FUNCTION(0, 74),
949 MTK_FUNCTION(0, "GPIO101"),
950 MTK_FUNCTION(1, "SPI2_CS"),
951 MTK_FUNCTION(3, "SCL3"),
952 MTK_FUNCTION(4, "KROW0")
955 PINCTRL_PIN(102, "SPI2_MI"),
957 MTK_EINT_FUNCTION(0, 75),
958 MTK_FUNCTION(0, "GPIO102"),
959 MTK_FUNCTION(1, "SPI2_MI"),
960 MTK_FUNCTION(2, "SPI2_MO"),
961 MTK_FUNCTION(3, "SDA3"),
962 MTK_FUNCTION(4, "KROW1")
965 PINCTRL_PIN(103, "SPI2_MO"),
967 MTK_EINT_FUNCTION(0, 76),
968 MTK_FUNCTION(0, "GPIO103"),
969 MTK_FUNCTION(1, "SPI2_MO"),
970 MTK_FUNCTION(2, "SPI2_MI"),
971 MTK_FUNCTION(3, "SCL3"),
972 MTK_FUNCTION(4, "KROW2")
975 PINCTRL_PIN(104, "SPI2_CLK"),
977 MTK_EINT_FUNCTION(0, 77),
978 MTK_FUNCTION(0, "GPIO104"),
979 MTK_FUNCTION(1, "SPI2_CK"),
980 MTK_FUNCTION(3, "SDA3"),
981 MTK_FUNCTION(4, "KROW3")
984 PINCTRL_PIN(105, "MSDC1_CMD"),
986 MTK_EINT_FUNCTION(0, 78),
987 MTK_FUNCTION(0, "GPIO105"),
988 MTK_FUNCTION(1, "MSDC1_CMD"),
989 MTK_FUNCTION(2, "ANT_SEL0"),
990 MTK_FUNCTION(3, "SDA1"),
991 MTK_FUNCTION(6, "I2SOUT_BCK"),
992 MTK_FUNCTION(7, "DBG_MON_B[27]")
995 PINCTRL_PIN(106, "MSDC1_CLK"),
997 MTK_EINT_FUNCTION(0, 79),
998 MTK_FUNCTION(0, "GPIO106"),
999 MTK_FUNCTION(1, "MSDC1_CLK"),
1000 MTK_FUNCTION(2, "ANT_SEL1"),
1001 MTK_FUNCTION(3, "SCL1"),
1002 MTK_FUNCTION(6, "I2SOUT_LRCK"),
1003 MTK_FUNCTION(7, "DBG_MON_B[28]")
1006 PINCTRL_PIN(107, "MSDC1_DAT0"),
1008 MTK_EINT_FUNCTION(0, 80),
1009 MTK_FUNCTION(0, "GPIO107"),
1010 MTK_FUNCTION(1, "MSDC1_DAT0"),
1011 MTK_FUNCTION(2, "ANT_SEL2"),
1012 MTK_FUNCTION(5, "UTXD0"),
1013 MTK_FUNCTION(6, "I2SOUT_DATA_OUT"),
1014 MTK_FUNCTION(7, "DBG_MON_B[26]")
1017 PINCTRL_PIN(108, "MSDC1_DAT1"),
1019 MTK_EINT_FUNCTION(0, 81),
1020 MTK_FUNCTION(0, "GPIO108"),
1021 MTK_FUNCTION(1, "MSDC1_DAT1"),
1022 MTK_FUNCTION(2, "ANT_SEL3"),
1023 MTK_FUNCTION(3, "PWM0"),
1024 MTK_FUNCTION(5, "URXD0"),
1025 MTK_FUNCTION(6, "PWM1"),
1026 MTK_FUNCTION(7, "DBG_MON_B[25]")
1029 PINCTRL_PIN(109, "MSDC1_DAT2"),
1031 MTK_EINT_FUNCTION(0, 82),
1032 MTK_FUNCTION(0, "GPIO109"),
1033 MTK_FUNCTION(1, "MSDC1_DAT2"),
1034 MTK_FUNCTION(2, "ANT_SEL4"),
1035 MTK_FUNCTION(3, "SDA2"),
1036 MTK_FUNCTION(5, "UTXD1"),
1037 MTK_FUNCTION(6, "PWM2"),
1038 MTK_FUNCTION(7, "DBG_MON_B[24]")
1041 PINCTRL_PIN(110, "MSDC1_DAT3"),
1043 MTK_EINT_FUNCTION(0, 83),
1044 MTK_FUNCTION(0, "GPIO110"),
1045 MTK_FUNCTION(1, "MSDC1_DAT3"),
1046 MTK_FUNCTION(2, "ANT_SEL5"),
1047 MTK_FUNCTION(3, "SCL2"),
1048 MTK_FUNCTION(4, "EXT_FRAME_SYNC"),
1049 MTK_FUNCTION(5, "URXD1"),
1050 MTK_FUNCTION(6, "PWM3"),
1051 MTK_FUNCTION(7, "DBG_MON_B[23]")
1054 PINCTRL_PIN(111, "MSDC0_DAT7"),
1056 MTK_EINT_FUNCTION(0, 84),
1057 MTK_FUNCTION(0, "GPIO111"),
1058 MTK_FUNCTION(1, "MSDC0_DAT7"),
1059 MTK_FUNCTION(4, "NLD7")
1062 PINCTRL_PIN(112, "MSDC0_DAT6"),
1064 MTK_EINT_FUNCTION(0, 85),
1065 MTK_FUNCTION(0, "GPIO112"),
1066 MTK_FUNCTION(1, "MSDC0_DAT6"),
1067 MTK_FUNCTION(4, "NLD6")
1070 PINCTRL_PIN(113, "MSDC0_DAT5"),
1072 MTK_EINT_FUNCTION(0, 86),
1073 MTK_FUNCTION(0, "GPIO113"),
1074 MTK_FUNCTION(1, "MSDC0_DAT5"),
1075 MTK_FUNCTION(4, "NLD5")
1078 PINCTRL_PIN(114, "MSDC0_DAT4"),
1080 MTK_EINT_FUNCTION(0, 87),
1081 MTK_FUNCTION(0, "GPIO114"),
1082 MTK_FUNCTION(1, "MSDC0_DAT4"),
1083 MTK_FUNCTION(4, "NLD4")
1086 PINCTRL_PIN(115, "MSDC0_RSTB"),
1088 MTK_EINT_FUNCTION(0, 88),
1089 MTK_FUNCTION(0, "GPIO115"),
1090 MTK_FUNCTION(1, "MSDC0_RSTB"),
1091 MTK_FUNCTION(4, "NLD8")
1094 PINCTRL_PIN(116, "MSDC0_CMD"),
1096 MTK_EINT_FUNCTION(0, 89),
1097 MTK_FUNCTION(0, "GPIO116"),
1098 MTK_FUNCTION(1, "MSDC0_CMD"),
1099 MTK_FUNCTION(4, "NALE")
1102 PINCTRL_PIN(117, "MSDC0_CLK"),
1104 MTK_EINT_FUNCTION(0, 90),
1105 MTK_FUNCTION(0, "GPIO117"),
1106 MTK_FUNCTION(1, "MSDC0_CLK"),
1107 MTK_FUNCTION(4, "NWEB")
1110 PINCTRL_PIN(118, "MSDC0_DAT3"),
1112 MTK_EINT_FUNCTION(0, 91),
1113 MTK_FUNCTION(0, "GPIO118"),
1114 MTK_FUNCTION(1, "MSDC0_DAT3"),
1115 MTK_FUNCTION(4, "NLD3")
1118 PINCTRL_PIN(119, "MSDC0_DAT2"),
1120 MTK_EINT_FUNCTION(0, 92),
1121 MTK_FUNCTION(0, "GPIO119"),
1122 MTK_FUNCTION(1, "MSDC0_DAT2"),
1123 MTK_FUNCTION(4, "NLD2")
1126 PINCTRL_PIN(120, "MSDC0_DAT1"),
1128 MTK_EINT_FUNCTION(0, 93),
1129 MTK_FUNCTION(0, "GPIO120"),
1130 MTK_FUNCTION(1, "MSDC0_DAT1"),
1131 MTK_FUNCTION(4, "NLD1")
1134 PINCTRL_PIN(121, "MSDC0_DAT0"),
1136 MTK_EINT_FUNCTION(0, 94),
1137 MTK_FUNCTION(0, "GPIO121"),
1138 MTK_FUNCTION(1, "MSDC0_DAT0"),
1139 MTK_FUNCTION(4, "NLD0"),
1140 MTK_FUNCTION(5, "WATCHDOG")
1143 PINCTRL_PIN(122, "CEC"),
1145 MTK_EINT_FUNCTION(0, 95),
1146 MTK_FUNCTION(0, "GPIO122"),
1147 MTK_FUNCTION(1, "CEC"),
1148 MTK_FUNCTION(4, "SDA2"),
1149 MTK_FUNCTION(5, "URXD0")
1152 PINCTRL_PIN(123, "HTPLG"),
1154 MTK_EINT_FUNCTION(0, 96),
1155 MTK_FUNCTION(0, "GPIO123"),
1156 MTK_FUNCTION(1, "HTPLG"),
1157 MTK_FUNCTION(4, "SCL2"),
1158 MTK_FUNCTION(5, "UTXD0")
1161 PINCTRL_PIN(124, "HDMISCK"),
1163 MTK_EINT_FUNCTION(0, 97),
1164 MTK_FUNCTION(0, "GPIO124"),
1165 MTK_FUNCTION(1, "HDMISCK"),
1166 MTK_FUNCTION(4, "SDA1"),
1167 MTK_FUNCTION(5, "PWM3")
1170 PINCTRL_PIN(125, "HDMISD"),
1172 MTK_EINT_FUNCTION(0, 98),
1173 MTK_FUNCTION(0, "GPIO125"),
1174 MTK_FUNCTION(1, "HDMISD"),
1175 MTK_FUNCTION(4, "SCL1"),
1176 MTK_FUNCTION(5, "PWM4")
1179 PINCTRL_PIN(126, "I2S0_MCLK"),
1181 MTK_EINT_FUNCTION(0, 99),
1182 MTK_FUNCTION(0, "GPIO126"),
1183 MTK_FUNCTION(1, "I2S0_MCLK"),
1184 MTK_FUNCTION(6, "WCN_I2S_MCLK"),
1185 MTK_FUNCTION(7, "DBG_MON_B[6]")
1188 PINCTRL_PIN(127, "RAMBUF_IDATA0"),
1190 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1191 MTK_FUNCTION(0, "GPIO127"),
1192 MTK_FUNCTION(1, "RAMBUF_IDATA0")
1195 PINCTRL_PIN(128, "RAMBUF_IDATA1"),
1197 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1198 MTK_FUNCTION(0, "GPIO128"),
1199 MTK_FUNCTION(1, "RAMBUF_IDATA1")
1202 PINCTRL_PIN(129, "RAMBUF_IDATA2"),
1204 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1205 MTK_FUNCTION(0, "GPIO129"),
1206 MTK_FUNCTION(1, "RAMBUF_IDATA2")
1209 PINCTRL_PIN(130, "RAMBUF_IDATA3"),
1211 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1212 MTK_FUNCTION(0, "GPIO130"),
1213 MTK_FUNCTION(1, "RAMBUF_IDATA3")
1216 PINCTRL_PIN(131, "RAMBUF_IDATA4"),
1218 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1219 MTK_FUNCTION(0, "GPIO131"),
1220 MTK_FUNCTION(1, "RAMBUF_IDATA4")
1223 PINCTRL_PIN(132, "RAMBUF_IDATA5"),
1225 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1226 MTK_FUNCTION(0, "GPIO132"),
1227 MTK_FUNCTION(1, "RAMBUF_IDATA5")
1230 PINCTRL_PIN(133, "RAMBUF_IDATA6"),
1232 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1233 MTK_FUNCTION(0, "GPIO133"),
1234 MTK_FUNCTION(1, "RAMBUF_IDATA6")
1237 PINCTRL_PIN(134, "RAMBUF_IDATA7"),
1239 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1240 MTK_FUNCTION(0, "GPIO134"),
1241 MTK_FUNCTION(1, "RAMBUF_IDATA7")
1244 PINCTRL_PIN(135, "RAMBUF_IDATA8"),
1246 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1247 MTK_FUNCTION(0, "GPIO135"),
1248 MTK_FUNCTION(1, "RAMBUF_IDATA8")
1251 PINCTRL_PIN(136, "RAMBUF_IDATA9"),
1253 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1254 MTK_FUNCTION(0, "GPIO136"),
1255 MTK_FUNCTION(1, "RAMBUF_IDATA9")
1258 PINCTRL_PIN(137, "RAMBUF_IDATA10"),
1260 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1261 MTK_FUNCTION(0, "GPIO137"),
1262 MTK_FUNCTION(1, "RAMBUF_IDATA10")
1265 PINCTRL_PIN(138, "RAMBUF_IDATA11"),
1267 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1268 MTK_FUNCTION(0, "GPIO138"),
1269 MTK_FUNCTION(1, "RAMBUF_IDATA11")
1272 PINCTRL_PIN(139, "RAMBUF_IDATA12"),
1274 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1275 MTK_FUNCTION(0, "GPIO139"),
1276 MTK_FUNCTION(1, "RAMBUF_IDATA12")
1279 PINCTRL_PIN(140, "RAMBUF_IDATA13"),
1281 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1282 MTK_FUNCTION(0, "GPIO140"),
1283 MTK_FUNCTION(1, "RAMBUF_IDATA13")
1286 PINCTRL_PIN(141, "RAMBUF_IDATA14"),
1288 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1289 MTK_FUNCTION(0, "GPIO141"),
1290 MTK_FUNCTION(1, "RAMBUF_IDATA14")
1293 PINCTRL_PIN(142, "RAMBUF_IDATA15"),
1295 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1296 MTK_FUNCTION(0, "GPIO142"),
1297 MTK_FUNCTION(1, "RAMBUF_IDATA15")
1300 PINCTRL_PIN(143, "RAMBUF_ODATA0"),
1302 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1303 MTK_FUNCTION(0, "GPIO143"),
1304 MTK_FUNCTION(1, "RAMBUF_ODATA0")
1307 PINCTRL_PIN(144, "RAMBUF_ODATA1"),
1309 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1310 MTK_FUNCTION(0, "GPIO144"),
1311 MTK_FUNCTION(1, "RAMBUF_ODATA1")
1314 PINCTRL_PIN(145, "RAMBUF_ODATA2"),
1316 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1317 MTK_FUNCTION(0, "GPIO145"),
1318 MTK_FUNCTION(1, "RAMBUF_ODATA2")
1321 PINCTRL_PIN(146, "RAMBUF_ODATA3"),
1323 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1324 MTK_FUNCTION(0, "GPIO146"),
1325 MTK_FUNCTION(1, "RAMBUF_ODATA3")
1328 PINCTRL_PIN(147, "RAMBUF_ODATA4"),
1330 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1331 MTK_FUNCTION(0, "GPIO147"),
1332 MTK_FUNCTION(1, "RAMBUF_ODATA4")
1335 PINCTRL_PIN(148, "RAMBUF_ODATA5"),
1337 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1338 MTK_FUNCTION(0, "GPIO148"),
1339 MTK_FUNCTION(1, "RAMBUF_ODATA5")
1342 PINCTRL_PIN(149, "RAMBUF_ODATA6"),
1344 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1345 MTK_FUNCTION(0, "GPIO149"),
1346 MTK_FUNCTION(1, "RAMBUF_ODATA6")
1349 PINCTRL_PIN(150, "RAMBUF_ODATA7"),
1351 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1352 MTK_FUNCTION(0, "GPIO150"),
1353 MTK_FUNCTION(1, "RAMBUF_ODATA7")
1356 PINCTRL_PIN(151, "RAMBUF_ODATA8"),
1358 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1359 MTK_FUNCTION(0, "GPIO151"),
1360 MTK_FUNCTION(1, "RAMBUF_ODATA8")
1363 PINCTRL_PIN(152, "RAMBUF_ODATA9"),
1365 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1366 MTK_FUNCTION(0, "GPIO152"),
1367 MTK_FUNCTION(1, "RAMBUF_ODATA9")
1370 PINCTRL_PIN(153, "RAMBUF_ODATA10"),
1372 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1373 MTK_FUNCTION(0, "GPIO153"),
1374 MTK_FUNCTION(1, "RAMBUF_ODATA10")
1377 PINCTRL_PIN(154, "RAMBUF_ODATA11"),
1379 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1380 MTK_FUNCTION(0, "GPIO154"),
1381 MTK_FUNCTION(1, "RAMBUF_ODATA11")
1384 PINCTRL_PIN(155, "RAMBUF_ODATA12"),
1386 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1387 MTK_FUNCTION(0, "GPIO155"),
1388 MTK_FUNCTION(1, "RAMBUF_ODATA12")
1391 PINCTRL_PIN(156, "RAMBUF_ODATA13"),
1393 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1394 MTK_FUNCTION(0, "GPIO156"),
1395 MTK_FUNCTION(1, "RAMBUF_ODATA13")
1398 PINCTRL_PIN(157, "RAMBUF_ODATA14"),
1400 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1401 MTK_FUNCTION(0, "GPIO157"),
1402 MTK_FUNCTION(1, "RAMBUF_ODATA14")
1405 PINCTRL_PIN(158, "RAMBUF_ODATA15"),
1407 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1408 MTK_FUNCTION(0, "GPIO158"),
1409 MTK_FUNCTION(1, "RAMBUF_ODATA15")
1412 PINCTRL_PIN(159, "RAMBUF_BE0"),
1414 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1415 MTK_FUNCTION(0, "GPIO159"),
1416 MTK_FUNCTION(1, "RAMBUF_BE0")
1419 PINCTRL_PIN(160, "RAMBUF_BE1"),
1421 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1422 MTK_FUNCTION(0, "GPIO160"),
1423 MTK_FUNCTION(1, "RAMBUF_BE1")
1426 PINCTRL_PIN(161, "AP2PT_INT"),
1428 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1429 MTK_FUNCTION(0, "GPIO161"),
1430 MTK_FUNCTION(1, "AP2PT_INT")
1433 PINCTRL_PIN(162, "AP2PT_INT_CLR"),
1435 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1436 MTK_FUNCTION(0, "GPIO162"),
1437 MTK_FUNCTION(1, "AP2PT_INT_CLR")
1440 PINCTRL_PIN(163, "PT2AP_INT"),
1442 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1443 MTK_FUNCTION(0, "GPIO163"),
1444 MTK_FUNCTION(1, "PT2AP_INT")
1447 PINCTRL_PIN(164, "PT2AP_INT_CLR"),
1449 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1450 MTK_FUNCTION(0, "GPIO164"),
1451 MTK_FUNCTION(1, "PT2AP_INT_CLR")
1454 PINCTRL_PIN(165, "AP2UP_INT"),
1456 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1457 MTK_FUNCTION(0, "GPIO165"),
1458 MTK_FUNCTION(1, "AP2UP_INT")
1461 PINCTRL_PIN(166, "AP2UP_INT_CLR"),
1463 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1464 MTK_FUNCTION(0, "GPIO166"),
1465 MTK_FUNCTION(1, "AP2UP_INT_CLR")
1468 PINCTRL_PIN(167, "UP2AP_INT"),
1470 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1471 MTK_FUNCTION(0, "GPIO167"),
1472 MTK_FUNCTION(1, "UP2AP_INT")
1475 PINCTRL_PIN(168, "UP2AP_INT_CLR"),
1477 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1478 MTK_FUNCTION(0, "GPIO168"),
1479 MTK_FUNCTION(1, "UP2AP_INT_CLR")
1482 PINCTRL_PIN(169, "RAMBUF_ADDR0"),
1484 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1485 MTK_FUNCTION(0, "GPIO169"),
1486 MTK_FUNCTION(1, "RAMBUF_ADDR0")
1489 PINCTRL_PIN(170, "RAMBUF_ADDR1"),
1491 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1492 MTK_FUNCTION(0, "GPIO170"),
1493 MTK_FUNCTION(1, "RAMBUF_ADDR1")
1496 PINCTRL_PIN(171, "RAMBUF_ADDR2"),
1498 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1499 MTK_FUNCTION(0, "GPIO171"),
1500 MTK_FUNCTION(1, "RAMBUF_ADDR2")
1503 PINCTRL_PIN(172, "RAMBUF_ADDR3"),
1505 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1506 MTK_FUNCTION(0, "GPIO172"),
1507 MTK_FUNCTION(1, "RAMBUF_ADDR3")
1510 PINCTRL_PIN(173, "RAMBUF_ADDR4"),
1512 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1513 MTK_FUNCTION(0, "GPIO173"),
1514 MTK_FUNCTION(1, "RAMBUF_ADDR4")
1517 PINCTRL_PIN(174, "RAMBUF_ADDR5"),
1519 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1520 MTK_FUNCTION(0, "GPIO174"),
1521 MTK_FUNCTION(1, "RAMBUF_ADDR5")
1524 PINCTRL_PIN(175, "RAMBUF_ADDR6"),
1526 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1527 MTK_FUNCTION(0, "GPIO175"),
1528 MTK_FUNCTION(1, "RAMBUF_ADDR6")
1531 PINCTRL_PIN(176, "RAMBUF_ADDR7"),
1533 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1534 MTK_FUNCTION(0, "GPIO176"),
1535 MTK_FUNCTION(1, "RAMBUF_ADDR7")
1538 PINCTRL_PIN(177, "RAMBUF_ADDR8"),
1540 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1541 MTK_FUNCTION(0, "GPIO177"),
1542 MTK_FUNCTION(1, "RAMBUF_ADDR8")
1545 PINCTRL_PIN(178, "RAMBUF_ADDR9"),
1547 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1548 MTK_FUNCTION(0, "GPIO178"),
1549 MTK_FUNCTION(1, "RAMBUF_ADDR9")
1552 PINCTRL_PIN(179, "RAMBUF_ADDR10"),
1554 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1555 MTK_FUNCTION(0, "GPIO179"),
1556 MTK_FUNCTION(1, "RAMBUF_ADDR10")
1559 PINCTRL_PIN(180, "RAMBUF_RW"),
1561 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1562 MTK_FUNCTION(0, "GPIO180"),
1563 MTK_FUNCTION(1, "RAMBUF_RW")
1566 PINCTRL_PIN(181, "RAMBUF_LAST"),
1568 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1569 MTK_FUNCTION(0, "GPIO181"),
1570 MTK_FUNCTION(1, "RAMBUF_LAST")
1573 PINCTRL_PIN(182, "RAMBUF_HP"),
1575 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1576 MTK_FUNCTION(0, "GPIO182"),
1577 MTK_FUNCTION(1, "RAMBUF_HP")
1580 PINCTRL_PIN(183, "RAMBUF_REQ"),
1582 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1583 MTK_FUNCTION(0, "GPIO183"),
1584 MTK_FUNCTION(1, "RAMBUF_REQ")
1587 PINCTRL_PIN(184, "RAMBUF_ALE"),
1589 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1590 MTK_FUNCTION(0, "GPIO184"),
1591 MTK_FUNCTION(1, "RAMBUF_ALE")
1594 PINCTRL_PIN(185, "RAMBUF_DLE"),
1596 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1597 MTK_FUNCTION(0, "GPIO185"),
1598 MTK_FUNCTION(1, "RAMBUF_DLE")
1601 PINCTRL_PIN(186, "RAMBUF_WDLE"),
1603 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1604 MTK_FUNCTION(0, "GPIO186"),
1605 MTK_FUNCTION(1, "RAMBUF_WDLE")
1608 PINCTRL_PIN(187, "RAMBUF_O_CLK"),
1610 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1611 MTK_FUNCTION(0, "GPIO187"),
1612 MTK_FUNCTION(1, "RAMBUF_O_CLK")
1615 PINCTRL_PIN(188, "I2S2_MCLK"),
1617 MTK_EINT_FUNCTION(0, 100),
1618 MTK_FUNCTION(0, "GPIO188"),
1619 MTK_FUNCTION(1, "I2S2_MCLK")
1622 PINCTRL_PIN(189, "I2S3_DATA"),
1624 MTK_EINT_FUNCTION(0, 101),
1625 MTK_FUNCTION(0, "GPIO189"),
1626 MTK_FUNCTION(2, "I2S3_DATA_BYPS"),
1627 MTK_FUNCTION(3, "PCM_TX")
1630 PINCTRL_PIN(190, "I2S3_DATA_IN"),
1632 MTK_EINT_FUNCTION(0, 102),
1633 MTK_FUNCTION(0, "GPIO190"),
1634 MTK_FUNCTION(1, "I2S3_DATA_IN"),
1635 MTK_FUNCTION(3, "PCM_RX")
1638 PINCTRL_PIN(191, "I2S3_BCK"),
1640 MTK_EINT_FUNCTION(0, 103),
1641 MTK_FUNCTION(0, "GPIO191"),
1642 MTK_FUNCTION(1, "I2S3_BCK"),
1643 MTK_FUNCTION(3, "PCM_CLK0")
1646 PINCTRL_PIN(192, "I2S3_LRCK"),
1648 MTK_EINT_FUNCTION(0, 104),
1649 MTK_FUNCTION(0, "GPIO192"),
1650 MTK_FUNCTION(1, "I2S3_LRCK"),
1651 MTK_FUNCTION(3, "PCM_SYNC")
1654 PINCTRL_PIN(193, "I2S3_MCLK"),
1656 MTK_EINT_FUNCTION(0, 105),
1657 MTK_FUNCTION(0, "GPIO193"),
1658 MTK_FUNCTION(1, "I2S3_MCLK")
1661 PINCTRL_PIN(194, "I2S4_DATA"),
1663 MTK_EINT_FUNCTION(0, 106),
1664 MTK_FUNCTION(0, "GPIO194"),
1665 MTK_FUNCTION(1, "I2S4_DATA"),
1666 MTK_FUNCTION(2, "I2S4_DATA_BYPS"),
1667 MTK_FUNCTION(3, "PCM_TX")
1670 PINCTRL_PIN(195, "I2S4_DATA_IN"),
1672 MTK_EINT_FUNCTION(0, 107),
1673 MTK_FUNCTION(0, "GPIO195"),
1674 MTK_FUNCTION(1, "I2S4_DATA_IN"),
1675 MTK_FUNCTION(3, "PCM_RX")
1678 PINCTRL_PIN(196, "I2S4_BCK"),
1680 MTK_EINT_FUNCTION(0, 108),
1681 MTK_FUNCTION(0, "GPIO196"),
1682 MTK_FUNCTION(1, "I2S4_BCK"),
1683 MTK_FUNCTION(3, "PCM_CLK0")
1686 PINCTRL_PIN(197, "I2S4_LRCK"),
1688 MTK_EINT_FUNCTION(0, 109),
1689 MTK_FUNCTION(0, "GPIO197"),
1690 MTK_FUNCTION(1, "I2S4_LRCK"),
1691 MTK_FUNCTION(3, "PCM_SYNC")
1694 PINCTRL_PIN(198, "I2S4_MCLK"),
1696 MTK_EINT_FUNCTION(0, 110),
1697 MTK_FUNCTION(0, "GPIO198"),
1698 MTK_FUNCTION(1, "I2S4_MCLK")
1701 PINCTRL_PIN(199, "SPI1_CLK"),
1703 MTK_EINT_FUNCTION(0, 111),
1704 MTK_FUNCTION(0, "GPIO199"),
1705 MTK_FUNCTION(1, "SPI1_CK"),
1706 MTK_FUNCTION(3, "EXT_FRAME_SYNC"),
1707 MTK_FUNCTION(4, "KCOL3"),
1708 MTK_FUNCTION(7, "DBG_MON_B[15]")
1711 PINCTRL_PIN(200, "SPDIF_OUT"),
1713 MTK_EINT_FUNCTION(0, 112),
1714 MTK_FUNCTION(0, "GPIO200"),
1715 MTK_FUNCTION(1, "SPDIF_OUT"),
1716 MTK_FUNCTION(5, "G1_TXD3"),
1717 MTK_FUNCTION(6, "URXD2"),
1718 MTK_FUNCTION(7, "DBG_MON_B[16]")
1721 PINCTRL_PIN(201, "SPDIF_IN0"),
1723 MTK_EINT_FUNCTION(0, 113),
1724 MTK_FUNCTION(0, "GPIO201"),
1725 MTK_FUNCTION(1, "SPDIF_IN0"),
1726 MTK_FUNCTION(5, "G1_TXEN"),
1727 MTK_FUNCTION(6, "UTXD2"),
1728 MTK_FUNCTION(7, "DBG_MON_B[17]")
1731 PINCTRL_PIN(202, "SPDIF_IN1"),
1733 MTK_EINT_FUNCTION(0, 114),
1734 MTK_FUNCTION(0, "GPIO202"),
1735 MTK_FUNCTION(1, "SPDIF_IN1")
1738 PINCTRL_PIN(203, "PWM0"),
1740 MTK_EINT_FUNCTION(0, 115),
1741 MTK_FUNCTION(0, "GPIO203"),
1742 MTK_FUNCTION(1, "PWM0"),
1743 MTK_FUNCTION(2, "DISP_PWM"),
1744 MTK_FUNCTION(5, "G1_TXD2"),
1745 MTK_FUNCTION(7, "DBG_MON_B[18]"),
1746 MTK_FUNCTION(9, "I2S2_DATA")
1749 PINCTRL_PIN(204, "PWM1"),
1751 MTK_EINT_FUNCTION(0, 116),
1752 MTK_FUNCTION(0, "GPIO204"),
1753 MTK_FUNCTION(1, "PWM1"),
1754 MTK_FUNCTION(2, "CLKM3"),
1755 MTK_FUNCTION(5, "G1_TXD1"),
1756 MTK_FUNCTION(7, "DBG_MON_B[19]"),
1757 MTK_FUNCTION(9, "I2S3_DATA")
1760 PINCTRL_PIN(205, "PWM2"),
1762 MTK_EINT_FUNCTION(0, 117),
1763 MTK_FUNCTION(0, "GPIO205"),
1764 MTK_FUNCTION(1, "PWM2"),
1765 MTK_FUNCTION(2, "CLKM2"),
1766 MTK_FUNCTION(5, "G1_TXD0"),
1767 MTK_FUNCTION(7, "DBG_MON_B[20]")
1770 PINCTRL_PIN(206, "PWM3"),
1772 MTK_EINT_FUNCTION(0, 118),
1773 MTK_FUNCTION(0, "GPIO206"),
1774 MTK_FUNCTION(1, "PWM3"),
1775 MTK_FUNCTION(2, "CLKM1"),
1776 MTK_FUNCTION(3, "EXT_FRAME_SYNC"),
1777 MTK_FUNCTION(5, "G1_TXC"),
1778 MTK_FUNCTION(7, "DBG_MON_B[21]")
1781 PINCTRL_PIN(207, "PWM4"),
1783 MTK_EINT_FUNCTION(0, 119),
1784 MTK_FUNCTION(0, "GPIO207"),
1785 MTK_FUNCTION(1, "PWM4"),
1786 MTK_FUNCTION(2, "CLKM0"),
1787 MTK_FUNCTION(3, "EXT_FRAME_SYNC"),
1788 MTK_FUNCTION(5, "G1_RXC"),
1789 MTK_FUNCTION(7, "DBG_MON_B[22]")
1792 PINCTRL_PIN(208, "AUD_EXT_CK1"),
1794 MTK_EINT_FUNCTION(0, 120),
1795 MTK_FUNCTION(0, "GPIO208"),
1796 MTK_FUNCTION(1, "AUD_EXT_CK1"),
1797 MTK_FUNCTION(2, "PWM0"),
1798 /* MT7623 take function 3 as PCIE0_PERST_N */
1799 MTK_FUNCTION(3, "PCIE0_PERST_N"),
1800 MTK_FUNCTION(4, "ANT_SEL5"),
1801 MTK_FUNCTION(5, "DISP_PWM"),
1802 MTK_FUNCTION(7, "DBG_MON_A[31]"),
1803 MTK_FUNCTION(11, "PCIE0_PERST_N")
1806 PINCTRL_PIN(209, "AUD_EXT_CK2"),
1808 MTK_EINT_FUNCTION(0, 121),
1809 MTK_FUNCTION(0, "GPIO209"),
1810 MTK_FUNCTION(1, "AUD_EXT_CK2"),
1811 MTK_FUNCTION(2, "MSDC1_WP"),
1812 /* MT7623 take function 3 as PCIE1_PERST_N */
1813 MTK_FUNCTION(3, "PCIE1_PERST_N"),
1814 MTK_FUNCTION(5, "PWM1"),
1815 MTK_FUNCTION(7, "DBG_MON_A[32]"),
1816 MTK_FUNCTION(11, "PCIE1_PERST_N")
1819 PINCTRL_PIN(210, "AUD_CLOCK"),
1821 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1822 MTK_FUNCTION(0, "GPIO210"),
1823 MTK_FUNCTION(1, "AUD_CLOCK")
1826 PINCTRL_PIN(211, "DVP_RESET"),
1828 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1829 MTK_FUNCTION(0, "GPIO211"),
1830 MTK_FUNCTION(1, "DVP_RESET")
1833 PINCTRL_PIN(212, "DVP_CLOCK"),
1835 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1836 MTK_FUNCTION(0, "GPIO212"),
1837 MTK_FUNCTION(1, "DVP_CLOCK")
1840 PINCTRL_PIN(213, "DVP_CS"),
1842 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1843 MTK_FUNCTION(0, "GPIO213"),
1844 MTK_FUNCTION(1, "DVP_CS")
1847 PINCTRL_PIN(214, "DVP_CK"),
1849 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1850 MTK_FUNCTION(0, "GPIO214"),
1851 MTK_FUNCTION(1, "DVP_CK")
1854 PINCTRL_PIN(215, "DVP_DI"),
1856 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1857 MTK_FUNCTION(0, "GPIO215"),
1858 MTK_FUNCTION(1, "DVP_DI")
1861 PINCTRL_PIN(216, "DVP_DO"),
1863 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1864 MTK_FUNCTION(0, "GPIO216"),
1865 MTK_FUNCTION(1, "DVP_DO")
1868 PINCTRL_PIN(217, "AP_CS"),
1870 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1871 MTK_FUNCTION(0, "GPIO217"),
1872 MTK_FUNCTION(1, "AP_CS")
1875 PINCTRL_PIN(218, "AP_CK"),
1877 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1878 MTK_FUNCTION(0, "GPIO218"),
1879 MTK_FUNCTION(1, "AP_CK")
1882 PINCTRL_PIN(219, "AP_DI"),
1884 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1885 MTK_FUNCTION(0, "GPIO219"),
1886 MTK_FUNCTION(1, "AP_DI")
1889 PINCTRL_PIN(220, "AP_DO"),
1891 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1892 MTK_FUNCTION(0, "GPIO220"),
1893 MTK_FUNCTION(1, "AP_DO")
1896 PINCTRL_PIN(221, "DVD_BCLK"),
1898 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1899 MTK_FUNCTION(0, "GPIO221"),
1900 MTK_FUNCTION(1, "DVD_BCLK")
1903 PINCTRL_PIN(222, "T8032_CLK"),
1905 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1906 MTK_FUNCTION(0, "GPIO222"),
1907 MTK_FUNCTION(1, "T8032_CLK")
1910 PINCTRL_PIN(223, "AP_BCLK"),
1912 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1913 MTK_FUNCTION(0, "GPIO223"),
1914 MTK_FUNCTION(1, "AP_BCLK")
1917 PINCTRL_PIN(224, "HOST_CS"),
1919 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1920 MTK_FUNCTION(0, "GPIO224"),
1921 MTK_FUNCTION(1, "HOST_CS")
1924 PINCTRL_PIN(225, "HOST_CK"),
1926 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1927 MTK_FUNCTION(0, "GPIO225"),
1928 MTK_FUNCTION(1, "HOST_CK")
1931 PINCTRL_PIN(226, "HOST_DO0"),
1933 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1934 MTK_FUNCTION(0, "GPIO226"),
1935 MTK_FUNCTION(1, "HOST_DO0")
1938 PINCTRL_PIN(227, "HOST_DO1"),
1940 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1941 MTK_FUNCTION(0, "GPIO227"),
1942 MTK_FUNCTION(1, "HOST_DO1")
1945 PINCTRL_PIN(228, "SLV_CS"),
1947 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1948 MTK_FUNCTION(0, "GPIO228"),
1949 MTK_FUNCTION(1, "SLV_CS")
1952 PINCTRL_PIN(229, "SLV_CK"),
1954 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1955 MTK_FUNCTION(0, "GPIO229"),
1956 MTK_FUNCTION(1, "SLV_CK")
1959 PINCTRL_PIN(230, "SLV_DI0"),
1961 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1962 MTK_FUNCTION(0, "GPIO230"),
1963 MTK_FUNCTION(1, "SLV_DI0")
1966 PINCTRL_PIN(231, "SLV_DI1"),
1968 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1969 MTK_FUNCTION(0, "GPIO231"),
1970 MTK_FUNCTION(1, "SLV_DI1")
1973 PINCTRL_PIN(232, "AP2DSP_INT"),
1975 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1976 MTK_FUNCTION(0, "GPIO232"),
1977 MTK_FUNCTION(1, "AP2DSP_INT")
1980 PINCTRL_PIN(233, "AP2DSP_INT_CLR"),
1982 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1983 MTK_FUNCTION(0, "GPIO233"),
1984 MTK_FUNCTION(1, "AP2DSP_INT_CLR")
1987 PINCTRL_PIN(234, "DSP2AP_INT"),
1989 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1990 MTK_FUNCTION(0, "GPIO234"),
1991 MTK_FUNCTION(1, "DSP2AP_INT")
1994 PINCTRL_PIN(235, "DSP2AP_INT_CLR"),
1996 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1997 MTK_FUNCTION(0, "GPIO235"),
1998 MTK_FUNCTION(1, "DSP2AP_INT_CLR")
2001 PINCTRL_PIN(236, "EXT_SDIO3"),
2003 MTK_EINT_FUNCTION(0, 122),
2004 MTK_FUNCTION(0, "GPIO236"),
2005 MTK_FUNCTION(1, "EXT_SDIO3"),
2006 MTK_FUNCTION(2, "IDDIG"),
2007 MTK_FUNCTION(7, "DBG_MON_A[1]")
2010 PINCTRL_PIN(237, "EXT_SDIO2"),
2012 MTK_EINT_FUNCTION(0, 123),
2013 MTK_FUNCTION(0, "GPIO237"),
2014 MTK_FUNCTION(1, "EXT_SDIO2"),
2015 MTK_FUNCTION(2, "DRV_VBUS")
2018 PINCTRL_PIN(238, "EXT_SDIO1"),
2020 MTK_EINT_FUNCTION(0, 124),
2021 MTK_FUNCTION(0, "GPIO238"),
2022 MTK_FUNCTION(1, "EXT_SDIO1"),
2023 MTK_FUNCTION(2, "IDDIG_P1")
2026 PINCTRL_PIN(239, "EXT_SDIO0"),
2028 MTK_EINT_FUNCTION(0, 125),
2029 MTK_FUNCTION(0, "GPIO239"),
2030 MTK_FUNCTION(1, "EXT_SDIO0"),
2031 MTK_FUNCTION(2, "DRV_VBUS_P1")
2034 PINCTRL_PIN(240, "EXT_XCS"),
2036 MTK_EINT_FUNCTION(0, 126),
2037 MTK_FUNCTION(0, "GPIO240"),
2038 MTK_FUNCTION(1, "EXT_XCS")
2041 PINCTRL_PIN(241, "EXT_SCK"),
2043 MTK_EINT_FUNCTION(0, 127),
2044 MTK_FUNCTION(0, "GPIO241"),
2045 MTK_FUNCTION(1, "EXT_SCK")
2048 PINCTRL_PIN(242, "URTS2"),
2050 MTK_EINT_FUNCTION(0, 128),
2051 MTK_FUNCTION(0, "GPIO242"),
2052 MTK_FUNCTION(1, "URTS2"),
2053 MTK_FUNCTION(2, "UTXD3"),
2054 MTK_FUNCTION(3, "URXD3"),
2055 MTK_FUNCTION(4, "SCL1"),
2056 MTK_FUNCTION(7, "DBG_MON_B[32]")
2059 PINCTRL_PIN(243, "UCTS2"),
2061 MTK_EINT_FUNCTION(0, 129),
2062 MTK_FUNCTION(0, "GPIO243"),
2063 MTK_FUNCTION(1, "UCTS2"),
2064 MTK_FUNCTION(2, "URXD3"),
2065 MTK_FUNCTION(3, "UTXD3"),
2066 MTK_FUNCTION(4, "SDA1"),
2067 MTK_FUNCTION(7, "DBG_MON_A[6]")
2070 PINCTRL_PIN(244, "HDMI_SDA_RX"),
2072 MTK_EINT_FUNCTION(0, 130),
2073 MTK_FUNCTION(0, "GPIO244"),
2074 MTK_FUNCTION(1, "HDMI_SDA_RX")
2077 PINCTRL_PIN(245, "HDMI_SCL_RX"),
2079 MTK_EINT_FUNCTION(0, 131),
2080 MTK_FUNCTION(0, "GPIO245"),
2081 MTK_FUNCTION(1, "HDMI_SCL_RX")
2084 PINCTRL_PIN(246, "MHL_SENCE"),
2086 MTK_EINT_FUNCTION(0, 132),
2087 MTK_FUNCTION(0, "GPIO246")
2090 PINCTRL_PIN(247, "HDMI_HPD_CBUS_RX"),
2092 MTK_EINT_FUNCTION(0, 69),
2093 MTK_FUNCTION(0, "GPIO247"),
2094 MTK_FUNCTION(1, "HDMI_HPD_RX")
2097 PINCTRL_PIN(248, "HDMI_TESTOUTP_RX"),
2099 MTK_EINT_FUNCTION(0, 133),
2100 MTK_FUNCTION(0, "GPIO248"),
2101 MTK_FUNCTION(1, "HDMI_TESTOUTP_RX")
2104 PINCTRL_PIN(249, "MSDC0E_RSTB"),
2106 MTK_EINT_FUNCTION(0, 134),
2107 MTK_FUNCTION(0, "GPIO249"),
2108 MTK_FUNCTION(1, "MSDC0E_RSTB")
2111 PINCTRL_PIN(250, "MSDC0E_DAT7"),
2113 MTK_EINT_FUNCTION(0, 135),
2114 MTK_FUNCTION(0, "GPIO250"),
2115 MTK_FUNCTION(1, "MSDC3_DAT7"),
2116 MTK_FUNCTION(6, "PCIE0_CLKREQ_N")
2119 PINCTRL_PIN(251, "MSDC0E_DAT6"),
2121 MTK_EINT_FUNCTION(0, 136),
2122 MTK_FUNCTION(0, "GPIO251"),
2123 MTK_FUNCTION(1, "MSDC3_DAT6"),
2124 MTK_FUNCTION(6, "PCIE0_WAKE_N")
2127 PINCTRL_PIN(252, "MSDC0E_DAT5"),
2129 MTK_EINT_FUNCTION(0, 137),
2130 MTK_FUNCTION(0, "GPIO252"),
2131 MTK_FUNCTION(1, "MSDC3_DAT5"),
2132 MTK_FUNCTION(6, "PCIE1_CLKREQ_N")
2135 PINCTRL_PIN(253, "MSDC0E_DAT4"),
2137 MTK_EINT_FUNCTION(0, 138),
2138 MTK_FUNCTION(0, "GPIO253"),
2139 MTK_FUNCTION(1, "MSDC3_DAT4"),
2140 MTK_FUNCTION(6, "PCIE1_WAKE_N")
2143 PINCTRL_PIN(254, "MSDC0E_DAT3"),
2145 MTK_EINT_FUNCTION(0, 139),
2146 MTK_FUNCTION(0, "GPIO254"),
2147 MTK_FUNCTION(1, "MSDC3_DAT3"),
2148 MTK_FUNCTION(6, "PCIE2_CLKREQ_N")
2151 PINCTRL_PIN(255, "MSDC0E_DAT2"),
2153 MTK_EINT_FUNCTION(0, 140),
2154 MTK_FUNCTION(0, "GPIO255"),
2155 MTK_FUNCTION(1, "MSDC3_DAT2"),
2156 MTK_FUNCTION(6, "PCIE2_WAKE_N")
2159 PINCTRL_PIN(256, "MSDC0E_DAT1"),
2161 MTK_EINT_FUNCTION(0, 141),
2162 MTK_FUNCTION(0, "GPIO256"),
2163 MTK_FUNCTION(1, "MSDC3_DAT1")
2166 PINCTRL_PIN(257, "MSDC0E_DAT0"),
2168 MTK_EINT_FUNCTION(0, 142),
2169 MTK_FUNCTION(0, "GPIO257"),
2170 MTK_FUNCTION(1, "MSDC3_DAT0")
2173 PINCTRL_PIN(258, "MSDC0E_CMD"),
2175 MTK_EINT_FUNCTION(0, 143),
2176 MTK_FUNCTION(0, "GPIO258"),
2177 MTK_FUNCTION(1, "MSDC3_CMD")
2180 PINCTRL_PIN(259, "MSDC0E_CLK"),
2182 MTK_EINT_FUNCTION(0, 144),
2183 MTK_FUNCTION(0, "GPIO259"),
2184 MTK_FUNCTION(1, "MSDC3_CLK")
2187 PINCTRL_PIN(260, "MSDC0E_DSL"),
2189 MTK_EINT_FUNCTION(0, 145),
2190 MTK_FUNCTION(0, "GPIO260"),
2191 MTK_FUNCTION(1, "MSDC3_DSL")
2194 PINCTRL_PIN(261, "MSDC1_INS"),
2196 MTK_EINT_FUNCTION(0, 146),
2197 MTK_FUNCTION(0, "GPIO261"),
2198 MTK_FUNCTION(1, "MSDC1_INS"),
2199 MTK_FUNCTION(7, "DBG_MON_B[29]")
2202 PINCTRL_PIN(262, "G2_TXEN"),
2204 MTK_EINT_FUNCTION(0, 8),
2205 MTK_FUNCTION(0, "GPIO262"),
2206 MTK_FUNCTION(1, "G2_TXEN")
2209 PINCTRL_PIN(263, "G2_TXD3"),
2211 MTK_EINT_FUNCTION(0, 9),
2212 MTK_FUNCTION(0, "GPIO263"),
2213 MTK_FUNCTION(1, "G2_TXD3"),
2214 MTK_FUNCTION(6, "ANT_SEL5")
2217 PINCTRL_PIN(264, "G2_TXD2"),
2219 MTK_EINT_FUNCTION(0, 10),
2220 MTK_FUNCTION(0, "GPIO264"),
2221 MTK_FUNCTION(1, "G2_TXD2"),
2222 MTK_FUNCTION(6, "ANT_SEL4")
2225 PINCTRL_PIN(265, "G2_TXD1"),
2227 MTK_EINT_FUNCTION(0, 11),
2228 MTK_FUNCTION(0, "GPIO265"),
2229 MTK_FUNCTION(1, "G2_TXD1"),
2230 MTK_FUNCTION(6, "ANT_SEL3")
2233 PINCTRL_PIN(266, "G2_TXD0"),
2235 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
2236 MTK_FUNCTION(0, "GPIO266"),
2237 MTK_FUNCTION(1, "G2_TXD0"),
2238 MTK_FUNCTION(6, "ANT_SEL2")
2241 PINCTRL_PIN(267, "G2_TXC"),
2243 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
2244 MTK_FUNCTION(0, "GPIO267"),
2245 MTK_FUNCTION(1, "G2_TXC")
2248 PINCTRL_PIN(268, "G2_RXC"),
2250 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
2251 MTK_FUNCTION(0, "GPIO268"),
2252 MTK_FUNCTION(1, "G2_RXC")
2255 PINCTRL_PIN(269, "G2_RXD0"),
2257 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
2258 MTK_FUNCTION(0, "GPIO269"),
2259 MTK_FUNCTION(1, "G2_RXD0")
2262 PINCTRL_PIN(270, "G2_RXD1"),
2264 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
2265 MTK_FUNCTION(0, "GPIO270"),
2266 MTK_FUNCTION(1, "G2_RXD1")
2269 PINCTRL_PIN(271, "G2_RXD2"),
2271 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
2272 MTK_FUNCTION(0, "GPIO271"),
2273 MTK_FUNCTION(1, "G2_RXD2")
2276 PINCTRL_PIN(272, "G2_RXD3"),
2278 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
2279 MTK_FUNCTION(0, "GPIO272"),
2280 MTK_FUNCTION(1, "G2_RXD3")
2283 PINCTRL_PIN(273, "ESW_INT"),
2285 MTK_EINT_FUNCTION(0, 168),
2286 MTK_FUNCTION(0, "GPIO273"),
2287 MTK_FUNCTION(1, "ESW_INT")
2290 PINCTRL_PIN(274, "G2_RXDV"),
2292 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
2293 MTK_FUNCTION(0, "GPIO274"),
2294 MTK_FUNCTION(1, "G2_RXDV")
2297 PINCTRL_PIN(275, "MDC"),
2299 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
2300 MTK_FUNCTION(0, "GPIO275"),
2301 MTK_FUNCTION(1, "MDC"),
2302 MTK_FUNCTION(6, "ANT_SEL0")
2305 PINCTRL_PIN(276, "MDIO"),
2307 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
2308 MTK_FUNCTION(0, "GPIO276"),
2309 MTK_FUNCTION(1, "MDIO"),
2310 MTK_FUNCTION(6, "ANT_SEL1")
2313 PINCTRL_PIN(277, "ESW_RST"),
2315 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
2316 MTK_FUNCTION(0, "GPIO277"),
2317 MTK_FUNCTION(1, "ESW_RST")
2320 PINCTRL_PIN(278, "JTAG_RESET"),
2322 MTK_EINT_FUNCTION(0, 147),
2323 MTK_FUNCTION(0, "GPIO278"),
2324 MTK_FUNCTION(1, "JTAG_RESET")
2327 PINCTRL_PIN(279, "USB3_RES_BOND"),
2329 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
2330 MTK_FUNCTION(0, "GPIO279"),
2331 MTK_FUNCTION(1, "USB3_RES_BOND")
2335 #endif /* __PINCTRL_MTK_MT2701_H */