1
2
3
4
5
6
7
8
9
10
11
12
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
21static const struct mtk_desc_pin mtk_pins_mt2701[] = {
22 MTK_PIN(PINCTRL_PIN(0, "PWRAP_SPI0_MI"),
23 NULL, "mt2701",
24 MTK_EINT_FUNCTION(0, 148),
25 MTK_FUNCTION(0, "GPIO0"),
26 MTK_FUNCTION(1, "PWRAP_SPIDO"),
27 MTK_FUNCTION(2, "PWRAP_SPIDI")
28 ),
29 MTK_PIN(PINCTRL_PIN(1, "PWRAP_SPI0_MO"),
30 NULL, "mt2701",
31 MTK_EINT_FUNCTION(0, 149),
32 MTK_FUNCTION(0, "GPIO1"),
33 MTK_FUNCTION(1, "PWRAP_SPIDI"),
34 MTK_FUNCTION(2, "PWRAP_SPIDO")
35 ),
36 MTK_PIN(PINCTRL_PIN(2, "PWRAP_INT"),
37 NULL, "mt2701",
38 MTK_EINT_FUNCTION(0, 150),
39 MTK_FUNCTION(0, "GPIO2"),
40 MTK_FUNCTION(1, "PWRAP_INT")
41 ),
42 MTK_PIN(PINCTRL_PIN(3, "PWRAP_SPI0_CK"),
43 NULL, "mt2701",
44 MTK_EINT_FUNCTION(0, 151),
45 MTK_FUNCTION(0, "GPIO3"),
46 MTK_FUNCTION(1, "PWRAP_SPICK_I")
47 ),
48 MTK_PIN(PINCTRL_PIN(4, "PWRAP_SPI0_CSN"),
49 NULL, "mt2701",
50 MTK_EINT_FUNCTION(0, 152),
51 MTK_FUNCTION(0, "GPIO4"),
52 MTK_FUNCTION(1, "PWRAP_SPICS_B_I")
53 ),
54 MTK_PIN(PINCTRL_PIN(5, "PWRAP_SPI0_CK2"),
55 NULL, "mt2701",
56 MTK_EINT_FUNCTION(0, 153),
57 MTK_FUNCTION(0, "GPIO5"),
58 MTK_FUNCTION(1, "PWRAP_SPICK2_I"),
59 MTK_FUNCTION(5, "ANT_SEL1")
60 ),
61 MTK_PIN(PINCTRL_PIN(6, "PWRAP_SPI0_CSN2"),
62 NULL, "mt2701",
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]")
68 ),
69 MTK_PIN(PINCTRL_PIN(7, "SPI1_CSN"),
70 NULL, "mt2701",
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]")
76 ),
77 MTK_PIN(PINCTRL_PIN(8, "SPI1_MI"),
78 NULL, "mt2701",
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]")
85 ),
86 MTK_PIN(PINCTRL_PIN(9, "SPI1_MO"),
87 NULL, "mt2701",
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]")
95 ),
96 MTK_PIN(PINCTRL_PIN(10, "RTC32K_CK"),
97 NULL, "mt2701",
98 MTK_EINT_FUNCTION(0, 158),
99 MTK_FUNCTION(0, "GPIO10"),
100 MTK_FUNCTION(1, "RTC32K_CK")
101 ),
102 MTK_PIN(PINCTRL_PIN(11, "WATCHDOG"),
103 NULL, "mt2701",
104 MTK_EINT_FUNCTION(0, 159),
105 MTK_FUNCTION(0, "GPIO11"),
106 MTK_FUNCTION(1, "WATCHDOG")
107 ),
108 MTK_PIN(PINCTRL_PIN(12, "SRCLKENA"),
109 NULL, "mt2701",
110 MTK_EINT_FUNCTION(0, 160),
111 MTK_FUNCTION(0, "GPIO12"),
112 MTK_FUNCTION(1, "SRCLKENA")
113 ),
114 MTK_PIN(PINCTRL_PIN(13, "SRCLKENAI"),
115 NULL, "mt2701",
116 MTK_EINT_FUNCTION(0, 161),
117 MTK_FUNCTION(0, "GPIO13"),
118 MTK_FUNCTION(1, "SRCLKENAI")
119 ),
120 MTK_PIN(PINCTRL_PIN(14, "URXD2"),
121 NULL, "mt2701",
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]")
128 ),
129 MTK_PIN(PINCTRL_PIN(15, "UTXD2"),
130 NULL, "mt2701",
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]")
136 ),
137 MTK_PIN(PINCTRL_PIN(16, "I2S5_DATA_IN"),
138 NULL, "mt2701",
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")
144 ),
145 MTK_PIN(PINCTRL_PIN(17, "I2S5_BCK"),
146 NULL, "mt2701",
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")
152 ),
153 MTK_PIN(PINCTRL_PIN(18, "PCM_CLK"),
154 NULL, "mt2701",
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]")
163 ),
164 MTK_PIN(PINCTRL_PIN(19, "PCM_SYNC"),
165 NULL, "mt2701",
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]")
173 ),
174 MTK_PIN(PINCTRL_PIN(20, "PCM_RX"),
175 NULL, "mt2701",
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]")
185 ),
186 MTK_PIN(PINCTRL_PIN(21, "PCM_TX"),
187 NULL, "mt2701",
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]")
197 ),
198 MTK_PIN(PINCTRL_PIN(22, "EINT0"),
199 NULL, "mt2701",
200 MTK_EINT_FUNCTION(0, 0),
201 MTK_FUNCTION(0, "GPIO22"),
202 MTK_FUNCTION(1, "UCTS0"),
203
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")
210 ),
211 MTK_PIN(PINCTRL_PIN(23, "EINT1"),
212 NULL, "mt2701",
213 MTK_EINT_FUNCTION(0, 1),
214 MTK_FUNCTION(0, "GPIO23"),
215 MTK_FUNCTION(1, "URTS0"),
216
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")
223 ),
224 MTK_PIN(PINCTRL_PIN(24, "EINT2"),
225 NULL, "mt2701",
226 MTK_EINT_FUNCTION(0, 2),
227 MTK_FUNCTION(0, "GPIO24"),
228 MTK_FUNCTION(1, "UCTS1"),
229
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")
235 ),
236 MTK_PIN(PINCTRL_PIN(25, "EINT3"),
237 NULL, "mt2701",
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]")
244 ),
245 MTK_PIN(PINCTRL_PIN(26, "EINT4"),
246 NULL, "mt2701",
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]")
256 ),
257 MTK_PIN(PINCTRL_PIN(27, "EINT5"),
258 NULL, "mt2701",
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]")
267 ),
268 MTK_PIN(PINCTRL_PIN(28, "EINT6"),
269 NULL, "mt2701",
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]")
277 ),
278 MTK_PIN(PINCTRL_PIN(29, "EINT7"),
279 NULL, "mt2701",
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
288 MTK_FUNCTION(6, "PCIE2_PERST_N"),
289 MTK_FUNCTION(7, "DBG_MON_A[23]"),
290 MTK_FUNCTION(14, "PCIE2_PERST_N")
291 ),
292 MTK_PIN(PINCTRL_PIN(30, "I2S5_LRCK"),
293 NULL, "mt2701",
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")
299 ),
300 MTK_PIN(PINCTRL_PIN(31, "I2S5_MCLK"),
301 NULL, "mt2701",
302 MTK_EINT_FUNCTION(0, 13),
303 MTK_FUNCTION(0, "GPIO31"),
304 MTK_FUNCTION(1, "I2S5_MCLK"),
305 MTK_FUNCTION(4, "ANT_SEL0")
306 ),
307 MTK_PIN(PINCTRL_PIN(32, "I2S5_DATA"),
308 NULL, "mt2701",
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")
315 ),
316 MTK_PIN(PINCTRL_PIN(33, "I2S1_DATA"),
317 NULL, "mt2701",
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]")
327 ),
328 MTK_PIN(PINCTRL_PIN(34, "I2S1_DATA_IN"),
329 NULL, "mt2701",
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]")
338 ),
339 MTK_PIN(PINCTRL_PIN(35, "I2S1_BCK"),
340 NULL, "mt2701",
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]")
348 ),
349 MTK_PIN(PINCTRL_PIN(36, "I2S1_LRCK"),
350 NULL, "mt2701",
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]")
358 ),
359 MTK_PIN(PINCTRL_PIN(37, "I2S1_MCLK"),
360 NULL, "mt2701",
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]")
366 ),
367 MTK_PIN(PINCTRL_PIN(38, "I2S2_DATA"),
368 NULL, "mt2701",
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")
374 ),
375 MTK_PIN(PINCTRL_PIN(39, "JTMS"),
376 NULL, "mt2701",
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")
383 ),
384 MTK_PIN(PINCTRL_PIN(40, "JTCK"),
385 NULL, "mt2701",
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")
392 ),
393 MTK_PIN(PINCTRL_PIN(41, "JTDI"),
394 NULL, "mt2701",
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")
400 ),
401 MTK_PIN(PINCTRL_PIN(42, "JTDO"),
402 NULL, "mt2701",
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")
408 ),
409 MTK_PIN(PINCTRL_PIN(43, "NCLE"),
410 NULL, "mt2701",
411 MTK_EINT_FUNCTION(0, 25),
412 MTK_FUNCTION(0, "GPIO43"),
413 MTK_FUNCTION(1, "NCLE"),
414 MTK_FUNCTION(2, "EXT_XCS2")
415 ),
416 MTK_PIN(PINCTRL_PIN(44, "NCEB1"),
417 NULL, "mt2701",
418 MTK_EINT_FUNCTION(0, 26),
419 MTK_FUNCTION(0, "GPIO44"),
420 MTK_FUNCTION(1, "NCEB1"),
421 MTK_FUNCTION(2, "IDDIG")
422 ),
423 MTK_PIN(PINCTRL_PIN(45, "NCEB0"),
424 NULL, "mt2701",
425 MTK_EINT_FUNCTION(0, 27),
426 MTK_FUNCTION(0, "GPIO45"),
427 MTK_FUNCTION(1, "NCEB0"),
428 MTK_FUNCTION(2, "DRV_VBUS")
429 ),
430 MTK_PIN(PINCTRL_PIN(46, "IR"),
431 NULL, "mt2701",
432 MTK_EINT_FUNCTION(0, 28),
433 MTK_FUNCTION(0, "GPIO46"),
434 MTK_FUNCTION(1, "IR")
435 ),
436 MTK_PIN(PINCTRL_PIN(47, "NREB"),
437 NULL, "mt2701",
438 MTK_EINT_FUNCTION(0, 29),
439 MTK_FUNCTION(0, "GPIO47"),
440 MTK_FUNCTION(1, "NREB"),
441 MTK_FUNCTION(2, "IDDIG_P1")
442 ),
443 MTK_PIN(PINCTRL_PIN(48, "NRNB"),
444 NULL, "mt2701",
445 MTK_EINT_FUNCTION(0, 30),
446 MTK_FUNCTION(0, "GPIO48"),
447 MTK_FUNCTION(1, "NRNB"),
448 MTK_FUNCTION(2, "DRV_VBUS_P1")
449 ),
450 MTK_PIN(PINCTRL_PIN(49, "I2S0_DATA"),
451 NULL, "mt2701",
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]")
459 ),
460 MTK_PIN(PINCTRL_PIN(50, "I2S2_BCK"),
461 NULL, "mt2701",
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")
467 ),
468 MTK_PIN(PINCTRL_PIN(51, "I2S2_DATA_IN"),
469 NULL, "mt2701",
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")
475 ),
476 MTK_PIN(PINCTRL_PIN(52, "I2S2_LRCK"),
477 NULL, "mt2701",
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")
483 ),
484 MTK_PIN(PINCTRL_PIN(53, "SPI0_CSN"),
485 NULL, "mt2701",
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]")
493 ),
494 MTK_PIN(PINCTRL_PIN(54, "SPI0_CK"),
495 NULL, "mt2701",
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]")
502 ),
503 MTK_PIN(PINCTRL_PIN(55, "SPI0_MI"),
504 NULL, "mt2701",
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]")
513 ),
514 MTK_PIN(PINCTRL_PIN(56, "SPI0_MO"),
515 NULL, "mt2701",
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]")
522 ),
523 MTK_PIN(PINCTRL_PIN(57, "SDA1"),
524 NULL, "mt2701",
525 MTK_EINT_FUNCTION(0, 39),
526 MTK_FUNCTION(0, "GPIO57"),
527 MTK_FUNCTION(1, "SDA1")
528 ),
529 MTK_PIN(PINCTRL_PIN(58, "SCL1"),
530 NULL, "mt2701",
531 MTK_EINT_FUNCTION(0, 40),
532 MTK_FUNCTION(0, "GPIO58"),
533 MTK_FUNCTION(1, "SCL1")
534 ),
535 MTK_PIN(PINCTRL_PIN(59, "RAMBUF_I_CLK"),
536 NULL, "mt2701",
537 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
538 MTK_FUNCTION(0, "GPIO59"),
539 MTK_FUNCTION(1, "RAMBUF_I_CLK")
540 ),
541 MTK_PIN(PINCTRL_PIN(60, "WB_RSTB"),
542 NULL, "mt2701",
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]")
547 ),
548 MTK_PIN(PINCTRL_PIN(61, "F2W_DATA"),
549 NULL, "mt2701",
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]")
554 ),
555 MTK_PIN(PINCTRL_PIN(62, "F2W_CLK"),
556 NULL, "mt2701",
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]")
561 ),
562 MTK_PIN(PINCTRL_PIN(63, "WB_SCLK"),
563 NULL, "mt2701",
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]")
568 ),
569 MTK_PIN(PINCTRL_PIN(64, "WB_SDATA"),
570 NULL, "mt2701",
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]")
575 ),
576 MTK_PIN(PINCTRL_PIN(65, "WB_SEN"),
577 NULL, "mt2701",
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]")
582 ),
583 MTK_PIN(PINCTRL_PIN(66, "WB_CRTL0"),
584 NULL, "mt2701",
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]")
590 ),
591 MTK_PIN(PINCTRL_PIN(67, "WB_CRTL1"),
592 NULL, "mt2701",
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]")
598 ),
599 MTK_PIN(PINCTRL_PIN(68, "WB_CRTL2"),
600 NULL, "mt2701",
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]")
606 ),
607 MTK_PIN(PINCTRL_PIN(69, "WB_CRTL3"),
608 NULL, "mt2701",
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]")
614 ),
615 MTK_PIN(PINCTRL_PIN(70, "WB_CRTL4"),
616 NULL, "mt2701",
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]")
622 ),
623 MTK_PIN(PINCTRL_PIN(71, "WB_CRTL5"),
624 NULL, "mt2701",
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]")
629 ),
630 MTK_PIN(PINCTRL_PIN(72, "I2S0_DATA_IN"),
631 NULL, "mt2701",
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]")
640 ),
641 MTK_PIN(PINCTRL_PIN(73, "I2S0_LRCK"),
642 NULL, "mt2701",
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]")
649 ),
650 MTK_PIN(PINCTRL_PIN(74, "I2S0_BCK"),
651 NULL, "mt2701",
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]")
658 ),
659 MTK_PIN(PINCTRL_PIN(75, "SDA0"),
660 NULL, "mt2701",
661 MTK_EINT_FUNCTION(0, 56),
662 MTK_FUNCTION(0, "GPIO75"),
663 MTK_FUNCTION(1, "SDA0")
664 ),
665 MTK_PIN(PINCTRL_PIN(76, "SCL0"),
666 NULL, "mt2701",
667 MTK_EINT_FUNCTION(0, 57),
668 MTK_FUNCTION(0, "GPIO76"),
669 MTK_FUNCTION(1, "SCL0")
670 ),
671 MTK_PIN(PINCTRL_PIN(77, "SDA2"),
672 NULL, "mt2701",
673 MTK_EINT_FUNCTION(0, 58),
674 MTK_FUNCTION(0, "GPIO77"),
675 MTK_FUNCTION(1, "SDA2")
676 ),
677 MTK_PIN(PINCTRL_PIN(78, "SCL2"),
678 NULL, "mt2701",
679 MTK_EINT_FUNCTION(0, 59),
680 MTK_FUNCTION(0, "GPIO78"),
681 MTK_FUNCTION(1, "SCL2")
682 ),
683 MTK_PIN(PINCTRL_PIN(79, "URXD0"),
684 NULL, "mt2701",
685 MTK_EINT_FUNCTION(0, 60),
686 MTK_FUNCTION(0, "GPIO79"),
687 MTK_FUNCTION(1, "URXD0"),
688 MTK_FUNCTION(2, "UTXD0")
689 ),
690 MTK_PIN(PINCTRL_PIN(80, "UTXD0"),
691 NULL, "mt2701",
692 MTK_EINT_FUNCTION(0, 61),
693 MTK_FUNCTION(0, "GPIO80"),
694 MTK_FUNCTION(1, "UTXD0"),
695 MTK_FUNCTION(2, "URXD0")
696 ),
697 MTK_PIN(PINCTRL_PIN(81, "URXD1"),
698 NULL, "mt2701",
699 MTK_EINT_FUNCTION(0, 62),
700 MTK_FUNCTION(0, "GPIO81"),
701 MTK_FUNCTION(1, "URXD1"),
702 MTK_FUNCTION(2, "UTXD1")
703 ),
704 MTK_PIN(PINCTRL_PIN(82, "UTXD1"),
705 NULL, "mt2701",
706 MTK_EINT_FUNCTION(0, 63),
707 MTK_FUNCTION(0, "GPIO82"),
708 MTK_FUNCTION(1, "UTXD1"),
709 MTK_FUNCTION(2, "URXD1")
710 ),
711 MTK_PIN(PINCTRL_PIN(83, "LCM_RST"),
712 NULL, "mt2701",
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]")
718 ),
719 MTK_PIN(PINCTRL_PIN(84, "DSI_TE"),
720 NULL, "mt2701",
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]")
725 ),
726 MTK_PIN(PINCTRL_PIN(85, "MSDC2_CMD"),
727 NULL, "mt2701",
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")
734 ),
735 MTK_PIN(PINCTRL_PIN(86, "MSDC2_CLK"),
736 NULL, "mt2701",
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")
743 ),
744 MTK_PIN(PINCTRL_PIN(87, "MSDC2_DAT0"),
745 NULL, "mt2701",
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")
752 ),
753 MTK_PIN(PINCTRL_PIN(88, "MSDC2_DAT1"),
754 NULL, "mt2701",
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")
762 ),
763 MTK_PIN(PINCTRL_PIN(89, "MSDC2_DAT2"),
764 NULL, "mt2701",
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")
772 ),
773 MTK_PIN(PINCTRL_PIN(90, "MSDC2_DAT3"),
774 NULL, "mt2701",
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")
783 ),
784 MTK_PIN(PINCTRL_PIN(91, "TDN3"),
785 NULL, "mt2701",
786 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
787 MTK_FUNCTION(0, "GPI91"),
788 MTK_FUNCTION(1, "TDN3")
789 ),
790 MTK_PIN(PINCTRL_PIN(92, "TDP3"),
791 NULL, "mt2701",
792 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
793 MTK_FUNCTION(0, "GPI92"),
794 MTK_FUNCTION(1, "TDP3")
795 ),
796 MTK_PIN(PINCTRL_PIN(93, "TDN2"),
797 NULL, "mt2701",
798 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
799 MTK_FUNCTION(0, "GPI93"),
800 MTK_FUNCTION(1, "TDN2")
801 ),
802 MTK_PIN(PINCTRL_PIN(94, "TDP2"),
803 NULL, "mt2701",
804 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
805 MTK_FUNCTION(0, "GPI94"),
806 MTK_FUNCTION(1, "TDP2")
807 ),
808 MTK_PIN(PINCTRL_PIN(95, "TCN"),
809 NULL, "mt2701",
810 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
811 MTK_FUNCTION(0, "GPI95"),
812 MTK_FUNCTION(1, "TCN")
813 ),
814 MTK_PIN(PINCTRL_PIN(96, "TCP"),
815 NULL, "mt2701",
816 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
817 MTK_FUNCTION(0, "GPI96"),
818 MTK_FUNCTION(1, "TCP")
819 ),
820 MTK_PIN(PINCTRL_PIN(97, "TDN1"),
821 NULL, "mt2701",
822 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
823 MTK_FUNCTION(0, "GPI97"),
824 MTK_FUNCTION(1, "TDN1")
825 ),
826 MTK_PIN(PINCTRL_PIN(98, "TDP1"),
827 NULL, "mt2701",
828 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
829 MTK_FUNCTION(0, "GPI98"),
830 MTK_FUNCTION(1, "TDP1")
831 ),
832 MTK_PIN(PINCTRL_PIN(99, "TDN0"),
833 NULL, "mt2701",
834 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
835 MTK_FUNCTION(0, "GPI99"),
836 MTK_FUNCTION(1, "TDN0")
837 ),
838 MTK_PIN(PINCTRL_PIN(100, "TDP0"),
839 NULL, "mt2701",
840 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
841 MTK_FUNCTION(0, "GPI100"),
842 MTK_FUNCTION(1, "TDP0")
843 ),
844 MTK_PIN(PINCTRL_PIN(101, "SPI2_CSN"),
845 NULL, "mt2701",
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")
851 ),
852 MTK_PIN(PINCTRL_PIN(102, "SPI2_MI"),
853 NULL, "mt2701",
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")
860 ),
861 MTK_PIN(PINCTRL_PIN(103, "SPI2_MO"),
862 NULL, "mt2701",
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")
869 ),
870 MTK_PIN(PINCTRL_PIN(104, "SPI2_CLK"),
871 NULL, "mt2701",
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")
877 ),
878 MTK_PIN(PINCTRL_PIN(105, "MSDC1_CMD"),
879 NULL, "mt2701",
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]")
887 ),
888 MTK_PIN(PINCTRL_PIN(106, "MSDC1_CLK"),
889 NULL, "mt2701",
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]")
897 ),
898 MTK_PIN(PINCTRL_PIN(107, "MSDC1_DAT0"),
899 NULL, "mt2701",
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]")
907 ),
908 MTK_PIN(PINCTRL_PIN(108, "MSDC1_DAT1"),
909 NULL, "mt2701",
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]")
918 ),
919 MTK_PIN(PINCTRL_PIN(109, "MSDC1_DAT2"),
920 NULL, "mt2701",
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]")
929 ),
930 MTK_PIN(PINCTRL_PIN(110, "MSDC1_DAT3"),
931 NULL, "mt2701",
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]")
941 ),
942 MTK_PIN(PINCTRL_PIN(111, "MSDC0_DAT7"),
943 NULL, "mt2701",
944 MTK_EINT_FUNCTION(0, 84),
945 MTK_FUNCTION(0, "GPIO111"),
946 MTK_FUNCTION(1, "MSDC0_DAT7"),
947 MTK_FUNCTION(4, "NLD7")
948 ),
949 MTK_PIN(PINCTRL_PIN(112, "MSDC0_DAT6"),
950 NULL, "mt2701",
951 MTK_EINT_FUNCTION(0, 85),
952 MTK_FUNCTION(0, "GPIO112"),
953 MTK_FUNCTION(1, "MSDC0_DAT6"),
954 MTK_FUNCTION(4, "NLD6")
955 ),
956 MTK_PIN(PINCTRL_PIN(113, "MSDC0_DAT5"),
957 NULL, "mt2701",
958 MTK_EINT_FUNCTION(0, 86),
959 MTK_FUNCTION(0, "GPIO113"),
960 MTK_FUNCTION(1, "MSDC0_DAT5"),
961 MTK_FUNCTION(4, "NLD5")
962 ),
963 MTK_PIN(PINCTRL_PIN(114, "MSDC0_DAT4"),
964 NULL, "mt2701",
965 MTK_EINT_FUNCTION(0, 87),
966 MTK_FUNCTION(0, "GPIO114"),
967 MTK_FUNCTION(1, "MSDC0_DAT4"),
968 MTK_FUNCTION(4, "NLD4")
969 ),
970 MTK_PIN(PINCTRL_PIN(115, "MSDC0_RSTB"),
971 NULL, "mt2701",
972 MTK_EINT_FUNCTION(0, 88),
973 MTK_FUNCTION(0, "GPIO115"),
974 MTK_FUNCTION(1, "MSDC0_RSTB"),
975 MTK_FUNCTION(4, "NLD8")
976 ),
977 MTK_PIN(PINCTRL_PIN(116, "MSDC0_CMD"),
978 NULL, "mt2701",
979 MTK_EINT_FUNCTION(0, 89),
980 MTK_FUNCTION(0, "GPIO116"),
981 MTK_FUNCTION(1, "MSDC0_CMD"),
982 MTK_FUNCTION(4, "NALE")
983 ),
984 MTK_PIN(PINCTRL_PIN(117, "MSDC0_CLK"),
985 NULL, "mt2701",
986 MTK_EINT_FUNCTION(0, 90),
987 MTK_FUNCTION(0, "GPIO117"),
988 MTK_FUNCTION(1, "MSDC0_CLK"),
989 MTK_FUNCTION(4, "NWEB")
990 ),
991 MTK_PIN(PINCTRL_PIN(118, "MSDC0_DAT3"),
992 NULL, "mt2701",
993 MTK_EINT_FUNCTION(0, 91),
994 MTK_FUNCTION(0, "GPIO118"),
995 MTK_FUNCTION(1, "MSDC0_DAT3"),
996 MTK_FUNCTION(4, "NLD3")
997 ),
998 MTK_PIN(PINCTRL_PIN(119, "MSDC0_DAT2"),
999 NULL, "mt2701",
1000 MTK_EINT_FUNCTION(0, 92),
1001 MTK_FUNCTION(0, "GPIO119"),
1002 MTK_FUNCTION(1, "MSDC0_DAT2"),
1003 MTK_FUNCTION(4, "NLD2")
1004 ),
1005 MTK_PIN(PINCTRL_PIN(120, "MSDC0_DAT1"),
1006 NULL, "mt2701",
1007 MTK_EINT_FUNCTION(0, 93),
1008 MTK_FUNCTION(0, "GPIO120"),
1009 MTK_FUNCTION(1, "MSDC0_DAT1"),
1010 MTK_FUNCTION(4, "NLD1")
1011 ),
1012 MTK_PIN(PINCTRL_PIN(121, "MSDC0_DAT0"),
1013 NULL, "mt2701",
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")
1019 ),
1020 MTK_PIN(PINCTRL_PIN(122, "CEC"),
1021 NULL, "mt2701",
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")
1027 ),
1028 MTK_PIN(PINCTRL_PIN(123, "HTPLG"),
1029 NULL, "mt2701",
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")
1035 ),
1036 MTK_PIN(PINCTRL_PIN(124, "HDMISCK"),
1037 NULL, "mt2701",
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")
1043 ),
1044 MTK_PIN(PINCTRL_PIN(125, "HDMISD"),
1045 NULL, "mt2701",
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")
1051 ),
1052 MTK_PIN(PINCTRL_PIN(126, "I2S0_MCLK"),
1053 NULL, "mt2701",
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]")
1059 ),
1060 MTK_PIN(PINCTRL_PIN(127, "RAMBUF_IDATA0"),
1061 NULL, "mt2701",
1062 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1063 MTK_FUNCTION(0, "GPIO127"),
1064 MTK_FUNCTION(1, "RAMBUF_IDATA0")
1065 ),
1066 MTK_PIN(PINCTRL_PIN(128, "RAMBUF_IDATA1"),
1067 NULL, "mt2701",
1068 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1069 MTK_FUNCTION(0, "GPIO128"),
1070 MTK_FUNCTION(1, "RAMBUF_IDATA1")
1071 ),
1072 MTK_PIN(PINCTRL_PIN(129, "RAMBUF_IDATA2"),
1073 NULL, "mt2701",
1074 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1075 MTK_FUNCTION(0, "GPIO129"),
1076 MTK_FUNCTION(1, "RAMBUF_IDATA2")
1077 ),
1078 MTK_PIN(PINCTRL_PIN(130, "RAMBUF_IDATA3"),
1079 NULL, "mt2701",
1080 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1081 MTK_FUNCTION(0, "GPIO130"),
1082 MTK_FUNCTION(1, "RAMBUF_IDATA3")
1083 ),
1084 MTK_PIN(PINCTRL_PIN(131, "RAMBUF_IDATA4"),
1085 NULL, "mt2701",
1086 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1087 MTK_FUNCTION(0, "GPIO131"),
1088 MTK_FUNCTION(1, "RAMBUF_IDATA4")
1089 ),
1090 MTK_PIN(PINCTRL_PIN(132, "RAMBUF_IDATA5"),
1091 NULL, "mt2701",
1092 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1093 MTK_FUNCTION(0, "GPIO132"),
1094 MTK_FUNCTION(1, "RAMBUF_IDATA5")
1095 ),
1096 MTK_PIN(PINCTRL_PIN(133, "RAMBUF_IDATA6"),
1097 NULL, "mt2701",
1098 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1099 MTK_FUNCTION(0, "GPIO133"),
1100 MTK_FUNCTION(1, "RAMBUF_IDATA6")
1101 ),
1102 MTK_PIN(PINCTRL_PIN(134, "RAMBUF_IDATA7"),
1103 NULL, "mt2701",
1104 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1105 MTK_FUNCTION(0, "GPIO134"),
1106 MTK_FUNCTION(1, "RAMBUF_IDATA7")
1107 ),
1108 MTK_PIN(PINCTRL_PIN(135, "RAMBUF_IDATA8"),
1109 NULL, "mt2701",
1110 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1111 MTK_FUNCTION(0, "GPIO135"),
1112 MTK_FUNCTION(1, "RAMBUF_IDATA8")
1113 ),
1114 MTK_PIN(PINCTRL_PIN(136, "RAMBUF_IDATA9"),
1115 NULL, "mt2701",
1116 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1117 MTK_FUNCTION(0, "GPIO136"),
1118 MTK_FUNCTION(1, "RAMBUF_IDATA9")
1119 ),
1120 MTK_PIN(PINCTRL_PIN(137, "RAMBUF_IDATA10"),
1121 NULL, "mt2701",
1122 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1123 MTK_FUNCTION(0, "GPIO137"),
1124 MTK_FUNCTION(1, "RAMBUF_IDATA10")
1125 ),
1126 MTK_PIN(PINCTRL_PIN(138, "RAMBUF_IDATA11"),
1127 NULL, "mt2701",
1128 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1129 MTK_FUNCTION(0, "GPIO138"),
1130 MTK_FUNCTION(1, "RAMBUF_IDATA11")
1131 ),
1132 MTK_PIN(PINCTRL_PIN(139, "RAMBUF_IDATA12"),
1133 NULL, "mt2701",
1134 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1135 MTK_FUNCTION(0, "GPIO139"),
1136 MTK_FUNCTION(1, "RAMBUF_IDATA12")
1137 ),
1138 MTK_PIN(PINCTRL_PIN(140, "RAMBUF_IDATA13"),
1139 NULL, "mt2701",
1140 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1141 MTK_FUNCTION(0, "GPIO140"),
1142 MTK_FUNCTION(1, "RAMBUF_IDATA13")
1143 ),
1144 MTK_PIN(PINCTRL_PIN(141, "RAMBUF_IDATA14"),
1145 NULL, "mt2701",
1146 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1147 MTK_FUNCTION(0, "GPIO141"),
1148 MTK_FUNCTION(1, "RAMBUF_IDATA14")
1149 ),
1150 MTK_PIN(PINCTRL_PIN(142, "RAMBUF_IDATA15"),
1151 NULL, "mt2701",
1152 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1153 MTK_FUNCTION(0, "GPIO142"),
1154 MTK_FUNCTION(1, "RAMBUF_IDATA15")
1155 ),
1156 MTK_PIN(PINCTRL_PIN(143, "RAMBUF_ODATA0"),
1157 NULL, "mt2701",
1158 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1159 MTK_FUNCTION(0, "GPIO143"),
1160 MTK_FUNCTION(1, "RAMBUF_ODATA0")
1161 ),
1162 MTK_PIN(PINCTRL_PIN(144, "RAMBUF_ODATA1"),
1163 NULL, "mt2701",
1164 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1165 MTK_FUNCTION(0, "GPIO144"),
1166 MTK_FUNCTION(1, "RAMBUF_ODATA1")
1167 ),
1168 MTK_PIN(PINCTRL_PIN(145, "RAMBUF_ODATA2"),
1169 NULL, "mt2701",
1170 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1171 MTK_FUNCTION(0, "GPIO145"),
1172 MTK_FUNCTION(1, "RAMBUF_ODATA2")
1173 ),
1174 MTK_PIN(PINCTRL_PIN(146, "RAMBUF_ODATA3"),
1175 NULL, "mt2701",
1176 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1177 MTK_FUNCTION(0, "GPIO146"),
1178 MTK_FUNCTION(1, "RAMBUF_ODATA3")
1179 ),
1180 MTK_PIN(PINCTRL_PIN(147, "RAMBUF_ODATA4"),
1181 NULL, "mt2701",
1182 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1183 MTK_FUNCTION(0, "GPIO147"),
1184 MTK_FUNCTION(1, "RAMBUF_ODATA4")
1185 ),
1186 MTK_PIN(PINCTRL_PIN(148, "RAMBUF_ODATA5"),
1187 NULL, "mt2701",
1188 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1189 MTK_FUNCTION(0, "GPIO148"),
1190 MTK_FUNCTION(1, "RAMBUF_ODATA5")
1191 ),
1192 MTK_PIN(PINCTRL_PIN(149, "RAMBUF_ODATA6"),
1193 NULL, "mt2701",
1194 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1195 MTK_FUNCTION(0, "GPIO149"),
1196 MTK_FUNCTION(1, "RAMBUF_ODATA6")
1197 ),
1198 MTK_PIN(PINCTRL_PIN(150, "RAMBUF_ODATA7"),
1199 NULL, "mt2701",
1200 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1201 MTK_FUNCTION(0, "GPIO150"),
1202 MTK_FUNCTION(1, "RAMBUF_ODATA7")
1203 ),
1204 MTK_PIN(PINCTRL_PIN(151, "RAMBUF_ODATA8"),
1205 NULL, "mt2701",
1206 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1207 MTK_FUNCTION(0, "GPIO151"),
1208 MTK_FUNCTION(1, "RAMBUF_ODATA8")
1209 ),
1210 MTK_PIN(PINCTRL_PIN(152, "RAMBUF_ODATA9"),
1211 NULL, "mt2701",
1212 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1213 MTK_FUNCTION(0, "GPIO152"),
1214 MTK_FUNCTION(1, "RAMBUF_ODATA9")
1215 ),
1216 MTK_PIN(PINCTRL_PIN(153, "RAMBUF_ODATA10"),
1217 NULL, "mt2701",
1218 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1219 MTK_FUNCTION(0, "GPIO153"),
1220 MTK_FUNCTION(1, "RAMBUF_ODATA10")
1221 ),
1222 MTK_PIN(PINCTRL_PIN(154, "RAMBUF_ODATA11"),
1223 NULL, "mt2701",
1224 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1225 MTK_FUNCTION(0, "GPIO154"),
1226 MTK_FUNCTION(1, "RAMBUF_ODATA11")
1227 ),
1228 MTK_PIN(PINCTRL_PIN(155, "RAMBUF_ODATA12"),
1229 NULL, "mt2701",
1230 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1231 MTK_FUNCTION(0, "GPIO155"),
1232 MTK_FUNCTION(1, "RAMBUF_ODATA12")
1233 ),
1234 MTK_PIN(PINCTRL_PIN(156, "RAMBUF_ODATA13"),
1235 NULL, "mt2701",
1236 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1237 MTK_FUNCTION(0, "GPIO156"),
1238 MTK_FUNCTION(1, "RAMBUF_ODATA13")
1239 ),
1240 MTK_PIN(PINCTRL_PIN(157, "RAMBUF_ODATA14"),
1241 NULL, "mt2701",
1242 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1243 MTK_FUNCTION(0, "GPIO157"),
1244 MTK_FUNCTION(1, "RAMBUF_ODATA14")
1245 ),
1246 MTK_PIN(PINCTRL_PIN(158, "RAMBUF_ODATA15"),
1247 NULL, "mt2701",
1248 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1249 MTK_FUNCTION(0, "GPIO158"),
1250 MTK_FUNCTION(1, "RAMBUF_ODATA15")
1251 ),
1252 MTK_PIN(PINCTRL_PIN(159, "RAMBUF_BE0"),
1253 NULL, "mt2701",
1254 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1255 MTK_FUNCTION(0, "GPIO159"),
1256 MTK_FUNCTION(1, "RAMBUF_BE0")
1257 ),
1258 MTK_PIN(PINCTRL_PIN(160, "RAMBUF_BE1"),
1259 NULL, "mt2701",
1260 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1261 MTK_FUNCTION(0, "GPIO160"),
1262 MTK_FUNCTION(1, "RAMBUF_BE1")
1263 ),
1264 MTK_PIN(PINCTRL_PIN(161, "AP2PT_INT"),
1265 NULL, "mt2701",
1266 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1267 MTK_FUNCTION(0, "GPIO161"),
1268 MTK_FUNCTION(1, "AP2PT_INT")
1269 ),
1270 MTK_PIN(PINCTRL_PIN(162, "AP2PT_INT_CLR"),
1271 NULL, "mt2701",
1272 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1273 MTK_FUNCTION(0, "GPIO162"),
1274 MTK_FUNCTION(1, "AP2PT_INT_CLR")
1275 ),
1276 MTK_PIN(PINCTRL_PIN(163, "PT2AP_INT"),
1277 NULL, "mt2701",
1278 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1279 MTK_FUNCTION(0, "GPIO163"),
1280 MTK_FUNCTION(1, "PT2AP_INT")
1281 ),
1282 MTK_PIN(PINCTRL_PIN(164, "PT2AP_INT_CLR"),
1283 NULL, "mt2701",
1284 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1285 MTK_FUNCTION(0, "GPIO164"),
1286 MTK_FUNCTION(1, "PT2AP_INT_CLR")
1287 ),
1288 MTK_PIN(PINCTRL_PIN(165, "AP2UP_INT"),
1289 NULL, "mt2701",
1290 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1291 MTK_FUNCTION(0, "GPIO165"),
1292 MTK_FUNCTION(1, "AP2UP_INT")
1293 ),
1294 MTK_PIN(PINCTRL_PIN(166, "AP2UP_INT_CLR"),
1295 NULL, "mt2701",
1296 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1297 MTK_FUNCTION(0, "GPIO166"),
1298 MTK_FUNCTION(1, "AP2UP_INT_CLR")
1299 ),
1300 MTK_PIN(PINCTRL_PIN(167, "UP2AP_INT"),
1301 NULL, "mt2701",
1302 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1303 MTK_FUNCTION(0, "GPIO167"),
1304 MTK_FUNCTION(1, "UP2AP_INT")
1305 ),
1306 MTK_PIN(PINCTRL_PIN(168, "UP2AP_INT_CLR"),
1307 NULL, "mt2701",
1308 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1309 MTK_FUNCTION(0, "GPIO168"),
1310 MTK_FUNCTION(1, "UP2AP_INT_CLR")
1311 ),
1312 MTK_PIN(PINCTRL_PIN(169, "RAMBUF_ADDR0"),
1313 NULL, "mt2701",
1314 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1315 MTK_FUNCTION(0, "GPIO169"),
1316 MTK_FUNCTION(1, "RAMBUF_ADDR0")
1317 ),
1318 MTK_PIN(PINCTRL_PIN(170, "RAMBUF_ADDR1"),
1319 NULL, "mt2701",
1320 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1321 MTK_FUNCTION(0, "GPIO170"),
1322 MTK_FUNCTION(1, "RAMBUF_ADDR1")
1323 ),
1324 MTK_PIN(PINCTRL_PIN(171, "RAMBUF_ADDR2"),
1325 NULL, "mt2701",
1326 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1327 MTK_FUNCTION(0, "GPIO171"),
1328 MTK_FUNCTION(1, "RAMBUF_ADDR2")
1329 ),
1330 MTK_PIN(PINCTRL_PIN(172, "RAMBUF_ADDR3"),
1331 NULL, "mt2701",
1332 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1333 MTK_FUNCTION(0, "GPIO172"),
1334 MTK_FUNCTION(1, "RAMBUF_ADDR3")
1335 ),
1336 MTK_PIN(PINCTRL_PIN(173, "RAMBUF_ADDR4"),
1337 NULL, "mt2701",
1338 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1339 MTK_FUNCTION(0, "GPIO173"),
1340 MTK_FUNCTION(1, "RAMBUF_ADDR4")
1341 ),
1342 MTK_PIN(PINCTRL_PIN(174, "RAMBUF_ADDR5"),
1343 NULL, "mt2701",
1344 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1345 MTK_FUNCTION(0, "GPIO174"),
1346 MTK_FUNCTION(1, "RAMBUF_ADDR5")
1347 ),
1348 MTK_PIN(PINCTRL_PIN(175, "RAMBUF_ADDR6"),
1349 NULL, "mt2701",
1350 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1351 MTK_FUNCTION(0, "GPIO175"),
1352 MTK_FUNCTION(1, "RAMBUF_ADDR6")
1353 ),
1354 MTK_PIN(PINCTRL_PIN(176, "RAMBUF_ADDR7"),
1355 NULL, "mt2701",
1356 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1357 MTK_FUNCTION(0, "GPIO176"),
1358 MTK_FUNCTION(1, "RAMBUF_ADDR7")
1359 ),
1360 MTK_PIN(PINCTRL_PIN(177, "RAMBUF_ADDR8"),
1361 NULL, "mt2701",
1362 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1363 MTK_FUNCTION(0, "GPIO177"),
1364 MTK_FUNCTION(1, "RAMBUF_ADDR8")
1365 ),
1366 MTK_PIN(PINCTRL_PIN(178, "RAMBUF_ADDR9"),
1367 NULL, "mt2701",
1368 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1369 MTK_FUNCTION(0, "GPIO178"),
1370 MTK_FUNCTION(1, "RAMBUF_ADDR9")
1371 ),
1372 MTK_PIN(PINCTRL_PIN(179, "RAMBUF_ADDR10"),
1373 NULL, "mt2701",
1374 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1375 MTK_FUNCTION(0, "GPIO179"),
1376 MTK_FUNCTION(1, "RAMBUF_ADDR10")
1377 ),
1378 MTK_PIN(PINCTRL_PIN(180, "RAMBUF_RW"),
1379 NULL, "mt2701",
1380 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1381 MTK_FUNCTION(0, "GPIO180"),
1382 MTK_FUNCTION(1, "RAMBUF_RW")
1383 ),
1384 MTK_PIN(PINCTRL_PIN(181, "RAMBUF_LAST"),
1385 NULL, "mt2701",
1386 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1387 MTK_FUNCTION(0, "GPIO181"),
1388 MTK_FUNCTION(1, "RAMBUF_LAST")
1389 ),
1390 MTK_PIN(PINCTRL_PIN(182, "RAMBUF_HP"),
1391 NULL, "mt2701",
1392 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1393 MTK_FUNCTION(0, "GPIO182"),
1394 MTK_FUNCTION(1, "RAMBUF_HP")
1395 ),
1396 MTK_PIN(PINCTRL_PIN(183, "RAMBUF_REQ"),
1397 NULL, "mt2701",
1398 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1399 MTK_FUNCTION(0, "GPIO183"),
1400 MTK_FUNCTION(1, "RAMBUF_REQ")
1401 ),
1402 MTK_PIN(PINCTRL_PIN(184, "RAMBUF_ALE"),
1403 NULL, "mt2701",
1404 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1405 MTK_FUNCTION(0, "GPIO184"),
1406 MTK_FUNCTION(1, "RAMBUF_ALE")
1407 ),
1408 MTK_PIN(PINCTRL_PIN(185, "RAMBUF_DLE"),
1409 NULL, "mt2701",
1410 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1411 MTK_FUNCTION(0, "GPIO185"),
1412 MTK_FUNCTION(1, "RAMBUF_DLE")
1413 ),
1414 MTK_PIN(PINCTRL_PIN(186, "RAMBUF_WDLE"),
1415 NULL, "mt2701",
1416 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1417 MTK_FUNCTION(0, "GPIO186"),
1418 MTK_FUNCTION(1, "RAMBUF_WDLE")
1419 ),
1420 MTK_PIN(PINCTRL_PIN(187, "RAMBUF_O_CLK"),
1421 NULL, "mt2701",
1422 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1423 MTK_FUNCTION(0, "GPIO187"),
1424 MTK_FUNCTION(1, "RAMBUF_O_CLK")
1425 ),
1426 MTK_PIN(PINCTRL_PIN(188, "I2S2_MCLK"),
1427 NULL, "mt2701",
1428 MTK_EINT_FUNCTION(0, 100),
1429 MTK_FUNCTION(0, "GPIO188"),
1430 MTK_FUNCTION(1, "I2S2_MCLK")
1431 ),
1432 MTK_PIN(PINCTRL_PIN(189, "I2S3_DATA"),
1433 NULL, "mt2701",
1434 MTK_EINT_FUNCTION(0, 101),
1435 MTK_FUNCTION(0, "GPIO189"),
1436 MTK_FUNCTION(2, "I2S3_DATA_BYPS"),
1437 MTK_FUNCTION(3, "PCM_TX")
1438 ),
1439 MTK_PIN(PINCTRL_PIN(190, "I2S3_DATA_IN"),
1440 NULL, "mt2701",
1441 MTK_EINT_FUNCTION(0, 102),
1442 MTK_FUNCTION(0, "GPIO190"),
1443 MTK_FUNCTION(1, "I2S3_DATA_IN"),
1444 MTK_FUNCTION(3, "PCM_RX")
1445 ),
1446 MTK_PIN(PINCTRL_PIN(191, "I2S3_BCK"),
1447 NULL, "mt2701",
1448 MTK_EINT_FUNCTION(0, 103),
1449 MTK_FUNCTION(0, "GPIO191"),
1450 MTK_FUNCTION(1, "I2S3_BCK"),
1451 MTK_FUNCTION(3, "PCM_CLK0")
1452 ),
1453 MTK_PIN(PINCTRL_PIN(192, "I2S3_LRCK"),
1454 NULL, "mt2701",
1455 MTK_EINT_FUNCTION(0, 104),
1456 MTK_FUNCTION(0, "GPIO192"),
1457 MTK_FUNCTION(1, "I2S3_LRCK"),
1458 MTK_FUNCTION(3, "PCM_SYNC")
1459 ),
1460 MTK_PIN(PINCTRL_PIN(193, "I2S3_MCLK"),
1461 NULL, "mt2701",
1462 MTK_EINT_FUNCTION(0, 105),
1463 MTK_FUNCTION(0, "GPIO193"),
1464 MTK_FUNCTION(1, "I2S3_MCLK")
1465 ),
1466 MTK_PIN(PINCTRL_PIN(194, "I2S4_DATA"),
1467 NULL, "mt2701",
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")
1473 ),
1474 MTK_PIN(PINCTRL_PIN(195, "I2S4_DATA_IN"),
1475 NULL, "mt2701",
1476 MTK_EINT_FUNCTION(0, 107),
1477 MTK_FUNCTION(0, "GPIO195"),
1478 MTK_FUNCTION(1, "I2S4_DATA_IN"),
1479 MTK_FUNCTION(3, "PCM_RX")
1480 ),
1481 MTK_PIN(PINCTRL_PIN(196, "I2S4_BCK"),
1482 NULL, "mt2701",
1483 MTK_EINT_FUNCTION(0, 108),
1484 MTK_FUNCTION(0, "GPIO196"),
1485 MTK_FUNCTION(1, "I2S4_BCK"),
1486 MTK_FUNCTION(3, "PCM_CLK0")
1487 ),
1488 MTK_PIN(PINCTRL_PIN(197, "I2S4_LRCK"),
1489 NULL, "mt2701",
1490 MTK_EINT_FUNCTION(0, 109),
1491 MTK_FUNCTION(0, "GPIO197"),
1492 MTK_FUNCTION(1, "I2S4_LRCK"),
1493 MTK_FUNCTION(3, "PCM_SYNC")
1494 ),
1495 MTK_PIN(PINCTRL_PIN(198, "I2S4_MCLK"),
1496 NULL, "mt2701",
1497 MTK_EINT_FUNCTION(0, 110),
1498 MTK_FUNCTION(0, "GPIO198"),
1499 MTK_FUNCTION(1, "I2S4_MCLK")
1500 ),
1501 MTK_PIN(PINCTRL_PIN(199, "SPI1_CLK"),
1502 NULL, "mt2701",
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]")
1509 ),
1510 MTK_PIN(PINCTRL_PIN(200, "SPDIF_OUT"),
1511 NULL, "mt2701",
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]")
1518 ),
1519 MTK_PIN(PINCTRL_PIN(201, "SPDIF_IN0"),
1520 NULL, "mt2701",
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]")
1527 ),
1528 MTK_PIN(PINCTRL_PIN(202, "SPDIF_IN1"),
1529 NULL, "mt2701",
1530 MTK_EINT_FUNCTION(0, 114),
1531 MTK_FUNCTION(0, "GPIO202"),
1532 MTK_FUNCTION(1, "SPDIF_IN1")
1533 ),
1534 MTK_PIN(PINCTRL_PIN(203, "PWM0"),
1535 NULL, "mt2701",
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")
1543 ),
1544 MTK_PIN(PINCTRL_PIN(204, "PWM1"),
1545 NULL, "mt2701",
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")
1553 ),
1554 MTK_PIN(PINCTRL_PIN(205, "PWM2"),
1555 NULL, "mt2701",
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]")
1562 ),
1563 MTK_PIN(PINCTRL_PIN(206, "PWM3"),
1564 NULL, "mt2701",
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]")
1572 ),
1573 MTK_PIN(PINCTRL_PIN(207, "PWM4"),
1574 NULL, "mt2701",
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]")
1582 ),
1583 MTK_PIN(PINCTRL_PIN(208, "AUD_EXT_CK1"),
1584 NULL, "mt2701",
1585 MTK_EINT_FUNCTION(0, 120),
1586 MTK_FUNCTION(0, "GPIO208"),
1587 MTK_FUNCTION(1, "AUD_EXT_CK1"),
1588 MTK_FUNCTION(2, "PWM0"),
1589
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")
1595 ),
1596 MTK_PIN(PINCTRL_PIN(209, "AUD_EXT_CK2"),
1597 NULL, "mt2701",
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
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")
1607 ),
1608 MTK_PIN(PINCTRL_PIN(210, "AUD_CLOCK"),
1609 NULL, "mt2701",
1610 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1611 MTK_FUNCTION(0, "GPIO210"),
1612 MTK_FUNCTION(1, "AUD_CLOCK")
1613 ),
1614 MTK_PIN(PINCTRL_PIN(211, "DVP_RESET"),
1615 NULL, "mt2701",
1616 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1617 MTK_FUNCTION(0, "GPIO211"),
1618 MTK_FUNCTION(1, "DVP_RESET")
1619 ),
1620 MTK_PIN(PINCTRL_PIN(212, "DVP_CLOCK"),
1621 NULL, "mt2701",
1622 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1623 MTK_FUNCTION(0, "GPIO212"),
1624 MTK_FUNCTION(1, "DVP_CLOCK")
1625 ),
1626 MTK_PIN(PINCTRL_PIN(213, "DVP_CS"),
1627 NULL, "mt2701",
1628 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1629 MTK_FUNCTION(0, "GPIO213"),
1630 MTK_FUNCTION(1, "DVP_CS")
1631 ),
1632 MTK_PIN(PINCTRL_PIN(214, "DVP_CK"),
1633 NULL, "mt2701",
1634 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1635 MTK_FUNCTION(0, "GPIO214"),
1636 MTK_FUNCTION(1, "DVP_CK")
1637 ),
1638 MTK_PIN(PINCTRL_PIN(215, "DVP_DI"),
1639 NULL, "mt2701",
1640 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1641 MTK_FUNCTION(0, "GPIO215"),
1642 MTK_FUNCTION(1, "DVP_DI")
1643 ),
1644 MTK_PIN(PINCTRL_PIN(216, "DVP_DO"),
1645 NULL, "mt2701",
1646 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1647 MTK_FUNCTION(0, "GPIO216"),
1648 MTK_FUNCTION(1, "DVP_DO")
1649 ),
1650 MTK_PIN(PINCTRL_PIN(217, "AP_CS"),
1651 NULL, "mt2701",
1652 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1653 MTK_FUNCTION(0, "GPIO217"),
1654 MTK_FUNCTION(1, "AP_CS")
1655 ),
1656 MTK_PIN(PINCTRL_PIN(218, "AP_CK"),
1657 NULL, "mt2701",
1658 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1659 MTK_FUNCTION(0, "GPIO218"),
1660 MTK_FUNCTION(1, "AP_CK")
1661 ),
1662 MTK_PIN(PINCTRL_PIN(219, "AP_DI"),
1663 NULL, "mt2701",
1664 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1665 MTK_FUNCTION(0, "GPIO219"),
1666 MTK_FUNCTION(1, "AP_DI")
1667 ),
1668 MTK_PIN(PINCTRL_PIN(220, "AP_DO"),
1669 NULL, "mt2701",
1670 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1671 MTK_FUNCTION(0, "GPIO220"),
1672 MTK_FUNCTION(1, "AP_DO")
1673 ),
1674 MTK_PIN(PINCTRL_PIN(221, "DVD_BCLK"),
1675 NULL, "mt2701",
1676 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1677 MTK_FUNCTION(0, "GPIO221"),
1678 MTK_FUNCTION(1, "DVD_BCLK")
1679 ),
1680 MTK_PIN(PINCTRL_PIN(222, "T8032_CLK"),
1681 NULL, "mt2701",
1682 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1683 MTK_FUNCTION(0, "GPIO222"),
1684 MTK_FUNCTION(1, "T8032_CLK")
1685 ),
1686 MTK_PIN(PINCTRL_PIN(223, "AP_BCLK"),
1687 NULL, "mt2701",
1688 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1689 MTK_FUNCTION(0, "GPIO223"),
1690 MTK_FUNCTION(1, "AP_BCLK")
1691 ),
1692 MTK_PIN(PINCTRL_PIN(224, "HOST_CS"),
1693 NULL, "mt2701",
1694 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1695 MTK_FUNCTION(0, "GPIO224"),
1696 MTK_FUNCTION(1, "HOST_CS")
1697 ),
1698 MTK_PIN(PINCTRL_PIN(225, "HOST_CK"),
1699 NULL, "mt2701",
1700 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1701 MTK_FUNCTION(0, "GPIO225"),
1702 MTK_FUNCTION(1, "HOST_CK")
1703 ),
1704 MTK_PIN(PINCTRL_PIN(226, "HOST_DO0"),
1705 NULL, "mt2701",
1706 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1707 MTK_FUNCTION(0, "GPIO226"),
1708 MTK_FUNCTION(1, "HOST_DO0")
1709 ),
1710 MTK_PIN(PINCTRL_PIN(227, "HOST_DO1"),
1711 NULL, "mt2701",
1712 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1713 MTK_FUNCTION(0, "GPIO227"),
1714 MTK_FUNCTION(1, "HOST_DO1")
1715 ),
1716 MTK_PIN(PINCTRL_PIN(228, "SLV_CS"),
1717 NULL, "mt2701",
1718 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1719 MTK_FUNCTION(0, "GPIO228"),
1720 MTK_FUNCTION(1, "SLV_CS")
1721 ),
1722 MTK_PIN(PINCTRL_PIN(229, "SLV_CK"),
1723 NULL, "mt2701",
1724 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1725 MTK_FUNCTION(0, "GPIO229"),
1726 MTK_FUNCTION(1, "SLV_CK")
1727 ),
1728 MTK_PIN(PINCTRL_PIN(230, "SLV_DI0"),
1729 NULL, "mt2701",
1730 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1731 MTK_FUNCTION(0, "GPIO230"),
1732 MTK_FUNCTION(1, "SLV_DI0")
1733 ),
1734 MTK_PIN(PINCTRL_PIN(231, "SLV_DI1"),
1735 NULL, "mt2701",
1736 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1737 MTK_FUNCTION(0, "GPIO231"),
1738 MTK_FUNCTION(1, "SLV_DI1")
1739 ),
1740 MTK_PIN(PINCTRL_PIN(232, "AP2DSP_INT"),
1741 NULL, "mt2701",
1742 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1743 MTK_FUNCTION(0, "GPIO232"),
1744 MTK_FUNCTION(1, "AP2DSP_INT")
1745 ),
1746 MTK_PIN(PINCTRL_PIN(233, "AP2DSP_INT_CLR"),
1747 NULL, "mt2701",
1748 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1749 MTK_FUNCTION(0, "GPIO233"),
1750 MTK_FUNCTION(1, "AP2DSP_INT_CLR")
1751 ),
1752 MTK_PIN(PINCTRL_PIN(234, "DSP2AP_INT"),
1753 NULL, "mt2701",
1754 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1755 MTK_FUNCTION(0, "GPIO234"),
1756 MTK_FUNCTION(1, "DSP2AP_INT")
1757 ),
1758 MTK_PIN(PINCTRL_PIN(235, "DSP2AP_INT_CLR"),
1759 NULL, "mt2701",
1760 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1761 MTK_FUNCTION(0, "GPIO235"),
1762 MTK_FUNCTION(1, "DSP2AP_INT_CLR")
1763 ),
1764 MTK_PIN(PINCTRL_PIN(236, "EXT_SDIO3"),
1765 NULL, "mt2701",
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]")
1771 ),
1772 MTK_PIN(PINCTRL_PIN(237, "EXT_SDIO2"),
1773 NULL, "mt2701",
1774 MTK_EINT_FUNCTION(0, 123),
1775 MTK_FUNCTION(0, "GPIO237"),
1776 MTK_FUNCTION(1, "EXT_SDIO2"),
1777 MTK_FUNCTION(2, "DRV_VBUS")
1778 ),
1779 MTK_PIN(PINCTRL_PIN(238, "EXT_SDIO1"),
1780 NULL, "mt2701",
1781 MTK_EINT_FUNCTION(0, 124),
1782 MTK_FUNCTION(0, "GPIO238"),
1783 MTK_FUNCTION(1, "EXT_SDIO1"),
1784 MTK_FUNCTION(2, "IDDIG_P1")
1785 ),
1786 MTK_PIN(PINCTRL_PIN(239, "EXT_SDIO0"),
1787 NULL, "mt2701",
1788 MTK_EINT_FUNCTION(0, 125),
1789 MTK_FUNCTION(0, "GPIO239"),
1790 MTK_FUNCTION(1, "EXT_SDIO0"),
1791 MTK_FUNCTION(2, "DRV_VBUS_P1")
1792 ),
1793 MTK_PIN(PINCTRL_PIN(240, "EXT_XCS"),
1794 NULL, "mt2701",
1795 MTK_EINT_FUNCTION(0, 126),
1796 MTK_FUNCTION(0, "GPIO240"),
1797 MTK_FUNCTION(1, "EXT_XCS")
1798 ),
1799 MTK_PIN(PINCTRL_PIN(241, "EXT_SCK"),
1800 NULL, "mt2701",
1801 MTK_EINT_FUNCTION(0, 127),
1802 MTK_FUNCTION(0, "GPIO241"),
1803 MTK_FUNCTION(1, "EXT_SCK")
1804 ),
1805 MTK_PIN(PINCTRL_PIN(242, "URTS2"),
1806 NULL, "mt2701",
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]")
1814 ),
1815 MTK_PIN(PINCTRL_PIN(243, "UCTS2"),
1816 NULL, "mt2701",
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]")
1824 ),
1825 MTK_PIN(PINCTRL_PIN(244, "HDMI_SDA_RX"),
1826 NULL, "mt2701",
1827 MTK_EINT_FUNCTION(0, 130),
1828 MTK_FUNCTION(0, "GPIO244"),
1829 MTK_FUNCTION(1, "HDMI_SDA_RX")
1830 ),
1831 MTK_PIN(PINCTRL_PIN(245, "HDMI_SCL_RX"),
1832 NULL, "mt2701",
1833 MTK_EINT_FUNCTION(0, 131),
1834 MTK_FUNCTION(0, "GPIO245"),
1835 MTK_FUNCTION(1, "HDMI_SCL_RX")
1836 ),
1837 MTK_PIN(PINCTRL_PIN(246, "MHL_SENCE"),
1838 NULL, "mt2701",
1839 MTK_EINT_FUNCTION(0, 132),
1840 MTK_FUNCTION(0, "GPIO246")
1841 ),
1842 MTK_PIN(PINCTRL_PIN(247, "HDMI_HPD_CBUS_RX"),
1843 NULL, "mt2701",
1844 MTK_EINT_FUNCTION(0, 69),
1845 MTK_FUNCTION(0, "GPIO247"),
1846 MTK_FUNCTION(1, "HDMI_HPD_RX")
1847 ),
1848 MTK_PIN(PINCTRL_PIN(248, "HDMI_TESTOUTP_RX"),
1849 NULL, "mt2701",
1850 MTK_EINT_FUNCTION(0, 133),
1851 MTK_FUNCTION(0, "GPIO248"),
1852 MTK_FUNCTION(1, "HDMI_TESTOUTP_RX")
1853 ),
1854 MTK_PIN(PINCTRL_PIN(249, "MSDC0E_RSTB"),
1855 NULL, "mt2701",
1856 MTK_EINT_FUNCTION(0, 134),
1857 MTK_FUNCTION(0, "GPIO249"),
1858 MTK_FUNCTION(1, "MSDC0E_RSTB")
1859 ),
1860 MTK_PIN(PINCTRL_PIN(250, "MSDC0E_DAT7"),
1861 NULL, "mt2701",
1862 MTK_EINT_FUNCTION(0, 135),
1863 MTK_FUNCTION(0, "GPIO250"),
1864 MTK_FUNCTION(1, "MSDC3_DAT7"),
1865 MTK_FUNCTION(6, "PCIE0_CLKREQ_N")
1866 ),
1867 MTK_PIN(PINCTRL_PIN(251, "MSDC0E_DAT6"),
1868 NULL, "mt2701",
1869 MTK_EINT_FUNCTION(0, 136),
1870 MTK_FUNCTION(0, "GPIO251"),
1871 MTK_FUNCTION(1, "MSDC3_DAT6"),
1872 MTK_FUNCTION(6, "PCIE0_WAKE_N")
1873 ),
1874 MTK_PIN(PINCTRL_PIN(252, "MSDC0E_DAT5"),
1875 NULL, "mt2701",
1876 MTK_EINT_FUNCTION(0, 137),
1877 MTK_FUNCTION(0, "GPIO252"),
1878 MTK_FUNCTION(1, "MSDC3_DAT5"),
1879 MTK_FUNCTION(6, "PCIE1_CLKREQ_N")
1880 ),
1881 MTK_PIN(PINCTRL_PIN(253, "MSDC0E_DAT4"),
1882 NULL, "mt2701",
1883 MTK_EINT_FUNCTION(0, 138),
1884 MTK_FUNCTION(0, "GPIO253"),
1885 MTK_FUNCTION(1, "MSDC3_DAT4"),
1886 MTK_FUNCTION(6, "PCIE1_WAKE_N")
1887 ),
1888 MTK_PIN(PINCTRL_PIN(254, "MSDC0E_DAT3"),
1889 NULL, "mt2701",
1890 MTK_EINT_FUNCTION(0, 139),
1891 MTK_FUNCTION(0, "GPIO254"),
1892 MTK_FUNCTION(1, "MSDC3_DAT3"),
1893 MTK_FUNCTION(6, "PCIE2_CLKREQ_N")
1894 ),
1895 MTK_PIN(PINCTRL_PIN(255, "MSDC0E_DAT2"),
1896 NULL, "mt2701",
1897 MTK_EINT_FUNCTION(0, 140),
1898 MTK_FUNCTION(0, "GPIO255"),
1899 MTK_FUNCTION(1, "MSDC3_DAT2"),
1900 MTK_FUNCTION(6, "PCIE2_WAKE_N")
1901 ),
1902 MTK_PIN(PINCTRL_PIN(256, "MSDC0E_DAT1"),
1903 NULL, "mt2701",
1904 MTK_EINT_FUNCTION(0, 141),
1905 MTK_FUNCTION(0, "GPIO256"),
1906 MTK_FUNCTION(1, "MSDC3_DAT1")
1907 ),
1908 MTK_PIN(PINCTRL_PIN(257, "MSDC0E_DAT0"),
1909 NULL, "mt2701",
1910 MTK_EINT_FUNCTION(0, 142),
1911 MTK_FUNCTION(0, "GPIO257"),
1912 MTK_FUNCTION(1, "MSDC3_DAT0")
1913 ),
1914 MTK_PIN(PINCTRL_PIN(258, "MSDC0E_CMD"),
1915 NULL, "mt2701",
1916 MTK_EINT_FUNCTION(0, 143),
1917 MTK_FUNCTION(0, "GPIO258"),
1918 MTK_FUNCTION(1, "MSDC3_CMD")
1919 ),
1920 MTK_PIN(PINCTRL_PIN(259, "MSDC0E_CLK"),
1921 NULL, "mt2701",
1922 MTK_EINT_FUNCTION(0, 144),
1923 MTK_FUNCTION(0, "GPIO259"),
1924 MTK_FUNCTION(1, "MSDC3_CLK")
1925 ),
1926 MTK_PIN(PINCTRL_PIN(260, "MSDC0E_DSL"),
1927 NULL, "mt2701",
1928 MTK_EINT_FUNCTION(0, 145),
1929 MTK_FUNCTION(0, "GPIO260"),
1930 MTK_FUNCTION(1, "MSDC3_DSL")
1931 ),
1932 MTK_PIN(PINCTRL_PIN(261, "MSDC1_INS"),
1933 NULL, "mt2701",
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]")
1938 ),
1939 MTK_PIN(PINCTRL_PIN(262, "G2_TXEN"),
1940 NULL, "mt2701",
1941 MTK_EINT_FUNCTION(0, 8),
1942 MTK_FUNCTION(0, "GPIO262"),
1943 MTK_FUNCTION(1, "G2_TXEN")
1944 ),
1945 MTK_PIN(PINCTRL_PIN(263, "G2_TXD3"),
1946 NULL, "mt2701",
1947 MTK_EINT_FUNCTION(0, 9),
1948 MTK_FUNCTION(0, "GPIO263"),
1949 MTK_FUNCTION(1, "G2_TXD3"),
1950 MTK_FUNCTION(6, "ANT_SEL5")
1951 ),
1952 MTK_PIN(PINCTRL_PIN(264, "G2_TXD2"),
1953 NULL, "mt2701",
1954 MTK_EINT_FUNCTION(0, 10),
1955 MTK_FUNCTION(0, "GPIO264"),
1956 MTK_FUNCTION(1, "G2_TXD2"),
1957 MTK_FUNCTION(6, "ANT_SEL4")
1958 ),
1959 MTK_PIN(PINCTRL_PIN(265, "G2_TXD1"),
1960 NULL, "mt2701",
1961 MTK_EINT_FUNCTION(0, 11),
1962 MTK_FUNCTION(0, "GPIO265"),
1963 MTK_FUNCTION(1, "G2_TXD1"),
1964 MTK_FUNCTION(6, "ANT_SEL3")
1965 ),
1966 MTK_PIN(PINCTRL_PIN(266, "G2_TXD0"),
1967 NULL, "mt2701",
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")
1972 ),
1973 MTK_PIN(PINCTRL_PIN(267, "G2_TXC"),
1974 NULL, "mt2701",
1975 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1976 MTK_FUNCTION(0, "GPIO267"),
1977 MTK_FUNCTION(1, "G2_TXC")
1978 ),
1979 MTK_PIN(PINCTRL_PIN(268, "G2_RXC"),
1980 NULL, "mt2701",
1981 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1982 MTK_FUNCTION(0, "GPIO268"),
1983 MTK_FUNCTION(1, "G2_RXC")
1984 ),
1985 MTK_PIN(PINCTRL_PIN(269, "G2_RXD0"),
1986 NULL, "mt2701",
1987 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1988 MTK_FUNCTION(0, "GPIO269"),
1989 MTK_FUNCTION(1, "G2_RXD0")
1990 ),
1991 MTK_PIN(PINCTRL_PIN(270, "G2_RXD1"),
1992 NULL, "mt2701",
1993 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1994 MTK_FUNCTION(0, "GPIO270"),
1995 MTK_FUNCTION(1, "G2_RXD1")
1996 ),
1997 MTK_PIN(PINCTRL_PIN(271, "G2_RXD2"),
1998 NULL, "mt2701",
1999 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
2000 MTK_FUNCTION(0, "GPIO271"),
2001 MTK_FUNCTION(1, "G2_RXD2")
2002 ),
2003 MTK_PIN(PINCTRL_PIN(272, "G2_RXD3"),
2004 NULL, "mt2701",
2005 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
2006 MTK_FUNCTION(0, "GPIO272"),
2007 MTK_FUNCTION(1, "G2_RXD3")
2008 ),
2009 MTK_PIN(PINCTRL_PIN(273, "ESW_INT"),
2010 NULL, "mt2701",
2011 MTK_EINT_FUNCTION(0, 168),
2012 MTK_FUNCTION(0, "GPIO273"),
2013 MTK_FUNCTION(1, "ESW_INT")
2014 ),
2015 MTK_PIN(PINCTRL_PIN(274, "G2_RXDV"),
2016 NULL, "mt2701",
2017 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
2018 MTK_FUNCTION(0, "GPIO274"),
2019 MTK_FUNCTION(1, "G2_RXDV")
2020 ),
2021 MTK_PIN(PINCTRL_PIN(275, "MDC"),
2022 NULL, "mt2701",
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")
2027 ),
2028 MTK_PIN(PINCTRL_PIN(276, "MDIO"),
2029 NULL, "mt2701",
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")
2034 ),
2035 MTK_PIN(PINCTRL_PIN(277, "ESW_RST"),
2036 NULL, "mt2701",
2037 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
2038 MTK_FUNCTION(0, "GPIO277"),
2039 MTK_FUNCTION(1, "ESW_RST")
2040 ),
2041 MTK_PIN(PINCTRL_PIN(278, "JTAG_RESET"),
2042 NULL, "mt2701",
2043 MTK_EINT_FUNCTION(0, 147),
2044 MTK_FUNCTION(0, "GPIO278"),
2045 MTK_FUNCTION(1, "JTAG_RESET")
2046 ),
2047 MTK_PIN(PINCTRL_PIN(279, "USB3_RES_BOND"),
2048 NULL, "mt2701",
2049 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
2050 MTK_FUNCTION(0, "GPIO279"),
2051 MTK_FUNCTION(1, "USB3_RES_BOND")
2052 ),
2053};
2054
2055#endif
2056