1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (c) 2015 MediaTek Inc.
4 * Author: Biao Huang <biao.huang@mediatek.com>
7 #ifndef __PINCTRL_MTK_MT2701_H
8 #define __PINCTRL_MTK_MT2701_H
10 #include <linux/pinctrl/pinctrl.h>
11 #include "pinctrl-mtk-common.h"
13 static const struct mtk_desc_pin mtk_pins_mt2701
[] = {
14 MTK_PIN(PINCTRL_PIN(0, "PWRAP_SPI0_MI"),
16 MTK_EINT_FUNCTION(0, 148),
17 MTK_FUNCTION(0, "GPIO0"),
18 MTK_FUNCTION(1, "PWRAP_SPIDO"),
19 MTK_FUNCTION(2, "PWRAP_SPIDI")
21 MTK_PIN(PINCTRL_PIN(1, "PWRAP_SPI0_MO"),
23 MTK_EINT_FUNCTION(0, 149),
24 MTK_FUNCTION(0, "GPIO1"),
25 MTK_FUNCTION(1, "PWRAP_SPIDI"),
26 MTK_FUNCTION(2, "PWRAP_SPIDO")
28 MTK_PIN(PINCTRL_PIN(2, "PWRAP_INT"),
30 MTK_EINT_FUNCTION(0, 150),
31 MTK_FUNCTION(0, "GPIO2"),
32 MTK_FUNCTION(1, "PWRAP_INT")
34 MTK_PIN(PINCTRL_PIN(3, "PWRAP_SPI0_CK"),
36 MTK_EINT_FUNCTION(0, 151),
37 MTK_FUNCTION(0, "GPIO3"),
38 MTK_FUNCTION(1, "PWRAP_SPICK_I")
40 MTK_PIN(PINCTRL_PIN(4, "PWRAP_SPI0_CSN"),
42 MTK_EINT_FUNCTION(0, 152),
43 MTK_FUNCTION(0, "GPIO4"),
44 MTK_FUNCTION(1, "PWRAP_SPICS_B_I")
46 MTK_PIN(PINCTRL_PIN(5, "PWRAP_SPI0_CK2"),
48 MTK_EINT_FUNCTION(0, 153),
49 MTK_FUNCTION(0, "GPIO5"),
50 MTK_FUNCTION(1, "PWRAP_SPICK2_I"),
51 MTK_FUNCTION(5, "ANT_SEL1")
53 MTK_PIN(PINCTRL_PIN(6, "PWRAP_SPI0_CSN2"),
55 MTK_EINT_FUNCTION(0, 154),
56 MTK_FUNCTION(0, "GPIO6"),
57 MTK_FUNCTION(1, "PWRAP_SPICS2_B_I"),
58 MTK_FUNCTION(5, "ANT_SEL0"),
59 MTK_FUNCTION(7, "DBG_MON_A[0]")
61 MTK_PIN(PINCTRL_PIN(7, "SPI1_CSN"),
63 MTK_EINT_FUNCTION(0, 155),
64 MTK_FUNCTION(0, "GPIO7"),
65 MTK_FUNCTION(1, "SPI1_CS"),
66 MTK_FUNCTION(4, "KCOL0"),
67 MTK_FUNCTION(7, "DBG_MON_B[12]")
69 MTK_PIN(PINCTRL_PIN(8, "SPI1_MI"),
71 MTK_EINT_FUNCTION(0, 156),
72 MTK_FUNCTION(0, "GPIO8"),
73 MTK_FUNCTION(1, "SPI1_MI"),
74 MTK_FUNCTION(2, "SPI1_MO"),
75 MTK_FUNCTION(4, "KCOL1"),
76 MTK_FUNCTION(7, "DBG_MON_B[13]")
78 MTK_PIN(PINCTRL_PIN(9, "SPI1_MO"),
80 MTK_EINT_FUNCTION(0, 157),
81 MTK_FUNCTION(0, "GPIO9"),
82 MTK_FUNCTION(1, "SPI1_MO"),
83 MTK_FUNCTION(2, "SPI1_MI"),
84 MTK_FUNCTION(3, "EXT_FRAME_SYNC"),
85 MTK_FUNCTION(4, "KCOL2"),
86 MTK_FUNCTION(7, "DBG_MON_B[14]")
88 MTK_PIN(PINCTRL_PIN(10, "RTC32K_CK"),
90 MTK_EINT_FUNCTION(0, 158),
91 MTK_FUNCTION(0, "GPIO10"),
92 MTK_FUNCTION(1, "RTC32K_CK")
94 MTK_PIN(PINCTRL_PIN(11, "WATCHDOG"),
96 MTK_EINT_FUNCTION(0, 159),
97 MTK_FUNCTION(0, "GPIO11"),
98 MTK_FUNCTION(1, "WATCHDOG")
100 MTK_PIN(PINCTRL_PIN(12, "SRCLKENA"),
102 MTK_EINT_FUNCTION(0, 160),
103 MTK_FUNCTION(0, "GPIO12"),
104 MTK_FUNCTION(1, "SRCLKENA")
106 MTK_PIN(PINCTRL_PIN(13, "SRCLKENAI"),
108 MTK_EINT_FUNCTION(0, 161),
109 MTK_FUNCTION(0, "GPIO13"),
110 MTK_FUNCTION(1, "SRCLKENAI")
112 MTK_PIN(PINCTRL_PIN(14, "URXD2"),
114 MTK_EINT_FUNCTION(0, 162),
115 MTK_FUNCTION(0, "GPIO14"),
116 MTK_FUNCTION(1, "URXD2"),
117 MTK_FUNCTION(2, "UTXD2"),
118 MTK_FUNCTION(5, "SRCCLKENAI2"),
119 MTK_FUNCTION(7, "DBG_MON_B[30]")
121 MTK_PIN(PINCTRL_PIN(15, "UTXD2"),
123 MTK_EINT_FUNCTION(0, 163),
124 MTK_FUNCTION(0, "GPIO15"),
125 MTK_FUNCTION(1, "UTXD2"),
126 MTK_FUNCTION(2, "URXD2"),
127 MTK_FUNCTION(7, "DBG_MON_B[31]")
129 MTK_PIN(PINCTRL_PIN(16, "I2S5_DATA_IN"),
131 MTK_EINT_FUNCTION(0, 164),
132 MTK_FUNCTION(0, "GPIO16"),
133 MTK_FUNCTION(1, "I2S5_DATA_IN"),
134 MTK_FUNCTION(3, "PCM_RX"),
135 MTK_FUNCTION(4, "ANT_SEL4")
137 MTK_PIN(PINCTRL_PIN(17, "I2S5_BCK"),
139 MTK_EINT_FUNCTION(0, 165),
140 MTK_FUNCTION(0, "GPIO17"),
141 MTK_FUNCTION(1, "I2S5_BCK"),
142 MTK_FUNCTION(3, "PCM_CLK0"),
143 MTK_FUNCTION(4, "ANT_SEL2")
145 MTK_PIN(PINCTRL_PIN(18, "PCM_CLK"),
147 MTK_EINT_FUNCTION(0, 166),
148 MTK_FUNCTION(0, "GPIO18"),
149 MTK_FUNCTION(1, "PCM_CLK0"),
150 MTK_FUNCTION(2, "MRG_CLK"),
151 MTK_FUNCTION(4, "MM_TEST_CK"),
152 MTK_FUNCTION(5, "CONN_DSP_JCK"),
153 MTK_FUNCTION(6, "WCN_PCM_CLKO"),
154 MTK_FUNCTION(7, "DBG_MON_A[3]")
156 MTK_PIN(PINCTRL_PIN(19, "PCM_SYNC"),
158 MTK_EINT_FUNCTION(0, 167),
159 MTK_FUNCTION(0, "GPIO19"),
160 MTK_FUNCTION(1, "PCM_SYNC"),
161 MTK_FUNCTION(2, "MRG_SYNC"),
162 MTK_FUNCTION(5, "CONN_DSP_JINTP"),
163 MTK_FUNCTION(6, "WCN_PCM_SYNC"),
164 MTK_FUNCTION(7, "DBG_MON_A[5]")
166 MTK_PIN(PINCTRL_PIN(20, "PCM_RX"),
168 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
169 MTK_FUNCTION(0, "GPIO20"),
170 MTK_FUNCTION(1, "PCM_RX"),
171 MTK_FUNCTION(2, "MRG_RX"),
172 MTK_FUNCTION(3, "MRG_TX"),
173 MTK_FUNCTION(4, "PCM_TX"),
174 MTK_FUNCTION(5, "CONN_DSP_JDI"),
175 MTK_FUNCTION(6, "WCN_PCM_RX"),
176 MTK_FUNCTION(7, "DBG_MON_A[4]")
178 MTK_PIN(PINCTRL_PIN(21, "PCM_TX"),
180 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
181 MTK_FUNCTION(0, "GPIO21"),
182 MTK_FUNCTION(1, "PCM_TX"),
183 MTK_FUNCTION(2, "MRG_TX"),
184 MTK_FUNCTION(3, "MRG_RX"),
185 MTK_FUNCTION(4, "PCM_RX"),
186 MTK_FUNCTION(5, "CONN_DSP_JMS"),
187 MTK_FUNCTION(6, "WCN_PCM_TX"),
188 MTK_FUNCTION(7, "DBG_MON_A[2]")
190 MTK_PIN(PINCTRL_PIN(22, "EINT0"),
192 MTK_EINT_FUNCTION(0, 0),
193 MTK_FUNCTION(0, "GPIO22"),
194 MTK_FUNCTION(1, "UCTS0"),
195 /* MT7623 take function 2 as PCIE0_PERST_N */
196 MTK_FUNCTION(2, "PCIE0_PERST_N"),
197 MTK_FUNCTION(3, "KCOL3"),
198 MTK_FUNCTION(4, "CONN_DSP_JDO"),
199 MTK_FUNCTION(5, "EXT_FRAME_SYNC"),
200 MTK_FUNCTION(7, "DBG_MON_A[30]"),
201 MTK_FUNCTION(10, "PCIE0_PERST_N")
203 MTK_PIN(PINCTRL_PIN(23, "EINT1"),
205 MTK_EINT_FUNCTION(0, 1),
206 MTK_FUNCTION(0, "GPIO23"),
207 MTK_FUNCTION(1, "URTS0"),
208 /* MT7623 take function 2 as PCIE1_PERST_N */
209 MTK_FUNCTION(2, "PCIE1_PERST_N"),
210 MTK_FUNCTION(3, "KCOL2"),
211 MTK_FUNCTION(4, "CONN_MCU_TDO"),
212 MTK_FUNCTION(5, "EXT_FRAME_SYNC"),
213 MTK_FUNCTION(7, "DBG_MON_A[29]"),
214 MTK_FUNCTION(10, "PCIE1_PERST_N")
216 MTK_PIN(PINCTRL_PIN(24, "EINT2"),
218 MTK_EINT_FUNCTION(0, 2),
219 MTK_FUNCTION(0, "GPIO24"),
220 MTK_FUNCTION(1, "UCTS1"),
221 /* MT7623 take function 2 as PCIE2_PERST_N */
222 MTK_FUNCTION(2, "PCIE2_PERST_N"),
223 MTK_FUNCTION(3, "KCOL1"),
224 MTK_FUNCTION(4, "CONN_MCU_DBGACK_N"),
225 MTK_FUNCTION(7, "DBG_MON_A[28]"),
226 MTK_FUNCTION(10, "PCIE2_PERST_N")
228 MTK_PIN(PINCTRL_PIN(25, "EINT3"),
230 MTK_EINT_FUNCTION(0, 3),
231 MTK_FUNCTION(0, "GPIO25"),
232 MTK_FUNCTION(1, "URTS1"),
233 MTK_FUNCTION(3, "KCOL0"),
234 MTK_FUNCTION(4, "CONN_MCU_DBGI_N"),
235 MTK_FUNCTION(7, "DBG_MON_A[27]")
237 MTK_PIN(PINCTRL_PIN(26, "EINT4"),
239 MTK_EINT_FUNCTION(0, 4),
240 MTK_FUNCTION(0, "GPIO26"),
241 MTK_FUNCTION(1, "UCTS3"),
242 MTK_FUNCTION(2, "DRV_VBUS_P1"),
243 MTK_FUNCTION(3, "KROW3"),
244 MTK_FUNCTION(4, "CONN_MCU_TCK0"),
245 MTK_FUNCTION(5, "CONN_MCU_AICE_JCKC"),
246 MTK_FUNCTION(6, "PCIE2_WAKE_N"),
247 MTK_FUNCTION(7, "DBG_MON_A[26]")
249 MTK_PIN(PINCTRL_PIN(27, "EINT5"),
251 MTK_EINT_FUNCTION(0, 5),
252 MTK_FUNCTION(0, "GPIO27"),
253 MTK_FUNCTION(1, "URTS3"),
254 MTK_FUNCTION(2, "IDDIG_P1"),
255 MTK_FUNCTION(3, "KROW2"),
256 MTK_FUNCTION(4, "CONN_MCU_TDI"),
257 MTK_FUNCTION(6, "PCIE1_WAKE_N"),
258 MTK_FUNCTION(7, "DBG_MON_A[25]")
260 MTK_PIN(PINCTRL_PIN(28, "EINT6"),
262 MTK_EINT_FUNCTION(0, 6),
263 MTK_FUNCTION(0, "GPIO28"),
264 MTK_FUNCTION(1, "DRV_VBUS"),
265 MTK_FUNCTION(3, "KROW1"),
266 MTK_FUNCTION(4, "CONN_MCU_TRST_B"),
267 MTK_FUNCTION(6, "PCIE0_WAKE_N"),
268 MTK_FUNCTION(7, "DBG_MON_A[24]")
270 MTK_PIN(PINCTRL_PIN(29, "EINT7"),
272 MTK_EINT_FUNCTION(0, 7),
273 MTK_FUNCTION(0, "GPIO29"),
274 MTK_FUNCTION(1, "IDDIG"),
275 MTK_FUNCTION(2, "MSDC1_WP"),
276 MTK_FUNCTION(3, "KROW0"),
277 MTK_FUNCTION(4, "CONN_MCU_TMS"),
278 MTK_FUNCTION(5, "CONN_MCU_AICE_JMSC"),
279 /* MT7623 take function 6 as PCIE2_PERST_N */
280 MTK_FUNCTION(6, "PCIE2_PERST_N"),
281 MTK_FUNCTION(7, "DBG_MON_A[23]"),
282 MTK_FUNCTION(14, "PCIE2_PERST_N")
284 MTK_PIN(PINCTRL_PIN(30, "I2S5_LRCK"),
286 MTK_EINT_FUNCTION(0, 12),
287 MTK_FUNCTION(0, "GPIO30"),
288 MTK_FUNCTION(1, "I2S5_LRCK"),
289 MTK_FUNCTION(3, "PCM_SYNC"),
290 MTK_FUNCTION(4, "ANT_SEL1")
292 MTK_PIN(PINCTRL_PIN(31, "I2S5_MCLK"),
294 MTK_EINT_FUNCTION(0, 13),
295 MTK_FUNCTION(0, "GPIO31"),
296 MTK_FUNCTION(1, "I2S5_MCLK"),
297 MTK_FUNCTION(4, "ANT_SEL0")
299 MTK_PIN(PINCTRL_PIN(32, "I2S5_DATA"),
301 MTK_EINT_FUNCTION(0, 14),
302 MTK_FUNCTION(0, "GPIO32"),
303 MTK_FUNCTION(1, "I2S5_DATA"),
304 MTK_FUNCTION(2, "I2S5_DATA_BYPS"),
305 MTK_FUNCTION(3, "PCM_TX"),
306 MTK_FUNCTION(4, "ANT_SEL3")
308 MTK_PIN(PINCTRL_PIN(33, "I2S1_DATA"),
310 MTK_EINT_FUNCTION(0, 15),
311 MTK_FUNCTION(0, "GPIO33"),
312 MTK_FUNCTION(1, "I2S1_DATA"),
313 MTK_FUNCTION(2, "I2S1_DATA_BYPS"),
314 MTK_FUNCTION(3, "PCM_TX"),
315 MTK_FUNCTION(4, "IMG_TEST_CK"),
316 MTK_FUNCTION(5, "G1_RXD0"),
317 MTK_FUNCTION(6, "WCN_PCM_TX"),
318 MTK_FUNCTION(7, "DBG_MON_B[8]")
320 MTK_PIN(PINCTRL_PIN(34, "I2S1_DATA_IN"),
322 MTK_EINT_FUNCTION(0, 16),
323 MTK_FUNCTION(0, "GPIO34"),
324 MTK_FUNCTION(1, "I2S1_DATA_IN"),
325 MTK_FUNCTION(3, "PCM_RX"),
326 MTK_FUNCTION(4, "VDEC_TEST_CK"),
327 MTK_FUNCTION(5, "G1_RXD1"),
328 MTK_FUNCTION(6, "WCN_PCM_RX"),
329 MTK_FUNCTION(7, "DBG_MON_B[7]")
331 MTK_PIN(PINCTRL_PIN(35, "I2S1_BCK"),
333 MTK_EINT_FUNCTION(0, 17),
334 MTK_FUNCTION(0, "GPIO35"),
335 MTK_FUNCTION(1, "I2S1_BCK"),
336 MTK_FUNCTION(3, "PCM_CLK0"),
337 MTK_FUNCTION(5, "G1_RXD2"),
338 MTK_FUNCTION(6, "WCN_PCM_CLKO"),
339 MTK_FUNCTION(7, "DBG_MON_B[9]")
341 MTK_PIN(PINCTRL_PIN(36, "I2S1_LRCK"),
343 MTK_EINT_FUNCTION(0, 18),
344 MTK_FUNCTION(0, "GPIO36"),
345 MTK_FUNCTION(1, "I2S1_LRCK"),
346 MTK_FUNCTION(3, "PCM_SYNC"),
347 MTK_FUNCTION(5, "G1_RXD3"),
348 MTK_FUNCTION(6, "WCN_PCM_SYNC"),
349 MTK_FUNCTION(7, "DBG_MON_B[10]")
351 MTK_PIN(PINCTRL_PIN(37, "I2S1_MCLK"),
353 MTK_EINT_FUNCTION(0, 19),
354 MTK_FUNCTION(0, "GPIO37"),
355 MTK_FUNCTION(1, "I2S1_MCLK"),
356 MTK_FUNCTION(5, "G1_RXDV"),
357 MTK_FUNCTION(7, "DBG_MON_B[11]")
359 MTK_PIN(PINCTRL_PIN(38, "I2S2_DATA"),
361 MTK_EINT_FUNCTION(0, 20),
362 MTK_FUNCTION(0, "GPIO38"),
363 MTK_FUNCTION(2, "I2S2_DATA_BYPS"),
364 MTK_FUNCTION(3, "PCM_TX"),
365 MTK_FUNCTION(4, "DMIC_DAT0")
367 MTK_PIN(PINCTRL_PIN(39, "JTMS"),
369 MTK_EINT_FUNCTION(0, 21),
370 MTK_FUNCTION(0, "GPIO39"),
371 MTK_FUNCTION(1, "JTMS"),
372 MTK_FUNCTION(2, "CONN_MCU_TMS"),
373 MTK_FUNCTION(3, "CONN_MCU_AICE_JMSC"),
374 MTK_FUNCTION(4, "DFD_TMS_XI")
376 MTK_PIN(PINCTRL_PIN(40, "JTCK"),
378 MTK_EINT_FUNCTION(0, 22),
379 MTK_FUNCTION(0, "GPIO40"),
380 MTK_FUNCTION(1, "JTCK"),
381 MTK_FUNCTION(2, "CONN_MCU_TCK1"),
382 MTK_FUNCTION(3, "CONN_MCU_AICE_JCKC"),
383 MTK_FUNCTION(4, "DFD_TCK_XI")
385 MTK_PIN(PINCTRL_PIN(41, "JTDI"),
387 MTK_EINT_FUNCTION(0, 23),
388 MTK_FUNCTION(0, "GPIO41"),
389 MTK_FUNCTION(1, "JTDI"),
390 MTK_FUNCTION(2, "CONN_MCU_TDI"),
391 MTK_FUNCTION(4, "DFD_TDI_XI")
393 MTK_PIN(PINCTRL_PIN(42, "JTDO"),
395 MTK_EINT_FUNCTION(0, 24),
396 MTK_FUNCTION(0, "GPIO42"),
397 MTK_FUNCTION(1, "JTDO"),
398 MTK_FUNCTION(2, "CONN_MCU_TDO"),
399 MTK_FUNCTION(4, "DFD_TDO")
401 MTK_PIN(PINCTRL_PIN(43, "NCLE"),
403 MTK_EINT_FUNCTION(0, 25),
404 MTK_FUNCTION(0, "GPIO43"),
405 MTK_FUNCTION(1, "NCLE"),
406 MTK_FUNCTION(2, "EXT_XCS2")
408 MTK_PIN(PINCTRL_PIN(44, "NCEB1"),
410 MTK_EINT_FUNCTION(0, 26),
411 MTK_FUNCTION(0, "GPIO44"),
412 MTK_FUNCTION(1, "NCEB1"),
413 MTK_FUNCTION(2, "IDDIG")
415 MTK_PIN(PINCTRL_PIN(45, "NCEB0"),
417 MTK_EINT_FUNCTION(0, 27),
418 MTK_FUNCTION(0, "GPIO45"),
419 MTK_FUNCTION(1, "NCEB0"),
420 MTK_FUNCTION(2, "DRV_VBUS")
422 MTK_PIN(PINCTRL_PIN(46, "IR"),
424 MTK_EINT_FUNCTION(0, 28),
425 MTK_FUNCTION(0, "GPIO46"),
426 MTK_FUNCTION(1, "IR")
428 MTK_PIN(PINCTRL_PIN(47, "NREB"),
430 MTK_EINT_FUNCTION(0, 29),
431 MTK_FUNCTION(0, "GPIO47"),
432 MTK_FUNCTION(1, "NREB"),
433 MTK_FUNCTION(2, "IDDIG_P1")
435 MTK_PIN(PINCTRL_PIN(48, "NRNB"),
437 MTK_EINT_FUNCTION(0, 30),
438 MTK_FUNCTION(0, "GPIO48"),
439 MTK_FUNCTION(1, "NRNB"),
440 MTK_FUNCTION(2, "DRV_VBUS_P1")
442 MTK_PIN(PINCTRL_PIN(49, "I2S0_DATA"),
444 MTK_EINT_FUNCTION(0, 31),
445 MTK_FUNCTION(0, "GPIO49"),
446 MTK_FUNCTION(1, "I2S0_DATA"),
447 MTK_FUNCTION(2, "I2S0_DATA_BYPS"),
448 MTK_FUNCTION(3, "PCM_TX"),
449 MTK_FUNCTION(6, "WCN_I2S_DO"),
450 MTK_FUNCTION(7, "DBG_MON_B[3]")
452 MTK_PIN(PINCTRL_PIN(50, "I2S2_BCK"),
454 MTK_EINT_FUNCTION(0, 32),
455 MTK_FUNCTION(0, "GPIO50"),
456 MTK_FUNCTION(1, "I2S2_BCK"),
457 MTK_FUNCTION(3, "PCM_CLK0"),
458 MTK_FUNCTION(4, "DMIC_SCK1")
460 MTK_PIN(PINCTRL_PIN(51, "I2S2_DATA_IN"),
462 MTK_EINT_FUNCTION(0, 33),
463 MTK_FUNCTION(0, "GPIO51"),
464 MTK_FUNCTION(1, "I2S2_DATA_IN"),
465 MTK_FUNCTION(3, "PCM_RX"),
466 MTK_FUNCTION(4, "DMIC_SCK0")
468 MTK_PIN(PINCTRL_PIN(52, "I2S2_LRCK"),
470 MTK_EINT_FUNCTION(0, 34),
471 MTK_FUNCTION(0, "GPIO52"),
472 MTK_FUNCTION(1, "I2S2_LRCK"),
473 MTK_FUNCTION(3, "PCM_SYNC"),
474 MTK_FUNCTION(4, "DMIC_DAT1")
476 MTK_PIN(PINCTRL_PIN(53, "SPI0_CSN"),
478 MTK_EINT_FUNCTION(0, 35),
479 MTK_FUNCTION(0, "GPIO53"),
480 MTK_FUNCTION(1, "SPI0_CS"),
481 MTK_FUNCTION(3, "SPDIF"),
482 MTK_FUNCTION(4, "ADC_CK"),
483 MTK_FUNCTION(5, "PWM1"),
484 MTK_FUNCTION(7, "DBG_MON_A[7]")
486 MTK_PIN(PINCTRL_PIN(54, "SPI0_CK"),
488 MTK_EINT_FUNCTION(0, 36),
489 MTK_FUNCTION(0, "GPIO54"),
490 MTK_FUNCTION(1, "SPI0_CK"),
491 MTK_FUNCTION(3, "SPDIF_IN1"),
492 MTK_FUNCTION(4, "ADC_DAT_IN"),
493 MTK_FUNCTION(7, "DBG_MON_A[10]")
495 MTK_PIN(PINCTRL_PIN(55, "SPI0_MI"),
497 MTK_EINT_FUNCTION(0, 37),
498 MTK_FUNCTION(0, "GPIO55"),
499 MTK_FUNCTION(1, "SPI0_MI"),
500 MTK_FUNCTION(2, "SPI0_MO"),
501 MTK_FUNCTION(3, "MSDC1_WP"),
502 MTK_FUNCTION(4, "ADC_WS"),
503 MTK_FUNCTION(5, "PWM2"),
504 MTK_FUNCTION(7, "DBG_MON_A[8]")
506 MTK_PIN(PINCTRL_PIN(56, "SPI0_MO"),
508 MTK_EINT_FUNCTION(0, 38),
509 MTK_FUNCTION(0, "GPIO56"),
510 MTK_FUNCTION(1, "SPI0_MO"),
511 MTK_FUNCTION(2, "SPI0_MI"),
512 MTK_FUNCTION(3, "SPDIF_IN0"),
513 MTK_FUNCTION(7, "DBG_MON_A[9]")
515 MTK_PIN(PINCTRL_PIN(57, "SDA1"),
517 MTK_EINT_FUNCTION(0, 39),
518 MTK_FUNCTION(0, "GPIO57"),
519 MTK_FUNCTION(1, "SDA1")
521 MTK_PIN(PINCTRL_PIN(58, "SCL1"),
523 MTK_EINT_FUNCTION(0, 40),
524 MTK_FUNCTION(0, "GPIO58"),
525 MTK_FUNCTION(1, "SCL1")
527 MTK_PIN(PINCTRL_PIN(59, "RAMBUF_I_CLK"),
529 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
530 MTK_FUNCTION(0, "GPIO59"),
531 MTK_FUNCTION(1, "RAMBUF_I_CLK")
533 MTK_PIN(PINCTRL_PIN(60, "WB_RSTB"),
535 MTK_EINT_FUNCTION(0, 41),
536 MTK_FUNCTION(0, "GPIO60"),
537 MTK_FUNCTION(1, "WB_RSTB"),
538 MTK_FUNCTION(7, "DBG_MON_A[11]")
540 MTK_PIN(PINCTRL_PIN(61, "F2W_DATA"),
542 MTK_EINT_FUNCTION(0, 42),
543 MTK_FUNCTION(0, "GPIO61"),
544 MTK_FUNCTION(1, "F2W_DATA"),
545 MTK_FUNCTION(7, "DBG_MON_A[16]")
547 MTK_PIN(PINCTRL_PIN(62, "F2W_CLK"),
549 MTK_EINT_FUNCTION(0, 43),
550 MTK_FUNCTION(0, "GPIO62"),
551 MTK_FUNCTION(1, "F2W_CK"),
552 MTK_FUNCTION(7, "DBG_MON_A[15]")
554 MTK_PIN(PINCTRL_PIN(63, "WB_SCLK"),
556 MTK_EINT_FUNCTION(0, 44),
557 MTK_FUNCTION(0, "GPIO63"),
558 MTK_FUNCTION(1, "WB_SCLK"),
559 MTK_FUNCTION(7, "DBG_MON_A[13]")
561 MTK_PIN(PINCTRL_PIN(64, "WB_SDATA"),
563 MTK_EINT_FUNCTION(0, 45),
564 MTK_FUNCTION(0, "GPIO64"),
565 MTK_FUNCTION(1, "WB_SDATA"),
566 MTK_FUNCTION(7, "DBG_MON_A[12]")
568 MTK_PIN(PINCTRL_PIN(65, "WB_SEN"),
570 MTK_EINT_FUNCTION(0, 46),
571 MTK_FUNCTION(0, "GPIO65"),
572 MTK_FUNCTION(1, "WB_SEN"),
573 MTK_FUNCTION(7, "DBG_MON_A[14]")
575 MTK_PIN(PINCTRL_PIN(66, "WB_CRTL0"),
577 MTK_EINT_FUNCTION(0, 47),
578 MTK_FUNCTION(0, "GPIO66"),
579 MTK_FUNCTION(1, "WB_CRTL0"),
580 MTK_FUNCTION(5, "DFD_NTRST_XI"),
581 MTK_FUNCTION(7, "DBG_MON_A[17]")
583 MTK_PIN(PINCTRL_PIN(67, "WB_CRTL1"),
585 MTK_EINT_FUNCTION(0, 48),
586 MTK_FUNCTION(0, "GPIO67"),
587 MTK_FUNCTION(1, "WB_CRTL1"),
588 MTK_FUNCTION(5, "DFD_TMS_XI"),
589 MTK_FUNCTION(7, "DBG_MON_A[18]")
591 MTK_PIN(PINCTRL_PIN(68, "WB_CRTL2"),
593 MTK_EINT_FUNCTION(0, 49),
594 MTK_FUNCTION(0, "GPIO68"),
595 MTK_FUNCTION(1, "WB_CRTL2"),
596 MTK_FUNCTION(5, "DFD_TCK_XI"),
597 MTK_FUNCTION(7, "DBG_MON_A[19]")
599 MTK_PIN(PINCTRL_PIN(69, "WB_CRTL3"),
601 MTK_EINT_FUNCTION(0, 50),
602 MTK_FUNCTION(0, "GPIO69"),
603 MTK_FUNCTION(1, "WB_CRTL3"),
604 MTK_FUNCTION(5, "DFD_TDI_XI"),
605 MTK_FUNCTION(7, "DBG_MON_A[20]")
607 MTK_PIN(PINCTRL_PIN(70, "WB_CRTL4"),
609 MTK_EINT_FUNCTION(0, 51),
610 MTK_FUNCTION(0, "GPIO70"),
611 MTK_FUNCTION(1, "WB_CRTL4"),
612 MTK_FUNCTION(5, "DFD_TDO"),
613 MTK_FUNCTION(7, "DBG_MON_A[21]")
615 MTK_PIN(PINCTRL_PIN(71, "WB_CRTL5"),
617 MTK_EINT_FUNCTION(0, 52),
618 MTK_FUNCTION(0, "GPIO71"),
619 MTK_FUNCTION(1, "WB_CRTL5"),
620 MTK_FUNCTION(7, "DBG_MON_A[22]")
622 MTK_PIN(PINCTRL_PIN(72, "I2S0_DATA_IN"),
624 MTK_EINT_FUNCTION(0, 53),
625 MTK_FUNCTION(0, "GPIO72"),
626 MTK_FUNCTION(1, "I2S0_DATA_IN"),
627 MTK_FUNCTION(3, "PCM_RX"),
628 MTK_FUNCTION(4, "PWM0"),
629 MTK_FUNCTION(5, "DISP_PWM"),
630 MTK_FUNCTION(6, "WCN_I2S_DI"),
631 MTK_FUNCTION(7, "DBG_MON_B[2]")
633 MTK_PIN(PINCTRL_PIN(73, "I2S0_LRCK"),
635 MTK_EINT_FUNCTION(0, 54),
636 MTK_FUNCTION(0, "GPIO73"),
637 MTK_FUNCTION(1, "I2S0_LRCK"),
638 MTK_FUNCTION(3, "PCM_SYNC"),
639 MTK_FUNCTION(6, "WCN_I2S_LRCK"),
640 MTK_FUNCTION(7, "DBG_MON_B[5]")
642 MTK_PIN(PINCTRL_PIN(74, "I2S0_BCK"),
644 MTK_EINT_FUNCTION(0, 55),
645 MTK_FUNCTION(0, "GPIO74"),
646 MTK_FUNCTION(1, "I2S0_BCK"),
647 MTK_FUNCTION(3, "PCM_CLK0"),
648 MTK_FUNCTION(6, "WCN_I2S_BCK"),
649 MTK_FUNCTION(7, "DBG_MON_B[4]")
651 MTK_PIN(PINCTRL_PIN(75, "SDA0"),
653 MTK_EINT_FUNCTION(0, 56),
654 MTK_FUNCTION(0, "GPIO75"),
655 MTK_FUNCTION(1, "SDA0")
657 MTK_PIN(PINCTRL_PIN(76, "SCL0"),
659 MTK_EINT_FUNCTION(0, 57),
660 MTK_FUNCTION(0, "GPIO76"),
661 MTK_FUNCTION(1, "SCL0")
663 MTK_PIN(PINCTRL_PIN(77, "SDA2"),
665 MTK_EINT_FUNCTION(0, 58),
666 MTK_FUNCTION(0, "GPIO77"),
667 MTK_FUNCTION(1, "SDA2")
669 MTK_PIN(PINCTRL_PIN(78, "SCL2"),
671 MTK_EINT_FUNCTION(0, 59),
672 MTK_FUNCTION(0, "GPIO78"),
673 MTK_FUNCTION(1, "SCL2")
675 MTK_PIN(PINCTRL_PIN(79, "URXD0"),
677 MTK_EINT_FUNCTION(0, 60),
678 MTK_FUNCTION(0, "GPIO79"),
679 MTK_FUNCTION(1, "URXD0"),
680 MTK_FUNCTION(2, "UTXD0")
682 MTK_PIN(PINCTRL_PIN(80, "UTXD0"),
684 MTK_EINT_FUNCTION(0, 61),
685 MTK_FUNCTION(0, "GPIO80"),
686 MTK_FUNCTION(1, "UTXD0"),
687 MTK_FUNCTION(2, "URXD0")
689 MTK_PIN(PINCTRL_PIN(81, "URXD1"),
691 MTK_EINT_FUNCTION(0, 62),
692 MTK_FUNCTION(0, "GPIO81"),
693 MTK_FUNCTION(1, "URXD1"),
694 MTK_FUNCTION(2, "UTXD1")
696 MTK_PIN(PINCTRL_PIN(82, "UTXD1"),
698 MTK_EINT_FUNCTION(0, 63),
699 MTK_FUNCTION(0, "GPIO82"),
700 MTK_FUNCTION(1, "UTXD1"),
701 MTK_FUNCTION(2, "URXD1")
703 MTK_PIN(PINCTRL_PIN(83, "LCM_RST"),
705 MTK_EINT_FUNCTION(0, 64),
706 MTK_FUNCTION(0, "GPIO83"),
707 MTK_FUNCTION(1, "LCM_RST"),
708 MTK_FUNCTION(2, "VDAC_CK_XI"),
709 MTK_FUNCTION(7, "DBG_MON_B[1]")
711 MTK_PIN(PINCTRL_PIN(84, "DSI_TE"),
713 MTK_EINT_FUNCTION(0, 65),
714 MTK_FUNCTION(0, "GPIO84"),
715 MTK_FUNCTION(1, "DSI_TE"),
716 MTK_FUNCTION(7, "DBG_MON_B[0]")
718 MTK_PIN(PINCTRL_PIN(85, "MSDC2_CMD"),
720 MTK_EINT_FUNCTION(0, 66),
721 MTK_FUNCTION(0, "GPIO85"),
722 MTK_FUNCTION(1, "MSDC2_CMD"),
723 MTK_FUNCTION(2, "ANT_SEL0"),
724 MTK_FUNCTION(3, "SDA1"),
725 MTK_FUNCTION(6, "I2SOUT_BCK")
727 MTK_PIN(PINCTRL_PIN(86, "MSDC2_CLK"),
729 MTK_EINT_FUNCTION(0, 67),
730 MTK_FUNCTION(0, "GPIO86"),
731 MTK_FUNCTION(1, "MSDC2_CLK"),
732 MTK_FUNCTION(2, "ANT_SEL1"),
733 MTK_FUNCTION(3, "SCL1"),
734 MTK_FUNCTION(6, "I2SOUT_LRCK")
736 MTK_PIN(PINCTRL_PIN(87, "MSDC2_DAT0"),
738 MTK_EINT_FUNCTION(0, 68),
739 MTK_FUNCTION(0, "GPIO87"),
740 MTK_FUNCTION(1, "MSDC2_DAT0"),
741 MTK_FUNCTION(2, "ANT_SEL2"),
742 MTK_FUNCTION(5, "UTXD0"),
743 MTK_FUNCTION(6, "I2SOUT_DATA_OUT")
745 MTK_PIN(PINCTRL_PIN(88, "MSDC2_DAT1"),
747 MTK_EINT_FUNCTION(0, 71),
748 MTK_FUNCTION(0, "GPIO88"),
749 MTK_FUNCTION(1, "MSDC2_DAT1"),
750 MTK_FUNCTION(2, "ANT_SEL3"),
751 MTK_FUNCTION(3, "PWM0"),
752 MTK_FUNCTION(5, "URXD0"),
753 MTK_FUNCTION(6, "PWM1")
755 MTK_PIN(PINCTRL_PIN(89, "MSDC2_DAT2"),
757 MTK_EINT_FUNCTION(0, 72),
758 MTK_FUNCTION(0, "GPIO89"),
759 MTK_FUNCTION(1, "MSDC2_DAT2"),
760 MTK_FUNCTION(2, "ANT_SEL4"),
761 MTK_FUNCTION(3, "SDA2"),
762 MTK_FUNCTION(5, "UTXD1"),
763 MTK_FUNCTION(6, "PWM2")
765 MTK_PIN(PINCTRL_PIN(90, "MSDC2_DAT3"),
767 MTK_EINT_FUNCTION(0, 73),
768 MTK_FUNCTION(0, "GPIO90"),
769 MTK_FUNCTION(1, "MSDC2_DAT3"),
770 MTK_FUNCTION(2, "ANT_SEL5"),
771 MTK_FUNCTION(3, "SCL2"),
772 MTK_FUNCTION(4, "EXT_FRAME_SYNC"),
773 MTK_FUNCTION(5, "URXD1"),
774 MTK_FUNCTION(6, "PWM3")
776 MTK_PIN(PINCTRL_PIN(91, "TDN3"),
778 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
779 MTK_FUNCTION(0, "GPI91"),
780 MTK_FUNCTION(1, "TDN3")
782 MTK_PIN(PINCTRL_PIN(92, "TDP3"),
784 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
785 MTK_FUNCTION(0, "GPI92"),
786 MTK_FUNCTION(1, "TDP3")
788 MTK_PIN(PINCTRL_PIN(93, "TDN2"),
790 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
791 MTK_FUNCTION(0, "GPI93"),
792 MTK_FUNCTION(1, "TDN2")
794 MTK_PIN(PINCTRL_PIN(94, "TDP2"),
796 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
797 MTK_FUNCTION(0, "GPI94"),
798 MTK_FUNCTION(1, "TDP2")
800 MTK_PIN(PINCTRL_PIN(95, "TCN"),
802 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
803 MTK_FUNCTION(0, "GPI95"),
804 MTK_FUNCTION(1, "TCN")
806 MTK_PIN(PINCTRL_PIN(96, "TCP"),
808 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
809 MTK_FUNCTION(0, "GPI96"),
810 MTK_FUNCTION(1, "TCP")
812 MTK_PIN(PINCTRL_PIN(97, "TDN1"),
814 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
815 MTK_FUNCTION(0, "GPI97"),
816 MTK_FUNCTION(1, "TDN1")
818 MTK_PIN(PINCTRL_PIN(98, "TDP1"),
820 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
821 MTK_FUNCTION(0, "GPI98"),
822 MTK_FUNCTION(1, "TDP1")
824 MTK_PIN(PINCTRL_PIN(99, "TDN0"),
826 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
827 MTK_FUNCTION(0, "GPI99"),
828 MTK_FUNCTION(1, "TDN0")
830 MTK_PIN(PINCTRL_PIN(100, "TDP0"),
832 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
833 MTK_FUNCTION(0, "GPI100"),
834 MTK_FUNCTION(1, "TDP0")
836 MTK_PIN(PINCTRL_PIN(101, "SPI2_CSN"),
838 MTK_EINT_FUNCTION(0, 74),
839 MTK_FUNCTION(0, "GPIO101"),
840 MTK_FUNCTION(1, "SPI2_CS"),
841 MTK_FUNCTION(3, "SCL3"),
842 MTK_FUNCTION(4, "KROW0")
844 MTK_PIN(PINCTRL_PIN(102, "SPI2_MI"),
846 MTK_EINT_FUNCTION(0, 75),
847 MTK_FUNCTION(0, "GPIO102"),
848 MTK_FUNCTION(1, "SPI2_MI"),
849 MTK_FUNCTION(2, "SPI2_MO"),
850 MTK_FUNCTION(3, "SDA3"),
851 MTK_FUNCTION(4, "KROW1")
853 MTK_PIN(PINCTRL_PIN(103, "SPI2_MO"),
855 MTK_EINT_FUNCTION(0, 76),
856 MTK_FUNCTION(0, "GPIO103"),
857 MTK_FUNCTION(1, "SPI2_MO"),
858 MTK_FUNCTION(2, "SPI2_MI"),
859 MTK_FUNCTION(3, "SCL3"),
860 MTK_FUNCTION(4, "KROW2")
862 MTK_PIN(PINCTRL_PIN(104, "SPI2_CLK"),
864 MTK_EINT_FUNCTION(0, 77),
865 MTK_FUNCTION(0, "GPIO104"),
866 MTK_FUNCTION(1, "SPI2_CK"),
867 MTK_FUNCTION(3, "SDA3"),
868 MTK_FUNCTION(4, "KROW3")
870 MTK_PIN(PINCTRL_PIN(105, "MSDC1_CMD"),
872 MTK_EINT_FUNCTION(0, 78),
873 MTK_FUNCTION(0, "GPIO105"),
874 MTK_FUNCTION(1, "MSDC1_CMD"),
875 MTK_FUNCTION(2, "ANT_SEL0"),
876 MTK_FUNCTION(3, "SDA1"),
877 MTK_FUNCTION(6, "I2SOUT_BCK"),
878 MTK_FUNCTION(7, "DBG_MON_B[27]")
880 MTK_PIN(PINCTRL_PIN(106, "MSDC1_CLK"),
882 MTK_EINT_FUNCTION(0, 79),
883 MTK_FUNCTION(0, "GPIO106"),
884 MTK_FUNCTION(1, "MSDC1_CLK"),
885 MTK_FUNCTION(2, "ANT_SEL1"),
886 MTK_FUNCTION(3, "SCL1"),
887 MTK_FUNCTION(6, "I2SOUT_LRCK"),
888 MTK_FUNCTION(7, "DBG_MON_B[28]")
890 MTK_PIN(PINCTRL_PIN(107, "MSDC1_DAT0"),
892 MTK_EINT_FUNCTION(0, 80),
893 MTK_FUNCTION(0, "GPIO107"),
894 MTK_FUNCTION(1, "MSDC1_DAT0"),
895 MTK_FUNCTION(2, "ANT_SEL2"),
896 MTK_FUNCTION(5, "UTXD0"),
897 MTK_FUNCTION(6, "I2SOUT_DATA_OUT"),
898 MTK_FUNCTION(7, "DBG_MON_B[26]")
900 MTK_PIN(PINCTRL_PIN(108, "MSDC1_DAT1"),
902 MTK_EINT_FUNCTION(0, 81),
903 MTK_FUNCTION(0, "GPIO108"),
904 MTK_FUNCTION(1, "MSDC1_DAT1"),
905 MTK_FUNCTION(2, "ANT_SEL3"),
906 MTK_FUNCTION(3, "PWM0"),
907 MTK_FUNCTION(5, "URXD0"),
908 MTK_FUNCTION(6, "PWM1"),
909 MTK_FUNCTION(7, "DBG_MON_B[25]")
911 MTK_PIN(PINCTRL_PIN(109, "MSDC1_DAT2"),
913 MTK_EINT_FUNCTION(0, 82),
914 MTK_FUNCTION(0, "GPIO109"),
915 MTK_FUNCTION(1, "MSDC1_DAT2"),
916 MTK_FUNCTION(2, "ANT_SEL4"),
917 MTK_FUNCTION(3, "SDA2"),
918 MTK_FUNCTION(5, "UTXD1"),
919 MTK_FUNCTION(6, "PWM2"),
920 MTK_FUNCTION(7, "DBG_MON_B[24]")
922 MTK_PIN(PINCTRL_PIN(110, "MSDC1_DAT3"),
924 MTK_EINT_FUNCTION(0, 83),
925 MTK_FUNCTION(0, "GPIO110"),
926 MTK_FUNCTION(1, "MSDC1_DAT3"),
927 MTK_FUNCTION(2, "ANT_SEL5"),
928 MTK_FUNCTION(3, "SCL2"),
929 MTK_FUNCTION(4, "EXT_FRAME_SYNC"),
930 MTK_FUNCTION(5, "URXD1"),
931 MTK_FUNCTION(6, "PWM3"),
932 MTK_FUNCTION(7, "DBG_MON_B[23]")
934 MTK_PIN(PINCTRL_PIN(111, "MSDC0_DAT7"),
936 MTK_EINT_FUNCTION(0, 84),
937 MTK_FUNCTION(0, "GPIO111"),
938 MTK_FUNCTION(1, "MSDC0_DAT7"),
939 MTK_FUNCTION(4, "NLD7")
941 MTK_PIN(PINCTRL_PIN(112, "MSDC0_DAT6"),
943 MTK_EINT_FUNCTION(0, 85),
944 MTK_FUNCTION(0, "GPIO112"),
945 MTK_FUNCTION(1, "MSDC0_DAT6"),
946 MTK_FUNCTION(4, "NLD6")
948 MTK_PIN(PINCTRL_PIN(113, "MSDC0_DAT5"),
950 MTK_EINT_FUNCTION(0, 86),
951 MTK_FUNCTION(0, "GPIO113"),
952 MTK_FUNCTION(1, "MSDC0_DAT5"),
953 MTK_FUNCTION(4, "NLD5")
955 MTK_PIN(PINCTRL_PIN(114, "MSDC0_DAT4"),
957 MTK_EINT_FUNCTION(0, 87),
958 MTK_FUNCTION(0, "GPIO114"),
959 MTK_FUNCTION(1, "MSDC0_DAT4"),
960 MTK_FUNCTION(4, "NLD4")
962 MTK_PIN(PINCTRL_PIN(115, "MSDC0_RSTB"),
964 MTK_EINT_FUNCTION(0, 88),
965 MTK_FUNCTION(0, "GPIO115"),
966 MTK_FUNCTION(1, "MSDC0_RSTB"),
967 MTK_FUNCTION(4, "NLD8")
969 MTK_PIN(PINCTRL_PIN(116, "MSDC0_CMD"),
971 MTK_EINT_FUNCTION(0, 89),
972 MTK_FUNCTION(0, "GPIO116"),
973 MTK_FUNCTION(1, "MSDC0_CMD"),
974 MTK_FUNCTION(4, "NALE")
976 MTK_PIN(PINCTRL_PIN(117, "MSDC0_CLK"),
978 MTK_EINT_FUNCTION(0, 90),
979 MTK_FUNCTION(0, "GPIO117"),
980 MTK_FUNCTION(1, "MSDC0_CLK"),
981 MTK_FUNCTION(4, "NWEB")
983 MTK_PIN(PINCTRL_PIN(118, "MSDC0_DAT3"),
985 MTK_EINT_FUNCTION(0, 91),
986 MTK_FUNCTION(0, "GPIO118"),
987 MTK_FUNCTION(1, "MSDC0_DAT3"),
988 MTK_FUNCTION(4, "NLD3")
990 MTK_PIN(PINCTRL_PIN(119, "MSDC0_DAT2"),
992 MTK_EINT_FUNCTION(0, 92),
993 MTK_FUNCTION(0, "GPIO119"),
994 MTK_FUNCTION(1, "MSDC0_DAT2"),
995 MTK_FUNCTION(4, "NLD2")
997 MTK_PIN(PINCTRL_PIN(120, "MSDC0_DAT1"),
999 MTK_EINT_FUNCTION(0, 93),
1000 MTK_FUNCTION(0, "GPIO120"),
1001 MTK_FUNCTION(1, "MSDC0_DAT1"),
1002 MTK_FUNCTION(4, "NLD1")
1004 MTK_PIN(PINCTRL_PIN(121, "MSDC0_DAT0"),
1006 MTK_EINT_FUNCTION(0, 94),
1007 MTK_FUNCTION(0, "GPIO121"),
1008 MTK_FUNCTION(1, "MSDC0_DAT0"),
1009 MTK_FUNCTION(4, "NLD0"),
1010 MTK_FUNCTION(5, "WATCHDOG")
1012 MTK_PIN(PINCTRL_PIN(122, "CEC"),
1014 MTK_EINT_FUNCTION(0, 95),
1015 MTK_FUNCTION(0, "GPIO122"),
1016 MTK_FUNCTION(1, "CEC"),
1017 MTK_FUNCTION(4, "SDA2"),
1018 MTK_FUNCTION(5, "URXD0")
1020 MTK_PIN(PINCTRL_PIN(123, "HTPLG"),
1022 MTK_EINT_FUNCTION(0, 96),
1023 MTK_FUNCTION(0, "GPIO123"),
1024 MTK_FUNCTION(1, "HTPLG"),
1025 MTK_FUNCTION(4, "SCL2"),
1026 MTK_FUNCTION(5, "UTXD0")
1028 MTK_PIN(PINCTRL_PIN(124, "HDMISCK"),
1030 MTK_EINT_FUNCTION(0, 97),
1031 MTK_FUNCTION(0, "GPIO124"),
1032 MTK_FUNCTION(1, "HDMISCK"),
1033 MTK_FUNCTION(4, "SDA1"),
1034 MTK_FUNCTION(5, "PWM3")
1036 MTK_PIN(PINCTRL_PIN(125, "HDMISD"),
1038 MTK_EINT_FUNCTION(0, 98),
1039 MTK_FUNCTION(0, "GPIO125"),
1040 MTK_FUNCTION(1, "HDMISD"),
1041 MTK_FUNCTION(4, "SCL1"),
1042 MTK_FUNCTION(5, "PWM4")
1044 MTK_PIN(PINCTRL_PIN(126, "I2S0_MCLK"),
1046 MTK_EINT_FUNCTION(0, 99),
1047 MTK_FUNCTION(0, "GPIO126"),
1048 MTK_FUNCTION(1, "I2S0_MCLK"),
1049 MTK_FUNCTION(6, "WCN_I2S_MCLK"),
1050 MTK_FUNCTION(7, "DBG_MON_B[6]")
1052 MTK_PIN(PINCTRL_PIN(127, "RAMBUF_IDATA0"),
1054 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1055 MTK_FUNCTION(0, "GPIO127"),
1056 MTK_FUNCTION(1, "RAMBUF_IDATA0")
1058 MTK_PIN(PINCTRL_PIN(128, "RAMBUF_IDATA1"),
1060 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1061 MTK_FUNCTION(0, "GPIO128"),
1062 MTK_FUNCTION(1, "RAMBUF_IDATA1")
1064 MTK_PIN(PINCTRL_PIN(129, "RAMBUF_IDATA2"),
1066 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1067 MTK_FUNCTION(0, "GPIO129"),
1068 MTK_FUNCTION(1, "RAMBUF_IDATA2")
1070 MTK_PIN(PINCTRL_PIN(130, "RAMBUF_IDATA3"),
1072 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1073 MTK_FUNCTION(0, "GPIO130"),
1074 MTK_FUNCTION(1, "RAMBUF_IDATA3")
1076 MTK_PIN(PINCTRL_PIN(131, "RAMBUF_IDATA4"),
1078 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1079 MTK_FUNCTION(0, "GPIO131"),
1080 MTK_FUNCTION(1, "RAMBUF_IDATA4")
1082 MTK_PIN(PINCTRL_PIN(132, "RAMBUF_IDATA5"),
1084 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1085 MTK_FUNCTION(0, "GPIO132"),
1086 MTK_FUNCTION(1, "RAMBUF_IDATA5")
1088 MTK_PIN(PINCTRL_PIN(133, "RAMBUF_IDATA6"),
1090 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1091 MTK_FUNCTION(0, "GPIO133"),
1092 MTK_FUNCTION(1, "RAMBUF_IDATA6")
1094 MTK_PIN(PINCTRL_PIN(134, "RAMBUF_IDATA7"),
1096 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1097 MTK_FUNCTION(0, "GPIO134"),
1098 MTK_FUNCTION(1, "RAMBUF_IDATA7")
1100 MTK_PIN(PINCTRL_PIN(135, "RAMBUF_IDATA8"),
1102 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1103 MTK_FUNCTION(0, "GPIO135"),
1104 MTK_FUNCTION(1, "RAMBUF_IDATA8")
1106 MTK_PIN(PINCTRL_PIN(136, "RAMBUF_IDATA9"),
1108 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1109 MTK_FUNCTION(0, "GPIO136"),
1110 MTK_FUNCTION(1, "RAMBUF_IDATA9")
1112 MTK_PIN(PINCTRL_PIN(137, "RAMBUF_IDATA10"),
1114 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1115 MTK_FUNCTION(0, "GPIO137"),
1116 MTK_FUNCTION(1, "RAMBUF_IDATA10")
1118 MTK_PIN(PINCTRL_PIN(138, "RAMBUF_IDATA11"),
1120 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1121 MTK_FUNCTION(0, "GPIO138"),
1122 MTK_FUNCTION(1, "RAMBUF_IDATA11")
1124 MTK_PIN(PINCTRL_PIN(139, "RAMBUF_IDATA12"),
1126 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1127 MTK_FUNCTION(0, "GPIO139"),
1128 MTK_FUNCTION(1, "RAMBUF_IDATA12")
1130 MTK_PIN(PINCTRL_PIN(140, "RAMBUF_IDATA13"),
1132 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1133 MTK_FUNCTION(0, "GPIO140"),
1134 MTK_FUNCTION(1, "RAMBUF_IDATA13")
1136 MTK_PIN(PINCTRL_PIN(141, "RAMBUF_IDATA14"),
1138 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1139 MTK_FUNCTION(0, "GPIO141"),
1140 MTK_FUNCTION(1, "RAMBUF_IDATA14")
1142 MTK_PIN(PINCTRL_PIN(142, "RAMBUF_IDATA15"),
1144 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1145 MTK_FUNCTION(0, "GPIO142"),
1146 MTK_FUNCTION(1, "RAMBUF_IDATA15")
1148 MTK_PIN(PINCTRL_PIN(143, "RAMBUF_ODATA0"),
1150 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1151 MTK_FUNCTION(0, "GPIO143"),
1152 MTK_FUNCTION(1, "RAMBUF_ODATA0")
1154 MTK_PIN(PINCTRL_PIN(144, "RAMBUF_ODATA1"),
1156 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1157 MTK_FUNCTION(0, "GPIO144"),
1158 MTK_FUNCTION(1, "RAMBUF_ODATA1")
1160 MTK_PIN(PINCTRL_PIN(145, "RAMBUF_ODATA2"),
1162 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1163 MTK_FUNCTION(0, "GPIO145"),
1164 MTK_FUNCTION(1, "RAMBUF_ODATA2")
1166 MTK_PIN(PINCTRL_PIN(146, "RAMBUF_ODATA3"),
1168 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1169 MTK_FUNCTION(0, "GPIO146"),
1170 MTK_FUNCTION(1, "RAMBUF_ODATA3")
1172 MTK_PIN(PINCTRL_PIN(147, "RAMBUF_ODATA4"),
1174 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1175 MTK_FUNCTION(0, "GPIO147"),
1176 MTK_FUNCTION(1, "RAMBUF_ODATA4")
1178 MTK_PIN(PINCTRL_PIN(148, "RAMBUF_ODATA5"),
1180 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1181 MTK_FUNCTION(0, "GPIO148"),
1182 MTK_FUNCTION(1, "RAMBUF_ODATA5")
1184 MTK_PIN(PINCTRL_PIN(149, "RAMBUF_ODATA6"),
1186 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1187 MTK_FUNCTION(0, "GPIO149"),
1188 MTK_FUNCTION(1, "RAMBUF_ODATA6")
1190 MTK_PIN(PINCTRL_PIN(150, "RAMBUF_ODATA7"),
1192 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1193 MTK_FUNCTION(0, "GPIO150"),
1194 MTK_FUNCTION(1, "RAMBUF_ODATA7")
1196 MTK_PIN(PINCTRL_PIN(151, "RAMBUF_ODATA8"),
1198 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1199 MTK_FUNCTION(0, "GPIO151"),
1200 MTK_FUNCTION(1, "RAMBUF_ODATA8")
1202 MTK_PIN(PINCTRL_PIN(152, "RAMBUF_ODATA9"),
1204 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1205 MTK_FUNCTION(0, "GPIO152"),
1206 MTK_FUNCTION(1, "RAMBUF_ODATA9")
1208 MTK_PIN(PINCTRL_PIN(153, "RAMBUF_ODATA10"),
1210 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1211 MTK_FUNCTION(0, "GPIO153"),
1212 MTK_FUNCTION(1, "RAMBUF_ODATA10")
1214 MTK_PIN(PINCTRL_PIN(154, "RAMBUF_ODATA11"),
1216 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1217 MTK_FUNCTION(0, "GPIO154"),
1218 MTK_FUNCTION(1, "RAMBUF_ODATA11")
1220 MTK_PIN(PINCTRL_PIN(155, "RAMBUF_ODATA12"),
1222 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1223 MTK_FUNCTION(0, "GPIO155"),
1224 MTK_FUNCTION(1, "RAMBUF_ODATA12")
1226 MTK_PIN(PINCTRL_PIN(156, "RAMBUF_ODATA13"),
1228 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1229 MTK_FUNCTION(0, "GPIO156"),
1230 MTK_FUNCTION(1, "RAMBUF_ODATA13")
1232 MTK_PIN(PINCTRL_PIN(157, "RAMBUF_ODATA14"),
1234 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1235 MTK_FUNCTION(0, "GPIO157"),
1236 MTK_FUNCTION(1, "RAMBUF_ODATA14")
1238 MTK_PIN(PINCTRL_PIN(158, "RAMBUF_ODATA15"),
1240 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1241 MTK_FUNCTION(0, "GPIO158"),
1242 MTK_FUNCTION(1, "RAMBUF_ODATA15")
1244 MTK_PIN(PINCTRL_PIN(159, "RAMBUF_BE0"),
1246 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1247 MTK_FUNCTION(0, "GPIO159"),
1248 MTK_FUNCTION(1, "RAMBUF_BE0")
1250 MTK_PIN(PINCTRL_PIN(160, "RAMBUF_BE1"),
1252 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1253 MTK_FUNCTION(0, "GPIO160"),
1254 MTK_FUNCTION(1, "RAMBUF_BE1")
1256 MTK_PIN(PINCTRL_PIN(161, "AP2PT_INT"),
1258 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1259 MTK_FUNCTION(0, "GPIO161"),
1260 MTK_FUNCTION(1, "AP2PT_INT")
1262 MTK_PIN(PINCTRL_PIN(162, "AP2PT_INT_CLR"),
1264 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1265 MTK_FUNCTION(0, "GPIO162"),
1266 MTK_FUNCTION(1, "AP2PT_INT_CLR")
1268 MTK_PIN(PINCTRL_PIN(163, "PT2AP_INT"),
1270 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1271 MTK_FUNCTION(0, "GPIO163"),
1272 MTK_FUNCTION(1, "PT2AP_INT")
1274 MTK_PIN(PINCTRL_PIN(164, "PT2AP_INT_CLR"),
1276 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1277 MTK_FUNCTION(0, "GPIO164"),
1278 MTK_FUNCTION(1, "PT2AP_INT_CLR")
1280 MTK_PIN(PINCTRL_PIN(165, "AP2UP_INT"),
1282 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1283 MTK_FUNCTION(0, "GPIO165"),
1284 MTK_FUNCTION(1, "AP2UP_INT")
1286 MTK_PIN(PINCTRL_PIN(166, "AP2UP_INT_CLR"),
1288 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1289 MTK_FUNCTION(0, "GPIO166"),
1290 MTK_FUNCTION(1, "AP2UP_INT_CLR")
1292 MTK_PIN(PINCTRL_PIN(167, "UP2AP_INT"),
1294 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1295 MTK_FUNCTION(0, "GPIO167"),
1296 MTK_FUNCTION(1, "UP2AP_INT")
1298 MTK_PIN(PINCTRL_PIN(168, "UP2AP_INT_CLR"),
1300 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1301 MTK_FUNCTION(0, "GPIO168"),
1302 MTK_FUNCTION(1, "UP2AP_INT_CLR")
1304 MTK_PIN(PINCTRL_PIN(169, "RAMBUF_ADDR0"),
1306 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1307 MTK_FUNCTION(0, "GPIO169"),
1308 MTK_FUNCTION(1, "RAMBUF_ADDR0")
1310 MTK_PIN(PINCTRL_PIN(170, "RAMBUF_ADDR1"),
1312 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1313 MTK_FUNCTION(0, "GPIO170"),
1314 MTK_FUNCTION(1, "RAMBUF_ADDR1")
1316 MTK_PIN(PINCTRL_PIN(171, "RAMBUF_ADDR2"),
1318 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1319 MTK_FUNCTION(0, "GPIO171"),
1320 MTK_FUNCTION(1, "RAMBUF_ADDR2")
1322 MTK_PIN(PINCTRL_PIN(172, "RAMBUF_ADDR3"),
1324 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1325 MTK_FUNCTION(0, "GPIO172"),
1326 MTK_FUNCTION(1, "RAMBUF_ADDR3")
1328 MTK_PIN(PINCTRL_PIN(173, "RAMBUF_ADDR4"),
1330 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1331 MTK_FUNCTION(0, "GPIO173"),
1332 MTK_FUNCTION(1, "RAMBUF_ADDR4")
1334 MTK_PIN(PINCTRL_PIN(174, "RAMBUF_ADDR5"),
1336 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1337 MTK_FUNCTION(0, "GPIO174"),
1338 MTK_FUNCTION(1, "RAMBUF_ADDR5")
1340 MTK_PIN(PINCTRL_PIN(175, "RAMBUF_ADDR6"),
1342 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1343 MTK_FUNCTION(0, "GPIO175"),
1344 MTK_FUNCTION(1, "RAMBUF_ADDR6")
1346 MTK_PIN(PINCTRL_PIN(176, "RAMBUF_ADDR7"),
1348 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1349 MTK_FUNCTION(0, "GPIO176"),
1350 MTK_FUNCTION(1, "RAMBUF_ADDR7")
1352 MTK_PIN(PINCTRL_PIN(177, "RAMBUF_ADDR8"),
1354 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1355 MTK_FUNCTION(0, "GPIO177"),
1356 MTK_FUNCTION(1, "RAMBUF_ADDR8")
1358 MTK_PIN(PINCTRL_PIN(178, "RAMBUF_ADDR9"),
1360 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1361 MTK_FUNCTION(0, "GPIO178"),
1362 MTK_FUNCTION(1, "RAMBUF_ADDR9")
1364 MTK_PIN(PINCTRL_PIN(179, "RAMBUF_ADDR10"),
1366 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1367 MTK_FUNCTION(0, "GPIO179"),
1368 MTK_FUNCTION(1, "RAMBUF_ADDR10")
1370 MTK_PIN(PINCTRL_PIN(180, "RAMBUF_RW"),
1372 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1373 MTK_FUNCTION(0, "GPIO180"),
1374 MTK_FUNCTION(1, "RAMBUF_RW")
1376 MTK_PIN(PINCTRL_PIN(181, "RAMBUF_LAST"),
1378 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1379 MTK_FUNCTION(0, "GPIO181"),
1380 MTK_FUNCTION(1, "RAMBUF_LAST")
1382 MTK_PIN(PINCTRL_PIN(182, "RAMBUF_HP"),
1384 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1385 MTK_FUNCTION(0, "GPIO182"),
1386 MTK_FUNCTION(1, "RAMBUF_HP")
1388 MTK_PIN(PINCTRL_PIN(183, "RAMBUF_REQ"),
1390 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1391 MTK_FUNCTION(0, "GPIO183"),
1392 MTK_FUNCTION(1, "RAMBUF_REQ")
1394 MTK_PIN(PINCTRL_PIN(184, "RAMBUF_ALE"),
1396 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1397 MTK_FUNCTION(0, "GPIO184"),
1398 MTK_FUNCTION(1, "RAMBUF_ALE")
1400 MTK_PIN(PINCTRL_PIN(185, "RAMBUF_DLE"),
1402 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1403 MTK_FUNCTION(0, "GPIO185"),
1404 MTK_FUNCTION(1, "RAMBUF_DLE")
1406 MTK_PIN(PINCTRL_PIN(186, "RAMBUF_WDLE"),
1408 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1409 MTK_FUNCTION(0, "GPIO186"),
1410 MTK_FUNCTION(1, "RAMBUF_WDLE")
1412 MTK_PIN(PINCTRL_PIN(187, "RAMBUF_O_CLK"),
1414 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1415 MTK_FUNCTION(0, "GPIO187"),
1416 MTK_FUNCTION(1, "RAMBUF_O_CLK")
1418 MTK_PIN(PINCTRL_PIN(188, "I2S2_MCLK"),
1420 MTK_EINT_FUNCTION(0, 100),
1421 MTK_FUNCTION(0, "GPIO188"),
1422 MTK_FUNCTION(1, "I2S2_MCLK")
1424 MTK_PIN(PINCTRL_PIN(189, "I2S3_DATA"),
1426 MTK_EINT_FUNCTION(0, 101),
1427 MTK_FUNCTION(0, "GPIO189"),
1428 MTK_FUNCTION(2, "I2S3_DATA_BYPS"),
1429 MTK_FUNCTION(3, "PCM_TX")
1431 MTK_PIN(PINCTRL_PIN(190, "I2S3_DATA_IN"),
1433 MTK_EINT_FUNCTION(0, 102),
1434 MTK_FUNCTION(0, "GPIO190"),
1435 MTK_FUNCTION(1, "I2S3_DATA_IN"),
1436 MTK_FUNCTION(3, "PCM_RX")
1438 MTK_PIN(PINCTRL_PIN(191, "I2S3_BCK"),
1440 MTK_EINT_FUNCTION(0, 103),
1441 MTK_FUNCTION(0, "GPIO191"),
1442 MTK_FUNCTION(1, "I2S3_BCK"),
1443 MTK_FUNCTION(3, "PCM_CLK0")
1445 MTK_PIN(PINCTRL_PIN(192, "I2S3_LRCK"),
1447 MTK_EINT_FUNCTION(0, 104),
1448 MTK_FUNCTION(0, "GPIO192"),
1449 MTK_FUNCTION(1, "I2S3_LRCK"),
1450 MTK_FUNCTION(3, "PCM_SYNC")
1452 MTK_PIN(PINCTRL_PIN(193, "I2S3_MCLK"),
1454 MTK_EINT_FUNCTION(0, 105),
1455 MTK_FUNCTION(0, "GPIO193"),
1456 MTK_FUNCTION(1, "I2S3_MCLK")
1458 MTK_PIN(PINCTRL_PIN(194, "I2S4_DATA"),
1460 MTK_EINT_FUNCTION(0, 106),
1461 MTK_FUNCTION(0, "GPIO194"),
1462 MTK_FUNCTION(1, "I2S4_DATA"),
1463 MTK_FUNCTION(2, "I2S4_DATA_BYPS"),
1464 MTK_FUNCTION(3, "PCM_TX")
1466 MTK_PIN(PINCTRL_PIN(195, "I2S4_DATA_IN"),
1468 MTK_EINT_FUNCTION(0, 107),
1469 MTK_FUNCTION(0, "GPIO195"),
1470 MTK_FUNCTION(1, "I2S4_DATA_IN"),
1471 MTK_FUNCTION(3, "PCM_RX")
1473 MTK_PIN(PINCTRL_PIN(196, "I2S4_BCK"),
1475 MTK_EINT_FUNCTION(0, 108),
1476 MTK_FUNCTION(0, "GPIO196"),
1477 MTK_FUNCTION(1, "I2S4_BCK"),
1478 MTK_FUNCTION(3, "PCM_CLK0")
1480 MTK_PIN(PINCTRL_PIN(197, "I2S4_LRCK"),
1482 MTK_EINT_FUNCTION(0, 109),
1483 MTK_FUNCTION(0, "GPIO197"),
1484 MTK_FUNCTION(1, "I2S4_LRCK"),
1485 MTK_FUNCTION(3, "PCM_SYNC")
1487 MTK_PIN(PINCTRL_PIN(198, "I2S4_MCLK"),
1489 MTK_EINT_FUNCTION(0, 110),
1490 MTK_FUNCTION(0, "GPIO198"),
1491 MTK_FUNCTION(1, "I2S4_MCLK")
1493 MTK_PIN(PINCTRL_PIN(199, "SPI1_CLK"),
1495 MTK_EINT_FUNCTION(0, 111),
1496 MTK_FUNCTION(0, "GPIO199"),
1497 MTK_FUNCTION(1, "SPI1_CK"),
1498 MTK_FUNCTION(3, "EXT_FRAME_SYNC"),
1499 MTK_FUNCTION(4, "KCOL3"),
1500 MTK_FUNCTION(7, "DBG_MON_B[15]")
1502 MTK_PIN(PINCTRL_PIN(200, "SPDIF_OUT"),
1504 MTK_EINT_FUNCTION(0, 112),
1505 MTK_FUNCTION(0, "GPIO200"),
1506 MTK_FUNCTION(1, "SPDIF_OUT"),
1507 MTK_FUNCTION(5, "G1_TXD3"),
1508 MTK_FUNCTION(6, "URXD2"),
1509 MTK_FUNCTION(7, "DBG_MON_B[16]")
1511 MTK_PIN(PINCTRL_PIN(201, "SPDIF_IN0"),
1513 MTK_EINT_FUNCTION(0, 113),
1514 MTK_FUNCTION(0, "GPIO201"),
1515 MTK_FUNCTION(1, "SPDIF_IN0"),
1516 MTK_FUNCTION(5, "G1_TXEN"),
1517 MTK_FUNCTION(6, "UTXD2"),
1518 MTK_FUNCTION(7, "DBG_MON_B[17]")
1520 MTK_PIN(PINCTRL_PIN(202, "SPDIF_IN1"),
1522 MTK_EINT_FUNCTION(0, 114),
1523 MTK_FUNCTION(0, "GPIO202"),
1524 MTK_FUNCTION(1, "SPDIF_IN1")
1526 MTK_PIN(PINCTRL_PIN(203, "PWM0"),
1528 MTK_EINT_FUNCTION(0, 115),
1529 MTK_FUNCTION(0, "GPIO203"),
1530 MTK_FUNCTION(1, "PWM0"),
1531 MTK_FUNCTION(2, "DISP_PWM"),
1532 MTK_FUNCTION(5, "G1_TXD2"),
1533 MTK_FUNCTION(7, "DBG_MON_B[18]"),
1534 MTK_FUNCTION(9, "I2S2_DATA")
1536 MTK_PIN(PINCTRL_PIN(204, "PWM1"),
1538 MTK_EINT_FUNCTION(0, 116),
1539 MTK_FUNCTION(0, "GPIO204"),
1540 MTK_FUNCTION(1, "PWM1"),
1541 MTK_FUNCTION(2, "CLKM3"),
1542 MTK_FUNCTION(5, "G1_TXD1"),
1543 MTK_FUNCTION(7, "DBG_MON_B[19]"),
1544 MTK_FUNCTION(9, "I2S3_DATA")
1546 MTK_PIN(PINCTRL_PIN(205, "PWM2"),
1548 MTK_EINT_FUNCTION(0, 117),
1549 MTK_FUNCTION(0, "GPIO205"),
1550 MTK_FUNCTION(1, "PWM2"),
1551 MTK_FUNCTION(2, "CLKM2"),
1552 MTK_FUNCTION(5, "G1_TXD0"),
1553 MTK_FUNCTION(7, "DBG_MON_B[20]")
1555 MTK_PIN(PINCTRL_PIN(206, "PWM3"),
1557 MTK_EINT_FUNCTION(0, 118),
1558 MTK_FUNCTION(0, "GPIO206"),
1559 MTK_FUNCTION(1, "PWM3"),
1560 MTK_FUNCTION(2, "CLKM1"),
1561 MTK_FUNCTION(3, "EXT_FRAME_SYNC"),
1562 MTK_FUNCTION(5, "G1_TXC"),
1563 MTK_FUNCTION(7, "DBG_MON_B[21]")
1565 MTK_PIN(PINCTRL_PIN(207, "PWM4"),
1567 MTK_EINT_FUNCTION(0, 119),
1568 MTK_FUNCTION(0, "GPIO207"),
1569 MTK_FUNCTION(1, "PWM4"),
1570 MTK_FUNCTION(2, "CLKM0"),
1571 MTK_FUNCTION(3, "EXT_FRAME_SYNC"),
1572 MTK_FUNCTION(5, "G1_RXC"),
1573 MTK_FUNCTION(7, "DBG_MON_B[22]")
1575 MTK_PIN(PINCTRL_PIN(208, "AUD_EXT_CK1"),
1577 MTK_EINT_FUNCTION(0, 120),
1578 MTK_FUNCTION(0, "GPIO208"),
1579 MTK_FUNCTION(1, "AUD_EXT_CK1"),
1580 MTK_FUNCTION(2, "PWM0"),
1581 /* MT7623 take function 3 as PCIE0_PERST_N */
1582 MTK_FUNCTION(3, "PCIE0_PERST_N"),
1583 MTK_FUNCTION(4, "ANT_SEL5"),
1584 MTK_FUNCTION(5, "DISP_PWM"),
1585 MTK_FUNCTION(7, "DBG_MON_A[31]"),
1586 MTK_FUNCTION(11, "PCIE0_PERST_N")
1588 MTK_PIN(PINCTRL_PIN(209, "AUD_EXT_CK2"),
1590 MTK_EINT_FUNCTION(0, 121),
1591 MTK_FUNCTION(0, "GPIO209"),
1592 MTK_FUNCTION(1, "AUD_EXT_CK2"),
1593 MTK_FUNCTION(2, "MSDC1_WP"),
1594 /* MT7623 take function 3 as PCIE1_PERST_N */
1595 MTK_FUNCTION(3, "PCIE1_PERST_N"),
1596 MTK_FUNCTION(5, "PWM1"),
1597 MTK_FUNCTION(7, "DBG_MON_A[32]"),
1598 MTK_FUNCTION(11, "PCIE1_PERST_N")
1600 MTK_PIN(PINCTRL_PIN(210, "AUD_CLOCK"),
1602 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1603 MTK_FUNCTION(0, "GPIO210"),
1604 MTK_FUNCTION(1, "AUD_CLOCK")
1606 MTK_PIN(PINCTRL_PIN(211, "DVP_RESET"),
1608 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1609 MTK_FUNCTION(0, "GPIO211"),
1610 MTK_FUNCTION(1, "DVP_RESET")
1612 MTK_PIN(PINCTRL_PIN(212, "DVP_CLOCK"),
1614 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1615 MTK_FUNCTION(0, "GPIO212"),
1616 MTK_FUNCTION(1, "DVP_CLOCK")
1618 MTK_PIN(PINCTRL_PIN(213, "DVP_CS"),
1620 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1621 MTK_FUNCTION(0, "GPIO213"),
1622 MTK_FUNCTION(1, "DVP_CS")
1624 MTK_PIN(PINCTRL_PIN(214, "DVP_CK"),
1626 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1627 MTK_FUNCTION(0, "GPIO214"),
1628 MTK_FUNCTION(1, "DVP_CK")
1630 MTK_PIN(PINCTRL_PIN(215, "DVP_DI"),
1632 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1633 MTK_FUNCTION(0, "GPIO215"),
1634 MTK_FUNCTION(1, "DVP_DI")
1636 MTK_PIN(PINCTRL_PIN(216, "DVP_DO"),
1638 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1639 MTK_FUNCTION(0, "GPIO216"),
1640 MTK_FUNCTION(1, "DVP_DO")
1642 MTK_PIN(PINCTRL_PIN(217, "AP_CS"),
1644 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1645 MTK_FUNCTION(0, "GPIO217"),
1646 MTK_FUNCTION(1, "AP_CS")
1648 MTK_PIN(PINCTRL_PIN(218, "AP_CK"),
1650 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1651 MTK_FUNCTION(0, "GPIO218"),
1652 MTK_FUNCTION(1, "AP_CK")
1654 MTK_PIN(PINCTRL_PIN(219, "AP_DI"),
1656 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1657 MTK_FUNCTION(0, "GPIO219"),
1658 MTK_FUNCTION(1, "AP_DI")
1660 MTK_PIN(PINCTRL_PIN(220, "AP_DO"),
1662 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1663 MTK_FUNCTION(0, "GPIO220"),
1664 MTK_FUNCTION(1, "AP_DO")
1666 MTK_PIN(PINCTRL_PIN(221, "DVD_BCLK"),
1668 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1669 MTK_FUNCTION(0, "GPIO221"),
1670 MTK_FUNCTION(1, "DVD_BCLK")
1672 MTK_PIN(PINCTRL_PIN(222, "T8032_CLK"),
1674 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1675 MTK_FUNCTION(0, "GPIO222"),
1676 MTK_FUNCTION(1, "T8032_CLK")
1678 MTK_PIN(PINCTRL_PIN(223, "AP_BCLK"),
1680 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1681 MTK_FUNCTION(0, "GPIO223"),
1682 MTK_FUNCTION(1, "AP_BCLK")
1684 MTK_PIN(PINCTRL_PIN(224, "HOST_CS"),
1686 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1687 MTK_FUNCTION(0, "GPIO224"),
1688 MTK_FUNCTION(1, "HOST_CS")
1690 MTK_PIN(PINCTRL_PIN(225, "HOST_CK"),
1692 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1693 MTK_FUNCTION(0, "GPIO225"),
1694 MTK_FUNCTION(1, "HOST_CK")
1696 MTK_PIN(PINCTRL_PIN(226, "HOST_DO0"),
1698 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1699 MTK_FUNCTION(0, "GPIO226"),
1700 MTK_FUNCTION(1, "HOST_DO0")
1702 MTK_PIN(PINCTRL_PIN(227, "HOST_DO1"),
1704 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1705 MTK_FUNCTION(0, "GPIO227"),
1706 MTK_FUNCTION(1, "HOST_DO1")
1708 MTK_PIN(PINCTRL_PIN(228, "SLV_CS"),
1710 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1711 MTK_FUNCTION(0, "GPIO228"),
1712 MTK_FUNCTION(1, "SLV_CS")
1714 MTK_PIN(PINCTRL_PIN(229, "SLV_CK"),
1716 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1717 MTK_FUNCTION(0, "GPIO229"),
1718 MTK_FUNCTION(1, "SLV_CK")
1720 MTK_PIN(PINCTRL_PIN(230, "SLV_DI0"),
1722 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1723 MTK_FUNCTION(0, "GPIO230"),
1724 MTK_FUNCTION(1, "SLV_DI0")
1726 MTK_PIN(PINCTRL_PIN(231, "SLV_DI1"),
1728 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1729 MTK_FUNCTION(0, "GPIO231"),
1730 MTK_FUNCTION(1, "SLV_DI1")
1732 MTK_PIN(PINCTRL_PIN(232, "AP2DSP_INT"),
1734 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1735 MTK_FUNCTION(0, "GPIO232"),
1736 MTK_FUNCTION(1, "AP2DSP_INT")
1738 MTK_PIN(PINCTRL_PIN(233, "AP2DSP_INT_CLR"),
1740 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1741 MTK_FUNCTION(0, "GPIO233"),
1742 MTK_FUNCTION(1, "AP2DSP_INT_CLR")
1744 MTK_PIN(PINCTRL_PIN(234, "DSP2AP_INT"),
1746 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1747 MTK_FUNCTION(0, "GPIO234"),
1748 MTK_FUNCTION(1, "DSP2AP_INT")
1750 MTK_PIN(PINCTRL_PIN(235, "DSP2AP_INT_CLR"),
1752 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1753 MTK_FUNCTION(0, "GPIO235"),
1754 MTK_FUNCTION(1, "DSP2AP_INT_CLR")
1756 MTK_PIN(PINCTRL_PIN(236, "EXT_SDIO3"),
1758 MTK_EINT_FUNCTION(0, 122),
1759 MTK_FUNCTION(0, "GPIO236"),
1760 MTK_FUNCTION(1, "EXT_SDIO3"),
1761 MTK_FUNCTION(2, "IDDIG"),
1762 MTK_FUNCTION(7, "DBG_MON_A[1]")
1764 MTK_PIN(PINCTRL_PIN(237, "EXT_SDIO2"),
1766 MTK_EINT_FUNCTION(0, 123),
1767 MTK_FUNCTION(0, "GPIO237"),
1768 MTK_FUNCTION(1, "EXT_SDIO2"),
1769 MTK_FUNCTION(2, "DRV_VBUS")
1771 MTK_PIN(PINCTRL_PIN(238, "EXT_SDIO1"),
1773 MTK_EINT_FUNCTION(0, 124),
1774 MTK_FUNCTION(0, "GPIO238"),
1775 MTK_FUNCTION(1, "EXT_SDIO1"),
1776 MTK_FUNCTION(2, "IDDIG_P1")
1778 MTK_PIN(PINCTRL_PIN(239, "EXT_SDIO0"),
1780 MTK_EINT_FUNCTION(0, 125),
1781 MTK_FUNCTION(0, "GPIO239"),
1782 MTK_FUNCTION(1, "EXT_SDIO0"),
1783 MTK_FUNCTION(2, "DRV_VBUS_P1")
1785 MTK_PIN(PINCTRL_PIN(240, "EXT_XCS"),
1787 MTK_EINT_FUNCTION(0, 126),
1788 MTK_FUNCTION(0, "GPIO240"),
1789 MTK_FUNCTION(1, "EXT_XCS")
1791 MTK_PIN(PINCTRL_PIN(241, "EXT_SCK"),
1793 MTK_EINT_FUNCTION(0, 127),
1794 MTK_FUNCTION(0, "GPIO241"),
1795 MTK_FUNCTION(1, "EXT_SCK")
1797 MTK_PIN(PINCTRL_PIN(242, "URTS2"),
1799 MTK_EINT_FUNCTION(0, 128),
1800 MTK_FUNCTION(0, "GPIO242"),
1801 MTK_FUNCTION(1, "URTS2"),
1802 MTK_FUNCTION(2, "UTXD3"),
1803 MTK_FUNCTION(3, "URXD3"),
1804 MTK_FUNCTION(4, "SCL1"),
1805 MTK_FUNCTION(7, "DBG_MON_B[32]")
1807 MTK_PIN(PINCTRL_PIN(243, "UCTS2"),
1809 MTK_EINT_FUNCTION(0, 129),
1810 MTK_FUNCTION(0, "GPIO243"),
1811 MTK_FUNCTION(1, "UCTS2"),
1812 MTK_FUNCTION(2, "URXD3"),
1813 MTK_FUNCTION(3, "UTXD3"),
1814 MTK_FUNCTION(4, "SDA1"),
1815 MTK_FUNCTION(7, "DBG_MON_A[6]")
1817 MTK_PIN(PINCTRL_PIN(244, "HDMI_SDA_RX"),
1819 MTK_EINT_FUNCTION(0, 130),
1820 MTK_FUNCTION(0, "GPIO244"),
1821 MTK_FUNCTION(1, "HDMI_SDA_RX")
1823 MTK_PIN(PINCTRL_PIN(245, "HDMI_SCL_RX"),
1825 MTK_EINT_FUNCTION(0, 131),
1826 MTK_FUNCTION(0, "GPIO245"),
1827 MTK_FUNCTION(1, "HDMI_SCL_RX")
1829 MTK_PIN(PINCTRL_PIN(246, "MHL_SENCE"),
1831 MTK_EINT_FUNCTION(0, 132),
1832 MTK_FUNCTION(0, "GPIO246")
1834 MTK_PIN(PINCTRL_PIN(247, "HDMI_HPD_CBUS_RX"),
1836 MTK_EINT_FUNCTION(0, 69),
1837 MTK_FUNCTION(0, "GPIO247"),
1838 MTK_FUNCTION(1, "HDMI_HPD_RX")
1840 MTK_PIN(PINCTRL_PIN(248, "HDMI_TESTOUTP_RX"),
1842 MTK_EINT_FUNCTION(0, 133),
1843 MTK_FUNCTION(0, "GPIO248"),
1844 MTK_FUNCTION(1, "HDMI_TESTOUTP_RX")
1846 MTK_PIN(PINCTRL_PIN(249, "MSDC0E_RSTB"),
1848 MTK_EINT_FUNCTION(0, 134),
1849 MTK_FUNCTION(0, "GPIO249"),
1850 MTK_FUNCTION(1, "MSDC0E_RSTB")
1852 MTK_PIN(PINCTRL_PIN(250, "MSDC0E_DAT7"),
1854 MTK_EINT_FUNCTION(0, 135),
1855 MTK_FUNCTION(0, "GPIO250"),
1856 MTK_FUNCTION(1, "MSDC3_DAT7"),
1857 MTK_FUNCTION(6, "PCIE0_CLKREQ_N")
1859 MTK_PIN(PINCTRL_PIN(251, "MSDC0E_DAT6"),
1861 MTK_EINT_FUNCTION(0, 136),
1862 MTK_FUNCTION(0, "GPIO251"),
1863 MTK_FUNCTION(1, "MSDC3_DAT6"),
1864 MTK_FUNCTION(6, "PCIE0_WAKE_N")
1866 MTK_PIN(PINCTRL_PIN(252, "MSDC0E_DAT5"),
1868 MTK_EINT_FUNCTION(0, 137),
1869 MTK_FUNCTION(0, "GPIO252"),
1870 MTK_FUNCTION(1, "MSDC3_DAT5"),
1871 MTK_FUNCTION(6, "PCIE1_CLKREQ_N")
1873 MTK_PIN(PINCTRL_PIN(253, "MSDC0E_DAT4"),
1875 MTK_EINT_FUNCTION(0, 138),
1876 MTK_FUNCTION(0, "GPIO253"),
1877 MTK_FUNCTION(1, "MSDC3_DAT4"),
1878 MTK_FUNCTION(6, "PCIE1_WAKE_N")
1880 MTK_PIN(PINCTRL_PIN(254, "MSDC0E_DAT3"),
1882 MTK_EINT_FUNCTION(0, 139),
1883 MTK_FUNCTION(0, "GPIO254"),
1884 MTK_FUNCTION(1, "MSDC3_DAT3"),
1885 MTK_FUNCTION(6, "PCIE2_CLKREQ_N")
1887 MTK_PIN(PINCTRL_PIN(255, "MSDC0E_DAT2"),
1889 MTK_EINT_FUNCTION(0, 140),
1890 MTK_FUNCTION(0, "GPIO255"),
1891 MTK_FUNCTION(1, "MSDC3_DAT2"),
1892 MTK_FUNCTION(6, "PCIE2_WAKE_N")
1894 MTK_PIN(PINCTRL_PIN(256, "MSDC0E_DAT1"),
1896 MTK_EINT_FUNCTION(0, 141),
1897 MTK_FUNCTION(0, "GPIO256"),
1898 MTK_FUNCTION(1, "MSDC3_DAT1")
1900 MTK_PIN(PINCTRL_PIN(257, "MSDC0E_DAT0"),
1902 MTK_EINT_FUNCTION(0, 142),
1903 MTK_FUNCTION(0, "GPIO257"),
1904 MTK_FUNCTION(1, "MSDC3_DAT0")
1906 MTK_PIN(PINCTRL_PIN(258, "MSDC0E_CMD"),
1908 MTK_EINT_FUNCTION(0, 143),
1909 MTK_FUNCTION(0, "GPIO258"),
1910 MTK_FUNCTION(1, "MSDC3_CMD")
1912 MTK_PIN(PINCTRL_PIN(259, "MSDC0E_CLK"),
1914 MTK_EINT_FUNCTION(0, 144),
1915 MTK_FUNCTION(0, "GPIO259"),
1916 MTK_FUNCTION(1, "MSDC3_CLK")
1918 MTK_PIN(PINCTRL_PIN(260, "MSDC0E_DSL"),
1920 MTK_EINT_FUNCTION(0, 145),
1921 MTK_FUNCTION(0, "GPIO260"),
1922 MTK_FUNCTION(1, "MSDC3_DSL")
1924 MTK_PIN(PINCTRL_PIN(261, "MSDC1_INS"),
1926 MTK_EINT_FUNCTION(0, 146),
1927 MTK_FUNCTION(0, "GPIO261"),
1928 MTK_FUNCTION(1, "MSDC1_INS"),
1929 MTK_FUNCTION(7, "DBG_MON_B[29]")
1931 MTK_PIN(PINCTRL_PIN(262, "G2_TXEN"),
1933 MTK_EINT_FUNCTION(0, 8),
1934 MTK_FUNCTION(0, "GPIO262"),
1935 MTK_FUNCTION(1, "G2_TXEN")
1937 MTK_PIN(PINCTRL_PIN(263, "G2_TXD3"),
1939 MTK_EINT_FUNCTION(0, 9),
1940 MTK_FUNCTION(0, "GPIO263"),
1941 MTK_FUNCTION(1, "G2_TXD3"),
1942 MTK_FUNCTION(6, "ANT_SEL5")
1944 MTK_PIN(PINCTRL_PIN(264, "G2_TXD2"),
1946 MTK_EINT_FUNCTION(0, 10),
1947 MTK_FUNCTION(0, "GPIO264"),
1948 MTK_FUNCTION(1, "G2_TXD2"),
1949 MTK_FUNCTION(6, "ANT_SEL4")
1951 MTK_PIN(PINCTRL_PIN(265, "G2_TXD1"),
1953 MTK_EINT_FUNCTION(0, 11),
1954 MTK_FUNCTION(0, "GPIO265"),
1955 MTK_FUNCTION(1, "G2_TXD1"),
1956 MTK_FUNCTION(6, "ANT_SEL3")
1958 MTK_PIN(PINCTRL_PIN(266, "G2_TXD0"),
1960 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1961 MTK_FUNCTION(0, "GPIO266"),
1962 MTK_FUNCTION(1, "G2_TXD0"),
1963 MTK_FUNCTION(6, "ANT_SEL2")
1965 MTK_PIN(PINCTRL_PIN(267, "G2_TXC"),
1967 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1968 MTK_FUNCTION(0, "GPIO267"),
1969 MTK_FUNCTION(1, "G2_TXC")
1971 MTK_PIN(PINCTRL_PIN(268, "G2_RXC"),
1973 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1974 MTK_FUNCTION(0, "GPIO268"),
1975 MTK_FUNCTION(1, "G2_RXC")
1977 MTK_PIN(PINCTRL_PIN(269, "G2_RXD0"),
1979 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1980 MTK_FUNCTION(0, "GPIO269"),
1981 MTK_FUNCTION(1, "G2_RXD0")
1983 MTK_PIN(PINCTRL_PIN(270, "G2_RXD1"),
1985 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1986 MTK_FUNCTION(0, "GPIO270"),
1987 MTK_FUNCTION(1, "G2_RXD1")
1989 MTK_PIN(PINCTRL_PIN(271, "G2_RXD2"),
1991 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1992 MTK_FUNCTION(0, "GPIO271"),
1993 MTK_FUNCTION(1, "G2_RXD2")
1995 MTK_PIN(PINCTRL_PIN(272, "G2_RXD3"),
1997 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1998 MTK_FUNCTION(0, "GPIO272"),
1999 MTK_FUNCTION(1, "G2_RXD3")
2001 MTK_PIN(PINCTRL_PIN(273, "ESW_INT"),
2003 MTK_EINT_FUNCTION(0, 168),
2004 MTK_FUNCTION(0, "GPIO273"),
2005 MTK_FUNCTION(1, "ESW_INT")
2007 MTK_PIN(PINCTRL_PIN(274, "G2_RXDV"),
2009 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
2010 MTK_FUNCTION(0, "GPIO274"),
2011 MTK_FUNCTION(1, "G2_RXDV")
2013 MTK_PIN(PINCTRL_PIN(275, "MDC"),
2015 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
2016 MTK_FUNCTION(0, "GPIO275"),
2017 MTK_FUNCTION(1, "MDC"),
2018 MTK_FUNCTION(6, "ANT_SEL0")
2020 MTK_PIN(PINCTRL_PIN(276, "MDIO"),
2022 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
2023 MTK_FUNCTION(0, "GPIO276"),
2024 MTK_FUNCTION(1, "MDIO"),
2025 MTK_FUNCTION(6, "ANT_SEL1")
2027 MTK_PIN(PINCTRL_PIN(277, "ESW_RST"),
2029 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
2030 MTK_FUNCTION(0, "GPIO277"),
2031 MTK_FUNCTION(1, "ESW_RST")
2033 MTK_PIN(PINCTRL_PIN(278, "JTAG_RESET"),
2035 MTK_EINT_FUNCTION(0, 147),
2036 MTK_FUNCTION(0, "GPIO278"),
2037 MTK_FUNCTION(1, "JTAG_RESET")
2039 MTK_PIN(PINCTRL_PIN(279, "USB3_RES_BOND"),
2041 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
2042 MTK_FUNCTION(0, "GPIO279"),
2043 MTK_FUNCTION(1, "USB3_RES_BOND")
2047 #endif /* __PINCTRL_MTK_MT2701_H */