1 /*
2  * Copyright (c) 2015 MediaTek Inc.
3  * Author: Biao Huang <biao.huang@mediatek.com>
4  *
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.
8  *
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.
13  */
14 
15 #ifndef __PINCTRL_MTK_MT2701_H
16 #define __PINCTRL_MTK_MT2701_H
17 
18 #include <linux/pinctrl/pinctrl.h>
19 #include "pinctrl-mtk-common.h"
20 
21 static const struct mtk_desc_pin mtk_pins_mt2701[] = {
22 	MTK_PIN(
23 		PINCTRL_PIN(0, "PWRAP_SPI0_MI"),
24 		NULL, "mt2701",
25 		MTK_EINT_FUNCTION(0, 148),
26 		MTK_FUNCTION(0, "GPIO0"),
27 		MTK_FUNCTION(1, "PWRAP_SPIDO"),
28 		MTK_FUNCTION(2, "PWRAP_SPIDI")
29 	),
30 	MTK_PIN(
31 		PINCTRL_PIN(1, "PWRAP_SPI0_MO"),
32 		NULL, "mt2701",
33 		MTK_EINT_FUNCTION(0, 149),
34 		MTK_FUNCTION(0, "GPIO1"),
35 		MTK_FUNCTION(1, "PWRAP_SPIDI"),
36 		MTK_FUNCTION(2, "PWRAP_SPIDO")
37 	),
38 	MTK_PIN(
39 		PINCTRL_PIN(2, "PWRAP_INT"),
40 		NULL, "mt2701",
41 		MTK_EINT_FUNCTION(0, 150),
42 		MTK_FUNCTION(0, "GPIO2"),
43 		MTK_FUNCTION(1, "PWRAP_INT")
44 	),
45 	MTK_PIN(
46 		PINCTRL_PIN(3, "PWRAP_SPI0_CK"),
47 		NULL, "mt2701",
48 		MTK_EINT_FUNCTION(0, 151),
49 		MTK_FUNCTION(0, "GPIO3"),
50 		MTK_FUNCTION(1, "PWRAP_SPICK_I")
51 	),
52 	MTK_PIN(
53 		PINCTRL_PIN(4, "PWRAP_SPI0_CSN"),
54 		NULL, "mt2701",
55 		MTK_EINT_FUNCTION(0, 152),
56 		MTK_FUNCTION(0, "GPIO4"),
57 		MTK_FUNCTION(1, "PWRAP_SPICS_B_I")
58 	),
59 	MTK_PIN(
60 		PINCTRL_PIN(5, "PWRAP_SPI0_CK2"),
61 		NULL, "mt2701",
62 		MTK_EINT_FUNCTION(0, 153),
63 		MTK_FUNCTION(0, "GPIO5"),
64 		MTK_FUNCTION(1, "PWRAP_SPICK2_I"),
65 		MTK_FUNCTION(5, "ANT_SEL1")
66 	),
67 	MTK_PIN(
68 		PINCTRL_PIN(6, "PWRAP_SPI0_CSN2"),
69 		NULL, "mt2701",
70 		MTK_EINT_FUNCTION(0, 154),
71 		MTK_FUNCTION(0, "GPIO6"),
72 		MTK_FUNCTION(1, "PWRAP_SPICS2_B_I"),
73 		MTK_FUNCTION(5, "ANT_SEL0"),
74 		MTK_FUNCTION(7, "DBG_MON_A[0]")
75 	),
76 	MTK_PIN(
77 		PINCTRL_PIN(7, "SPI1_CSN"),
78 		NULL, "mt2701",
79 		MTK_EINT_FUNCTION(0, 155),
80 		MTK_FUNCTION(0, "GPIO7"),
81 		MTK_FUNCTION(1, "SPI1_CS"),
82 		MTK_FUNCTION(4, "KCOL0"),
83 		MTK_FUNCTION(7, "DBG_MON_B[12]")
84 	),
85 	MTK_PIN(
86 		PINCTRL_PIN(8, "SPI1_MI"),
87 		NULL, "mt2701",
88 		MTK_EINT_FUNCTION(0, 156),
89 		MTK_FUNCTION(0, "GPIO8"),
90 		MTK_FUNCTION(1, "SPI1_MI"),
91 		MTK_FUNCTION(2, "SPI1_MO"),
92 		MTK_FUNCTION(4, "KCOL1"),
93 		MTK_FUNCTION(7, "DBG_MON_B[13]")
94 	),
95 	MTK_PIN(
96 		PINCTRL_PIN(9, "SPI1_MO"),
97 		NULL, "mt2701",
98 		MTK_EINT_FUNCTION(0, 157),
99 		MTK_FUNCTION(0, "GPIO9"),
100 		MTK_FUNCTION(1, "SPI1_MO"),
101 		MTK_FUNCTION(2, "SPI1_MI"),
102 		MTK_FUNCTION(3, "EXT_FRAME_SYNC"),
103 		MTK_FUNCTION(4, "KCOL2"),
104 		MTK_FUNCTION(7, "DBG_MON_B[14]")
105 	),
106 	MTK_PIN(
107 		PINCTRL_PIN(10, "RTC32K_CK"),
108 		NULL, "mt2701",
109 		MTK_EINT_FUNCTION(0, 158),
110 		MTK_FUNCTION(0, "GPIO10"),
111 		MTK_FUNCTION(1, "RTC32K_CK")
112 	),
113 	MTK_PIN(
114 		PINCTRL_PIN(11, "WATCHDOG"),
115 		NULL, "mt2701",
116 		MTK_EINT_FUNCTION(0, 159),
117 		MTK_FUNCTION(0, "GPIO11"),
118 		MTK_FUNCTION(1, "WATCHDOG")
119 	),
120 	MTK_PIN(
121 		PINCTRL_PIN(12, "SRCLKENA"),
122 		NULL, "mt2701",
123 		MTK_EINT_FUNCTION(0, 160),
124 		MTK_FUNCTION(0, "GPIO12"),
125 		MTK_FUNCTION(1, "SRCLKENA")
126 	),
127 	MTK_PIN(
128 		PINCTRL_PIN(13, "SRCLKENAI"),
129 		NULL, "mt2701",
130 		MTK_EINT_FUNCTION(0, 161),
131 		MTK_FUNCTION(0, "GPIO13"),
132 		MTK_FUNCTION(1, "SRCLKENAI")
133 	),
134 	MTK_PIN(
135 		PINCTRL_PIN(14, "URXD2"),
136 		NULL, "mt2701",
137 		MTK_EINT_FUNCTION(0, 162),
138 		MTK_FUNCTION(0, "GPIO14"),
139 		MTK_FUNCTION(1, "URXD2"),
140 		MTK_FUNCTION(2, "UTXD2"),
141 		MTK_FUNCTION(5, "SRCCLKENAI2"),
142 		MTK_FUNCTION(7, "DBG_MON_B[30]")
143 	),
144 	MTK_PIN(
145 		PINCTRL_PIN(15, "UTXD2"),
146 		NULL, "mt2701",
147 		MTK_EINT_FUNCTION(0, 163),
148 		MTK_FUNCTION(0, "GPIO15"),
149 		MTK_FUNCTION(1, "UTXD2"),
150 		MTK_FUNCTION(2, "URXD2"),
151 		MTK_FUNCTION(7, "DBG_MON_B[31]")
152 	),
153 	MTK_PIN(
154 		PINCTRL_PIN(16, "I2S5_DATA_IN"),
155 		NULL, "mt2701",
156 		MTK_EINT_FUNCTION(0, 164),
157 		MTK_FUNCTION(0, "GPIO16"),
158 		MTK_FUNCTION(1, "I2S5_DATA_IN"),
159 		MTK_FUNCTION(3, "PCM_RX"),
160 		MTK_FUNCTION(4, "ANT_SEL4")
161 	),
162 	MTK_PIN(
163 		PINCTRL_PIN(17, "I2S5_BCK"),
164 		NULL, "mt2701",
165 		MTK_EINT_FUNCTION(0, 165),
166 		MTK_FUNCTION(0, "GPIO17"),
167 		MTK_FUNCTION(1, "I2S5_BCK"),
168 		MTK_FUNCTION(3, "PCM_CLK0"),
169 		MTK_FUNCTION(4, "ANT_SEL2")
170 	),
171 	MTK_PIN(
172 		PINCTRL_PIN(18, "PCM_CLK"),
173 		NULL, "mt2701",
174 		MTK_EINT_FUNCTION(0, 166),
175 		MTK_FUNCTION(0, "GPIO18"),
176 		MTK_FUNCTION(1, "PCM_CLK0"),
177 		MTK_FUNCTION(2, "MRG_CLK"),
178 		MTK_FUNCTION(4, "MM_TEST_CK"),
179 		MTK_FUNCTION(5, "CONN_DSP_JCK"),
180 		MTK_FUNCTION(6, "WCN_PCM_CLKO"),
181 		MTK_FUNCTION(7, "DBG_MON_A[3]")
182 	),
183 	MTK_PIN(
184 		PINCTRL_PIN(19, "PCM_SYNC"),
185 		NULL, "mt2701",
186 		MTK_EINT_FUNCTION(0, 167),
187 		MTK_FUNCTION(0, "GPIO19"),
188 		MTK_FUNCTION(1, "PCM_SYNC"),
189 		MTK_FUNCTION(2, "MRG_SYNC"),
190 		MTK_FUNCTION(5, "CONN_DSP_JINTP"),
191 		MTK_FUNCTION(6, "WCN_PCM_SYNC"),
192 		MTK_FUNCTION(7, "DBG_MON_A[5]")
193 	),
194 	MTK_PIN(
195 		PINCTRL_PIN(20, "PCM_RX"),
196 		NULL, "mt2701",
197 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
198 		MTK_FUNCTION(0, "GPIO20"),
199 		MTK_FUNCTION(1, "PCM_RX"),
200 		MTK_FUNCTION(2, "MRG_RX"),
201 		MTK_FUNCTION(3, "MRG_TX"),
202 		MTK_FUNCTION(4, "PCM_TX"),
203 		MTK_FUNCTION(5, "CONN_DSP_JDI"),
204 		MTK_FUNCTION(6, "WCN_PCM_RX"),
205 		MTK_FUNCTION(7, "DBG_MON_A[4]")
206 	),
207 	MTK_PIN(
208 		PINCTRL_PIN(21, "PCM_TX"),
209 		NULL, "mt2701",
210 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
211 		MTK_FUNCTION(0, "GPIO21"),
212 		MTK_FUNCTION(1, "PCM_TX"),
213 		MTK_FUNCTION(2, "MRG_TX"),
214 		MTK_FUNCTION(3, "MRG_RX"),
215 		MTK_FUNCTION(4, "PCM_RX"),
216 		MTK_FUNCTION(5, "CONN_DSP_JMS"),
217 		MTK_FUNCTION(6, "WCN_PCM_TX"),
218 		MTK_FUNCTION(7, "DBG_MON_A[2]")
219 	),
220 	MTK_PIN(
221 		PINCTRL_PIN(22, "EINT0"),
222 		NULL, "mt2701",
223 		MTK_EINT_FUNCTION(0, 0),
224 		MTK_FUNCTION(0, "GPIO22"),
225 		MTK_FUNCTION(1, "UCTS0"),
226 		MTK_FUNCTION(3, "KCOL3"),
227 		MTK_FUNCTION(4, "CONN_DSP_JDO"),
228 		MTK_FUNCTION(5, "EXT_FRAME_SYNC"),
229 		MTK_FUNCTION(7, "DBG_MON_A[30]"),
230 		MTK_FUNCTION(10, "PCIE0_PERST_N")
231 	),
232 	MTK_PIN(
233 		PINCTRL_PIN(23, "EINT1"),
234 		NULL, "mt2701",
235 		MTK_EINT_FUNCTION(0, 1),
236 		MTK_FUNCTION(0, "GPIO23"),
237 		MTK_FUNCTION(1, "URTS0"),
238 		MTK_FUNCTION(3, "KCOL2"),
239 		MTK_FUNCTION(4, "CONN_MCU_TDO"),
240 		MTK_FUNCTION(5, "EXT_FRAME_SYNC"),
241 		MTK_FUNCTION(7, "DBG_MON_A[29]"),
242 		MTK_FUNCTION(10, "PCIE1_PERST_N")
243 	),
244 	MTK_PIN(
245 		PINCTRL_PIN(24, "EINT2"),
246 		NULL, "mt2701",
247 		MTK_EINT_FUNCTION(0, 2),
248 		MTK_FUNCTION(0, "GPIO24"),
249 		MTK_FUNCTION(1, "UCTS1"),
250 		MTK_FUNCTION(3, "KCOL1"),
251 		MTK_FUNCTION(4, "CONN_MCU_DBGACK_N"),
252 		MTK_FUNCTION(7, "DBG_MON_A[28]"),
253 		MTK_FUNCTION(10, "PCIE2_PERST_N")
254 	),
255 	MTK_PIN(
256 		PINCTRL_PIN(25, "EINT3"),
257 		NULL, "mt2701",
258 		MTK_EINT_FUNCTION(0, 3),
259 		MTK_FUNCTION(0, "GPIO25"),
260 		MTK_FUNCTION(1, "URTS1"),
261 		MTK_FUNCTION(3, "KCOL0"),
262 		MTK_FUNCTION(4, "CONN_MCU_DBGI_N"),
263 		MTK_FUNCTION(7, "DBG_MON_A[27]")
264 	),
265 	MTK_PIN(
266 		PINCTRL_PIN(26, "EINT4"),
267 		NULL, "mt2701",
268 		MTK_EINT_FUNCTION(0, 4),
269 		MTK_FUNCTION(0, "GPIO26"),
270 		MTK_FUNCTION(1, "UCTS3"),
271 		MTK_FUNCTION(2, "DRV_VBUS_P1"),
272 		MTK_FUNCTION(3, "KROW3"),
273 		MTK_FUNCTION(4, "CONN_MCU_TCK0"),
274 		MTK_FUNCTION(5, "CONN_MCU_AICE_JCKC"),
275 		MTK_FUNCTION(6, "PCIE2_WAKE_N"),
276 		MTK_FUNCTION(7, "DBG_MON_A[26]")
277 	),
278 	MTK_PIN(
279 		PINCTRL_PIN(27, "EINT5"),
280 		NULL, "mt2701",
281 		MTK_EINT_FUNCTION(0, 5),
282 		MTK_FUNCTION(0, "GPIO27"),
283 		MTK_FUNCTION(1, "URTS3"),
284 		MTK_FUNCTION(2, "IDDIG_P1"),
285 		MTK_FUNCTION(3, "KROW2"),
286 		MTK_FUNCTION(4, "CONN_MCU_TDI"),
287 		MTK_FUNCTION(6, "PCIE1_WAKE_N"),
288 		MTK_FUNCTION(7, "DBG_MON_A[25]")
289 	),
290 	MTK_PIN(
291 		PINCTRL_PIN(28, "EINT6"),
292 		NULL, "mt2701",
293 		MTK_EINT_FUNCTION(0, 6),
294 		MTK_FUNCTION(0, "GPIO28"),
295 		MTK_FUNCTION(1, "DRV_VBUS"),
296 		MTK_FUNCTION(3, "KROW1"),
297 		MTK_FUNCTION(4, "CONN_MCU_TRST_B"),
298 		MTK_FUNCTION(6, "PCIE0_WAKE_N"),
299 		MTK_FUNCTION(7, "DBG_MON_A[24]")
300 	),
301 	MTK_PIN(
302 		PINCTRL_PIN(29, "EINT7"),
303 		NULL, "mt2701",
304 		MTK_EINT_FUNCTION(0, 7),
305 		MTK_FUNCTION(0, "GPIO29"),
306 		MTK_FUNCTION(1, "IDDIG"),
307 		MTK_FUNCTION(2, "MSDC1_WP"),
308 		MTK_FUNCTION(3, "KROW0"),
309 		MTK_FUNCTION(4, "CONN_MCU_TMS"),
310 		MTK_FUNCTION(5, "CONN_MCU_AICE_JMSC"),
311 		MTK_FUNCTION(7, "DBG_MON_A[23]"),
312 		MTK_FUNCTION(14, "PCIE2_PERST_N")
313 	),
314 	MTK_PIN(
315 		PINCTRL_PIN(30, "I2S5_LRCK"),
316 		NULL, "mt2701",
317 		MTK_EINT_FUNCTION(0, 12),
318 		MTK_FUNCTION(0, "GPIO30"),
319 		MTK_FUNCTION(1, "I2S5_LRCK"),
320 		MTK_FUNCTION(3, "PCM_SYNC"),
321 		MTK_FUNCTION(4, "ANT_SEL1")
322 	),
323 	MTK_PIN(
324 		PINCTRL_PIN(31, "I2S5_MCLK"),
325 		NULL, "mt2701",
326 		MTK_EINT_FUNCTION(0, 13),
327 		MTK_FUNCTION(0, "GPIO31"),
328 		MTK_FUNCTION(1, "I2S5_MCLK"),
329 		MTK_FUNCTION(4, "ANT_SEL0")
330 	),
331 	MTK_PIN(
332 		PINCTRL_PIN(32, "I2S5_DATA"),
333 		NULL, "mt2701",
334 		MTK_EINT_FUNCTION(0, 14),
335 		MTK_FUNCTION(0, "GPIO32"),
336 		MTK_FUNCTION(1, "I2S5_DATA"),
337 		MTK_FUNCTION(2, "I2S5_DATA_BYPS"),
338 		MTK_FUNCTION(3, "PCM_TX"),
339 		MTK_FUNCTION(4, "ANT_SEL3")
340 	),
341 	MTK_PIN(
342 		PINCTRL_PIN(33, "I2S1_DATA"),
343 		NULL, "mt2701",
344 		MTK_EINT_FUNCTION(0, 15),
345 		MTK_FUNCTION(0, "GPIO33"),
346 		MTK_FUNCTION(1, "I2S1_DATA"),
347 		MTK_FUNCTION(2, "I2S1_DATA_BYPS"),
348 		MTK_FUNCTION(3, "PCM_TX"),
349 		MTK_FUNCTION(4, "IMG_TEST_CK"),
350 		MTK_FUNCTION(5, "G1_RXD0"),
351 		MTK_FUNCTION(6, "WCN_PCM_TX"),
352 		MTK_FUNCTION(7, "DBG_MON_B[8]")
353 	),
354 	MTK_PIN(
355 		PINCTRL_PIN(34, "I2S1_DATA_IN"),
356 		NULL, "mt2701",
357 		MTK_EINT_FUNCTION(0, 16),
358 		MTK_FUNCTION(0, "GPIO34"),
359 		MTK_FUNCTION(1, "I2S1_DATA_IN"),
360 		MTK_FUNCTION(3, "PCM_RX"),
361 		MTK_FUNCTION(4, "VDEC_TEST_CK"),
362 		MTK_FUNCTION(5, "G1_RXD1"),
363 		MTK_FUNCTION(6, "WCN_PCM_RX"),
364 		MTK_FUNCTION(7, "DBG_MON_B[7]")
365 	),
366 	MTK_PIN(
367 		PINCTRL_PIN(35, "I2S1_BCK"),
368 		NULL, "mt2701",
369 		MTK_EINT_FUNCTION(0, 17),
370 		MTK_FUNCTION(0, "GPIO35"),
371 		MTK_FUNCTION(1, "I2S1_BCK"),
372 		MTK_FUNCTION(3, "PCM_CLK0"),
373 		MTK_FUNCTION(5, "G1_RXD2"),
374 		MTK_FUNCTION(6, "WCN_PCM_CLKO"),
375 		MTK_FUNCTION(7, "DBG_MON_B[9]")
376 	),
377 	MTK_PIN(
378 		PINCTRL_PIN(36, "I2S1_LRCK"),
379 		NULL, "mt2701",
380 		MTK_EINT_FUNCTION(0, 18),
381 		MTK_FUNCTION(0, "GPIO36"),
382 		MTK_FUNCTION(1, "I2S1_LRCK"),
383 		MTK_FUNCTION(3, "PCM_SYNC"),
384 		MTK_FUNCTION(5, "G1_RXD3"),
385 		MTK_FUNCTION(6, "WCN_PCM_SYNC"),
386 		MTK_FUNCTION(7, "DBG_MON_B[10]")
387 	),
388 	MTK_PIN(
389 		PINCTRL_PIN(37, "I2S1_MCLK"),
390 		NULL, "mt2701",
391 		MTK_EINT_FUNCTION(0, 19),
392 		MTK_FUNCTION(0, "GPIO37"),
393 		MTK_FUNCTION(1, "I2S1_MCLK"),
394 		MTK_FUNCTION(5, "G1_RXDV"),
395 		MTK_FUNCTION(7, "DBG_MON_B[11]")
396 	),
397 	MTK_PIN(
398 		PINCTRL_PIN(38, "I2S2_DATA"),
399 		NULL, "mt2701",
400 		MTK_EINT_FUNCTION(0, 20),
401 		MTK_FUNCTION(0, "GPIO38"),
402 		MTK_FUNCTION(2, "I2S2_DATA_BYPS"),
403 		MTK_FUNCTION(3, "PCM_TX"),
404 		MTK_FUNCTION(4, "DMIC_DAT0")
405 	),
406 	MTK_PIN(
407 		PINCTRL_PIN(39, "JTMS"),
408 		NULL, "mt2701",
409 		MTK_EINT_FUNCTION(0, 21),
410 		MTK_FUNCTION(0, "GPIO39"),
411 		MTK_FUNCTION(1, "JTMS"),
412 		MTK_FUNCTION(2, "CONN_MCU_TMS"),
413 		MTK_FUNCTION(3, "CONN_MCU_AICE_JMSC"),
414 		MTK_FUNCTION(4, "DFD_TMS_XI")
415 	),
416 	MTK_PIN(
417 		PINCTRL_PIN(40, "JTCK"),
418 		NULL, "mt2701",
419 		MTK_EINT_FUNCTION(0, 22),
420 		MTK_FUNCTION(0, "GPIO40"),
421 		MTK_FUNCTION(1, "JTCK"),
422 		MTK_FUNCTION(2, "CONN_MCU_TCK1"),
423 		MTK_FUNCTION(3, "CONN_MCU_AICE_JCKC"),
424 		MTK_FUNCTION(4, "DFD_TCK_XI")
425 	),
426 	MTK_PIN(
427 		PINCTRL_PIN(41, "JTDI"),
428 		NULL, "mt2701",
429 		MTK_EINT_FUNCTION(0, 23),
430 		MTK_FUNCTION(0, "GPIO41"),
431 		MTK_FUNCTION(1, "JTDI"),
432 		MTK_FUNCTION(2, "CONN_MCU_TDI"),
433 		MTK_FUNCTION(4, "DFD_TDI_XI")
434 	),
435 	MTK_PIN(
436 		PINCTRL_PIN(42, "JTDO"),
437 		NULL, "mt2701",
438 		MTK_EINT_FUNCTION(0, 24),
439 		MTK_FUNCTION(0, "GPIO42"),
440 		MTK_FUNCTION(1, "JTDO"),
441 		MTK_FUNCTION(2, "CONN_MCU_TDO"),
442 		MTK_FUNCTION(4, "DFD_TDO")
443 	),
444 	MTK_PIN(
445 		PINCTRL_PIN(43, "NCLE"),
446 		NULL, "mt2701",
447 		MTK_EINT_FUNCTION(0, 25),
448 		MTK_FUNCTION(0, "GPIO43"),
449 		MTK_FUNCTION(1, "NCLE"),
450 		MTK_FUNCTION(2, "EXT_XCS2")
451 	),
452 	MTK_PIN(
453 		PINCTRL_PIN(44, "NCEB1"),
454 		NULL, "mt2701",
455 		MTK_EINT_FUNCTION(0, 26),
456 		MTK_FUNCTION(0, "GPIO44"),
457 		MTK_FUNCTION(1, "NCEB1"),
458 		MTK_FUNCTION(2, "IDDIG")
459 	),
460 	MTK_PIN(
461 		PINCTRL_PIN(45, "NCEB0"),
462 		NULL, "mt2701",
463 		MTK_EINT_FUNCTION(0, 27),
464 		MTK_FUNCTION(0, "GPIO45"),
465 		MTK_FUNCTION(1, "NCEB0"),
466 		MTK_FUNCTION(2, "DRV_VBUS")
467 	),
468 	MTK_PIN(
469 		PINCTRL_PIN(46, "IR"),
470 		NULL, "mt2701",
471 		MTK_EINT_FUNCTION(0, 28),
472 		MTK_FUNCTION(0, "GPIO46"),
473 		MTK_FUNCTION(1, "IR")
474 	),
475 	MTK_PIN(
476 		PINCTRL_PIN(47, "NREB"),
477 		NULL, "mt2701",
478 		MTK_EINT_FUNCTION(0, 29),
479 		MTK_FUNCTION(0, "GPIO47"),
480 		MTK_FUNCTION(1, "NREB"),
481 		MTK_FUNCTION(2, "IDDIG_P1")
482 	),
483 	MTK_PIN(
484 		PINCTRL_PIN(48, "NRNB"),
485 		NULL, "mt2701",
486 		MTK_EINT_FUNCTION(0, 30),
487 		MTK_FUNCTION(0, "GPIO48"),
488 		MTK_FUNCTION(1, "NRNB"),
489 		MTK_FUNCTION(2, "DRV_VBUS_P1")
490 	),
491 	MTK_PIN(
492 		PINCTRL_PIN(49, "I2S0_DATA"),
493 		NULL, "mt2701",
494 		MTK_EINT_FUNCTION(0, 31),
495 		MTK_FUNCTION(0, "GPIO49"),
496 		MTK_FUNCTION(1, "I2S0_DATA"),
497 		MTK_FUNCTION(2, "I2S0_DATA_BYPS"),
498 		MTK_FUNCTION(3, "PCM_TX"),
499 		MTK_FUNCTION(6, "WCN_I2S_DO"),
500 		MTK_FUNCTION(7, "DBG_MON_B[3]")
501 	),
502 	MTK_PIN(
503 		PINCTRL_PIN(50, "I2S2_BCK"),
504 		NULL, "mt2701",
505 		MTK_EINT_FUNCTION(0, 32),
506 		MTK_FUNCTION(0, "GPIO50"),
507 		MTK_FUNCTION(1, "I2S2_BCK"),
508 		MTK_FUNCTION(3, "PCM_CLK0"),
509 		MTK_FUNCTION(4, "DMIC_SCK1")
510 	),
511 	MTK_PIN(
512 		PINCTRL_PIN(51, "I2S2_DATA_IN"),
513 		NULL, "mt2701",
514 		MTK_EINT_FUNCTION(0, 33),
515 		MTK_FUNCTION(0, "GPIO51"),
516 		MTK_FUNCTION(1, "I2S2_DATA_IN"),
517 		MTK_FUNCTION(3, "PCM_RX"),
518 		MTK_FUNCTION(4, "DMIC_SCK0")
519 	),
520 	MTK_PIN(
521 		PINCTRL_PIN(52, "I2S2_LRCK"),
522 		NULL, "mt2701",
523 		MTK_EINT_FUNCTION(0, 34),
524 		MTK_FUNCTION(0, "GPIO52"),
525 		MTK_FUNCTION(1, "I2S2_LRCK"),
526 		MTK_FUNCTION(3, "PCM_SYNC"),
527 		MTK_FUNCTION(4, "DMIC_DAT1")
528 	),
529 	MTK_PIN(
530 		PINCTRL_PIN(53, "SPI0_CSN"),
531 		NULL, "mt2701",
532 		MTK_EINT_FUNCTION(0, 35),
533 		MTK_FUNCTION(0, "GPIO53"),
534 		MTK_FUNCTION(1, "SPI0_CS"),
535 		MTK_FUNCTION(3, "SPDIF"),
536 		MTK_FUNCTION(4, "ADC_CK"),
537 		MTK_FUNCTION(5, "PWM1"),
538 		MTK_FUNCTION(7, "DBG_MON_A[7]")
539 	),
540 	MTK_PIN(
541 		PINCTRL_PIN(54, "SPI0_CK"),
542 		NULL, "mt2701",
543 		MTK_EINT_FUNCTION(0, 36),
544 		MTK_FUNCTION(0, "GPIO54"),
545 		MTK_FUNCTION(1, "SPI0_CK"),
546 		MTK_FUNCTION(3, "SPDIF_IN1"),
547 		MTK_FUNCTION(4, "ADC_DAT_IN"),
548 		MTK_FUNCTION(7, "DBG_MON_A[10]")
549 	),
550 	MTK_PIN(
551 		PINCTRL_PIN(55, "SPI0_MI"),
552 		NULL, "mt2701",
553 		MTK_EINT_FUNCTION(0, 37),
554 		MTK_FUNCTION(0, "GPIO55"),
555 		MTK_FUNCTION(1, "SPI0_MI"),
556 		MTK_FUNCTION(2, "SPI0_MO"),
557 		MTK_FUNCTION(3, "MSDC1_WP"),
558 		MTK_FUNCTION(4, "ADC_WS"),
559 		MTK_FUNCTION(5, "PWM2"),
560 		MTK_FUNCTION(7, "DBG_MON_A[8]")
561 	),
562 	MTK_PIN(
563 		PINCTRL_PIN(56, "SPI0_MO"),
564 		NULL, "mt2701",
565 		MTK_EINT_FUNCTION(0, 38),
566 		MTK_FUNCTION(0, "GPIO56"),
567 		MTK_FUNCTION(1, "SPI0_MO"),
568 		MTK_FUNCTION(2, "SPI0_MI"),
569 		MTK_FUNCTION(3, "SPDIF_IN0"),
570 		MTK_FUNCTION(7, "DBG_MON_A[9]")
571 	),
572 	MTK_PIN(
573 		PINCTRL_PIN(57, "SDA1"),
574 		NULL, "mt2701",
575 		MTK_EINT_FUNCTION(0, 39),
576 		MTK_FUNCTION(0, "GPIO57"),
577 		MTK_FUNCTION(1, "SDA1")
578 	),
579 	MTK_PIN(
580 		PINCTRL_PIN(58, "SCL1"),
581 		NULL, "mt2701",
582 		MTK_EINT_FUNCTION(0, 40),
583 		MTK_FUNCTION(0, "GPIO58"),
584 		MTK_FUNCTION(1, "SCL1")
585 	),
586 	MTK_PIN(
587 		PINCTRL_PIN(59, "RAMBUF_I_CLK"),
588 		NULL, "mt2701",
589 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
590 		MTK_FUNCTION(0, "GPIO59"),
591 		MTK_FUNCTION(1, "RAMBUF_I_CLK")
592 	),
593 	MTK_PIN(
594 		PINCTRL_PIN(60, "WB_RSTB"),
595 		NULL, "mt2701",
596 		MTK_EINT_FUNCTION(0, 41),
597 		MTK_FUNCTION(0, "GPIO60"),
598 		MTK_FUNCTION(1, "WB_RSTB"),
599 		MTK_FUNCTION(7, "DBG_MON_A[11]")
600 	),
601 	MTK_PIN(
602 		PINCTRL_PIN(61, "F2W_DATA"),
603 		NULL, "mt2701",
604 		MTK_EINT_FUNCTION(0, 42),
605 		MTK_FUNCTION(0, "GPIO61"),
606 		MTK_FUNCTION(1, "F2W_DATA"),
607 		MTK_FUNCTION(7, "DBG_MON_A[16]")
608 	),
609 	MTK_PIN(
610 		PINCTRL_PIN(62, "F2W_CLK"),
611 		NULL, "mt2701",
612 		MTK_EINT_FUNCTION(0, 43),
613 		MTK_FUNCTION(0, "GPIO62"),
614 		MTK_FUNCTION(1, "F2W_CK"),
615 		MTK_FUNCTION(7, "DBG_MON_A[15]")
616 	),
617 	MTK_PIN(
618 		PINCTRL_PIN(63, "WB_SCLK"),
619 		NULL, "mt2701",
620 		MTK_EINT_FUNCTION(0, 44),
621 		MTK_FUNCTION(0, "GPIO63"),
622 		MTK_FUNCTION(1, "WB_SCLK"),
623 		MTK_FUNCTION(7, "DBG_MON_A[13]")
624 	),
625 	MTK_PIN(
626 		PINCTRL_PIN(64, "WB_SDATA"),
627 		NULL, "mt2701",
628 		MTK_EINT_FUNCTION(0, 45),
629 		MTK_FUNCTION(0, "GPIO64"),
630 		MTK_FUNCTION(1, "WB_SDATA"),
631 		MTK_FUNCTION(7, "DBG_MON_A[12]")
632 	),
633 	MTK_PIN(
634 		PINCTRL_PIN(65, "WB_SEN"),
635 		NULL, "mt2701",
636 		MTK_EINT_FUNCTION(0, 46),
637 		MTK_FUNCTION(0, "GPIO65"),
638 		MTK_FUNCTION(1, "WB_SEN"),
639 		MTK_FUNCTION(7, "DBG_MON_A[14]")
640 	),
641 	MTK_PIN(
642 		PINCTRL_PIN(66, "WB_CRTL0"),
643 		NULL, "mt2701",
644 		MTK_EINT_FUNCTION(0, 47),
645 		MTK_FUNCTION(0, "GPIO66"),
646 		MTK_FUNCTION(1, "WB_CRTL0"),
647 		MTK_FUNCTION(5, "DFD_NTRST_XI"),
648 		MTK_FUNCTION(7, "DBG_MON_A[17]")
649 	),
650 	MTK_PIN(
651 		PINCTRL_PIN(67, "WB_CRTL1"),
652 		NULL, "mt2701",
653 		MTK_EINT_FUNCTION(0, 48),
654 		MTK_FUNCTION(0, "GPIO67"),
655 		MTK_FUNCTION(1, "WB_CRTL1"),
656 		MTK_FUNCTION(5, "DFD_TMS_XI"),
657 		MTK_FUNCTION(7, "DBG_MON_A[18]")
658 	),
659 	MTK_PIN(
660 		PINCTRL_PIN(68, "WB_CRTL2"),
661 		NULL, "mt2701",
662 		MTK_EINT_FUNCTION(0, 49),
663 		MTK_FUNCTION(0, "GPIO68"),
664 		MTK_FUNCTION(1, "WB_CRTL2"),
665 		MTK_FUNCTION(5, "DFD_TCK_XI"),
666 		MTK_FUNCTION(7, "DBG_MON_A[19]")
667 	),
668 	MTK_PIN(
669 		PINCTRL_PIN(69, "WB_CRTL3"),
670 		NULL, "mt2701",
671 		MTK_EINT_FUNCTION(0, 50),
672 		MTK_FUNCTION(0, "GPIO69"),
673 		MTK_FUNCTION(1, "WB_CRTL3"),
674 		MTK_FUNCTION(5, "DFD_TDI_XI"),
675 		MTK_FUNCTION(7, "DBG_MON_A[20]")
676 	),
677 	MTK_PIN(
678 		PINCTRL_PIN(70, "WB_CRTL4"),
679 		NULL, "mt2701",
680 		MTK_EINT_FUNCTION(0, 51),
681 		MTK_FUNCTION(0, "GPIO70"),
682 		MTK_FUNCTION(1, "WB_CRTL4"),
683 		MTK_FUNCTION(5, "DFD_TDO"),
684 		MTK_FUNCTION(7, "DBG_MON_A[21]")
685 	),
686 	MTK_PIN(
687 		PINCTRL_PIN(71, "WB_CRTL5"),
688 		NULL, "mt2701",
689 		MTK_EINT_FUNCTION(0, 52),
690 		MTK_FUNCTION(0, "GPIO71"),
691 		MTK_FUNCTION(1, "WB_CRTL5"),
692 		MTK_FUNCTION(7, "DBG_MON_A[22]")
693 	),
694 	MTK_PIN(
695 		PINCTRL_PIN(72, "I2S0_DATA_IN"),
696 		NULL, "mt2701",
697 		MTK_EINT_FUNCTION(0, 53),
698 		MTK_FUNCTION(0, "GPIO72"),
699 		MTK_FUNCTION(1, "I2S0_DATA_IN"),
700 		MTK_FUNCTION(3, "PCM_RX"),
701 		MTK_FUNCTION(4, "PWM0"),
702 		MTK_FUNCTION(5, "DISP_PWM"),
703 		MTK_FUNCTION(6, "WCN_I2S_DI"),
704 		MTK_FUNCTION(7, "DBG_MON_B[2]")
705 	),
706 	MTK_PIN(
707 		PINCTRL_PIN(73, "I2S0_LRCK"),
708 		NULL, "mt2701",
709 		MTK_EINT_FUNCTION(0, 54),
710 		MTK_FUNCTION(0, "GPIO73"),
711 		MTK_FUNCTION(1, "I2S0_LRCK"),
712 		MTK_FUNCTION(3, "PCM_SYNC"),
713 		MTK_FUNCTION(6, "WCN_I2S_LRCK"),
714 		MTK_FUNCTION(7, "DBG_MON_B[5]")
715 	),
716 	MTK_PIN(
717 		PINCTRL_PIN(74, "I2S0_BCK"),
718 		NULL, "mt2701",
719 		MTK_EINT_FUNCTION(0, 55),
720 		MTK_FUNCTION(0, "GPIO74"),
721 		MTK_FUNCTION(1, "I2S0_BCK"),
722 		MTK_FUNCTION(3, "PCM_CLK0"),
723 		MTK_FUNCTION(6, "WCN_I2S_BCK"),
724 		MTK_FUNCTION(7, "DBG_MON_B[4]")
725 	),
726 	MTK_PIN(
727 		PINCTRL_PIN(75, "SDA0"),
728 		NULL, "mt2701",
729 		MTK_EINT_FUNCTION(0, 56),
730 		MTK_FUNCTION(0, "GPIO75"),
731 		MTK_FUNCTION(1, "SDA0")
732 	),
733 	MTK_PIN(
734 		PINCTRL_PIN(76, "SCL0"),
735 		NULL, "mt2701",
736 		MTK_EINT_FUNCTION(0, 57),
737 		MTK_FUNCTION(0, "GPIO76"),
738 		MTK_FUNCTION(1, "SCL0")
739 	),
740 	MTK_PIN(
741 		PINCTRL_PIN(77, "SDA2"),
742 		NULL, "mt2701",
743 		MTK_EINT_FUNCTION(0, 58),
744 		MTK_FUNCTION(0, "GPIO77"),
745 		MTK_FUNCTION(1, "SDA2")
746 	),
747 	MTK_PIN(
748 		PINCTRL_PIN(78, "SCL2"),
749 		NULL, "mt2701",
750 		MTK_EINT_FUNCTION(0, 59),
751 		MTK_FUNCTION(0, "GPIO78"),
752 		MTK_FUNCTION(1, "SCL2")
753 	),
754 	MTK_PIN(
755 		PINCTRL_PIN(79, "URXD0"),
756 		NULL, "mt2701",
757 		MTK_EINT_FUNCTION(0, 60),
758 		MTK_FUNCTION(0, "GPIO79"),
759 		MTK_FUNCTION(1, "URXD0"),
760 		MTK_FUNCTION(2, "UTXD0")
761 	),
762 	MTK_PIN(
763 		PINCTRL_PIN(80, "UTXD0"),
764 		NULL, "mt2701",
765 		MTK_EINT_FUNCTION(0, 61),
766 		MTK_FUNCTION(0, "GPIO80"),
767 		MTK_FUNCTION(1, "UTXD0"),
768 		MTK_FUNCTION(2, "URXD0")
769 	),
770 	MTK_PIN(
771 		PINCTRL_PIN(81, "URXD1"),
772 		NULL, "mt2701",
773 		MTK_EINT_FUNCTION(0, 62),
774 		MTK_FUNCTION(0, "GPIO81"),
775 		MTK_FUNCTION(1, "URXD1"),
776 		MTK_FUNCTION(2, "UTXD1")
777 	),
778 	MTK_PIN(
779 		PINCTRL_PIN(82, "UTXD1"),
780 		NULL, "mt2701",
781 		MTK_EINT_FUNCTION(0, 63),
782 		MTK_FUNCTION(0, "GPIO82"),
783 		MTK_FUNCTION(1, "UTXD1"),
784 		MTK_FUNCTION(2, "URXD1")
785 	),
786 	MTK_PIN(
787 		PINCTRL_PIN(83, "LCM_RST"),
788 		NULL, "mt2701",
789 		MTK_EINT_FUNCTION(0, 64),
790 		MTK_FUNCTION(0, "GPIO83"),
791 		MTK_FUNCTION(1, "LCM_RST"),
792 		MTK_FUNCTION(2, "VDAC_CK_XI"),
793 		MTK_FUNCTION(7, "DBG_MON_B[1]")
794 	),
795 	MTK_PIN(
796 		PINCTRL_PIN(84, "DSI_TE"),
797 		NULL, "mt2701",
798 		MTK_EINT_FUNCTION(0, 65),
799 		MTK_FUNCTION(0, "GPIO84"),
800 		MTK_FUNCTION(1, "DSI_TE"),
801 		MTK_FUNCTION(7, "DBG_MON_B[0]")
802 	),
803 	MTK_PIN(
804 		PINCTRL_PIN(85, "MSDC2_CMD"),
805 		NULL, "mt2701",
806 		MTK_EINT_FUNCTION(0, 66),
807 		MTK_FUNCTION(0, "GPIO85"),
808 		MTK_FUNCTION(1, "MSDC2_CMD"),
809 		MTK_FUNCTION(2, "ANT_SEL0"),
810 		MTK_FUNCTION(3, "SDA1"),
811 		MTK_FUNCTION(6, "I2SOUT_BCK")
812 	),
813 	MTK_PIN(
814 		PINCTRL_PIN(86, "MSDC2_CLK"),
815 		NULL, "mt2701",
816 		MTK_EINT_FUNCTION(0, 67),
817 		MTK_FUNCTION(0, "GPIO86"),
818 		MTK_FUNCTION(1, "MSDC2_CLK"),
819 		MTK_FUNCTION(2, "ANT_SEL1"),
820 		MTK_FUNCTION(3, "SCL1"),
821 		MTK_FUNCTION(6, "I2SOUT_LRCK")
822 	),
823 	MTK_PIN(
824 		PINCTRL_PIN(87, "MSDC2_DAT0"),
825 		NULL, "mt2701",
826 		MTK_EINT_FUNCTION(0, 68),
827 		MTK_FUNCTION(0, "GPIO87"),
828 		MTK_FUNCTION(1, "MSDC2_DAT0"),
829 		MTK_FUNCTION(2, "ANT_SEL2"),
830 		MTK_FUNCTION(5, "UTXD0"),
831 		MTK_FUNCTION(6, "I2SOUT_DATA_OUT")
832 	),
833 	MTK_PIN(
834 		PINCTRL_PIN(88, "MSDC2_DAT1"),
835 		NULL, "mt2701",
836 		MTK_EINT_FUNCTION(0, 71),
837 		MTK_FUNCTION(0, "GPIO88"),
838 		MTK_FUNCTION(1, "MSDC2_DAT1"),
839 		MTK_FUNCTION(2, "ANT_SEL3"),
840 		MTK_FUNCTION(3, "PWM0"),
841 		MTK_FUNCTION(5, "URXD0"),
842 		MTK_FUNCTION(6, "PWM1")
843 	),
844 	MTK_PIN(
845 		PINCTRL_PIN(89, "MSDC2_DAT2"),
846 		NULL, "mt2701",
847 		MTK_EINT_FUNCTION(0, 72),
848 		MTK_FUNCTION(0, "GPIO89"),
849 		MTK_FUNCTION(1, "MSDC2_DAT2"),
850 		MTK_FUNCTION(2, "ANT_SEL4"),
851 		MTK_FUNCTION(3, "SDA2"),
852 		MTK_FUNCTION(5, "UTXD1"),
853 		MTK_FUNCTION(6, "PWM2")
854 	),
855 	MTK_PIN(
856 		PINCTRL_PIN(90, "MSDC2_DAT3"),
857 		NULL, "mt2701",
858 		MTK_EINT_FUNCTION(0, 73),
859 		MTK_FUNCTION(0, "GPIO90"),
860 		MTK_FUNCTION(1, "MSDC2_DAT3"),
861 		MTK_FUNCTION(2, "ANT_SEL5"),
862 		MTK_FUNCTION(3, "SCL2"),
863 		MTK_FUNCTION(4, "EXT_FRAME_SYNC"),
864 		MTK_FUNCTION(5, "URXD1"),
865 		MTK_FUNCTION(6, "PWM3")
866 	),
867 	MTK_PIN(
868 		PINCTRL_PIN(91, "TDN3"),
869 		NULL, "mt2701",
870 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
871 		MTK_FUNCTION(0, "GPI91"),
872 		MTK_FUNCTION(1, "TDN3")
873 	),
874 	MTK_PIN(
875 		PINCTRL_PIN(92, "TDP3"),
876 		NULL, "mt2701",
877 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
878 		MTK_FUNCTION(0, "GPI92"),
879 		MTK_FUNCTION(1, "TDP3")
880 	),
881 	MTK_PIN(
882 		PINCTRL_PIN(93, "TDN2"),
883 		NULL, "mt2701",
884 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
885 		MTK_FUNCTION(0, "GPI93"),
886 		MTK_FUNCTION(1, "TDN2")
887 	),
888 	MTK_PIN(
889 		PINCTRL_PIN(94, "TDP2"),
890 		NULL, "mt2701",
891 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
892 		MTK_FUNCTION(0, "GPI94"),
893 		MTK_FUNCTION(1, "TDP2")
894 	),
895 	MTK_PIN(
896 		PINCTRL_PIN(95, "TCN"),
897 		NULL, "mt2701",
898 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
899 		MTK_FUNCTION(0, "GPI95"),
900 		MTK_FUNCTION(1, "TCN")
901 	),
902 	MTK_PIN(
903 		PINCTRL_PIN(96, "TCP"),
904 		NULL, "mt2701",
905 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
906 		MTK_FUNCTION(0, "GPI96"),
907 		MTK_FUNCTION(1, "TCP")
908 	),
909 	MTK_PIN(
910 		PINCTRL_PIN(97, "TDN1"),
911 		NULL, "mt2701",
912 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
913 		MTK_FUNCTION(0, "GPI97"),
914 		MTK_FUNCTION(1, "TDN1")
915 	),
916 	MTK_PIN(
917 		PINCTRL_PIN(98, "TDP1"),
918 		NULL, "mt2701",
919 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
920 		MTK_FUNCTION(0, "GPI98"),
921 		MTK_FUNCTION(1, "TDP1")
922 	),
923 	MTK_PIN(
924 		PINCTRL_PIN(99, "TDN0"),
925 		NULL, "mt2701",
926 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
927 		MTK_FUNCTION(0, "GPI99"),
928 		MTK_FUNCTION(1, "TDN0")
929 	),
930 	MTK_PIN(
931 		PINCTRL_PIN(100, "TDP0"),
932 		NULL, "mt2701",
933 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
934 		MTK_FUNCTION(0, "GPI100"),
935 		MTK_FUNCTION(1, "TDP0")
936 	),
937 	MTK_PIN(
938 		PINCTRL_PIN(101, "SPI2_CSN"),
939 		NULL, "mt2701",
940 		MTK_EINT_FUNCTION(0, 74),
941 		MTK_FUNCTION(0, "GPIO101"),
942 		MTK_FUNCTION(1, "SPI2_CS"),
943 		MTK_FUNCTION(3, "SCL3"),
944 		MTK_FUNCTION(4, "KROW0")
945 	),
946 	MTK_PIN(
947 		PINCTRL_PIN(102, "SPI2_MI"),
948 		NULL, "mt2701",
949 		MTK_EINT_FUNCTION(0, 75),
950 		MTK_FUNCTION(0, "GPIO102"),
951 		MTK_FUNCTION(1, "SPI2_MI"),
952 		MTK_FUNCTION(2, "SPI2_MO"),
953 		MTK_FUNCTION(3, "SDA3"),
954 		MTK_FUNCTION(4, "KROW1")
955 	),
956 	MTK_PIN(
957 		PINCTRL_PIN(103, "SPI2_MO"),
958 		NULL, "mt2701",
959 		MTK_EINT_FUNCTION(0, 76),
960 		MTK_FUNCTION(0, "GPIO103"),
961 		MTK_FUNCTION(1, "SPI2_MO"),
962 		MTK_FUNCTION(2, "SPI2_MI"),
963 		MTK_FUNCTION(3, "SCL3"),
964 		MTK_FUNCTION(4, "KROW2")
965 	),
966 	MTK_PIN(
967 		PINCTRL_PIN(104, "SPI2_CLK"),
968 		NULL, "mt2701",
969 		MTK_EINT_FUNCTION(0, 77),
970 		MTK_FUNCTION(0, "GPIO104"),
971 		MTK_FUNCTION(1, "SPI2_CK"),
972 		MTK_FUNCTION(3, "SDA3"),
973 		MTK_FUNCTION(4, "KROW3")
974 	),
975 	MTK_PIN(
976 		PINCTRL_PIN(105, "MSDC1_CMD"),
977 		NULL, "mt2701",
978 		MTK_EINT_FUNCTION(0, 78),
979 		MTK_FUNCTION(0, "GPIO105"),
980 		MTK_FUNCTION(1, "MSDC1_CMD"),
981 		MTK_FUNCTION(2, "ANT_SEL0"),
982 		MTK_FUNCTION(3, "SDA1"),
983 		MTK_FUNCTION(6, "I2SOUT_BCK"),
984 		MTK_FUNCTION(7, "DBG_MON_B[27]")
985 	),
986 	MTK_PIN(
987 		PINCTRL_PIN(106, "MSDC1_CLK"),
988 		NULL, "mt2701",
989 		MTK_EINT_FUNCTION(0, 79),
990 		MTK_FUNCTION(0, "GPIO106"),
991 		MTK_FUNCTION(1, "MSDC1_CLK"),
992 		MTK_FUNCTION(2, "ANT_SEL1"),
993 		MTK_FUNCTION(3, "SCL1"),
994 		MTK_FUNCTION(6, "I2SOUT_LRCK"),
995 		MTK_FUNCTION(7, "DBG_MON_B[28]")
996 	),
997 	MTK_PIN(
998 		PINCTRL_PIN(107, "MSDC1_DAT0"),
999 		NULL, "mt2701",
1000 		MTK_EINT_FUNCTION(0, 80),
1001 		MTK_FUNCTION(0, "GPIO107"),
1002 		MTK_FUNCTION(1, "MSDC1_DAT0"),
1003 		MTK_FUNCTION(2, "ANT_SEL2"),
1004 		MTK_FUNCTION(5, "UTXD0"),
1005 		MTK_FUNCTION(6, "I2SOUT_DATA_OUT"),
1006 		MTK_FUNCTION(7, "DBG_MON_B[26]")
1007 	),
1008 	MTK_PIN(
1009 		PINCTRL_PIN(108, "MSDC1_DAT1"),
1010 		NULL, "mt2701",
1011 		MTK_EINT_FUNCTION(0, 81),
1012 		MTK_FUNCTION(0, "GPIO108"),
1013 		MTK_FUNCTION(1, "MSDC1_DAT1"),
1014 		MTK_FUNCTION(2, "ANT_SEL3"),
1015 		MTK_FUNCTION(3, "PWM0"),
1016 		MTK_FUNCTION(5, "URXD0"),
1017 		MTK_FUNCTION(6, "PWM1"),
1018 		MTK_FUNCTION(7, "DBG_MON_B[25]")
1019 	),
1020 	MTK_PIN(
1021 		PINCTRL_PIN(109, "MSDC1_DAT2"),
1022 		NULL, "mt2701",
1023 		MTK_EINT_FUNCTION(0, 82),
1024 		MTK_FUNCTION(0, "GPIO109"),
1025 		MTK_FUNCTION(1, "MSDC1_DAT2"),
1026 		MTK_FUNCTION(2, "ANT_SEL4"),
1027 		MTK_FUNCTION(3, "SDA2"),
1028 		MTK_FUNCTION(5, "UTXD1"),
1029 		MTK_FUNCTION(6, "PWM2"),
1030 		MTK_FUNCTION(7, "DBG_MON_B[24]")
1031 	),
1032 	MTK_PIN(
1033 		PINCTRL_PIN(110, "MSDC1_DAT3"),
1034 		NULL, "mt2701",
1035 		MTK_EINT_FUNCTION(0, 83),
1036 		MTK_FUNCTION(0, "GPIO110"),
1037 		MTK_FUNCTION(1, "MSDC1_DAT3"),
1038 		MTK_FUNCTION(2, "ANT_SEL5"),
1039 		MTK_FUNCTION(3, "SCL2"),
1040 		MTK_FUNCTION(4, "EXT_FRAME_SYNC"),
1041 		MTK_FUNCTION(5, "URXD1"),
1042 		MTK_FUNCTION(6, "PWM3"),
1043 		MTK_FUNCTION(7, "DBG_MON_B[23]")
1044 	),
1045 	MTK_PIN(
1046 		PINCTRL_PIN(111, "MSDC0_DAT7"),
1047 		NULL, "mt2701",
1048 		MTK_EINT_FUNCTION(0, 84),
1049 		MTK_FUNCTION(0, "GPIO111"),
1050 		MTK_FUNCTION(1, "MSDC0_DAT7"),
1051 		MTK_FUNCTION(4, "NLD7")
1052 	),
1053 	MTK_PIN(
1054 		PINCTRL_PIN(112, "MSDC0_DAT6"),
1055 		NULL, "mt2701",
1056 		MTK_EINT_FUNCTION(0, 85),
1057 		MTK_FUNCTION(0, "GPIO112"),
1058 		MTK_FUNCTION(1, "MSDC0_DAT6"),
1059 		MTK_FUNCTION(4, "NLD6")
1060 	),
1061 	MTK_PIN(
1062 		PINCTRL_PIN(113, "MSDC0_DAT5"),
1063 		NULL, "mt2701",
1064 		MTK_EINT_FUNCTION(0, 86),
1065 		MTK_FUNCTION(0, "GPIO113"),
1066 		MTK_FUNCTION(1, "MSDC0_DAT5"),
1067 		MTK_FUNCTION(4, "NLD5")
1068 	),
1069 	MTK_PIN(
1070 		PINCTRL_PIN(114, "MSDC0_DAT4"),
1071 		NULL, "mt2701",
1072 		MTK_EINT_FUNCTION(0, 87),
1073 		MTK_FUNCTION(0, "GPIO114"),
1074 		MTK_FUNCTION(1, "MSDC0_DAT4"),
1075 		MTK_FUNCTION(4, "NLD4")
1076 	),
1077 	MTK_PIN(
1078 		PINCTRL_PIN(115, "MSDC0_RSTB"),
1079 		NULL, "mt2701",
1080 		MTK_EINT_FUNCTION(0, 88),
1081 		MTK_FUNCTION(0, "GPIO115"),
1082 		MTK_FUNCTION(1, "MSDC0_RSTB"),
1083 		MTK_FUNCTION(4, "NLD8")
1084 	),
1085 	MTK_PIN(
1086 		PINCTRL_PIN(116, "MSDC0_CMD"),
1087 		NULL, "mt2701",
1088 		MTK_EINT_FUNCTION(0, 89),
1089 		MTK_FUNCTION(0, "GPIO116"),
1090 		MTK_FUNCTION(1, "MSDC0_CMD"),
1091 		MTK_FUNCTION(4, "NALE")
1092 	),
1093 	MTK_PIN(
1094 		PINCTRL_PIN(117, "MSDC0_CLK"),
1095 		NULL, "mt2701",
1096 		MTK_EINT_FUNCTION(0, 90),
1097 		MTK_FUNCTION(0, "GPIO117"),
1098 		MTK_FUNCTION(1, "MSDC0_CLK"),
1099 		MTK_FUNCTION(4, "NWEB")
1100 	),
1101 	MTK_PIN(
1102 		PINCTRL_PIN(118, "MSDC0_DAT3"),
1103 		NULL, "mt2701",
1104 		MTK_EINT_FUNCTION(0, 91),
1105 		MTK_FUNCTION(0, "GPIO118"),
1106 		MTK_FUNCTION(1, "MSDC0_DAT3"),
1107 		MTK_FUNCTION(4, "NLD3")
1108 	),
1109 	MTK_PIN(
1110 		PINCTRL_PIN(119, "MSDC0_DAT2"),
1111 		NULL, "mt2701",
1112 		MTK_EINT_FUNCTION(0, 92),
1113 		MTK_FUNCTION(0, "GPIO119"),
1114 		MTK_FUNCTION(1, "MSDC0_DAT2"),
1115 		MTK_FUNCTION(4, "NLD2")
1116 	),
1117 	MTK_PIN(
1118 		PINCTRL_PIN(120, "MSDC0_DAT1"),
1119 		NULL, "mt2701",
1120 		MTK_EINT_FUNCTION(0, 93),
1121 		MTK_FUNCTION(0, "GPIO120"),
1122 		MTK_FUNCTION(1, "MSDC0_DAT1"),
1123 		MTK_FUNCTION(4, "NLD1")
1124 	),
1125 	MTK_PIN(
1126 		PINCTRL_PIN(121, "MSDC0_DAT0"),
1127 		NULL, "mt2701",
1128 		MTK_EINT_FUNCTION(0, 94),
1129 		MTK_FUNCTION(0, "GPIO121"),
1130 		MTK_FUNCTION(1, "MSDC0_DAT0"),
1131 		MTK_FUNCTION(4, "NLD0"),
1132 		MTK_FUNCTION(5, "WATCHDOG")
1133 	),
1134 	MTK_PIN(
1135 		PINCTRL_PIN(122, "CEC"),
1136 		NULL, "mt2701",
1137 		MTK_EINT_FUNCTION(0, 95),
1138 		MTK_FUNCTION(0, "GPIO122"),
1139 		MTK_FUNCTION(1, "CEC"),
1140 		MTK_FUNCTION(4, "SDA2"),
1141 		MTK_FUNCTION(5, "URXD0")
1142 	),
1143 	MTK_PIN(
1144 		PINCTRL_PIN(123, "HTPLG"),
1145 		NULL, "mt2701",
1146 		MTK_EINT_FUNCTION(0, 96),
1147 		MTK_FUNCTION(0, "GPIO123"),
1148 		MTK_FUNCTION(1, "HTPLG"),
1149 		MTK_FUNCTION(4, "SCL2"),
1150 		MTK_FUNCTION(5, "UTXD0")
1151 	),
1152 	MTK_PIN(
1153 		PINCTRL_PIN(124, "HDMISCK"),
1154 		NULL, "mt2701",
1155 		MTK_EINT_FUNCTION(0, 97),
1156 		MTK_FUNCTION(0, "GPIO124"),
1157 		MTK_FUNCTION(1, "HDMISCK"),
1158 		MTK_FUNCTION(4, "SDA1"),
1159 		MTK_FUNCTION(5, "PWM3")
1160 	),
1161 	MTK_PIN(
1162 		PINCTRL_PIN(125, "HDMISD"),
1163 		NULL, "mt2701",
1164 		MTK_EINT_FUNCTION(0, 98),
1165 		MTK_FUNCTION(0, "GPIO125"),
1166 		MTK_FUNCTION(1, "HDMISD"),
1167 		MTK_FUNCTION(4, "SCL1"),
1168 		MTK_FUNCTION(5, "PWM4")
1169 	),
1170 	MTK_PIN(
1171 		PINCTRL_PIN(126, "I2S0_MCLK"),
1172 		NULL, "mt2701",
1173 		MTK_EINT_FUNCTION(0, 99),
1174 		MTK_FUNCTION(0, "GPIO126"),
1175 		MTK_FUNCTION(1, "I2S0_MCLK"),
1176 		MTK_FUNCTION(6, "WCN_I2S_MCLK"),
1177 		MTK_FUNCTION(7, "DBG_MON_B[6]")
1178 	),
1179 	MTK_PIN(
1180 		PINCTRL_PIN(127, "RAMBUF_IDATA0"),
1181 		NULL, "mt2701",
1182 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1183 		MTK_FUNCTION(0, "GPIO127"),
1184 		MTK_FUNCTION(1, "RAMBUF_IDATA0")
1185 	),
1186 	MTK_PIN(
1187 		PINCTRL_PIN(128, "RAMBUF_IDATA1"),
1188 		NULL, "mt2701",
1189 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1190 		MTK_FUNCTION(0, "GPIO128"),
1191 		MTK_FUNCTION(1, "RAMBUF_IDATA1")
1192 	),
1193 	MTK_PIN(
1194 		PINCTRL_PIN(129, "RAMBUF_IDATA2"),
1195 		NULL, "mt2701",
1196 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1197 		MTK_FUNCTION(0, "GPIO129"),
1198 		MTK_FUNCTION(1, "RAMBUF_IDATA2")
1199 	),
1200 	MTK_PIN(
1201 		PINCTRL_PIN(130, "RAMBUF_IDATA3"),
1202 		NULL, "mt2701",
1203 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1204 		MTK_FUNCTION(0, "GPIO130"),
1205 		MTK_FUNCTION(1, "RAMBUF_IDATA3")
1206 	),
1207 	MTK_PIN(
1208 		PINCTRL_PIN(131, "RAMBUF_IDATA4"),
1209 		NULL, "mt2701",
1210 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1211 		MTK_FUNCTION(0, "GPIO131"),
1212 		MTK_FUNCTION(1, "RAMBUF_IDATA4")
1213 	),
1214 	MTK_PIN(
1215 		PINCTRL_PIN(132, "RAMBUF_IDATA5"),
1216 		NULL, "mt2701",
1217 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1218 		MTK_FUNCTION(0, "GPIO132"),
1219 		MTK_FUNCTION(1, "RAMBUF_IDATA5")
1220 	),
1221 	MTK_PIN(
1222 		PINCTRL_PIN(133, "RAMBUF_IDATA6"),
1223 		NULL, "mt2701",
1224 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1225 		MTK_FUNCTION(0, "GPIO133"),
1226 		MTK_FUNCTION(1, "RAMBUF_IDATA6")
1227 	),
1228 	MTK_PIN(
1229 		PINCTRL_PIN(134, "RAMBUF_IDATA7"),
1230 		NULL, "mt2701",
1231 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1232 		MTK_FUNCTION(0, "GPIO134"),
1233 		MTK_FUNCTION(1, "RAMBUF_IDATA7")
1234 	),
1235 	MTK_PIN(
1236 		PINCTRL_PIN(135, "RAMBUF_IDATA8"),
1237 		NULL, "mt2701",
1238 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1239 		MTK_FUNCTION(0, "GPIO135"),
1240 		MTK_FUNCTION(1, "RAMBUF_IDATA8")
1241 	),
1242 	MTK_PIN(
1243 		PINCTRL_PIN(136, "RAMBUF_IDATA9"),
1244 		NULL, "mt2701",
1245 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1246 		MTK_FUNCTION(0, "GPIO136"),
1247 		MTK_FUNCTION(1, "RAMBUF_IDATA9")
1248 	),
1249 	MTK_PIN(
1250 		PINCTRL_PIN(137, "RAMBUF_IDATA10"),
1251 		NULL, "mt2701",
1252 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1253 		MTK_FUNCTION(0, "GPIO137"),
1254 		MTK_FUNCTION(1, "RAMBUF_IDATA10")
1255 	),
1256 	MTK_PIN(
1257 		PINCTRL_PIN(138, "RAMBUF_IDATA11"),
1258 		NULL, "mt2701",
1259 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1260 		MTK_FUNCTION(0, "GPIO138"),
1261 		MTK_FUNCTION(1, "RAMBUF_IDATA11")
1262 	),
1263 	MTK_PIN(
1264 		PINCTRL_PIN(139, "RAMBUF_IDATA12"),
1265 		NULL, "mt2701",
1266 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1267 		MTK_FUNCTION(0, "GPIO139"),
1268 		MTK_FUNCTION(1, "RAMBUF_IDATA12")
1269 	),
1270 	MTK_PIN(
1271 		PINCTRL_PIN(140, "RAMBUF_IDATA13"),
1272 		NULL, "mt2701",
1273 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1274 		MTK_FUNCTION(0, "GPIO140"),
1275 		MTK_FUNCTION(1, "RAMBUF_IDATA13")
1276 	),
1277 	MTK_PIN(
1278 		PINCTRL_PIN(141, "RAMBUF_IDATA14"),
1279 		NULL, "mt2701",
1280 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1281 		MTK_FUNCTION(0, "GPIO141"),
1282 		MTK_FUNCTION(1, "RAMBUF_IDATA14")
1283 	),
1284 	MTK_PIN(
1285 		PINCTRL_PIN(142, "RAMBUF_IDATA15"),
1286 		NULL, "mt2701",
1287 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1288 		MTK_FUNCTION(0, "GPIO142"),
1289 		MTK_FUNCTION(1, "RAMBUF_IDATA15")
1290 	),
1291 	MTK_PIN(
1292 		PINCTRL_PIN(143, "RAMBUF_ODATA0"),
1293 		NULL, "mt2701",
1294 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1295 		MTK_FUNCTION(0, "GPIO143"),
1296 		MTK_FUNCTION(1, "RAMBUF_ODATA0")
1297 	),
1298 	MTK_PIN(
1299 		PINCTRL_PIN(144, "RAMBUF_ODATA1"),
1300 		NULL, "mt2701",
1301 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1302 		MTK_FUNCTION(0, "GPIO144"),
1303 		MTK_FUNCTION(1, "RAMBUF_ODATA1")
1304 	),
1305 	MTK_PIN(
1306 		PINCTRL_PIN(145, "RAMBUF_ODATA2"),
1307 		NULL, "mt2701",
1308 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1309 		MTK_FUNCTION(0, "GPIO145"),
1310 		MTK_FUNCTION(1, "RAMBUF_ODATA2")
1311 	),
1312 	MTK_PIN(
1313 		PINCTRL_PIN(146, "RAMBUF_ODATA3"),
1314 		NULL, "mt2701",
1315 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1316 		MTK_FUNCTION(0, "GPIO146"),
1317 		MTK_FUNCTION(1, "RAMBUF_ODATA3")
1318 	),
1319 	MTK_PIN(
1320 		PINCTRL_PIN(147, "RAMBUF_ODATA4"),
1321 		NULL, "mt2701",
1322 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1323 		MTK_FUNCTION(0, "GPIO147"),
1324 		MTK_FUNCTION(1, "RAMBUF_ODATA4")
1325 	),
1326 	MTK_PIN(
1327 		PINCTRL_PIN(148, "RAMBUF_ODATA5"),
1328 		NULL, "mt2701",
1329 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1330 		MTK_FUNCTION(0, "GPIO148"),
1331 		MTK_FUNCTION(1, "RAMBUF_ODATA5")
1332 	),
1333 	MTK_PIN(
1334 		PINCTRL_PIN(149, "RAMBUF_ODATA6"),
1335 		NULL, "mt2701",
1336 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1337 		MTK_FUNCTION(0, "GPIO149"),
1338 		MTK_FUNCTION(1, "RAMBUF_ODATA6")
1339 	),
1340 	MTK_PIN(
1341 		PINCTRL_PIN(150, "RAMBUF_ODATA7"),
1342 		NULL, "mt2701",
1343 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1344 		MTK_FUNCTION(0, "GPIO150"),
1345 		MTK_FUNCTION(1, "RAMBUF_ODATA7")
1346 	),
1347 	MTK_PIN(
1348 		PINCTRL_PIN(151, "RAMBUF_ODATA8"),
1349 		NULL, "mt2701",
1350 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1351 		MTK_FUNCTION(0, "GPIO151"),
1352 		MTK_FUNCTION(1, "RAMBUF_ODATA8")
1353 	),
1354 	MTK_PIN(
1355 		PINCTRL_PIN(152, "RAMBUF_ODATA9"),
1356 		NULL, "mt2701",
1357 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1358 		MTK_FUNCTION(0, "GPIO152"),
1359 		MTK_FUNCTION(1, "RAMBUF_ODATA9")
1360 	),
1361 	MTK_PIN(
1362 		PINCTRL_PIN(153, "RAMBUF_ODATA10"),
1363 		NULL, "mt2701",
1364 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1365 		MTK_FUNCTION(0, "GPIO153"),
1366 		MTK_FUNCTION(1, "RAMBUF_ODATA10")
1367 	),
1368 	MTK_PIN(
1369 		PINCTRL_PIN(154, "RAMBUF_ODATA11"),
1370 		NULL, "mt2701",
1371 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1372 		MTK_FUNCTION(0, "GPIO154"),
1373 		MTK_FUNCTION(1, "RAMBUF_ODATA11")
1374 	),
1375 	MTK_PIN(
1376 		PINCTRL_PIN(155, "RAMBUF_ODATA12"),
1377 		NULL, "mt2701",
1378 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1379 		MTK_FUNCTION(0, "GPIO155"),
1380 		MTK_FUNCTION(1, "RAMBUF_ODATA12")
1381 	),
1382 	MTK_PIN(
1383 		PINCTRL_PIN(156, "RAMBUF_ODATA13"),
1384 		NULL, "mt2701",
1385 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1386 		MTK_FUNCTION(0, "GPIO156"),
1387 		MTK_FUNCTION(1, "RAMBUF_ODATA13")
1388 	),
1389 	MTK_PIN(
1390 		PINCTRL_PIN(157, "RAMBUF_ODATA14"),
1391 		NULL, "mt2701",
1392 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1393 		MTK_FUNCTION(0, "GPIO157"),
1394 		MTK_FUNCTION(1, "RAMBUF_ODATA14")
1395 	),
1396 	MTK_PIN(
1397 		PINCTRL_PIN(158, "RAMBUF_ODATA15"),
1398 		NULL, "mt2701",
1399 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1400 		MTK_FUNCTION(0, "GPIO158"),
1401 		MTK_FUNCTION(1, "RAMBUF_ODATA15")
1402 	),
1403 	MTK_PIN(
1404 		PINCTRL_PIN(159, "RAMBUF_BE0"),
1405 		NULL, "mt2701",
1406 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1407 		MTK_FUNCTION(0, "GPIO159"),
1408 		MTK_FUNCTION(1, "RAMBUF_BE0")
1409 	),
1410 	MTK_PIN(
1411 		PINCTRL_PIN(160, "RAMBUF_BE1"),
1412 		NULL, "mt2701",
1413 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1414 		MTK_FUNCTION(0, "GPIO160"),
1415 		MTK_FUNCTION(1, "RAMBUF_BE1")
1416 	),
1417 	MTK_PIN(
1418 		PINCTRL_PIN(161, "AP2PT_INT"),
1419 		NULL, "mt2701",
1420 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1421 		MTK_FUNCTION(0, "GPIO161"),
1422 		MTK_FUNCTION(1, "AP2PT_INT")
1423 	),
1424 	MTK_PIN(
1425 		PINCTRL_PIN(162, "AP2PT_INT_CLR"),
1426 		NULL, "mt2701",
1427 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1428 		MTK_FUNCTION(0, "GPIO162"),
1429 		MTK_FUNCTION(1, "AP2PT_INT_CLR")
1430 	),
1431 	MTK_PIN(
1432 		PINCTRL_PIN(163, "PT2AP_INT"),
1433 		NULL, "mt2701",
1434 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1435 		MTK_FUNCTION(0, "GPIO163"),
1436 		MTK_FUNCTION(1, "PT2AP_INT")
1437 	),
1438 	MTK_PIN(
1439 		PINCTRL_PIN(164, "PT2AP_INT_CLR"),
1440 		NULL, "mt2701",
1441 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1442 		MTK_FUNCTION(0, "GPIO164"),
1443 		MTK_FUNCTION(1, "PT2AP_INT_CLR")
1444 	),
1445 	MTK_PIN(
1446 		PINCTRL_PIN(165, "AP2UP_INT"),
1447 		NULL, "mt2701",
1448 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1449 		MTK_FUNCTION(0, "GPIO165"),
1450 		MTK_FUNCTION(1, "AP2UP_INT")
1451 	),
1452 	MTK_PIN(
1453 		PINCTRL_PIN(166, "AP2UP_INT_CLR"),
1454 		NULL, "mt2701",
1455 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1456 		MTK_FUNCTION(0, "GPIO166"),
1457 		MTK_FUNCTION(1, "AP2UP_INT_CLR")
1458 	),
1459 	MTK_PIN(
1460 		PINCTRL_PIN(167, "UP2AP_INT"),
1461 		NULL, "mt2701",
1462 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1463 		MTK_FUNCTION(0, "GPIO167"),
1464 		MTK_FUNCTION(1, "UP2AP_INT")
1465 	),
1466 	MTK_PIN(
1467 		PINCTRL_PIN(168, "UP2AP_INT_CLR"),
1468 		NULL, "mt2701",
1469 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1470 		MTK_FUNCTION(0, "GPIO168"),
1471 		MTK_FUNCTION(1, "UP2AP_INT_CLR")
1472 	),
1473 	MTK_PIN(
1474 		PINCTRL_PIN(169, "RAMBUF_ADDR0"),
1475 		NULL, "mt2701",
1476 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1477 		MTK_FUNCTION(0, "GPIO169"),
1478 		MTK_FUNCTION(1, "RAMBUF_ADDR0")
1479 	),
1480 	MTK_PIN(
1481 		PINCTRL_PIN(170, "RAMBUF_ADDR1"),
1482 		NULL, "mt2701",
1483 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1484 		MTK_FUNCTION(0, "GPIO170"),
1485 		MTK_FUNCTION(1, "RAMBUF_ADDR1")
1486 	),
1487 	MTK_PIN(
1488 		PINCTRL_PIN(171, "RAMBUF_ADDR2"),
1489 		NULL, "mt2701",
1490 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1491 		MTK_FUNCTION(0, "GPIO171"),
1492 		MTK_FUNCTION(1, "RAMBUF_ADDR2")
1493 	),
1494 	MTK_PIN(
1495 		PINCTRL_PIN(172, "RAMBUF_ADDR3"),
1496 		NULL, "mt2701",
1497 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1498 		MTK_FUNCTION(0, "GPIO172"),
1499 		MTK_FUNCTION(1, "RAMBUF_ADDR3")
1500 	),
1501 	MTK_PIN(
1502 		PINCTRL_PIN(173, "RAMBUF_ADDR4"),
1503 		NULL, "mt2701",
1504 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1505 		MTK_FUNCTION(0, "GPIO173"),
1506 		MTK_FUNCTION(1, "RAMBUF_ADDR4")
1507 	),
1508 	MTK_PIN(
1509 		PINCTRL_PIN(174, "RAMBUF_ADDR5"),
1510 		NULL, "mt2701",
1511 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1512 		MTK_FUNCTION(0, "GPIO174"),
1513 		MTK_FUNCTION(1, "RAMBUF_ADDR5")
1514 	),
1515 	MTK_PIN(
1516 		PINCTRL_PIN(175, "RAMBUF_ADDR6"),
1517 		NULL, "mt2701",
1518 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1519 		MTK_FUNCTION(0, "GPIO175"),
1520 		MTK_FUNCTION(1, "RAMBUF_ADDR6")
1521 	),
1522 	MTK_PIN(
1523 		PINCTRL_PIN(176, "RAMBUF_ADDR7"),
1524 		NULL, "mt2701",
1525 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1526 		MTK_FUNCTION(0, "GPIO176"),
1527 		MTK_FUNCTION(1, "RAMBUF_ADDR7")
1528 	),
1529 	MTK_PIN(
1530 		PINCTRL_PIN(177, "RAMBUF_ADDR8"),
1531 		NULL, "mt2701",
1532 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1533 		MTK_FUNCTION(0, "GPIO177"),
1534 		MTK_FUNCTION(1, "RAMBUF_ADDR8")
1535 	),
1536 	MTK_PIN(
1537 		PINCTRL_PIN(178, "RAMBUF_ADDR9"),
1538 		NULL, "mt2701",
1539 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1540 		MTK_FUNCTION(0, "GPIO178"),
1541 		MTK_FUNCTION(1, "RAMBUF_ADDR9")
1542 	),
1543 	MTK_PIN(
1544 		PINCTRL_PIN(179, "RAMBUF_ADDR10"),
1545 		NULL, "mt2701",
1546 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1547 		MTK_FUNCTION(0, "GPIO179"),
1548 		MTK_FUNCTION(1, "RAMBUF_ADDR10")
1549 	),
1550 	MTK_PIN(
1551 		PINCTRL_PIN(180, "RAMBUF_RW"),
1552 		NULL, "mt2701",
1553 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1554 		MTK_FUNCTION(0, "GPIO180"),
1555 		MTK_FUNCTION(1, "RAMBUF_RW")
1556 	),
1557 	MTK_PIN(
1558 		PINCTRL_PIN(181, "RAMBUF_LAST"),
1559 		NULL, "mt2701",
1560 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1561 		MTK_FUNCTION(0, "GPIO181"),
1562 		MTK_FUNCTION(1, "RAMBUF_LAST")
1563 	),
1564 	MTK_PIN(
1565 		PINCTRL_PIN(182, "RAMBUF_HP"),
1566 		NULL, "mt2701",
1567 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1568 		MTK_FUNCTION(0, "GPIO182"),
1569 		MTK_FUNCTION(1, "RAMBUF_HP")
1570 	),
1571 	MTK_PIN(
1572 		PINCTRL_PIN(183, "RAMBUF_REQ"),
1573 		NULL, "mt2701",
1574 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1575 		MTK_FUNCTION(0, "GPIO183"),
1576 		MTK_FUNCTION(1, "RAMBUF_REQ")
1577 	),
1578 	MTK_PIN(
1579 		PINCTRL_PIN(184, "RAMBUF_ALE"),
1580 		NULL, "mt2701",
1581 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1582 		MTK_FUNCTION(0, "GPIO184"),
1583 		MTK_FUNCTION(1, "RAMBUF_ALE")
1584 	),
1585 	MTK_PIN(
1586 		PINCTRL_PIN(185, "RAMBUF_DLE"),
1587 		NULL, "mt2701",
1588 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1589 		MTK_FUNCTION(0, "GPIO185"),
1590 		MTK_FUNCTION(1, "RAMBUF_DLE")
1591 	),
1592 	MTK_PIN(
1593 		PINCTRL_PIN(186, "RAMBUF_WDLE"),
1594 		NULL, "mt2701",
1595 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1596 		MTK_FUNCTION(0, "GPIO186"),
1597 		MTK_FUNCTION(1, "RAMBUF_WDLE")
1598 	),
1599 	MTK_PIN(
1600 		PINCTRL_PIN(187, "RAMBUF_O_CLK"),
1601 		NULL, "mt2701",
1602 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1603 		MTK_FUNCTION(0, "GPIO187"),
1604 		MTK_FUNCTION(1, "RAMBUF_O_CLK")
1605 	),
1606 	MTK_PIN(
1607 		PINCTRL_PIN(188, "I2S2_MCLK"),
1608 		NULL, "mt2701",
1609 		MTK_EINT_FUNCTION(0, 100),
1610 		MTK_FUNCTION(0, "GPIO188"),
1611 		MTK_FUNCTION(1, "I2S2_MCLK")
1612 	),
1613 	MTK_PIN(
1614 		PINCTRL_PIN(189, "I2S3_DATA"),
1615 		NULL, "mt2701",
1616 		MTK_EINT_FUNCTION(0, 101),
1617 		MTK_FUNCTION(0, "GPIO189"),
1618 		MTK_FUNCTION(2, "I2S3_DATA_BYPS"),
1619 		MTK_FUNCTION(3, "PCM_TX")
1620 	),
1621 	MTK_PIN(
1622 		PINCTRL_PIN(190, "I2S3_DATA_IN"),
1623 		NULL, "mt2701",
1624 		MTK_EINT_FUNCTION(0, 102),
1625 		MTK_FUNCTION(0, "GPIO190"),
1626 		MTK_FUNCTION(1, "I2S3_DATA_IN"),
1627 		MTK_FUNCTION(3, "PCM_RX")
1628 	),
1629 	MTK_PIN(
1630 		PINCTRL_PIN(191, "I2S3_BCK"),
1631 		NULL, "mt2701",
1632 		MTK_EINT_FUNCTION(0, 103),
1633 		MTK_FUNCTION(0, "GPIO191"),
1634 		MTK_FUNCTION(1, "I2S3_BCK"),
1635 		MTK_FUNCTION(3, "PCM_CLK0")
1636 	),
1637 	MTK_PIN(
1638 		PINCTRL_PIN(192, "I2S3_LRCK"),
1639 		NULL, "mt2701",
1640 		MTK_EINT_FUNCTION(0, 104),
1641 		MTK_FUNCTION(0, "GPIO192"),
1642 		MTK_FUNCTION(1, "I2S3_LRCK"),
1643 		MTK_FUNCTION(3, "PCM_SYNC")
1644 	),
1645 	MTK_PIN(
1646 		PINCTRL_PIN(193, "I2S3_MCLK"),
1647 		NULL, "mt2701",
1648 		MTK_EINT_FUNCTION(0, 105),
1649 		MTK_FUNCTION(0, "GPIO193"),
1650 		MTK_FUNCTION(1, "I2S3_MCLK")
1651 	),
1652 	MTK_PIN(
1653 		PINCTRL_PIN(194, "I2S4_DATA"),
1654 		NULL, "mt2701",
1655 		MTK_EINT_FUNCTION(0, 106),
1656 		MTK_FUNCTION(0, "GPIO194"),
1657 		MTK_FUNCTION(1, "I2S4_DATA"),
1658 		MTK_FUNCTION(2, "I2S4_DATA_BYPS"),
1659 		MTK_FUNCTION(3, "PCM_TX")
1660 	),
1661 	MTK_PIN(
1662 		PINCTRL_PIN(195, "I2S4_DATA_IN"),
1663 		NULL, "mt2701",
1664 		MTK_EINT_FUNCTION(0, 107),
1665 		MTK_FUNCTION(0, "GPIO195"),
1666 		MTK_FUNCTION(1, "I2S4_DATA_IN"),
1667 		MTK_FUNCTION(3, "PCM_RX")
1668 	),
1669 	MTK_PIN(
1670 		PINCTRL_PIN(196, "I2S4_BCK"),
1671 		NULL, "mt2701",
1672 		MTK_EINT_FUNCTION(0, 108),
1673 		MTK_FUNCTION(0, "GPIO196"),
1674 		MTK_FUNCTION(1, "I2S4_BCK"),
1675 		MTK_FUNCTION(3, "PCM_CLK0")
1676 	),
1677 	MTK_PIN(
1678 		PINCTRL_PIN(197, "I2S4_LRCK"),
1679 		NULL, "mt2701",
1680 		MTK_EINT_FUNCTION(0, 109),
1681 		MTK_FUNCTION(0, "GPIO197"),
1682 		MTK_FUNCTION(1, "I2S4_LRCK"),
1683 		MTK_FUNCTION(3, "PCM_SYNC")
1684 	),
1685 	MTK_PIN(
1686 		PINCTRL_PIN(198, "I2S4_MCLK"),
1687 		NULL, "mt2701",
1688 		MTK_EINT_FUNCTION(0, 110),
1689 		MTK_FUNCTION(0, "GPIO198"),
1690 		MTK_FUNCTION(1, "I2S4_MCLK")
1691 	),
1692 	MTK_PIN(
1693 		PINCTRL_PIN(199, "SPI1_CLK"),
1694 		NULL, "mt2701",
1695 		MTK_EINT_FUNCTION(0, 111),
1696 		MTK_FUNCTION(0, "GPIO199"),
1697 		MTK_FUNCTION(1, "SPI1_CK"),
1698 		MTK_FUNCTION(3, "EXT_FRAME_SYNC"),
1699 		MTK_FUNCTION(4, "KCOL3"),
1700 		MTK_FUNCTION(7, "DBG_MON_B[15]")
1701 	),
1702 	MTK_PIN(
1703 		PINCTRL_PIN(200, "SPDIF_OUT"),
1704 		NULL, "mt2701",
1705 		MTK_EINT_FUNCTION(0, 112),
1706 		MTK_FUNCTION(0, "GPIO200"),
1707 		MTK_FUNCTION(1, "SPDIF_OUT"),
1708 		MTK_FUNCTION(5, "G1_TXD3"),
1709 		MTK_FUNCTION(6, "URXD2"),
1710 		MTK_FUNCTION(7, "DBG_MON_B[16]")
1711 	),
1712 	MTK_PIN(
1713 		PINCTRL_PIN(201, "SPDIF_IN0"),
1714 		NULL, "mt2701",
1715 		MTK_EINT_FUNCTION(0, 113),
1716 		MTK_FUNCTION(0, "GPIO201"),
1717 		MTK_FUNCTION(1, "SPDIF_IN0"),
1718 		MTK_FUNCTION(5, "G1_TXEN"),
1719 		MTK_FUNCTION(6, "UTXD2"),
1720 		MTK_FUNCTION(7, "DBG_MON_B[17]")
1721 	),
1722 	MTK_PIN(
1723 		PINCTRL_PIN(202, "SPDIF_IN1"),
1724 		NULL, "mt2701",
1725 		MTK_EINT_FUNCTION(0, 114),
1726 		MTK_FUNCTION(0, "GPIO202"),
1727 		MTK_FUNCTION(1, "SPDIF_IN1")
1728 	),
1729 	MTK_PIN(
1730 		PINCTRL_PIN(203, "PWM0"),
1731 		NULL, "mt2701",
1732 		MTK_EINT_FUNCTION(0, 115),
1733 		MTK_FUNCTION(0, "GPIO203"),
1734 		MTK_FUNCTION(1, "PWM0"),
1735 		MTK_FUNCTION(2, "DISP_PWM"),
1736 		MTK_FUNCTION(5, "G1_TXD2"),
1737 		MTK_FUNCTION(7, "DBG_MON_B[18]"),
1738 		MTK_FUNCTION(9, "I2S2_DATA")
1739 	),
1740 	MTK_PIN(
1741 		PINCTRL_PIN(204, "PWM1"),
1742 		NULL, "mt2701",
1743 		MTK_EINT_FUNCTION(0, 116),
1744 		MTK_FUNCTION(0, "GPIO204"),
1745 		MTK_FUNCTION(1, "PWM1"),
1746 		MTK_FUNCTION(2, "CLKM3"),
1747 		MTK_FUNCTION(5, "G1_TXD1"),
1748 		MTK_FUNCTION(7, "DBG_MON_B[19]"),
1749 		MTK_FUNCTION(9, "I2S3_DATA")
1750 	),
1751 	MTK_PIN(
1752 		PINCTRL_PIN(205, "PWM2"),
1753 		NULL, "mt2701",
1754 		MTK_EINT_FUNCTION(0, 117),
1755 		MTK_FUNCTION(0, "GPIO205"),
1756 		MTK_FUNCTION(1, "PWM2"),
1757 		MTK_FUNCTION(2, "CLKM2"),
1758 		MTK_FUNCTION(5, "G1_TXD0"),
1759 		MTK_FUNCTION(7, "DBG_MON_B[20]")
1760 	),
1761 	MTK_PIN(
1762 		PINCTRL_PIN(206, "PWM3"),
1763 		NULL, "mt2701",
1764 		MTK_EINT_FUNCTION(0, 118),
1765 		MTK_FUNCTION(0, "GPIO206"),
1766 		MTK_FUNCTION(1, "PWM3"),
1767 		MTK_FUNCTION(2, "CLKM1"),
1768 		MTK_FUNCTION(3, "EXT_FRAME_SYNC"),
1769 		MTK_FUNCTION(5, "G1_TXC"),
1770 		MTK_FUNCTION(7, "DBG_MON_B[21]")
1771 	),
1772 	MTK_PIN(
1773 		PINCTRL_PIN(207, "PWM4"),
1774 		NULL, "mt2701",
1775 		MTK_EINT_FUNCTION(0, 119),
1776 		MTK_FUNCTION(0, "GPIO207"),
1777 		MTK_FUNCTION(1, "PWM4"),
1778 		MTK_FUNCTION(2, "CLKM0"),
1779 		MTK_FUNCTION(3, "EXT_FRAME_SYNC"),
1780 		MTK_FUNCTION(5, "G1_RXC"),
1781 		MTK_FUNCTION(7, "DBG_MON_B[22]")
1782 	),
1783 	MTK_PIN(
1784 		PINCTRL_PIN(208, "AUD_EXT_CK1"),
1785 		NULL, "mt2701",
1786 		MTK_EINT_FUNCTION(0, 120),
1787 		MTK_FUNCTION(0, "GPIO208"),
1788 		MTK_FUNCTION(1, "AUD_EXT_CK1"),
1789 		MTK_FUNCTION(2, "PWM0"),
1790 		MTK_FUNCTION(4, "ANT_SEL5"),
1791 		MTK_FUNCTION(5, "DISP_PWM"),
1792 		MTK_FUNCTION(7, "DBG_MON_A[31]"),
1793 		MTK_FUNCTION(11, "PCIE0_PERST_N")
1794 	),
1795 	MTK_PIN(
1796 		PINCTRL_PIN(209, "AUD_EXT_CK2"),
1797 		NULL, "mt2701",
1798 		MTK_EINT_FUNCTION(0, 121),
1799 		MTK_FUNCTION(0, "GPIO209"),
1800 		MTK_FUNCTION(1, "AUD_EXT_CK2"),
1801 		MTK_FUNCTION(2, "MSDC1_WP"),
1802 		MTK_FUNCTION(5, "PWM1"),
1803 		MTK_FUNCTION(7, "DBG_MON_A[32]"),
1804 		MTK_FUNCTION(11, "PCIE1_PERST_N")
1805 	),
1806 	MTK_PIN(
1807 		PINCTRL_PIN(210, "AUD_CLOCK"),
1808 		NULL, "mt2701",
1809 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1810 		MTK_FUNCTION(0, "GPIO210"),
1811 		MTK_FUNCTION(1, "AUD_CLOCK")
1812 	),
1813 	MTK_PIN(
1814 		PINCTRL_PIN(211, "DVP_RESET"),
1815 		NULL, "mt2701",
1816 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1817 		MTK_FUNCTION(0, "GPIO211"),
1818 		MTK_FUNCTION(1, "DVP_RESET")
1819 	),
1820 	MTK_PIN(
1821 		PINCTRL_PIN(212, "DVP_CLOCK"),
1822 		NULL, "mt2701",
1823 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1824 		MTK_FUNCTION(0, "GPIO212"),
1825 		MTK_FUNCTION(1, "DVP_CLOCK")
1826 	),
1827 	MTK_PIN(
1828 		PINCTRL_PIN(213, "DVP_CS"),
1829 		NULL, "mt2701",
1830 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1831 		MTK_FUNCTION(0, "GPIO213"),
1832 		MTK_FUNCTION(1, "DVP_CS")
1833 	),
1834 	MTK_PIN(
1835 		PINCTRL_PIN(214, "DVP_CK"),
1836 		NULL, "mt2701",
1837 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1838 		MTK_FUNCTION(0, "GPIO214"),
1839 		MTK_FUNCTION(1, "DVP_CK")
1840 	),
1841 	MTK_PIN(
1842 		PINCTRL_PIN(215, "DVP_DI"),
1843 		NULL, "mt2701",
1844 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1845 		MTK_FUNCTION(0, "GPIO215"),
1846 		MTK_FUNCTION(1, "DVP_DI")
1847 	),
1848 	MTK_PIN(
1849 		PINCTRL_PIN(216, "DVP_DO"),
1850 		NULL, "mt2701",
1851 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1852 		MTK_FUNCTION(0, "GPIO216"),
1853 		MTK_FUNCTION(1, "DVP_DO")
1854 	),
1855 	MTK_PIN(
1856 		PINCTRL_PIN(217, "AP_CS"),
1857 		NULL, "mt2701",
1858 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1859 		MTK_FUNCTION(0, "GPIO217"),
1860 		MTK_FUNCTION(1, "AP_CS")
1861 	),
1862 	MTK_PIN(
1863 		PINCTRL_PIN(218, "AP_CK"),
1864 		NULL, "mt2701",
1865 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1866 		MTK_FUNCTION(0, "GPIO218"),
1867 		MTK_FUNCTION(1, "AP_CK")
1868 	),
1869 	MTK_PIN(
1870 		PINCTRL_PIN(219, "AP_DI"),
1871 		NULL, "mt2701",
1872 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1873 		MTK_FUNCTION(0, "GPIO219"),
1874 		MTK_FUNCTION(1, "AP_DI")
1875 	),
1876 	MTK_PIN(
1877 		PINCTRL_PIN(220, "AP_DO"),
1878 		NULL, "mt2701",
1879 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1880 		MTK_FUNCTION(0, "GPIO220"),
1881 		MTK_FUNCTION(1, "AP_DO")
1882 	),
1883 	MTK_PIN(
1884 		PINCTRL_PIN(221, "DVD_BCLK"),
1885 		NULL, "mt2701",
1886 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1887 		MTK_FUNCTION(0, "GPIO221"),
1888 		MTK_FUNCTION(1, "DVD_BCLK")
1889 	),
1890 	MTK_PIN(
1891 		PINCTRL_PIN(222, "T8032_CLK"),
1892 		NULL, "mt2701",
1893 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1894 		MTK_FUNCTION(0, "GPIO222"),
1895 		MTK_FUNCTION(1, "T8032_CLK")
1896 	),
1897 	MTK_PIN(
1898 		PINCTRL_PIN(223, "AP_BCLK"),
1899 		NULL, "mt2701",
1900 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1901 		MTK_FUNCTION(0, "GPIO223"),
1902 		MTK_FUNCTION(1, "AP_BCLK")
1903 	),
1904 	MTK_PIN(
1905 		PINCTRL_PIN(224, "HOST_CS"),
1906 		NULL, "mt2701",
1907 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1908 		MTK_FUNCTION(0, "GPIO224"),
1909 		MTK_FUNCTION(1, "HOST_CS")
1910 	),
1911 	MTK_PIN(
1912 		PINCTRL_PIN(225, "HOST_CK"),
1913 		NULL, "mt2701",
1914 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1915 		MTK_FUNCTION(0, "GPIO225"),
1916 		MTK_FUNCTION(1, "HOST_CK")
1917 	),
1918 	MTK_PIN(
1919 		PINCTRL_PIN(226, "HOST_DO0"),
1920 		NULL, "mt2701",
1921 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1922 		MTK_FUNCTION(0, "GPIO226"),
1923 		MTK_FUNCTION(1, "HOST_DO0")
1924 	),
1925 	MTK_PIN(
1926 		PINCTRL_PIN(227, "HOST_DO1"),
1927 		NULL, "mt2701",
1928 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1929 		MTK_FUNCTION(0, "GPIO227"),
1930 		MTK_FUNCTION(1, "HOST_DO1")
1931 	),
1932 	MTK_PIN(
1933 		PINCTRL_PIN(228, "SLV_CS"),
1934 		NULL, "mt2701",
1935 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1936 		MTK_FUNCTION(0, "GPIO228"),
1937 		MTK_FUNCTION(1, "SLV_CS")
1938 	),
1939 	MTK_PIN(
1940 		PINCTRL_PIN(229, "SLV_CK"),
1941 		NULL, "mt2701",
1942 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1943 		MTK_FUNCTION(0, "GPIO229"),
1944 		MTK_FUNCTION(1, "SLV_CK")
1945 	),
1946 	MTK_PIN(
1947 		PINCTRL_PIN(230, "SLV_DI0"),
1948 		NULL, "mt2701",
1949 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1950 		MTK_FUNCTION(0, "GPIO230"),
1951 		MTK_FUNCTION(1, "SLV_DI0")
1952 	),
1953 	MTK_PIN(
1954 		PINCTRL_PIN(231, "SLV_DI1"),
1955 		NULL, "mt2701",
1956 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1957 		MTK_FUNCTION(0, "GPIO231"),
1958 		MTK_FUNCTION(1, "SLV_DI1")
1959 	),
1960 	MTK_PIN(
1961 		PINCTRL_PIN(232, "AP2DSP_INT"),
1962 		NULL, "mt2701",
1963 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1964 		MTK_FUNCTION(0, "GPIO232"),
1965 		MTK_FUNCTION(1, "AP2DSP_INT")
1966 	),
1967 	MTK_PIN(
1968 		PINCTRL_PIN(233, "AP2DSP_INT_CLR"),
1969 		NULL, "mt2701",
1970 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1971 		MTK_FUNCTION(0, "GPIO233"),
1972 		MTK_FUNCTION(1, "AP2DSP_INT_CLR")
1973 	),
1974 	MTK_PIN(
1975 		PINCTRL_PIN(234, "DSP2AP_INT"),
1976 		NULL, "mt2701",
1977 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1978 		MTK_FUNCTION(0, "GPIO234"),
1979 		MTK_FUNCTION(1, "DSP2AP_INT")
1980 	),
1981 	MTK_PIN(
1982 		PINCTRL_PIN(235, "DSP2AP_INT_CLR"),
1983 		NULL, "mt2701",
1984 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1985 		MTK_FUNCTION(0, "GPIO235"),
1986 		MTK_FUNCTION(1, "DSP2AP_INT_CLR")
1987 	),
1988 	MTK_PIN(
1989 		PINCTRL_PIN(236, "EXT_SDIO3"),
1990 		NULL, "mt2701",
1991 		MTK_EINT_FUNCTION(0, 122),
1992 		MTK_FUNCTION(0, "GPIO236"),
1993 		MTK_FUNCTION(1, "EXT_SDIO3"),
1994 		MTK_FUNCTION(2, "IDDIG"),
1995 		MTK_FUNCTION(7, "DBG_MON_A[1]")
1996 	),
1997 	MTK_PIN(
1998 		PINCTRL_PIN(237, "EXT_SDIO2"),
1999 		NULL, "mt2701",
2000 		MTK_EINT_FUNCTION(0, 123),
2001 		MTK_FUNCTION(0, "GPIO237"),
2002 		MTK_FUNCTION(1, "EXT_SDIO2"),
2003 		MTK_FUNCTION(2, "DRV_VBUS")
2004 	),
2005 	MTK_PIN(
2006 		PINCTRL_PIN(238, "EXT_SDIO1"),
2007 		NULL, "mt2701",
2008 		MTK_EINT_FUNCTION(0, 124),
2009 		MTK_FUNCTION(0, "GPIO238"),
2010 		MTK_FUNCTION(1, "EXT_SDIO1"),
2011 		MTK_FUNCTION(2, "IDDIG_P1")
2012 	),
2013 	MTK_PIN(
2014 		PINCTRL_PIN(239, "EXT_SDIO0"),
2015 		NULL, "mt2701",
2016 		MTK_EINT_FUNCTION(0, 125),
2017 		MTK_FUNCTION(0, "GPIO239"),
2018 		MTK_FUNCTION(1, "EXT_SDIO0"),
2019 		MTK_FUNCTION(2, "DRV_VBUS_P1")
2020 	),
2021 	MTK_PIN(
2022 		PINCTRL_PIN(240, "EXT_XCS"),
2023 		NULL, "mt2701",
2024 		MTK_EINT_FUNCTION(0, 126),
2025 		MTK_FUNCTION(0, "GPIO240"),
2026 		MTK_FUNCTION(1, "EXT_XCS")
2027 	),
2028 	MTK_PIN(
2029 		PINCTRL_PIN(241, "EXT_SCK"),
2030 		NULL, "mt2701",
2031 		MTK_EINT_FUNCTION(0, 127),
2032 		MTK_FUNCTION(0, "GPIO241"),
2033 		MTK_FUNCTION(1, "EXT_SCK")
2034 	),
2035 	MTK_PIN(
2036 		PINCTRL_PIN(242, "URTS2"),
2037 		NULL, "mt2701",
2038 		MTK_EINT_FUNCTION(0, 128),
2039 		MTK_FUNCTION(0, "GPIO242"),
2040 		MTK_FUNCTION(1, "URTS2"),
2041 		MTK_FUNCTION(2, "UTXD3"),
2042 		MTK_FUNCTION(3, "URXD3"),
2043 		MTK_FUNCTION(4, "SCL1"),
2044 		MTK_FUNCTION(7, "DBG_MON_B[32]")
2045 	),
2046 	MTK_PIN(
2047 		PINCTRL_PIN(243, "UCTS2"),
2048 		NULL, "mt2701",
2049 		MTK_EINT_FUNCTION(0, 129),
2050 		MTK_FUNCTION(0, "GPIO243"),
2051 		MTK_FUNCTION(1, "UCTS2"),
2052 		MTK_FUNCTION(2, "URXD3"),
2053 		MTK_FUNCTION(3, "UTXD3"),
2054 		MTK_FUNCTION(4, "SDA1"),
2055 		MTK_FUNCTION(7, "DBG_MON_A[6]")
2056 	),
2057 	MTK_PIN(
2058 		PINCTRL_PIN(244, "HDMI_SDA_RX"),
2059 		NULL, "mt2701",
2060 		MTK_EINT_FUNCTION(0, 130),
2061 		MTK_FUNCTION(0, "GPIO244"),
2062 		MTK_FUNCTION(1, "HDMI_SDA_RX")
2063 	),
2064 	MTK_PIN(
2065 		PINCTRL_PIN(245, "HDMI_SCL_RX"),
2066 		NULL, "mt2701",
2067 		MTK_EINT_FUNCTION(0, 131),
2068 		MTK_FUNCTION(0, "GPIO245"),
2069 		MTK_FUNCTION(1, "HDMI_SCL_RX")
2070 	),
2071 	MTK_PIN(
2072 		PINCTRL_PIN(246, "MHL_SENCE"),
2073 		NULL, "mt2701",
2074 		MTK_EINT_FUNCTION(0, 132),
2075 		MTK_FUNCTION(0, "GPIO246")
2076 	),
2077 	MTK_PIN(
2078 		PINCTRL_PIN(247, "HDMI_HPD_CBUS_RX"),
2079 		NULL, "mt2701",
2080 		MTK_EINT_FUNCTION(0, 69),
2081 		MTK_FUNCTION(0, "GPIO247"),
2082 		MTK_FUNCTION(1, "HDMI_HPD_RX")
2083 	),
2084 	MTK_PIN(
2085 		PINCTRL_PIN(248, "HDMI_TESTOUTP_RX"),
2086 		NULL, "mt2701",
2087 		MTK_EINT_FUNCTION(0, 133),
2088 		MTK_FUNCTION(0, "GPIO248"),
2089 		MTK_FUNCTION(1, "HDMI_TESTOUTP_RX")
2090 	),
2091 	MTK_PIN(
2092 		PINCTRL_PIN(249, "MSDC0E_RSTB"),
2093 		NULL, "mt2701",
2094 		MTK_EINT_FUNCTION(0, 134),
2095 		MTK_FUNCTION(0, "GPIO249"),
2096 		MTK_FUNCTION(1, "MSDC0E_RSTB")
2097 	),
2098 	MTK_PIN(
2099 		PINCTRL_PIN(250, "MSDC0E_DAT7"),
2100 		NULL, "mt2701",
2101 		MTK_EINT_FUNCTION(0, 135),
2102 		MTK_FUNCTION(0, "GPIO250"),
2103 		MTK_FUNCTION(1, "MSDC3_DAT7"),
2104 		MTK_FUNCTION(6, "PCIE0_CLKREQ_N")
2105 	),
2106 	MTK_PIN(
2107 		PINCTRL_PIN(251, "MSDC0E_DAT6"),
2108 		NULL, "mt2701",
2109 		MTK_EINT_FUNCTION(0, 136),
2110 		MTK_FUNCTION(0, "GPIO251"),
2111 		MTK_FUNCTION(1, "MSDC3_DAT6"),
2112 		MTK_FUNCTION(6, "PCIE0_WAKE_N")
2113 	),
2114 	MTK_PIN(
2115 		PINCTRL_PIN(252, "MSDC0E_DAT5"),
2116 		NULL, "mt2701",
2117 		MTK_EINT_FUNCTION(0, 137),
2118 		MTK_FUNCTION(0, "GPIO252"),
2119 		MTK_FUNCTION(1, "MSDC3_DAT5"),
2120 		MTK_FUNCTION(6, "PCIE1_CLKREQ_N")
2121 	),
2122 	MTK_PIN(
2123 		PINCTRL_PIN(253, "MSDC0E_DAT4"),
2124 		NULL, "mt2701",
2125 		MTK_EINT_FUNCTION(0, 138),
2126 		MTK_FUNCTION(0, "GPIO253"),
2127 		MTK_FUNCTION(1, "MSDC3_DAT4"),
2128 		MTK_FUNCTION(6, "PCIE1_WAKE_N")
2129 	),
2130 	MTK_PIN(
2131 		PINCTRL_PIN(254, "MSDC0E_DAT3"),
2132 		NULL, "mt2701",
2133 		MTK_EINT_FUNCTION(0, 139),
2134 		MTK_FUNCTION(0, "GPIO254"),
2135 		MTK_FUNCTION(1, "MSDC3_DAT3"),
2136 		MTK_FUNCTION(6, "PCIE2_CLKREQ_N")
2137 	),
2138 	MTK_PIN(
2139 		PINCTRL_PIN(255, "MSDC0E_DAT2"),
2140 		NULL, "mt2701",
2141 		MTK_EINT_FUNCTION(0, 140),
2142 		MTK_FUNCTION(0, "GPIO255"),
2143 		MTK_FUNCTION(1, "MSDC3_DAT2"),
2144 		MTK_FUNCTION(6, "PCIE2_WAKE_N")
2145 	),
2146 	MTK_PIN(
2147 		PINCTRL_PIN(256, "MSDC0E_DAT1"),
2148 		NULL, "mt2701",
2149 		MTK_EINT_FUNCTION(0, 141),
2150 		MTK_FUNCTION(0, "GPIO256"),
2151 		MTK_FUNCTION(1, "MSDC3_DAT1")
2152 	),
2153 	MTK_PIN(
2154 		PINCTRL_PIN(257, "MSDC0E_DAT0"),
2155 		NULL, "mt2701",
2156 		MTK_EINT_FUNCTION(0, 142),
2157 		MTK_FUNCTION(0, "GPIO257"),
2158 		MTK_FUNCTION(1, "MSDC3_DAT0")
2159 	),
2160 	MTK_PIN(
2161 		PINCTRL_PIN(258, "MSDC0E_CMD"),
2162 		NULL, "mt2701",
2163 		MTK_EINT_FUNCTION(0, 143),
2164 		MTK_FUNCTION(0, "GPIO258"),
2165 		MTK_FUNCTION(1, "MSDC3_CMD")
2166 	),
2167 	MTK_PIN(
2168 		PINCTRL_PIN(259, "MSDC0E_CLK"),
2169 		NULL, "mt2701",
2170 		MTK_EINT_FUNCTION(0, 144),
2171 		MTK_FUNCTION(0, "GPIO259"),
2172 		MTK_FUNCTION(1, "MSDC3_CLK")
2173 	),
2174 	MTK_PIN(
2175 		PINCTRL_PIN(260, "MSDC0E_DSL"),
2176 		NULL, "mt2701",
2177 		MTK_EINT_FUNCTION(0, 145),
2178 		MTK_FUNCTION(0, "GPIO260"),
2179 		MTK_FUNCTION(1, "MSDC3_DSL")
2180 	),
2181 	MTK_PIN(
2182 		PINCTRL_PIN(261, "MSDC1_INS"),
2183 		NULL, "mt2701",
2184 		MTK_EINT_FUNCTION(0, 146),
2185 		MTK_FUNCTION(0, "GPIO261"),
2186 		MTK_FUNCTION(1, "MSDC1_INS"),
2187 		MTK_FUNCTION(7, "DBG_MON_B[29]")
2188 	),
2189 	MTK_PIN(
2190 		PINCTRL_PIN(262, "G2_TXEN"),
2191 		NULL, "mt2701",
2192 		MTK_EINT_FUNCTION(0, 8),
2193 		MTK_FUNCTION(0, "GPIO262"),
2194 		MTK_FUNCTION(1, "G2_TXEN")
2195 	),
2196 	MTK_PIN(
2197 		PINCTRL_PIN(263, "G2_TXD3"),
2198 		NULL, "mt2701",
2199 		MTK_EINT_FUNCTION(0, 9),
2200 		MTK_FUNCTION(0, "GPIO263"),
2201 		MTK_FUNCTION(1, "G2_TXD3"),
2202 		MTK_FUNCTION(6, "ANT_SEL5")
2203 	),
2204 	MTK_PIN(
2205 		PINCTRL_PIN(264, "G2_TXD2"),
2206 		NULL, "mt2701",
2207 		MTK_EINT_FUNCTION(0, 10),
2208 		MTK_FUNCTION(0, "GPIO264"),
2209 		MTK_FUNCTION(1, "G2_TXD2"),
2210 		MTK_FUNCTION(6, "ANT_SEL4")
2211 	),
2212 	MTK_PIN(
2213 		PINCTRL_PIN(265, "G2_TXD1"),
2214 		NULL, "mt2701",
2215 		MTK_EINT_FUNCTION(0, 11),
2216 		MTK_FUNCTION(0, "GPIO265"),
2217 		MTK_FUNCTION(1, "G2_TXD1"),
2218 		MTK_FUNCTION(6, "ANT_SEL3")
2219 	),
2220 	MTK_PIN(
2221 		PINCTRL_PIN(266, "G2_TXD0"),
2222 		NULL, "mt2701",
2223 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
2224 		MTK_FUNCTION(0, "GPIO266"),
2225 		MTK_FUNCTION(1, "G2_TXD0"),
2226 		MTK_FUNCTION(6, "ANT_SEL2")
2227 	),
2228 	MTK_PIN(
2229 		PINCTRL_PIN(267, "G2_TXC"),
2230 		NULL, "mt2701",
2231 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
2232 		MTK_FUNCTION(0, "GPIO267"),
2233 		MTK_FUNCTION(1, "G2_TXC")
2234 	),
2235 	MTK_PIN(
2236 		PINCTRL_PIN(268, "G2_RXC"),
2237 		NULL, "mt2701",
2238 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
2239 		MTK_FUNCTION(0, "GPIO268"),
2240 		MTK_FUNCTION(1, "G2_RXC")
2241 	),
2242 	MTK_PIN(
2243 		PINCTRL_PIN(269, "G2_RXD0"),
2244 		NULL, "mt2701",
2245 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
2246 		MTK_FUNCTION(0, "GPIO269"),
2247 		MTK_FUNCTION(1, "G2_RXD0")
2248 	),
2249 	MTK_PIN(
2250 		PINCTRL_PIN(270, "G2_RXD1"),
2251 		NULL, "mt2701",
2252 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
2253 		MTK_FUNCTION(0, "GPIO270"),
2254 		MTK_FUNCTION(1, "G2_RXD1")
2255 	),
2256 	MTK_PIN(
2257 		PINCTRL_PIN(271, "G2_RXD2"),
2258 		NULL, "mt2701",
2259 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
2260 		MTK_FUNCTION(0, "GPIO271"),
2261 		MTK_FUNCTION(1, "G2_RXD2")
2262 	),
2263 	MTK_PIN(
2264 		PINCTRL_PIN(272, "G2_RXD3"),
2265 		NULL, "mt2701",
2266 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
2267 		MTK_FUNCTION(0, "GPIO272"),
2268 		MTK_FUNCTION(1, "G2_RXD3")
2269 	),
2270 	MTK_PIN(
2271 		PINCTRL_PIN(273, "ESW_INT"),
2272 		NULL, "mt2701",
2273 		MTK_EINT_FUNCTION(0, 168),
2274 		MTK_FUNCTION(0, "GPIO273"),
2275 		MTK_FUNCTION(1, "ESW_INT")
2276 	),
2277 	MTK_PIN(
2278 		PINCTRL_PIN(274, "G2_RXDV"),
2279 		NULL, "mt2701",
2280 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
2281 		MTK_FUNCTION(0, "GPIO274"),
2282 		MTK_FUNCTION(1, "G2_RXDV")
2283 	),
2284 	MTK_PIN(
2285 		PINCTRL_PIN(275, "MDC"),
2286 		NULL, "mt2701",
2287 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
2288 		MTK_FUNCTION(0, "GPIO275"),
2289 		MTK_FUNCTION(1, "MDC"),
2290 		MTK_FUNCTION(6, "ANT_SEL0")
2291 	),
2292 	MTK_PIN(
2293 		PINCTRL_PIN(276, "MDIO"),
2294 		NULL, "mt2701",
2295 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
2296 		MTK_FUNCTION(0, "GPIO276"),
2297 		MTK_FUNCTION(1, "MDIO"),
2298 		MTK_FUNCTION(6, "ANT_SEL1")
2299 	),
2300 	MTK_PIN(
2301 		PINCTRL_PIN(277, "ESW_RST"),
2302 		NULL, "mt2701",
2303 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
2304 		MTK_FUNCTION(0, "GPIO277"),
2305 		MTK_FUNCTION(1, "ESW_RST")
2306 	),
2307 	MTK_PIN(
2308 		PINCTRL_PIN(278, "JTAG_RESET"),
2309 		NULL, "mt2701",
2310 		MTK_EINT_FUNCTION(0, 147),
2311 		MTK_FUNCTION(0, "GPIO278"),
2312 		MTK_FUNCTION(1, "JTAG_RESET")
2313 	),
2314 	MTK_PIN(
2315 		PINCTRL_PIN(279, "USB3_RES_BOND"),
2316 		NULL, "mt2701",
2317 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
2318 		MTK_FUNCTION(0, "GPIO279"),
2319 		MTK_FUNCTION(1, "USB3_RES_BOND")
2320 	),
2321 };
2322 
2323 #endif /* __PINCTRL_MTK_MT2701_H */
2324