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
[] = {
22 MTK_PIN(PINCTRL_PIN(0, "PWRAP_SPI0_MI"),
24 MTK_EINT_FUNCTION(0, 148),
25 MTK_FUNCTION(0, "GPIO0"),
26 MTK_FUNCTION(1, "PWRAP_SPIDO"),
27 MTK_FUNCTION(2, "PWRAP_SPIDI")
29 MTK_PIN(PINCTRL_PIN(1, "PWRAP_SPI0_MO"),
31 MTK_EINT_FUNCTION(0, 149),
32 MTK_FUNCTION(0, "GPIO1"),
33 MTK_FUNCTION(1, "PWRAP_SPIDI"),
34 MTK_FUNCTION(2, "PWRAP_SPIDO")
36 MTK_PIN(PINCTRL_PIN(2, "PWRAP_INT"),
38 MTK_EINT_FUNCTION(0, 150),
39 MTK_FUNCTION(0, "GPIO2"),
40 MTK_FUNCTION(1, "PWRAP_INT")
42 MTK_PIN(PINCTRL_PIN(3, "PWRAP_SPI0_CK"),
44 MTK_EINT_FUNCTION(0, 151),
45 MTK_FUNCTION(0, "GPIO3"),
46 MTK_FUNCTION(1, "PWRAP_SPICK_I")
48 MTK_PIN(PINCTRL_PIN(4, "PWRAP_SPI0_CSN"),
50 MTK_EINT_FUNCTION(0, 152),
51 MTK_FUNCTION(0, "GPIO4"),
52 MTK_FUNCTION(1, "PWRAP_SPICS_B_I")
54 MTK_PIN(PINCTRL_PIN(5, "PWRAP_SPI0_CK2"),
56 MTK_EINT_FUNCTION(0, 153),
57 MTK_FUNCTION(0, "GPIO5"),
58 MTK_FUNCTION(1, "PWRAP_SPICK2_I"),
59 MTK_FUNCTION(5, "ANT_SEL1")
61 MTK_PIN(PINCTRL_PIN(6, "PWRAP_SPI0_CSN2"),
63 MTK_EINT_FUNCTION(0, 154),
64 MTK_FUNCTION(0, "GPIO6"),
65 MTK_FUNCTION(1, "PWRAP_SPICS2_B_I"),
66 MTK_FUNCTION(5, "ANT_SEL0"),
67 MTK_FUNCTION(7, "DBG_MON_A[0]")
69 MTK_PIN(PINCTRL_PIN(7, "SPI1_CSN"),
71 MTK_EINT_FUNCTION(0, 155),
72 MTK_FUNCTION(0, "GPIO7"),
73 MTK_FUNCTION(1, "SPI1_CS"),
74 MTK_FUNCTION(4, "KCOL0"),
75 MTK_FUNCTION(7, "DBG_MON_B[12]")
77 MTK_PIN(PINCTRL_PIN(8, "SPI1_MI"),
79 MTK_EINT_FUNCTION(0, 156),
80 MTK_FUNCTION(0, "GPIO8"),
81 MTK_FUNCTION(1, "SPI1_MI"),
82 MTK_FUNCTION(2, "SPI1_MO"),
83 MTK_FUNCTION(4, "KCOL1"),
84 MTK_FUNCTION(7, "DBG_MON_B[13]")
86 MTK_PIN(PINCTRL_PIN(9, "SPI1_MO"),
88 MTK_EINT_FUNCTION(0, 157),
89 MTK_FUNCTION(0, "GPIO9"),
90 MTK_FUNCTION(1, "SPI1_MO"),
91 MTK_FUNCTION(2, "SPI1_MI"),
92 MTK_FUNCTION(3, "EXT_FRAME_SYNC"),
93 MTK_FUNCTION(4, "KCOL2"),
94 MTK_FUNCTION(7, "DBG_MON_B[14]")
96 MTK_PIN(PINCTRL_PIN(10, "RTC32K_CK"),
98 MTK_EINT_FUNCTION(0, 158),
99 MTK_FUNCTION(0, "GPIO10"),
100 MTK_FUNCTION(1, "RTC32K_CK")
102 MTK_PIN(PINCTRL_PIN(11, "WATCHDOG"),
104 MTK_EINT_FUNCTION(0, 159),
105 MTK_FUNCTION(0, "GPIO11"),
106 MTK_FUNCTION(1, "WATCHDOG")
108 MTK_PIN(PINCTRL_PIN(12, "SRCLKENA"),
110 MTK_EINT_FUNCTION(0, 160),
111 MTK_FUNCTION(0, "GPIO12"),
112 MTK_FUNCTION(1, "SRCLKENA")
114 MTK_PIN(PINCTRL_PIN(13, "SRCLKENAI"),
116 MTK_EINT_FUNCTION(0, 161),
117 MTK_FUNCTION(0, "GPIO13"),
118 MTK_FUNCTION(1, "SRCLKENAI")
120 MTK_PIN(PINCTRL_PIN(14, "URXD2"),
122 MTK_EINT_FUNCTION(0, 162),
123 MTK_FUNCTION(0, "GPIO14"),
124 MTK_FUNCTION(1, "URXD2"),
125 MTK_FUNCTION(2, "UTXD2"),
126 MTK_FUNCTION(5, "SRCCLKENAI2"),
127 MTK_FUNCTION(7, "DBG_MON_B[30]")
129 MTK_PIN(PINCTRL_PIN(15, "UTXD2"),
131 MTK_EINT_FUNCTION(0, 163),
132 MTK_FUNCTION(0, "GPIO15"),
133 MTK_FUNCTION(1, "UTXD2"),
134 MTK_FUNCTION(2, "URXD2"),
135 MTK_FUNCTION(7, "DBG_MON_B[31]")
137 MTK_PIN(PINCTRL_PIN(16, "I2S5_DATA_IN"),
139 MTK_EINT_FUNCTION(0, 164),
140 MTK_FUNCTION(0, "GPIO16"),
141 MTK_FUNCTION(1, "I2S5_DATA_IN"),
142 MTK_FUNCTION(3, "PCM_RX"),
143 MTK_FUNCTION(4, "ANT_SEL4")
145 MTK_PIN(PINCTRL_PIN(17, "I2S5_BCK"),
147 MTK_EINT_FUNCTION(0, 165),
148 MTK_FUNCTION(0, "GPIO17"),
149 MTK_FUNCTION(1, "I2S5_BCK"),
150 MTK_FUNCTION(3, "PCM_CLK0"),
151 MTK_FUNCTION(4, "ANT_SEL2")
153 MTK_PIN(PINCTRL_PIN(18, "PCM_CLK"),
155 MTK_EINT_FUNCTION(0, 166),
156 MTK_FUNCTION(0, "GPIO18"),
157 MTK_FUNCTION(1, "PCM_CLK0"),
158 MTK_FUNCTION(2, "MRG_CLK"),
159 MTK_FUNCTION(4, "MM_TEST_CK"),
160 MTK_FUNCTION(5, "CONN_DSP_JCK"),
161 MTK_FUNCTION(6, "WCN_PCM_CLKO"),
162 MTK_FUNCTION(7, "DBG_MON_A[3]")
164 MTK_PIN(PINCTRL_PIN(19, "PCM_SYNC"),
166 MTK_EINT_FUNCTION(0, 167),
167 MTK_FUNCTION(0, "GPIO19"),
168 MTK_FUNCTION(1, "PCM_SYNC"),
169 MTK_FUNCTION(2, "MRG_SYNC"),
170 MTK_FUNCTION(5, "CONN_DSP_JINTP"),
171 MTK_FUNCTION(6, "WCN_PCM_SYNC"),
172 MTK_FUNCTION(7, "DBG_MON_A[5]")
174 MTK_PIN(PINCTRL_PIN(20, "PCM_RX"),
176 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
177 MTK_FUNCTION(0, "GPIO20"),
178 MTK_FUNCTION(1, "PCM_RX"),
179 MTK_FUNCTION(2, "MRG_RX"),
180 MTK_FUNCTION(3, "MRG_TX"),
181 MTK_FUNCTION(4, "PCM_TX"),
182 MTK_FUNCTION(5, "CONN_DSP_JDI"),
183 MTK_FUNCTION(6, "WCN_PCM_RX"),
184 MTK_FUNCTION(7, "DBG_MON_A[4]")
186 MTK_PIN(PINCTRL_PIN(21, "PCM_TX"),
188 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
189 MTK_FUNCTION(0, "GPIO21"),
190 MTK_FUNCTION(1, "PCM_TX"),
191 MTK_FUNCTION(2, "MRG_TX"),
192 MTK_FUNCTION(3, "MRG_RX"),
193 MTK_FUNCTION(4, "PCM_RX"),
194 MTK_FUNCTION(5, "CONN_DSP_JMS"),
195 MTK_FUNCTION(6, "WCN_PCM_TX"),
196 MTK_FUNCTION(7, "DBG_MON_A[2]")
198 MTK_PIN(PINCTRL_PIN(22, "EINT0"),
200 MTK_EINT_FUNCTION(0, 0),
201 MTK_FUNCTION(0, "GPIO22"),
202 MTK_FUNCTION(1, "UCTS0"),
203 /* MT7623 take function 2 as PCIE0_PERST_N */
204 MTK_FUNCTION(2, "PCIE0_PERST_N"),
205 MTK_FUNCTION(3, "KCOL3"),
206 MTK_FUNCTION(4, "CONN_DSP_JDO"),
207 MTK_FUNCTION(5, "EXT_FRAME_SYNC"),
208 MTK_FUNCTION(7, "DBG_MON_A[30]"),
209 MTK_FUNCTION(10, "PCIE0_PERST_N")
211 MTK_PIN(PINCTRL_PIN(23, "EINT1"),
213 MTK_EINT_FUNCTION(0, 1),
214 MTK_FUNCTION(0, "GPIO23"),
215 MTK_FUNCTION(1, "URTS0"),
216 /* MT7623 take function 2 as PCIE1_PERST_N */
217 MTK_FUNCTION(2, "PCIE1_PERST_N"),
218 MTK_FUNCTION(3, "KCOL2"),
219 MTK_FUNCTION(4, "CONN_MCU_TDO"),
220 MTK_FUNCTION(5, "EXT_FRAME_SYNC"),
221 MTK_FUNCTION(7, "DBG_MON_A[29]"),
222 MTK_FUNCTION(10, "PCIE1_PERST_N")
224 MTK_PIN(PINCTRL_PIN(24, "EINT2"),
226 MTK_EINT_FUNCTION(0, 2),
227 MTK_FUNCTION(0, "GPIO24"),
228 MTK_FUNCTION(1, "UCTS1"),
229 /* MT7623 take function 2 as PCIE2_PERST_N */
230 MTK_FUNCTION(2, "PCIE2_PERST_N"),
231 MTK_FUNCTION(3, "KCOL1"),
232 MTK_FUNCTION(4, "CONN_MCU_DBGACK_N"),
233 MTK_FUNCTION(7, "DBG_MON_A[28]"),
234 MTK_FUNCTION(10, "PCIE2_PERST_N")
236 MTK_PIN(PINCTRL_PIN(25, "EINT3"),
238 MTK_EINT_FUNCTION(0, 3),
239 MTK_FUNCTION(0, "GPIO25"),
240 MTK_FUNCTION(1, "URTS1"),
241 MTK_FUNCTION(3, "KCOL0"),
242 MTK_FUNCTION(4, "CONN_MCU_DBGI_N"),
243 MTK_FUNCTION(7, "DBG_MON_A[27]")
245 MTK_PIN(PINCTRL_PIN(26, "EINT4"),
247 MTK_EINT_FUNCTION(0, 4),
248 MTK_FUNCTION(0, "GPIO26"),
249 MTK_FUNCTION(1, "UCTS3"),
250 MTK_FUNCTION(2, "DRV_VBUS_P1"),
251 MTK_FUNCTION(3, "KROW3"),
252 MTK_FUNCTION(4, "CONN_MCU_TCK0"),
253 MTK_FUNCTION(5, "CONN_MCU_AICE_JCKC"),
254 MTK_FUNCTION(6, "PCIE2_WAKE_N"),
255 MTK_FUNCTION(7, "DBG_MON_A[26]")
257 MTK_PIN(PINCTRL_PIN(27, "EINT5"),
259 MTK_EINT_FUNCTION(0, 5),
260 MTK_FUNCTION(0, "GPIO27"),
261 MTK_FUNCTION(1, "URTS3"),
262 MTK_FUNCTION(2, "IDDIG_P1"),
263 MTK_FUNCTION(3, "KROW2"),
264 MTK_FUNCTION(4, "CONN_MCU_TDI"),
265 MTK_FUNCTION(6, "PCIE1_WAKE_N"),
266 MTK_FUNCTION(7, "DBG_MON_A[25]")
268 MTK_PIN(PINCTRL_PIN(28, "EINT6"),
270 MTK_EINT_FUNCTION(0, 6),
271 MTK_FUNCTION(0, "GPIO28"),
272 MTK_FUNCTION(1, "DRV_VBUS"),
273 MTK_FUNCTION(3, "KROW1"),
274 MTK_FUNCTION(4, "CONN_MCU_TRST_B"),
275 MTK_FUNCTION(6, "PCIE0_WAKE_N"),
276 MTK_FUNCTION(7, "DBG_MON_A[24]")
278 MTK_PIN(PINCTRL_PIN(29, "EINT7"),
280 MTK_EINT_FUNCTION(0, 7),
281 MTK_FUNCTION(0, "GPIO29"),
282 MTK_FUNCTION(1, "IDDIG"),
283 MTK_FUNCTION(2, "MSDC1_WP"),
284 MTK_FUNCTION(3, "KROW0"),
285 MTK_FUNCTION(4, "CONN_MCU_TMS"),
286 MTK_FUNCTION(5, "CONN_MCU_AICE_JMSC"),
287 /* MT7623 take function 6 as PCIE2_PERST_N */
288 MTK_FUNCTION(6, "PCIE2_PERST_N"),
289 MTK_FUNCTION(7, "DBG_MON_A[23]"),
290 MTK_FUNCTION(14, "PCIE2_PERST_N")
292 MTK_PIN(PINCTRL_PIN(30, "I2S5_LRCK"),
294 MTK_EINT_FUNCTION(0, 12),
295 MTK_FUNCTION(0, "GPIO30"),
296 MTK_FUNCTION(1, "I2S5_LRCK"),
297 MTK_FUNCTION(3, "PCM_SYNC"),
298 MTK_FUNCTION(4, "ANT_SEL1")
300 MTK_PIN(PINCTRL_PIN(31, "I2S5_MCLK"),
302 MTK_EINT_FUNCTION(0, 13),
303 MTK_FUNCTION(0, "GPIO31"),
304 MTK_FUNCTION(1, "I2S5_MCLK"),
305 MTK_FUNCTION(4, "ANT_SEL0")
307 MTK_PIN(PINCTRL_PIN(32, "I2S5_DATA"),
309 MTK_EINT_FUNCTION(0, 14),
310 MTK_FUNCTION(0, "GPIO32"),
311 MTK_FUNCTION(1, "I2S5_DATA"),
312 MTK_FUNCTION(2, "I2S5_DATA_BYPS"),
313 MTK_FUNCTION(3, "PCM_TX"),
314 MTK_FUNCTION(4, "ANT_SEL3")
316 MTK_PIN(PINCTRL_PIN(33, "I2S1_DATA"),
318 MTK_EINT_FUNCTION(0, 15),
319 MTK_FUNCTION(0, "GPIO33"),
320 MTK_FUNCTION(1, "I2S1_DATA"),
321 MTK_FUNCTION(2, "I2S1_DATA_BYPS"),
322 MTK_FUNCTION(3, "PCM_TX"),
323 MTK_FUNCTION(4, "IMG_TEST_CK"),
324 MTK_FUNCTION(5, "G1_RXD0"),
325 MTK_FUNCTION(6, "WCN_PCM_TX"),
326 MTK_FUNCTION(7, "DBG_MON_B[8]")
328 MTK_PIN(PINCTRL_PIN(34, "I2S1_DATA_IN"),
330 MTK_EINT_FUNCTION(0, 16),
331 MTK_FUNCTION(0, "GPIO34"),
332 MTK_FUNCTION(1, "I2S1_DATA_IN"),
333 MTK_FUNCTION(3, "PCM_RX"),
334 MTK_FUNCTION(4, "VDEC_TEST_CK"),
335 MTK_FUNCTION(5, "G1_RXD1"),
336 MTK_FUNCTION(6, "WCN_PCM_RX"),
337 MTK_FUNCTION(7, "DBG_MON_B[7]")
339 MTK_PIN(PINCTRL_PIN(35, "I2S1_BCK"),
341 MTK_EINT_FUNCTION(0, 17),
342 MTK_FUNCTION(0, "GPIO35"),
343 MTK_FUNCTION(1, "I2S1_BCK"),
344 MTK_FUNCTION(3, "PCM_CLK0"),
345 MTK_FUNCTION(5, "G1_RXD2"),
346 MTK_FUNCTION(6, "WCN_PCM_CLKO"),
347 MTK_FUNCTION(7, "DBG_MON_B[9]")
349 MTK_PIN(PINCTRL_PIN(36, "I2S1_LRCK"),
351 MTK_EINT_FUNCTION(0, 18),
352 MTK_FUNCTION(0, "GPIO36"),
353 MTK_FUNCTION(1, "I2S1_LRCK"),
354 MTK_FUNCTION(3, "PCM_SYNC"),
355 MTK_FUNCTION(5, "G1_RXD3"),
356 MTK_FUNCTION(6, "WCN_PCM_SYNC"),
357 MTK_FUNCTION(7, "DBG_MON_B[10]")
359 MTK_PIN(PINCTRL_PIN(37, "I2S1_MCLK"),
361 MTK_EINT_FUNCTION(0, 19),
362 MTK_FUNCTION(0, "GPIO37"),
363 MTK_FUNCTION(1, "I2S1_MCLK"),
364 MTK_FUNCTION(5, "G1_RXDV"),
365 MTK_FUNCTION(7, "DBG_MON_B[11]")
367 MTK_PIN(PINCTRL_PIN(38, "I2S2_DATA"),
369 MTK_EINT_FUNCTION(0, 20),
370 MTK_FUNCTION(0, "GPIO38"),
371 MTK_FUNCTION(2, "I2S2_DATA_BYPS"),
372 MTK_FUNCTION(3, "PCM_TX"),
373 MTK_FUNCTION(4, "DMIC_DAT0")
375 MTK_PIN(PINCTRL_PIN(39, "JTMS"),
377 MTK_EINT_FUNCTION(0, 21),
378 MTK_FUNCTION(0, "GPIO39"),
379 MTK_FUNCTION(1, "JTMS"),
380 MTK_FUNCTION(2, "CONN_MCU_TMS"),
381 MTK_FUNCTION(3, "CONN_MCU_AICE_JMSC"),
382 MTK_FUNCTION(4, "DFD_TMS_XI")
384 MTK_PIN(PINCTRL_PIN(40, "JTCK"),
386 MTK_EINT_FUNCTION(0, 22),
387 MTK_FUNCTION(0, "GPIO40"),
388 MTK_FUNCTION(1, "JTCK"),
389 MTK_FUNCTION(2, "CONN_MCU_TCK1"),
390 MTK_FUNCTION(3, "CONN_MCU_AICE_JCKC"),
391 MTK_FUNCTION(4, "DFD_TCK_XI")
393 MTK_PIN(PINCTRL_PIN(41, "JTDI"),
395 MTK_EINT_FUNCTION(0, 23),
396 MTK_FUNCTION(0, "GPIO41"),
397 MTK_FUNCTION(1, "JTDI"),
398 MTK_FUNCTION(2, "CONN_MCU_TDI"),
399 MTK_FUNCTION(4, "DFD_TDI_XI")
401 MTK_PIN(PINCTRL_PIN(42, "JTDO"),
403 MTK_EINT_FUNCTION(0, 24),
404 MTK_FUNCTION(0, "GPIO42"),
405 MTK_FUNCTION(1, "JTDO"),
406 MTK_FUNCTION(2, "CONN_MCU_TDO"),
407 MTK_FUNCTION(4, "DFD_TDO")
409 MTK_PIN(PINCTRL_PIN(43, "NCLE"),
411 MTK_EINT_FUNCTION(0, 25),
412 MTK_FUNCTION(0, "GPIO43"),
413 MTK_FUNCTION(1, "NCLE"),
414 MTK_FUNCTION(2, "EXT_XCS2")
416 MTK_PIN(PINCTRL_PIN(44, "NCEB1"),
418 MTK_EINT_FUNCTION(0, 26),
419 MTK_FUNCTION(0, "GPIO44"),
420 MTK_FUNCTION(1, "NCEB1"),
421 MTK_FUNCTION(2, "IDDIG")
423 MTK_PIN(PINCTRL_PIN(45, "NCEB0"),
425 MTK_EINT_FUNCTION(0, 27),
426 MTK_FUNCTION(0, "GPIO45"),
427 MTK_FUNCTION(1, "NCEB0"),
428 MTK_FUNCTION(2, "DRV_VBUS")
430 MTK_PIN(PINCTRL_PIN(46, "IR"),
432 MTK_EINT_FUNCTION(0, 28),
433 MTK_FUNCTION(0, "GPIO46"),
434 MTK_FUNCTION(1, "IR")
436 MTK_PIN(PINCTRL_PIN(47, "NREB"),
438 MTK_EINT_FUNCTION(0, 29),
439 MTK_FUNCTION(0, "GPIO47"),
440 MTK_FUNCTION(1, "NREB"),
441 MTK_FUNCTION(2, "IDDIG_P1")
443 MTK_PIN(PINCTRL_PIN(48, "NRNB"),
445 MTK_EINT_FUNCTION(0, 30),
446 MTK_FUNCTION(0, "GPIO48"),
447 MTK_FUNCTION(1, "NRNB"),
448 MTK_FUNCTION(2, "DRV_VBUS_P1")
450 MTK_PIN(PINCTRL_PIN(49, "I2S0_DATA"),
452 MTK_EINT_FUNCTION(0, 31),
453 MTK_FUNCTION(0, "GPIO49"),
454 MTK_FUNCTION(1, "I2S0_DATA"),
455 MTK_FUNCTION(2, "I2S0_DATA_BYPS"),
456 MTK_FUNCTION(3, "PCM_TX"),
457 MTK_FUNCTION(6, "WCN_I2S_DO"),
458 MTK_FUNCTION(7, "DBG_MON_B[3]")
460 MTK_PIN(PINCTRL_PIN(50, "I2S2_BCK"),
462 MTK_EINT_FUNCTION(0, 32),
463 MTK_FUNCTION(0, "GPIO50"),
464 MTK_FUNCTION(1, "I2S2_BCK"),
465 MTK_FUNCTION(3, "PCM_CLK0"),
466 MTK_FUNCTION(4, "DMIC_SCK1")
468 MTK_PIN(PINCTRL_PIN(51, "I2S2_DATA_IN"),
470 MTK_EINT_FUNCTION(0, 33),
471 MTK_FUNCTION(0, "GPIO51"),
472 MTK_FUNCTION(1, "I2S2_DATA_IN"),
473 MTK_FUNCTION(3, "PCM_RX"),
474 MTK_FUNCTION(4, "DMIC_SCK0")
476 MTK_PIN(PINCTRL_PIN(52, "I2S2_LRCK"),
478 MTK_EINT_FUNCTION(0, 34),
479 MTK_FUNCTION(0, "GPIO52"),
480 MTK_FUNCTION(1, "I2S2_LRCK"),
481 MTK_FUNCTION(3, "PCM_SYNC"),
482 MTK_FUNCTION(4, "DMIC_DAT1")
484 MTK_PIN(PINCTRL_PIN(53, "SPI0_CSN"),
486 MTK_EINT_FUNCTION(0, 35),
487 MTK_FUNCTION(0, "GPIO53"),
488 MTK_FUNCTION(1, "SPI0_CS"),
489 MTK_FUNCTION(3, "SPDIF"),
490 MTK_FUNCTION(4, "ADC_CK"),
491 MTK_FUNCTION(5, "PWM1"),
492 MTK_FUNCTION(7, "DBG_MON_A[7]")
494 MTK_PIN(PINCTRL_PIN(54, "SPI0_CK"),
496 MTK_EINT_FUNCTION(0, 36),
497 MTK_FUNCTION(0, "GPIO54"),
498 MTK_FUNCTION(1, "SPI0_CK"),
499 MTK_FUNCTION(3, "SPDIF_IN1"),
500 MTK_FUNCTION(4, "ADC_DAT_IN"),
501 MTK_FUNCTION(7, "DBG_MON_A[10]")
503 MTK_PIN(PINCTRL_PIN(55, "SPI0_MI"),
505 MTK_EINT_FUNCTION(0, 37),
506 MTK_FUNCTION(0, "GPIO55"),
507 MTK_FUNCTION(1, "SPI0_MI"),
508 MTK_FUNCTION(2, "SPI0_MO"),
509 MTK_FUNCTION(3, "MSDC1_WP"),
510 MTK_FUNCTION(4, "ADC_WS"),
511 MTK_FUNCTION(5, "PWM2"),
512 MTK_FUNCTION(7, "DBG_MON_A[8]")
514 MTK_PIN(PINCTRL_PIN(56, "SPI0_MO"),
516 MTK_EINT_FUNCTION(0, 38),
517 MTK_FUNCTION(0, "GPIO56"),
518 MTK_FUNCTION(1, "SPI0_MO"),
519 MTK_FUNCTION(2, "SPI0_MI"),
520 MTK_FUNCTION(3, "SPDIF_IN0"),
521 MTK_FUNCTION(7, "DBG_MON_A[9]")
523 MTK_PIN(PINCTRL_PIN(57, "SDA1"),
525 MTK_EINT_FUNCTION(0, 39),
526 MTK_FUNCTION(0, "GPIO57"),
527 MTK_FUNCTION(1, "SDA1")
529 MTK_PIN(PINCTRL_PIN(58, "SCL1"),
531 MTK_EINT_FUNCTION(0, 40),
532 MTK_FUNCTION(0, "GPIO58"),
533 MTK_FUNCTION(1, "SCL1")
535 MTK_PIN(PINCTRL_PIN(59, "RAMBUF_I_CLK"),
537 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
538 MTK_FUNCTION(0, "GPIO59"),
539 MTK_FUNCTION(1, "RAMBUF_I_CLK")
541 MTK_PIN(PINCTRL_PIN(60, "WB_RSTB"),
543 MTK_EINT_FUNCTION(0, 41),
544 MTK_FUNCTION(0, "GPIO60"),
545 MTK_FUNCTION(1, "WB_RSTB"),
546 MTK_FUNCTION(7, "DBG_MON_A[11]")
548 MTK_PIN(PINCTRL_PIN(61, "F2W_DATA"),
550 MTK_EINT_FUNCTION(0, 42),
551 MTK_FUNCTION(0, "GPIO61"),
552 MTK_FUNCTION(1, "F2W_DATA"),
553 MTK_FUNCTION(7, "DBG_MON_A[16]")
555 MTK_PIN(PINCTRL_PIN(62, "F2W_CLK"),
557 MTK_EINT_FUNCTION(0, 43),
558 MTK_FUNCTION(0, "GPIO62"),
559 MTK_FUNCTION(1, "F2W_CK"),
560 MTK_FUNCTION(7, "DBG_MON_A[15]")
562 MTK_PIN(PINCTRL_PIN(63, "WB_SCLK"),
564 MTK_EINT_FUNCTION(0, 44),
565 MTK_FUNCTION(0, "GPIO63"),
566 MTK_FUNCTION(1, "WB_SCLK"),
567 MTK_FUNCTION(7, "DBG_MON_A[13]")
569 MTK_PIN(PINCTRL_PIN(64, "WB_SDATA"),
571 MTK_EINT_FUNCTION(0, 45),
572 MTK_FUNCTION(0, "GPIO64"),
573 MTK_FUNCTION(1, "WB_SDATA"),
574 MTK_FUNCTION(7, "DBG_MON_A[12]")
576 MTK_PIN(PINCTRL_PIN(65, "WB_SEN"),
578 MTK_EINT_FUNCTION(0, 46),
579 MTK_FUNCTION(0, "GPIO65"),
580 MTK_FUNCTION(1, "WB_SEN"),
581 MTK_FUNCTION(7, "DBG_MON_A[14]")
583 MTK_PIN(PINCTRL_PIN(66, "WB_CRTL0"),
585 MTK_EINT_FUNCTION(0, 47),
586 MTK_FUNCTION(0, "GPIO66"),
587 MTK_FUNCTION(1, "WB_CRTL0"),
588 MTK_FUNCTION(5, "DFD_NTRST_XI"),
589 MTK_FUNCTION(7, "DBG_MON_A[17]")
591 MTK_PIN(PINCTRL_PIN(67, "WB_CRTL1"),
593 MTK_EINT_FUNCTION(0, 48),
594 MTK_FUNCTION(0, "GPIO67"),
595 MTK_FUNCTION(1, "WB_CRTL1"),
596 MTK_FUNCTION(5, "DFD_TMS_XI"),
597 MTK_FUNCTION(7, "DBG_MON_A[18]")
599 MTK_PIN(PINCTRL_PIN(68, "WB_CRTL2"),
601 MTK_EINT_FUNCTION(0, 49),
602 MTK_FUNCTION(0, "GPIO68"),
603 MTK_FUNCTION(1, "WB_CRTL2"),
604 MTK_FUNCTION(5, "DFD_TCK_XI"),
605 MTK_FUNCTION(7, "DBG_MON_A[19]")
607 MTK_PIN(PINCTRL_PIN(69, "WB_CRTL3"),
609 MTK_EINT_FUNCTION(0, 50),
610 MTK_FUNCTION(0, "GPIO69"),
611 MTK_FUNCTION(1, "WB_CRTL3"),
612 MTK_FUNCTION(5, "DFD_TDI_XI"),
613 MTK_FUNCTION(7, "DBG_MON_A[20]")
615 MTK_PIN(PINCTRL_PIN(70, "WB_CRTL4"),
617 MTK_EINT_FUNCTION(0, 51),
618 MTK_FUNCTION(0, "GPIO70"),
619 MTK_FUNCTION(1, "WB_CRTL4"),
620 MTK_FUNCTION(5, "DFD_TDO"),
621 MTK_FUNCTION(7, "DBG_MON_A[21]")
623 MTK_PIN(PINCTRL_PIN(71, "WB_CRTL5"),
625 MTK_EINT_FUNCTION(0, 52),
626 MTK_FUNCTION(0, "GPIO71"),
627 MTK_FUNCTION(1, "WB_CRTL5"),
628 MTK_FUNCTION(7, "DBG_MON_A[22]")
630 MTK_PIN(PINCTRL_PIN(72, "I2S0_DATA_IN"),
632 MTK_EINT_FUNCTION(0, 53),
633 MTK_FUNCTION(0, "GPIO72"),
634 MTK_FUNCTION(1, "I2S0_DATA_IN"),
635 MTK_FUNCTION(3, "PCM_RX"),
636 MTK_FUNCTION(4, "PWM0"),
637 MTK_FUNCTION(5, "DISP_PWM"),
638 MTK_FUNCTION(6, "WCN_I2S_DI"),
639 MTK_FUNCTION(7, "DBG_MON_B[2]")
641 MTK_PIN(PINCTRL_PIN(73, "I2S0_LRCK"),
643 MTK_EINT_FUNCTION(0, 54),
644 MTK_FUNCTION(0, "GPIO73"),
645 MTK_FUNCTION(1, "I2S0_LRCK"),
646 MTK_FUNCTION(3, "PCM_SYNC"),
647 MTK_FUNCTION(6, "WCN_I2S_LRCK"),
648 MTK_FUNCTION(7, "DBG_MON_B[5]")
650 MTK_PIN(PINCTRL_PIN(74, "I2S0_BCK"),
652 MTK_EINT_FUNCTION(0, 55),
653 MTK_FUNCTION(0, "GPIO74"),
654 MTK_FUNCTION(1, "I2S0_BCK"),
655 MTK_FUNCTION(3, "PCM_CLK0"),
656 MTK_FUNCTION(6, "WCN_I2S_BCK"),
657 MTK_FUNCTION(7, "DBG_MON_B[4]")
659 MTK_PIN(PINCTRL_PIN(75, "SDA0"),
661 MTK_EINT_FUNCTION(0, 56),
662 MTK_FUNCTION(0, "GPIO75"),
663 MTK_FUNCTION(1, "SDA0")
665 MTK_PIN(PINCTRL_PIN(76, "SCL0"),
667 MTK_EINT_FUNCTION(0, 57),
668 MTK_FUNCTION(0, "GPIO76"),
669 MTK_FUNCTION(1, "SCL0")
671 MTK_PIN(PINCTRL_PIN(77, "SDA2"),
673 MTK_EINT_FUNCTION(0, 58),
674 MTK_FUNCTION(0, "GPIO77"),
675 MTK_FUNCTION(1, "SDA2")
677 MTK_PIN(PINCTRL_PIN(78, "SCL2"),
679 MTK_EINT_FUNCTION(0, 59),
680 MTK_FUNCTION(0, "GPIO78"),
681 MTK_FUNCTION(1, "SCL2")
683 MTK_PIN(PINCTRL_PIN(79, "URXD0"),
685 MTK_EINT_FUNCTION(0, 60),
686 MTK_FUNCTION(0, "GPIO79"),
687 MTK_FUNCTION(1, "URXD0"),
688 MTK_FUNCTION(2, "UTXD0")
690 MTK_PIN(PINCTRL_PIN(80, "UTXD0"),
692 MTK_EINT_FUNCTION(0, 61),
693 MTK_FUNCTION(0, "GPIO80"),
694 MTK_FUNCTION(1, "UTXD0"),
695 MTK_FUNCTION(2, "URXD0")
697 MTK_PIN(PINCTRL_PIN(81, "URXD1"),
699 MTK_EINT_FUNCTION(0, 62),
700 MTK_FUNCTION(0, "GPIO81"),
701 MTK_FUNCTION(1, "URXD1"),
702 MTK_FUNCTION(2, "UTXD1")
704 MTK_PIN(PINCTRL_PIN(82, "UTXD1"),
706 MTK_EINT_FUNCTION(0, 63),
707 MTK_FUNCTION(0, "GPIO82"),
708 MTK_FUNCTION(1, "UTXD1"),
709 MTK_FUNCTION(2, "URXD1")
711 MTK_PIN(PINCTRL_PIN(83, "LCM_RST"),
713 MTK_EINT_FUNCTION(0, 64),
714 MTK_FUNCTION(0, "GPIO83"),
715 MTK_FUNCTION(1, "LCM_RST"),
716 MTK_FUNCTION(2, "VDAC_CK_XI"),
717 MTK_FUNCTION(7, "DBG_MON_B[1]")
719 MTK_PIN(PINCTRL_PIN(84, "DSI_TE"),
721 MTK_EINT_FUNCTION(0, 65),
722 MTK_FUNCTION(0, "GPIO84"),
723 MTK_FUNCTION(1, "DSI_TE"),
724 MTK_FUNCTION(7, "DBG_MON_B[0]")
726 MTK_PIN(PINCTRL_PIN(85, "MSDC2_CMD"),
728 MTK_EINT_FUNCTION(0, 66),
729 MTK_FUNCTION(0, "GPIO85"),
730 MTK_FUNCTION(1, "MSDC2_CMD"),
731 MTK_FUNCTION(2, "ANT_SEL0"),
732 MTK_FUNCTION(3, "SDA1"),
733 MTK_FUNCTION(6, "I2SOUT_BCK")
735 MTK_PIN(PINCTRL_PIN(86, "MSDC2_CLK"),
737 MTK_EINT_FUNCTION(0, 67),
738 MTK_FUNCTION(0, "GPIO86"),
739 MTK_FUNCTION(1, "MSDC2_CLK"),
740 MTK_FUNCTION(2, "ANT_SEL1"),
741 MTK_FUNCTION(3, "SCL1"),
742 MTK_FUNCTION(6, "I2SOUT_LRCK")
744 MTK_PIN(PINCTRL_PIN(87, "MSDC2_DAT0"),
746 MTK_EINT_FUNCTION(0, 68),
747 MTK_FUNCTION(0, "GPIO87"),
748 MTK_FUNCTION(1, "MSDC2_DAT0"),
749 MTK_FUNCTION(2, "ANT_SEL2"),
750 MTK_FUNCTION(5, "UTXD0"),
751 MTK_FUNCTION(6, "I2SOUT_DATA_OUT")
753 MTK_PIN(PINCTRL_PIN(88, "MSDC2_DAT1"),
755 MTK_EINT_FUNCTION(0, 71),
756 MTK_FUNCTION(0, "GPIO88"),
757 MTK_FUNCTION(1, "MSDC2_DAT1"),
758 MTK_FUNCTION(2, "ANT_SEL3"),
759 MTK_FUNCTION(3, "PWM0"),
760 MTK_FUNCTION(5, "URXD0"),
761 MTK_FUNCTION(6, "PWM1")
763 MTK_PIN(PINCTRL_PIN(89, "MSDC2_DAT2"),
765 MTK_EINT_FUNCTION(0, 72),
766 MTK_FUNCTION(0, "GPIO89"),
767 MTK_FUNCTION(1, "MSDC2_DAT2"),
768 MTK_FUNCTION(2, "ANT_SEL4"),
769 MTK_FUNCTION(3, "SDA2"),
770 MTK_FUNCTION(5, "UTXD1"),
771 MTK_FUNCTION(6, "PWM2")
773 MTK_PIN(PINCTRL_PIN(90, "MSDC2_DAT3"),
775 MTK_EINT_FUNCTION(0, 73),
776 MTK_FUNCTION(0, "GPIO90"),
777 MTK_FUNCTION(1, "MSDC2_DAT3"),
778 MTK_FUNCTION(2, "ANT_SEL5"),
779 MTK_FUNCTION(3, "SCL2"),
780 MTK_FUNCTION(4, "EXT_FRAME_SYNC"),
781 MTK_FUNCTION(5, "URXD1"),
782 MTK_FUNCTION(6, "PWM3")
784 MTK_PIN(PINCTRL_PIN(91, "TDN3"),
786 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
787 MTK_FUNCTION(0, "GPI91"),
788 MTK_FUNCTION(1, "TDN3")
790 MTK_PIN(PINCTRL_PIN(92, "TDP3"),
792 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
793 MTK_FUNCTION(0, "GPI92"),
794 MTK_FUNCTION(1, "TDP3")
796 MTK_PIN(PINCTRL_PIN(93, "TDN2"),
798 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
799 MTK_FUNCTION(0, "GPI93"),
800 MTK_FUNCTION(1, "TDN2")
802 MTK_PIN(PINCTRL_PIN(94, "TDP2"),
804 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
805 MTK_FUNCTION(0, "GPI94"),
806 MTK_FUNCTION(1, "TDP2")
808 MTK_PIN(PINCTRL_PIN(95, "TCN"),
810 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
811 MTK_FUNCTION(0, "GPI95"),
812 MTK_FUNCTION(1, "TCN")
814 MTK_PIN(PINCTRL_PIN(96, "TCP"),
816 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
817 MTK_FUNCTION(0, "GPI96"),
818 MTK_FUNCTION(1, "TCP")
820 MTK_PIN(PINCTRL_PIN(97, "TDN1"),
822 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
823 MTK_FUNCTION(0, "GPI97"),
824 MTK_FUNCTION(1, "TDN1")
826 MTK_PIN(PINCTRL_PIN(98, "TDP1"),
828 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
829 MTK_FUNCTION(0, "GPI98"),
830 MTK_FUNCTION(1, "TDP1")
832 MTK_PIN(PINCTRL_PIN(99, "TDN0"),
834 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
835 MTK_FUNCTION(0, "GPI99"),
836 MTK_FUNCTION(1, "TDN0")
838 MTK_PIN(PINCTRL_PIN(100, "TDP0"),
840 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
841 MTK_FUNCTION(0, "GPI100"),
842 MTK_FUNCTION(1, "TDP0")
844 MTK_PIN(PINCTRL_PIN(101, "SPI2_CSN"),
846 MTK_EINT_FUNCTION(0, 74),
847 MTK_FUNCTION(0, "GPIO101"),
848 MTK_FUNCTION(1, "SPI2_CS"),
849 MTK_FUNCTION(3, "SCL3"),
850 MTK_FUNCTION(4, "KROW0")
852 MTK_PIN(PINCTRL_PIN(102, "SPI2_MI"),
854 MTK_EINT_FUNCTION(0, 75),
855 MTK_FUNCTION(0, "GPIO102"),
856 MTK_FUNCTION(1, "SPI2_MI"),
857 MTK_FUNCTION(2, "SPI2_MO"),
858 MTK_FUNCTION(3, "SDA3"),
859 MTK_FUNCTION(4, "KROW1")
861 MTK_PIN(PINCTRL_PIN(103, "SPI2_MO"),
863 MTK_EINT_FUNCTION(0, 76),
864 MTK_FUNCTION(0, "GPIO103"),
865 MTK_FUNCTION(1, "SPI2_MO"),
866 MTK_FUNCTION(2, "SPI2_MI"),
867 MTK_FUNCTION(3, "SCL3"),
868 MTK_FUNCTION(4, "KROW2")
870 MTK_PIN(PINCTRL_PIN(104, "SPI2_CLK"),
872 MTK_EINT_FUNCTION(0, 77),
873 MTK_FUNCTION(0, "GPIO104"),
874 MTK_FUNCTION(1, "SPI2_CK"),
875 MTK_FUNCTION(3, "SDA3"),
876 MTK_FUNCTION(4, "KROW3")
878 MTK_PIN(PINCTRL_PIN(105, "MSDC1_CMD"),
880 MTK_EINT_FUNCTION(0, 78),
881 MTK_FUNCTION(0, "GPIO105"),
882 MTK_FUNCTION(1, "MSDC1_CMD"),
883 MTK_FUNCTION(2, "ANT_SEL0"),
884 MTK_FUNCTION(3, "SDA1"),
885 MTK_FUNCTION(6, "I2SOUT_BCK"),
886 MTK_FUNCTION(7, "DBG_MON_B[27]")
888 MTK_PIN(PINCTRL_PIN(106, "MSDC1_CLK"),
890 MTK_EINT_FUNCTION(0, 79),
891 MTK_FUNCTION(0, "GPIO106"),
892 MTK_FUNCTION(1, "MSDC1_CLK"),
893 MTK_FUNCTION(2, "ANT_SEL1"),
894 MTK_FUNCTION(3, "SCL1"),
895 MTK_FUNCTION(6, "I2SOUT_LRCK"),
896 MTK_FUNCTION(7, "DBG_MON_B[28]")
898 MTK_PIN(PINCTRL_PIN(107, "MSDC1_DAT0"),
900 MTK_EINT_FUNCTION(0, 80),
901 MTK_FUNCTION(0, "GPIO107"),
902 MTK_FUNCTION(1, "MSDC1_DAT0"),
903 MTK_FUNCTION(2, "ANT_SEL2"),
904 MTK_FUNCTION(5, "UTXD0"),
905 MTK_FUNCTION(6, "I2SOUT_DATA_OUT"),
906 MTK_FUNCTION(7, "DBG_MON_B[26]")
908 MTK_PIN(PINCTRL_PIN(108, "MSDC1_DAT1"),
910 MTK_EINT_FUNCTION(0, 81),
911 MTK_FUNCTION(0, "GPIO108"),
912 MTK_FUNCTION(1, "MSDC1_DAT1"),
913 MTK_FUNCTION(2, "ANT_SEL3"),
914 MTK_FUNCTION(3, "PWM0"),
915 MTK_FUNCTION(5, "URXD0"),
916 MTK_FUNCTION(6, "PWM1"),
917 MTK_FUNCTION(7, "DBG_MON_B[25]")
919 MTK_PIN(PINCTRL_PIN(109, "MSDC1_DAT2"),
921 MTK_EINT_FUNCTION(0, 82),
922 MTK_FUNCTION(0, "GPIO109"),
923 MTK_FUNCTION(1, "MSDC1_DAT2"),
924 MTK_FUNCTION(2, "ANT_SEL4"),
925 MTK_FUNCTION(3, "SDA2"),
926 MTK_FUNCTION(5, "UTXD1"),
927 MTK_FUNCTION(6, "PWM2"),
928 MTK_FUNCTION(7, "DBG_MON_B[24]")
930 MTK_PIN(PINCTRL_PIN(110, "MSDC1_DAT3"),
932 MTK_EINT_FUNCTION(0, 83),
933 MTK_FUNCTION(0, "GPIO110"),
934 MTK_FUNCTION(1, "MSDC1_DAT3"),
935 MTK_FUNCTION(2, "ANT_SEL5"),
936 MTK_FUNCTION(3, "SCL2"),
937 MTK_FUNCTION(4, "EXT_FRAME_SYNC"),
938 MTK_FUNCTION(5, "URXD1"),
939 MTK_FUNCTION(6, "PWM3"),
940 MTK_FUNCTION(7, "DBG_MON_B[23]")
942 MTK_PIN(PINCTRL_PIN(111, "MSDC0_DAT7"),
944 MTK_EINT_FUNCTION(0, 84),
945 MTK_FUNCTION(0, "GPIO111"),
946 MTK_FUNCTION(1, "MSDC0_DAT7"),
947 MTK_FUNCTION(4, "NLD7")
949 MTK_PIN(PINCTRL_PIN(112, "MSDC0_DAT6"),
951 MTK_EINT_FUNCTION(0, 85),
952 MTK_FUNCTION(0, "GPIO112"),
953 MTK_FUNCTION(1, "MSDC0_DAT6"),
954 MTK_FUNCTION(4, "NLD6")
956 MTK_PIN(PINCTRL_PIN(113, "MSDC0_DAT5"),
958 MTK_EINT_FUNCTION(0, 86),
959 MTK_FUNCTION(0, "GPIO113"),
960 MTK_FUNCTION(1, "MSDC0_DAT5"),
961 MTK_FUNCTION(4, "NLD5")
963 MTK_PIN(PINCTRL_PIN(114, "MSDC0_DAT4"),
965 MTK_EINT_FUNCTION(0, 87),
966 MTK_FUNCTION(0, "GPIO114"),
967 MTK_FUNCTION(1, "MSDC0_DAT4"),
968 MTK_FUNCTION(4, "NLD4")
970 MTK_PIN(PINCTRL_PIN(115, "MSDC0_RSTB"),
972 MTK_EINT_FUNCTION(0, 88),
973 MTK_FUNCTION(0, "GPIO115"),
974 MTK_FUNCTION(1, "MSDC0_RSTB"),
975 MTK_FUNCTION(4, "NLD8")
977 MTK_PIN(PINCTRL_PIN(116, "MSDC0_CMD"),
979 MTK_EINT_FUNCTION(0, 89),
980 MTK_FUNCTION(0, "GPIO116"),
981 MTK_FUNCTION(1, "MSDC0_CMD"),
982 MTK_FUNCTION(4, "NALE")
984 MTK_PIN(PINCTRL_PIN(117, "MSDC0_CLK"),
986 MTK_EINT_FUNCTION(0, 90),
987 MTK_FUNCTION(0, "GPIO117"),
988 MTK_FUNCTION(1, "MSDC0_CLK"),
989 MTK_FUNCTION(4, "NWEB")
991 MTK_PIN(PINCTRL_PIN(118, "MSDC0_DAT3"),
993 MTK_EINT_FUNCTION(0, 91),
994 MTK_FUNCTION(0, "GPIO118"),
995 MTK_FUNCTION(1, "MSDC0_DAT3"),
996 MTK_FUNCTION(4, "NLD3")
998 MTK_PIN(PINCTRL_PIN(119, "MSDC0_DAT2"),
1000 MTK_EINT_FUNCTION(0, 92),
1001 MTK_FUNCTION(0, "GPIO119"),
1002 MTK_FUNCTION(1, "MSDC0_DAT2"),
1003 MTK_FUNCTION(4, "NLD2")
1005 MTK_PIN(PINCTRL_PIN(120, "MSDC0_DAT1"),
1007 MTK_EINT_FUNCTION(0, 93),
1008 MTK_FUNCTION(0, "GPIO120"),
1009 MTK_FUNCTION(1, "MSDC0_DAT1"),
1010 MTK_FUNCTION(4, "NLD1")
1012 MTK_PIN(PINCTRL_PIN(121, "MSDC0_DAT0"),
1014 MTK_EINT_FUNCTION(0, 94),
1015 MTK_FUNCTION(0, "GPIO121"),
1016 MTK_FUNCTION(1, "MSDC0_DAT0"),
1017 MTK_FUNCTION(4, "NLD0"),
1018 MTK_FUNCTION(5, "WATCHDOG")
1020 MTK_PIN(PINCTRL_PIN(122, "CEC"),
1022 MTK_EINT_FUNCTION(0, 95),
1023 MTK_FUNCTION(0, "GPIO122"),
1024 MTK_FUNCTION(1, "CEC"),
1025 MTK_FUNCTION(4, "SDA2"),
1026 MTK_FUNCTION(5, "URXD0")
1028 MTK_PIN(PINCTRL_PIN(123, "HTPLG"),
1030 MTK_EINT_FUNCTION(0, 96),
1031 MTK_FUNCTION(0, "GPIO123"),
1032 MTK_FUNCTION(1, "HTPLG"),
1033 MTK_FUNCTION(4, "SCL2"),
1034 MTK_FUNCTION(5, "UTXD0")
1036 MTK_PIN(PINCTRL_PIN(124, "HDMISCK"),
1038 MTK_EINT_FUNCTION(0, 97),
1039 MTK_FUNCTION(0, "GPIO124"),
1040 MTK_FUNCTION(1, "HDMISCK"),
1041 MTK_FUNCTION(4, "SDA1"),
1042 MTK_FUNCTION(5, "PWM3")
1044 MTK_PIN(PINCTRL_PIN(125, "HDMISD"),
1046 MTK_EINT_FUNCTION(0, 98),
1047 MTK_FUNCTION(0, "GPIO125"),
1048 MTK_FUNCTION(1, "HDMISD"),
1049 MTK_FUNCTION(4, "SCL1"),
1050 MTK_FUNCTION(5, "PWM4")
1052 MTK_PIN(PINCTRL_PIN(126, "I2S0_MCLK"),
1054 MTK_EINT_FUNCTION(0, 99),
1055 MTK_FUNCTION(0, "GPIO126"),
1056 MTK_FUNCTION(1, "I2S0_MCLK"),
1057 MTK_FUNCTION(6, "WCN_I2S_MCLK"),
1058 MTK_FUNCTION(7, "DBG_MON_B[6]")
1060 MTK_PIN(PINCTRL_PIN(127, "RAMBUF_IDATA0"),
1062 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1063 MTK_FUNCTION(0, "GPIO127"),
1064 MTK_FUNCTION(1, "RAMBUF_IDATA0")
1066 MTK_PIN(PINCTRL_PIN(128, "RAMBUF_IDATA1"),
1068 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1069 MTK_FUNCTION(0, "GPIO128"),
1070 MTK_FUNCTION(1, "RAMBUF_IDATA1")
1072 MTK_PIN(PINCTRL_PIN(129, "RAMBUF_IDATA2"),
1074 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1075 MTK_FUNCTION(0, "GPIO129"),
1076 MTK_FUNCTION(1, "RAMBUF_IDATA2")
1078 MTK_PIN(PINCTRL_PIN(130, "RAMBUF_IDATA3"),
1080 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1081 MTK_FUNCTION(0, "GPIO130"),
1082 MTK_FUNCTION(1, "RAMBUF_IDATA3")
1084 MTK_PIN(PINCTRL_PIN(131, "RAMBUF_IDATA4"),
1086 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1087 MTK_FUNCTION(0, "GPIO131"),
1088 MTK_FUNCTION(1, "RAMBUF_IDATA4")
1090 MTK_PIN(PINCTRL_PIN(132, "RAMBUF_IDATA5"),
1092 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1093 MTK_FUNCTION(0, "GPIO132"),
1094 MTK_FUNCTION(1, "RAMBUF_IDATA5")
1096 MTK_PIN(PINCTRL_PIN(133, "RAMBUF_IDATA6"),
1098 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1099 MTK_FUNCTION(0, "GPIO133"),
1100 MTK_FUNCTION(1, "RAMBUF_IDATA6")
1102 MTK_PIN(PINCTRL_PIN(134, "RAMBUF_IDATA7"),
1104 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1105 MTK_FUNCTION(0, "GPIO134"),
1106 MTK_FUNCTION(1, "RAMBUF_IDATA7")
1108 MTK_PIN(PINCTRL_PIN(135, "RAMBUF_IDATA8"),
1110 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1111 MTK_FUNCTION(0, "GPIO135"),
1112 MTK_FUNCTION(1, "RAMBUF_IDATA8")
1114 MTK_PIN(PINCTRL_PIN(136, "RAMBUF_IDATA9"),
1116 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1117 MTK_FUNCTION(0, "GPIO136"),
1118 MTK_FUNCTION(1, "RAMBUF_IDATA9")
1120 MTK_PIN(PINCTRL_PIN(137, "RAMBUF_IDATA10"),
1122 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1123 MTK_FUNCTION(0, "GPIO137"),
1124 MTK_FUNCTION(1, "RAMBUF_IDATA10")
1126 MTK_PIN(PINCTRL_PIN(138, "RAMBUF_IDATA11"),
1128 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1129 MTK_FUNCTION(0, "GPIO138"),
1130 MTK_FUNCTION(1, "RAMBUF_IDATA11")
1132 MTK_PIN(PINCTRL_PIN(139, "RAMBUF_IDATA12"),
1134 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1135 MTK_FUNCTION(0, "GPIO139"),
1136 MTK_FUNCTION(1, "RAMBUF_IDATA12")
1138 MTK_PIN(PINCTRL_PIN(140, "RAMBUF_IDATA13"),
1140 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1141 MTK_FUNCTION(0, "GPIO140"),
1142 MTK_FUNCTION(1, "RAMBUF_IDATA13")
1144 MTK_PIN(PINCTRL_PIN(141, "RAMBUF_IDATA14"),
1146 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1147 MTK_FUNCTION(0, "GPIO141"),
1148 MTK_FUNCTION(1, "RAMBUF_IDATA14")
1150 MTK_PIN(PINCTRL_PIN(142, "RAMBUF_IDATA15"),
1152 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1153 MTK_FUNCTION(0, "GPIO142"),
1154 MTK_FUNCTION(1, "RAMBUF_IDATA15")
1156 MTK_PIN(PINCTRL_PIN(143, "RAMBUF_ODATA0"),
1158 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1159 MTK_FUNCTION(0, "GPIO143"),
1160 MTK_FUNCTION(1, "RAMBUF_ODATA0")
1162 MTK_PIN(PINCTRL_PIN(144, "RAMBUF_ODATA1"),
1164 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1165 MTK_FUNCTION(0, "GPIO144"),
1166 MTK_FUNCTION(1, "RAMBUF_ODATA1")
1168 MTK_PIN(PINCTRL_PIN(145, "RAMBUF_ODATA2"),
1170 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1171 MTK_FUNCTION(0, "GPIO145"),
1172 MTK_FUNCTION(1, "RAMBUF_ODATA2")
1174 MTK_PIN(PINCTRL_PIN(146, "RAMBUF_ODATA3"),
1176 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1177 MTK_FUNCTION(0, "GPIO146"),
1178 MTK_FUNCTION(1, "RAMBUF_ODATA3")
1180 MTK_PIN(PINCTRL_PIN(147, "RAMBUF_ODATA4"),
1182 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1183 MTK_FUNCTION(0, "GPIO147"),
1184 MTK_FUNCTION(1, "RAMBUF_ODATA4")
1186 MTK_PIN(PINCTRL_PIN(148, "RAMBUF_ODATA5"),
1188 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1189 MTK_FUNCTION(0, "GPIO148"),
1190 MTK_FUNCTION(1, "RAMBUF_ODATA5")
1192 MTK_PIN(PINCTRL_PIN(149, "RAMBUF_ODATA6"),
1194 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1195 MTK_FUNCTION(0, "GPIO149"),
1196 MTK_FUNCTION(1, "RAMBUF_ODATA6")
1198 MTK_PIN(PINCTRL_PIN(150, "RAMBUF_ODATA7"),
1200 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1201 MTK_FUNCTION(0, "GPIO150"),
1202 MTK_FUNCTION(1, "RAMBUF_ODATA7")
1204 MTK_PIN(PINCTRL_PIN(151, "RAMBUF_ODATA8"),
1206 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1207 MTK_FUNCTION(0, "GPIO151"),
1208 MTK_FUNCTION(1, "RAMBUF_ODATA8")
1210 MTK_PIN(PINCTRL_PIN(152, "RAMBUF_ODATA9"),
1212 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1213 MTK_FUNCTION(0, "GPIO152"),
1214 MTK_FUNCTION(1, "RAMBUF_ODATA9")
1216 MTK_PIN(PINCTRL_PIN(153, "RAMBUF_ODATA10"),
1218 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1219 MTK_FUNCTION(0, "GPIO153"),
1220 MTK_FUNCTION(1, "RAMBUF_ODATA10")
1222 MTK_PIN(PINCTRL_PIN(154, "RAMBUF_ODATA11"),
1224 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1225 MTK_FUNCTION(0, "GPIO154"),
1226 MTK_FUNCTION(1, "RAMBUF_ODATA11")
1228 MTK_PIN(PINCTRL_PIN(155, "RAMBUF_ODATA12"),
1230 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1231 MTK_FUNCTION(0, "GPIO155"),
1232 MTK_FUNCTION(1, "RAMBUF_ODATA12")
1234 MTK_PIN(PINCTRL_PIN(156, "RAMBUF_ODATA13"),
1236 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1237 MTK_FUNCTION(0, "GPIO156"),
1238 MTK_FUNCTION(1, "RAMBUF_ODATA13")
1240 MTK_PIN(PINCTRL_PIN(157, "RAMBUF_ODATA14"),
1242 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1243 MTK_FUNCTION(0, "GPIO157"),
1244 MTK_FUNCTION(1, "RAMBUF_ODATA14")
1246 MTK_PIN(PINCTRL_PIN(158, "RAMBUF_ODATA15"),
1248 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1249 MTK_FUNCTION(0, "GPIO158"),
1250 MTK_FUNCTION(1, "RAMBUF_ODATA15")
1252 MTK_PIN(PINCTRL_PIN(159, "RAMBUF_BE0"),
1254 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1255 MTK_FUNCTION(0, "GPIO159"),
1256 MTK_FUNCTION(1, "RAMBUF_BE0")
1258 MTK_PIN(PINCTRL_PIN(160, "RAMBUF_BE1"),
1260 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1261 MTK_FUNCTION(0, "GPIO160"),
1262 MTK_FUNCTION(1, "RAMBUF_BE1")
1264 MTK_PIN(PINCTRL_PIN(161, "AP2PT_INT"),
1266 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1267 MTK_FUNCTION(0, "GPIO161"),
1268 MTK_FUNCTION(1, "AP2PT_INT")
1270 MTK_PIN(PINCTRL_PIN(162, "AP2PT_INT_CLR"),
1272 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1273 MTK_FUNCTION(0, "GPIO162"),
1274 MTK_FUNCTION(1, "AP2PT_INT_CLR")
1276 MTK_PIN(PINCTRL_PIN(163, "PT2AP_INT"),
1278 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1279 MTK_FUNCTION(0, "GPIO163"),
1280 MTK_FUNCTION(1, "PT2AP_INT")
1282 MTK_PIN(PINCTRL_PIN(164, "PT2AP_INT_CLR"),
1284 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1285 MTK_FUNCTION(0, "GPIO164"),
1286 MTK_FUNCTION(1, "PT2AP_INT_CLR")
1288 MTK_PIN(PINCTRL_PIN(165, "AP2UP_INT"),
1290 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1291 MTK_FUNCTION(0, "GPIO165"),
1292 MTK_FUNCTION(1, "AP2UP_INT")
1294 MTK_PIN(PINCTRL_PIN(166, "AP2UP_INT_CLR"),
1296 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1297 MTK_FUNCTION(0, "GPIO166"),
1298 MTK_FUNCTION(1, "AP2UP_INT_CLR")
1300 MTK_PIN(PINCTRL_PIN(167, "UP2AP_INT"),
1302 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1303 MTK_FUNCTION(0, "GPIO167"),
1304 MTK_FUNCTION(1, "UP2AP_INT")
1306 MTK_PIN(PINCTRL_PIN(168, "UP2AP_INT_CLR"),
1308 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1309 MTK_FUNCTION(0, "GPIO168"),
1310 MTK_FUNCTION(1, "UP2AP_INT_CLR")
1312 MTK_PIN(PINCTRL_PIN(169, "RAMBUF_ADDR0"),
1314 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1315 MTK_FUNCTION(0, "GPIO169"),
1316 MTK_FUNCTION(1, "RAMBUF_ADDR0")
1318 MTK_PIN(PINCTRL_PIN(170, "RAMBUF_ADDR1"),
1320 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1321 MTK_FUNCTION(0, "GPIO170"),
1322 MTK_FUNCTION(1, "RAMBUF_ADDR1")
1324 MTK_PIN(PINCTRL_PIN(171, "RAMBUF_ADDR2"),
1326 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1327 MTK_FUNCTION(0, "GPIO171"),
1328 MTK_FUNCTION(1, "RAMBUF_ADDR2")
1330 MTK_PIN(PINCTRL_PIN(172, "RAMBUF_ADDR3"),
1332 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1333 MTK_FUNCTION(0, "GPIO172"),
1334 MTK_FUNCTION(1, "RAMBUF_ADDR3")
1336 MTK_PIN(PINCTRL_PIN(173, "RAMBUF_ADDR4"),
1338 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1339 MTK_FUNCTION(0, "GPIO173"),
1340 MTK_FUNCTION(1, "RAMBUF_ADDR4")
1342 MTK_PIN(PINCTRL_PIN(174, "RAMBUF_ADDR5"),
1344 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1345 MTK_FUNCTION(0, "GPIO174"),
1346 MTK_FUNCTION(1, "RAMBUF_ADDR5")
1348 MTK_PIN(PINCTRL_PIN(175, "RAMBUF_ADDR6"),
1350 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1351 MTK_FUNCTION(0, "GPIO175"),
1352 MTK_FUNCTION(1, "RAMBUF_ADDR6")
1354 MTK_PIN(PINCTRL_PIN(176, "RAMBUF_ADDR7"),
1356 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1357 MTK_FUNCTION(0, "GPIO176"),
1358 MTK_FUNCTION(1, "RAMBUF_ADDR7")
1360 MTK_PIN(PINCTRL_PIN(177, "RAMBUF_ADDR8"),
1362 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1363 MTK_FUNCTION(0, "GPIO177"),
1364 MTK_FUNCTION(1, "RAMBUF_ADDR8")
1366 MTK_PIN(PINCTRL_PIN(178, "RAMBUF_ADDR9"),
1368 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1369 MTK_FUNCTION(0, "GPIO178"),
1370 MTK_FUNCTION(1, "RAMBUF_ADDR9")
1372 MTK_PIN(PINCTRL_PIN(179, "RAMBUF_ADDR10"),
1374 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1375 MTK_FUNCTION(0, "GPIO179"),
1376 MTK_FUNCTION(1, "RAMBUF_ADDR10")
1378 MTK_PIN(PINCTRL_PIN(180, "RAMBUF_RW"),
1380 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1381 MTK_FUNCTION(0, "GPIO180"),
1382 MTK_FUNCTION(1, "RAMBUF_RW")
1384 MTK_PIN(PINCTRL_PIN(181, "RAMBUF_LAST"),
1386 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1387 MTK_FUNCTION(0, "GPIO181"),
1388 MTK_FUNCTION(1, "RAMBUF_LAST")
1390 MTK_PIN(PINCTRL_PIN(182, "RAMBUF_HP"),
1392 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1393 MTK_FUNCTION(0, "GPIO182"),
1394 MTK_FUNCTION(1, "RAMBUF_HP")
1396 MTK_PIN(PINCTRL_PIN(183, "RAMBUF_REQ"),
1398 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1399 MTK_FUNCTION(0, "GPIO183"),
1400 MTK_FUNCTION(1, "RAMBUF_REQ")
1402 MTK_PIN(PINCTRL_PIN(184, "RAMBUF_ALE"),
1404 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1405 MTK_FUNCTION(0, "GPIO184"),
1406 MTK_FUNCTION(1, "RAMBUF_ALE")
1408 MTK_PIN(PINCTRL_PIN(185, "RAMBUF_DLE"),
1410 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1411 MTK_FUNCTION(0, "GPIO185"),
1412 MTK_FUNCTION(1, "RAMBUF_DLE")
1414 MTK_PIN(PINCTRL_PIN(186, "RAMBUF_WDLE"),
1416 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1417 MTK_FUNCTION(0, "GPIO186"),
1418 MTK_FUNCTION(1, "RAMBUF_WDLE")
1420 MTK_PIN(PINCTRL_PIN(187, "RAMBUF_O_CLK"),
1422 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1423 MTK_FUNCTION(0, "GPIO187"),
1424 MTK_FUNCTION(1, "RAMBUF_O_CLK")
1426 MTK_PIN(PINCTRL_PIN(188, "I2S2_MCLK"),
1428 MTK_EINT_FUNCTION(0, 100),
1429 MTK_FUNCTION(0, "GPIO188"),
1430 MTK_FUNCTION(1, "I2S2_MCLK")
1432 MTK_PIN(PINCTRL_PIN(189, "I2S3_DATA"),
1434 MTK_EINT_FUNCTION(0, 101),
1435 MTK_FUNCTION(0, "GPIO189"),
1436 MTK_FUNCTION(2, "I2S3_DATA_BYPS"),
1437 MTK_FUNCTION(3, "PCM_TX")
1439 MTK_PIN(PINCTRL_PIN(190, "I2S3_DATA_IN"),
1441 MTK_EINT_FUNCTION(0, 102),
1442 MTK_FUNCTION(0, "GPIO190"),
1443 MTK_FUNCTION(1, "I2S3_DATA_IN"),
1444 MTK_FUNCTION(3, "PCM_RX")
1446 MTK_PIN(PINCTRL_PIN(191, "I2S3_BCK"),
1448 MTK_EINT_FUNCTION(0, 103),
1449 MTK_FUNCTION(0, "GPIO191"),
1450 MTK_FUNCTION(1, "I2S3_BCK"),
1451 MTK_FUNCTION(3, "PCM_CLK0")
1453 MTK_PIN(PINCTRL_PIN(192, "I2S3_LRCK"),
1455 MTK_EINT_FUNCTION(0, 104),
1456 MTK_FUNCTION(0, "GPIO192"),
1457 MTK_FUNCTION(1, "I2S3_LRCK"),
1458 MTK_FUNCTION(3, "PCM_SYNC")
1460 MTK_PIN(PINCTRL_PIN(193, "I2S3_MCLK"),
1462 MTK_EINT_FUNCTION(0, 105),
1463 MTK_FUNCTION(0, "GPIO193"),
1464 MTK_FUNCTION(1, "I2S3_MCLK")
1466 MTK_PIN(PINCTRL_PIN(194, "I2S4_DATA"),
1468 MTK_EINT_FUNCTION(0, 106),
1469 MTK_FUNCTION(0, "GPIO194"),
1470 MTK_FUNCTION(1, "I2S4_DATA"),
1471 MTK_FUNCTION(2, "I2S4_DATA_BYPS"),
1472 MTK_FUNCTION(3, "PCM_TX")
1474 MTK_PIN(PINCTRL_PIN(195, "I2S4_DATA_IN"),
1476 MTK_EINT_FUNCTION(0, 107),
1477 MTK_FUNCTION(0, "GPIO195"),
1478 MTK_FUNCTION(1, "I2S4_DATA_IN"),
1479 MTK_FUNCTION(3, "PCM_RX")
1481 MTK_PIN(PINCTRL_PIN(196, "I2S4_BCK"),
1483 MTK_EINT_FUNCTION(0, 108),
1484 MTK_FUNCTION(0, "GPIO196"),
1485 MTK_FUNCTION(1, "I2S4_BCK"),
1486 MTK_FUNCTION(3, "PCM_CLK0")
1488 MTK_PIN(PINCTRL_PIN(197, "I2S4_LRCK"),
1490 MTK_EINT_FUNCTION(0, 109),
1491 MTK_FUNCTION(0, "GPIO197"),
1492 MTK_FUNCTION(1, "I2S4_LRCK"),
1493 MTK_FUNCTION(3, "PCM_SYNC")
1495 MTK_PIN(PINCTRL_PIN(198, "I2S4_MCLK"),
1497 MTK_EINT_FUNCTION(0, 110),
1498 MTK_FUNCTION(0, "GPIO198"),
1499 MTK_FUNCTION(1, "I2S4_MCLK")
1501 MTK_PIN(PINCTRL_PIN(199, "SPI1_CLK"),
1503 MTK_EINT_FUNCTION(0, 111),
1504 MTK_FUNCTION(0, "GPIO199"),
1505 MTK_FUNCTION(1, "SPI1_CK"),
1506 MTK_FUNCTION(3, "EXT_FRAME_SYNC"),
1507 MTK_FUNCTION(4, "KCOL3"),
1508 MTK_FUNCTION(7, "DBG_MON_B[15]")
1510 MTK_PIN(PINCTRL_PIN(200, "SPDIF_OUT"),
1512 MTK_EINT_FUNCTION(0, 112),
1513 MTK_FUNCTION(0, "GPIO200"),
1514 MTK_FUNCTION(1, "SPDIF_OUT"),
1515 MTK_FUNCTION(5, "G1_TXD3"),
1516 MTK_FUNCTION(6, "URXD2"),
1517 MTK_FUNCTION(7, "DBG_MON_B[16]")
1519 MTK_PIN(PINCTRL_PIN(201, "SPDIF_IN0"),
1521 MTK_EINT_FUNCTION(0, 113),
1522 MTK_FUNCTION(0, "GPIO201"),
1523 MTK_FUNCTION(1, "SPDIF_IN0"),
1524 MTK_FUNCTION(5, "G1_TXEN"),
1525 MTK_FUNCTION(6, "UTXD2"),
1526 MTK_FUNCTION(7, "DBG_MON_B[17]")
1528 MTK_PIN(PINCTRL_PIN(202, "SPDIF_IN1"),
1530 MTK_EINT_FUNCTION(0, 114),
1531 MTK_FUNCTION(0, "GPIO202"),
1532 MTK_FUNCTION(1, "SPDIF_IN1")
1534 MTK_PIN(PINCTRL_PIN(203, "PWM0"),
1536 MTK_EINT_FUNCTION(0, 115),
1537 MTK_FUNCTION(0, "GPIO203"),
1538 MTK_FUNCTION(1, "PWM0"),
1539 MTK_FUNCTION(2, "DISP_PWM"),
1540 MTK_FUNCTION(5, "G1_TXD2"),
1541 MTK_FUNCTION(7, "DBG_MON_B[18]"),
1542 MTK_FUNCTION(9, "I2S2_DATA")
1544 MTK_PIN(PINCTRL_PIN(204, "PWM1"),
1546 MTK_EINT_FUNCTION(0, 116),
1547 MTK_FUNCTION(0, "GPIO204"),
1548 MTK_FUNCTION(1, "PWM1"),
1549 MTK_FUNCTION(2, "CLKM3"),
1550 MTK_FUNCTION(5, "G1_TXD1"),
1551 MTK_FUNCTION(7, "DBG_MON_B[19]"),
1552 MTK_FUNCTION(9, "I2S3_DATA")
1554 MTK_PIN(PINCTRL_PIN(205, "PWM2"),
1556 MTK_EINT_FUNCTION(0, 117),
1557 MTK_FUNCTION(0, "GPIO205"),
1558 MTK_FUNCTION(1, "PWM2"),
1559 MTK_FUNCTION(2, "CLKM2"),
1560 MTK_FUNCTION(5, "G1_TXD0"),
1561 MTK_FUNCTION(7, "DBG_MON_B[20]")
1563 MTK_PIN(PINCTRL_PIN(206, "PWM3"),
1565 MTK_EINT_FUNCTION(0, 118),
1566 MTK_FUNCTION(0, "GPIO206"),
1567 MTK_FUNCTION(1, "PWM3"),
1568 MTK_FUNCTION(2, "CLKM1"),
1569 MTK_FUNCTION(3, "EXT_FRAME_SYNC"),
1570 MTK_FUNCTION(5, "G1_TXC"),
1571 MTK_FUNCTION(7, "DBG_MON_B[21]")
1573 MTK_PIN(PINCTRL_PIN(207, "PWM4"),
1575 MTK_EINT_FUNCTION(0, 119),
1576 MTK_FUNCTION(0, "GPIO207"),
1577 MTK_FUNCTION(1, "PWM4"),
1578 MTK_FUNCTION(2, "CLKM0"),
1579 MTK_FUNCTION(3, "EXT_FRAME_SYNC"),
1580 MTK_FUNCTION(5, "G1_RXC"),
1581 MTK_FUNCTION(7, "DBG_MON_B[22]")
1583 MTK_PIN(PINCTRL_PIN(208, "AUD_EXT_CK1"),
1585 MTK_EINT_FUNCTION(0, 120),
1586 MTK_FUNCTION(0, "GPIO208"),
1587 MTK_FUNCTION(1, "AUD_EXT_CK1"),
1588 MTK_FUNCTION(2, "PWM0"),
1589 /* MT7623 take function 3 as PCIE0_PERST_N */
1590 MTK_FUNCTION(3, "PCIE0_PERST_N"),
1591 MTK_FUNCTION(4, "ANT_SEL5"),
1592 MTK_FUNCTION(5, "DISP_PWM"),
1593 MTK_FUNCTION(7, "DBG_MON_A[31]"),
1594 MTK_FUNCTION(11, "PCIE0_PERST_N")
1596 MTK_PIN(PINCTRL_PIN(209, "AUD_EXT_CK2"),
1598 MTK_EINT_FUNCTION(0, 121),
1599 MTK_FUNCTION(0, "GPIO209"),
1600 MTK_FUNCTION(1, "AUD_EXT_CK2"),
1601 MTK_FUNCTION(2, "MSDC1_WP"),
1602 /* MT7623 take function 3 as PCIE1_PERST_N */
1603 MTK_FUNCTION(3, "PCIE1_PERST_N"),
1604 MTK_FUNCTION(5, "PWM1"),
1605 MTK_FUNCTION(7, "DBG_MON_A[32]"),
1606 MTK_FUNCTION(11, "PCIE1_PERST_N")
1608 MTK_PIN(PINCTRL_PIN(210, "AUD_CLOCK"),
1610 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1611 MTK_FUNCTION(0, "GPIO210"),
1612 MTK_FUNCTION(1, "AUD_CLOCK")
1614 MTK_PIN(PINCTRL_PIN(211, "DVP_RESET"),
1616 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1617 MTK_FUNCTION(0, "GPIO211"),
1618 MTK_FUNCTION(1, "DVP_RESET")
1620 MTK_PIN(PINCTRL_PIN(212, "DVP_CLOCK"),
1622 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1623 MTK_FUNCTION(0, "GPIO212"),
1624 MTK_FUNCTION(1, "DVP_CLOCK")
1626 MTK_PIN(PINCTRL_PIN(213, "DVP_CS"),
1628 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1629 MTK_FUNCTION(0, "GPIO213"),
1630 MTK_FUNCTION(1, "DVP_CS")
1632 MTK_PIN(PINCTRL_PIN(214, "DVP_CK"),
1634 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1635 MTK_FUNCTION(0, "GPIO214"),
1636 MTK_FUNCTION(1, "DVP_CK")
1638 MTK_PIN(PINCTRL_PIN(215, "DVP_DI"),
1640 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1641 MTK_FUNCTION(0, "GPIO215"),
1642 MTK_FUNCTION(1, "DVP_DI")
1644 MTK_PIN(PINCTRL_PIN(216, "DVP_DO"),
1646 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1647 MTK_FUNCTION(0, "GPIO216"),
1648 MTK_FUNCTION(1, "DVP_DO")
1650 MTK_PIN(PINCTRL_PIN(217, "AP_CS"),
1652 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1653 MTK_FUNCTION(0, "GPIO217"),
1654 MTK_FUNCTION(1, "AP_CS")
1656 MTK_PIN(PINCTRL_PIN(218, "AP_CK"),
1658 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1659 MTK_FUNCTION(0, "GPIO218"),
1660 MTK_FUNCTION(1, "AP_CK")
1662 MTK_PIN(PINCTRL_PIN(219, "AP_DI"),
1664 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1665 MTK_FUNCTION(0, "GPIO219"),
1666 MTK_FUNCTION(1, "AP_DI")
1668 MTK_PIN(PINCTRL_PIN(220, "AP_DO"),
1670 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1671 MTK_FUNCTION(0, "GPIO220"),
1672 MTK_FUNCTION(1, "AP_DO")
1674 MTK_PIN(PINCTRL_PIN(221, "DVD_BCLK"),
1676 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1677 MTK_FUNCTION(0, "GPIO221"),
1678 MTK_FUNCTION(1, "DVD_BCLK")
1680 MTK_PIN(PINCTRL_PIN(222, "T8032_CLK"),
1682 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1683 MTK_FUNCTION(0, "GPIO222"),
1684 MTK_FUNCTION(1, "T8032_CLK")
1686 MTK_PIN(PINCTRL_PIN(223, "AP_BCLK"),
1688 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1689 MTK_FUNCTION(0, "GPIO223"),
1690 MTK_FUNCTION(1, "AP_BCLK")
1692 MTK_PIN(PINCTRL_PIN(224, "HOST_CS"),
1694 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1695 MTK_FUNCTION(0, "GPIO224"),
1696 MTK_FUNCTION(1, "HOST_CS")
1698 MTK_PIN(PINCTRL_PIN(225, "HOST_CK"),
1700 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1701 MTK_FUNCTION(0, "GPIO225"),
1702 MTK_FUNCTION(1, "HOST_CK")
1704 MTK_PIN(PINCTRL_PIN(226, "HOST_DO0"),
1706 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1707 MTK_FUNCTION(0, "GPIO226"),
1708 MTK_FUNCTION(1, "HOST_DO0")
1710 MTK_PIN(PINCTRL_PIN(227, "HOST_DO1"),
1712 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1713 MTK_FUNCTION(0, "GPIO227"),
1714 MTK_FUNCTION(1, "HOST_DO1")
1716 MTK_PIN(PINCTRL_PIN(228, "SLV_CS"),
1718 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1719 MTK_FUNCTION(0, "GPIO228"),
1720 MTK_FUNCTION(1, "SLV_CS")
1722 MTK_PIN(PINCTRL_PIN(229, "SLV_CK"),
1724 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1725 MTK_FUNCTION(0, "GPIO229"),
1726 MTK_FUNCTION(1, "SLV_CK")
1728 MTK_PIN(PINCTRL_PIN(230, "SLV_DI0"),
1730 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1731 MTK_FUNCTION(0, "GPIO230"),
1732 MTK_FUNCTION(1, "SLV_DI0")
1734 MTK_PIN(PINCTRL_PIN(231, "SLV_DI1"),
1736 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1737 MTK_FUNCTION(0, "GPIO231"),
1738 MTK_FUNCTION(1, "SLV_DI1")
1740 MTK_PIN(PINCTRL_PIN(232, "AP2DSP_INT"),
1742 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1743 MTK_FUNCTION(0, "GPIO232"),
1744 MTK_FUNCTION(1, "AP2DSP_INT")
1746 MTK_PIN(PINCTRL_PIN(233, "AP2DSP_INT_CLR"),
1748 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1749 MTK_FUNCTION(0, "GPIO233"),
1750 MTK_FUNCTION(1, "AP2DSP_INT_CLR")
1752 MTK_PIN(PINCTRL_PIN(234, "DSP2AP_INT"),
1754 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1755 MTK_FUNCTION(0, "GPIO234"),
1756 MTK_FUNCTION(1, "DSP2AP_INT")
1758 MTK_PIN(PINCTRL_PIN(235, "DSP2AP_INT_CLR"),
1760 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1761 MTK_FUNCTION(0, "GPIO235"),
1762 MTK_FUNCTION(1, "DSP2AP_INT_CLR")
1764 MTK_PIN(PINCTRL_PIN(236, "EXT_SDIO3"),
1766 MTK_EINT_FUNCTION(0, 122),
1767 MTK_FUNCTION(0, "GPIO236"),
1768 MTK_FUNCTION(1, "EXT_SDIO3"),
1769 MTK_FUNCTION(2, "IDDIG"),
1770 MTK_FUNCTION(7, "DBG_MON_A[1]")
1772 MTK_PIN(PINCTRL_PIN(237, "EXT_SDIO2"),
1774 MTK_EINT_FUNCTION(0, 123),
1775 MTK_FUNCTION(0, "GPIO237"),
1776 MTK_FUNCTION(1, "EXT_SDIO2"),
1777 MTK_FUNCTION(2, "DRV_VBUS")
1779 MTK_PIN(PINCTRL_PIN(238, "EXT_SDIO1"),
1781 MTK_EINT_FUNCTION(0, 124),
1782 MTK_FUNCTION(0, "GPIO238"),
1783 MTK_FUNCTION(1, "EXT_SDIO1"),
1784 MTK_FUNCTION(2, "IDDIG_P1")
1786 MTK_PIN(PINCTRL_PIN(239, "EXT_SDIO0"),
1788 MTK_EINT_FUNCTION(0, 125),
1789 MTK_FUNCTION(0, "GPIO239"),
1790 MTK_FUNCTION(1, "EXT_SDIO0"),
1791 MTK_FUNCTION(2, "DRV_VBUS_P1")
1793 MTK_PIN(PINCTRL_PIN(240, "EXT_XCS"),
1795 MTK_EINT_FUNCTION(0, 126),
1796 MTK_FUNCTION(0, "GPIO240"),
1797 MTK_FUNCTION(1, "EXT_XCS")
1799 MTK_PIN(PINCTRL_PIN(241, "EXT_SCK"),
1801 MTK_EINT_FUNCTION(0, 127),
1802 MTK_FUNCTION(0, "GPIO241"),
1803 MTK_FUNCTION(1, "EXT_SCK")
1805 MTK_PIN(PINCTRL_PIN(242, "URTS2"),
1807 MTK_EINT_FUNCTION(0, 128),
1808 MTK_FUNCTION(0, "GPIO242"),
1809 MTK_FUNCTION(1, "URTS2"),
1810 MTK_FUNCTION(2, "UTXD3"),
1811 MTK_FUNCTION(3, "URXD3"),
1812 MTK_FUNCTION(4, "SCL1"),
1813 MTK_FUNCTION(7, "DBG_MON_B[32]")
1815 MTK_PIN(PINCTRL_PIN(243, "UCTS2"),
1817 MTK_EINT_FUNCTION(0, 129),
1818 MTK_FUNCTION(0, "GPIO243"),
1819 MTK_FUNCTION(1, "UCTS2"),
1820 MTK_FUNCTION(2, "URXD3"),
1821 MTK_FUNCTION(3, "UTXD3"),
1822 MTK_FUNCTION(4, "SDA1"),
1823 MTK_FUNCTION(7, "DBG_MON_A[6]")
1825 MTK_PIN(PINCTRL_PIN(244, "HDMI_SDA_RX"),
1827 MTK_EINT_FUNCTION(0, 130),
1828 MTK_FUNCTION(0, "GPIO244"),
1829 MTK_FUNCTION(1, "HDMI_SDA_RX")
1831 MTK_PIN(PINCTRL_PIN(245, "HDMI_SCL_RX"),
1833 MTK_EINT_FUNCTION(0, 131),
1834 MTK_FUNCTION(0, "GPIO245"),
1835 MTK_FUNCTION(1, "HDMI_SCL_RX")
1837 MTK_PIN(PINCTRL_PIN(246, "MHL_SENCE"),
1839 MTK_EINT_FUNCTION(0, 132),
1840 MTK_FUNCTION(0, "GPIO246")
1842 MTK_PIN(PINCTRL_PIN(247, "HDMI_HPD_CBUS_RX"),
1844 MTK_EINT_FUNCTION(0, 69),
1845 MTK_FUNCTION(0, "GPIO247"),
1846 MTK_FUNCTION(1, "HDMI_HPD_RX")
1848 MTK_PIN(PINCTRL_PIN(248, "HDMI_TESTOUTP_RX"),
1850 MTK_EINT_FUNCTION(0, 133),
1851 MTK_FUNCTION(0, "GPIO248"),
1852 MTK_FUNCTION(1, "HDMI_TESTOUTP_RX")
1854 MTK_PIN(PINCTRL_PIN(249, "MSDC0E_RSTB"),
1856 MTK_EINT_FUNCTION(0, 134),
1857 MTK_FUNCTION(0, "GPIO249"),
1858 MTK_FUNCTION(1, "MSDC0E_RSTB")
1860 MTK_PIN(PINCTRL_PIN(250, "MSDC0E_DAT7"),
1862 MTK_EINT_FUNCTION(0, 135),
1863 MTK_FUNCTION(0, "GPIO250"),
1864 MTK_FUNCTION(1, "MSDC3_DAT7"),
1865 MTK_FUNCTION(6, "PCIE0_CLKREQ_N")
1867 MTK_PIN(PINCTRL_PIN(251, "MSDC0E_DAT6"),
1869 MTK_EINT_FUNCTION(0, 136),
1870 MTK_FUNCTION(0, "GPIO251"),
1871 MTK_FUNCTION(1, "MSDC3_DAT6"),
1872 MTK_FUNCTION(6, "PCIE0_WAKE_N")
1874 MTK_PIN(PINCTRL_PIN(252, "MSDC0E_DAT5"),
1876 MTK_EINT_FUNCTION(0, 137),
1877 MTK_FUNCTION(0, "GPIO252"),
1878 MTK_FUNCTION(1, "MSDC3_DAT5"),
1879 MTK_FUNCTION(6, "PCIE1_CLKREQ_N")
1881 MTK_PIN(PINCTRL_PIN(253, "MSDC0E_DAT4"),
1883 MTK_EINT_FUNCTION(0, 138),
1884 MTK_FUNCTION(0, "GPIO253"),
1885 MTK_FUNCTION(1, "MSDC3_DAT4"),
1886 MTK_FUNCTION(6, "PCIE1_WAKE_N")
1888 MTK_PIN(PINCTRL_PIN(254, "MSDC0E_DAT3"),
1890 MTK_EINT_FUNCTION(0, 139),
1891 MTK_FUNCTION(0, "GPIO254"),
1892 MTK_FUNCTION(1, "MSDC3_DAT3"),
1893 MTK_FUNCTION(6, "PCIE2_CLKREQ_N")
1895 MTK_PIN(PINCTRL_PIN(255, "MSDC0E_DAT2"),
1897 MTK_EINT_FUNCTION(0, 140),
1898 MTK_FUNCTION(0, "GPIO255"),
1899 MTK_FUNCTION(1, "MSDC3_DAT2"),
1900 MTK_FUNCTION(6, "PCIE2_WAKE_N")
1902 MTK_PIN(PINCTRL_PIN(256, "MSDC0E_DAT1"),
1904 MTK_EINT_FUNCTION(0, 141),
1905 MTK_FUNCTION(0, "GPIO256"),
1906 MTK_FUNCTION(1, "MSDC3_DAT1")
1908 MTK_PIN(PINCTRL_PIN(257, "MSDC0E_DAT0"),
1910 MTK_EINT_FUNCTION(0, 142),
1911 MTK_FUNCTION(0, "GPIO257"),
1912 MTK_FUNCTION(1, "MSDC3_DAT0")
1914 MTK_PIN(PINCTRL_PIN(258, "MSDC0E_CMD"),
1916 MTK_EINT_FUNCTION(0, 143),
1917 MTK_FUNCTION(0, "GPIO258"),
1918 MTK_FUNCTION(1, "MSDC3_CMD")
1920 MTK_PIN(PINCTRL_PIN(259, "MSDC0E_CLK"),
1922 MTK_EINT_FUNCTION(0, 144),
1923 MTK_FUNCTION(0, "GPIO259"),
1924 MTK_FUNCTION(1, "MSDC3_CLK")
1926 MTK_PIN(PINCTRL_PIN(260, "MSDC0E_DSL"),
1928 MTK_EINT_FUNCTION(0, 145),
1929 MTK_FUNCTION(0, "GPIO260"),
1930 MTK_FUNCTION(1, "MSDC3_DSL")
1932 MTK_PIN(PINCTRL_PIN(261, "MSDC1_INS"),
1934 MTK_EINT_FUNCTION(0, 146),
1935 MTK_FUNCTION(0, "GPIO261"),
1936 MTK_FUNCTION(1, "MSDC1_INS"),
1937 MTK_FUNCTION(7, "DBG_MON_B[29]")
1939 MTK_PIN(PINCTRL_PIN(262, "G2_TXEN"),
1941 MTK_EINT_FUNCTION(0, 8),
1942 MTK_FUNCTION(0, "GPIO262"),
1943 MTK_FUNCTION(1, "G2_TXEN")
1945 MTK_PIN(PINCTRL_PIN(263, "G2_TXD3"),
1947 MTK_EINT_FUNCTION(0, 9),
1948 MTK_FUNCTION(0, "GPIO263"),
1949 MTK_FUNCTION(1, "G2_TXD3"),
1950 MTK_FUNCTION(6, "ANT_SEL5")
1952 MTK_PIN(PINCTRL_PIN(264, "G2_TXD2"),
1954 MTK_EINT_FUNCTION(0, 10),
1955 MTK_FUNCTION(0, "GPIO264"),
1956 MTK_FUNCTION(1, "G2_TXD2"),
1957 MTK_FUNCTION(6, "ANT_SEL4")
1959 MTK_PIN(PINCTRL_PIN(265, "G2_TXD1"),
1961 MTK_EINT_FUNCTION(0, 11),
1962 MTK_FUNCTION(0, "GPIO265"),
1963 MTK_FUNCTION(1, "G2_TXD1"),
1964 MTK_FUNCTION(6, "ANT_SEL3")
1966 MTK_PIN(PINCTRL_PIN(266, "G2_TXD0"),
1968 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1969 MTK_FUNCTION(0, "GPIO266"),
1970 MTK_FUNCTION(1, "G2_TXD0"),
1971 MTK_FUNCTION(6, "ANT_SEL2")
1973 MTK_PIN(PINCTRL_PIN(267, "G2_TXC"),
1975 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1976 MTK_FUNCTION(0, "GPIO267"),
1977 MTK_FUNCTION(1, "G2_TXC")
1979 MTK_PIN(PINCTRL_PIN(268, "G2_RXC"),
1981 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1982 MTK_FUNCTION(0, "GPIO268"),
1983 MTK_FUNCTION(1, "G2_RXC")
1985 MTK_PIN(PINCTRL_PIN(269, "G2_RXD0"),
1987 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1988 MTK_FUNCTION(0, "GPIO269"),
1989 MTK_FUNCTION(1, "G2_RXD0")
1991 MTK_PIN(PINCTRL_PIN(270, "G2_RXD1"),
1993 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1994 MTK_FUNCTION(0, "GPIO270"),
1995 MTK_FUNCTION(1, "G2_RXD1")
1997 MTK_PIN(PINCTRL_PIN(271, "G2_RXD2"),
1999 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
2000 MTK_FUNCTION(0, "GPIO271"),
2001 MTK_FUNCTION(1, "G2_RXD2")
2003 MTK_PIN(PINCTRL_PIN(272, "G2_RXD3"),
2005 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
2006 MTK_FUNCTION(0, "GPIO272"),
2007 MTK_FUNCTION(1, "G2_RXD3")
2009 MTK_PIN(PINCTRL_PIN(273, "ESW_INT"),
2011 MTK_EINT_FUNCTION(0, 168),
2012 MTK_FUNCTION(0, "GPIO273"),
2013 MTK_FUNCTION(1, "ESW_INT")
2015 MTK_PIN(PINCTRL_PIN(274, "G2_RXDV"),
2017 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
2018 MTK_FUNCTION(0, "GPIO274"),
2019 MTK_FUNCTION(1, "G2_RXDV")
2021 MTK_PIN(PINCTRL_PIN(275, "MDC"),
2023 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
2024 MTK_FUNCTION(0, "GPIO275"),
2025 MTK_FUNCTION(1, "MDC"),
2026 MTK_FUNCTION(6, "ANT_SEL0")
2028 MTK_PIN(PINCTRL_PIN(276, "MDIO"),
2030 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
2031 MTK_FUNCTION(0, "GPIO276"),
2032 MTK_FUNCTION(1, "MDIO"),
2033 MTK_FUNCTION(6, "ANT_SEL1")
2035 MTK_PIN(PINCTRL_PIN(277, "ESW_RST"),
2037 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
2038 MTK_FUNCTION(0, "GPIO277"),
2039 MTK_FUNCTION(1, "ESW_RST")
2041 MTK_PIN(PINCTRL_PIN(278, "JTAG_RESET"),
2043 MTK_EINT_FUNCTION(0, 147),
2044 MTK_FUNCTION(0, "GPIO278"),
2045 MTK_FUNCTION(1, "JTAG_RESET")
2047 MTK_PIN(PINCTRL_PIN(279, "USB3_RES_BOND"),
2049 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
2050 MTK_FUNCTION(0, "GPIO279"),
2051 MTK_FUNCTION(1, "USB3_RES_BOND")
2055 #endif /* __PINCTRL_MTK_MT2701_H */