Linux 5.1.15
[linux/fpc-iii.git] / drivers / pinctrl / mediatek / pinctrl-mtk-mt6797.h
blob86ab78e80326cacd3bf22a038b7894a00bcc8b61
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * Based on pinctrl-mtk-mt6765.h
5 * Copyright (C) 2018 MediaTek Inc.
7 * Author: ZH Chen <zh.chen@mediatek.com>
9 * Copyright (c) 2018 Manivannan Sadhasivam
12 #ifndef __PINCTRL_MTK_MT6797_H
13 #define __PINCTRL_MTK_MT6797_H
15 #include "pinctrl-paris.h"
17 static const struct mtk_pin_desc mtk_pins_mt6797[] = {
18 MTK_PIN(
19 0, "GPIO0",
20 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
21 DRV_GRP3,
22 MTK_FUNCTION(0, "GPIO0"),
23 MTK_FUNCTION(1, "CSI0A_L0P_T0A")
25 MTK_PIN(
26 1, "GPIO1",
27 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
28 DRV_GRP3,
29 MTK_FUNCTION(0, "GPIO1"),
30 MTK_FUNCTION(1, "CSI0A_L0N_T0B")
32 MTK_PIN(
33 2, "GPIO2",
34 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
35 DRV_GRP3,
36 MTK_FUNCTION(0, "GPIO2"),
37 MTK_FUNCTION(1, "CSI0A_L1P_T0C")
39 MTK_PIN(
40 3, "GPIO3",
41 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
42 DRV_GRP3,
43 MTK_FUNCTION(0, "GPIO3"),
44 MTK_FUNCTION(1, "CSI0A_L1N_T1A")
46 MTK_PIN(
47 4, "GPIO4",
48 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
49 DRV_GRP3,
50 MTK_FUNCTION(0, "GPIO4"),
51 MTK_FUNCTION(1, "CSI0A_L2P_T1B")
53 MTK_PIN(
54 5, "GPIO5",
55 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
56 DRV_GRP3,
57 MTK_FUNCTION(0, "GPIO5"),
58 MTK_FUNCTION(1, "CSI0A_L2N_T1C")
60 MTK_PIN(
61 6, "GPIO6",
62 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
63 DRV_GRP3,
64 MTK_FUNCTION(0, "GPIO6"),
65 MTK_FUNCTION(1, "CSI0B_L0P_T0A")
67 MTK_PIN(
68 7, "GPIO7",
69 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
70 DRV_GRP3,
71 MTK_FUNCTION(0, "GPIO7"),
72 MTK_FUNCTION(1, "CSI0B_L0N_T0B")
74 MTK_PIN(
75 8, "GPIO8",
76 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
77 DRV_GRP3,
78 MTK_FUNCTION(0, "GPIO8"),
79 MTK_FUNCTION(1, "CSI0B_L1P_T0C")
81 MTK_PIN(
82 9, "GPIO9",
83 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
84 DRV_GRP3,
85 MTK_FUNCTION(0, "GPIO9"),
86 MTK_FUNCTION(1, "CSI0B_L1N_T1A")
88 MTK_PIN(
89 10, "GPIO10",
90 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
91 DRV_GRP3,
92 MTK_FUNCTION(0, "GPIO10"),
93 MTK_FUNCTION(1, "CSI1A_L0P_T0A")
95 MTK_PIN(
96 11, "GPIO11",
97 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
98 DRV_GRP3,
99 MTK_FUNCTION(0, "GPIO11"),
100 MTK_FUNCTION(1, "CSI1A_L0N_T0B")
102 MTK_PIN(
103 12, "GPIO12",
104 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
105 DRV_GRP3,
106 MTK_FUNCTION(0, "GPIO12"),
107 MTK_FUNCTION(1, "CSI1A_L1P_T0C")
109 MTK_PIN(
110 13, "GPIO13",
111 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
112 DRV_GRP3,
113 MTK_FUNCTION(0, "GPIO13"),
114 MTK_FUNCTION(1, "CSI1A_L1N_T1A")
116 MTK_PIN(
117 14, "GPIO14",
118 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
119 DRV_GRP3,
120 MTK_FUNCTION(0, "GPIO14"),
121 MTK_FUNCTION(1, "CSI1A_L2P_T1B")
123 MTK_PIN(
124 15, "GPIO15",
125 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
126 DRV_GRP3,
127 MTK_FUNCTION(0, "GPIO15"),
128 MTK_FUNCTION(1, "CSI1A_L2N_T1C")
130 MTK_PIN(
131 16, "GPIO16",
132 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
133 DRV_GRP3,
134 MTK_FUNCTION(0, "GPIO16"),
135 MTK_FUNCTION(1, "CSI1B_L0P_T0A")
137 MTK_PIN(
138 17, "GPIO17",
139 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
140 DRV_GRP3,
141 MTK_FUNCTION(0, "GPIO17"),
142 MTK_FUNCTION(1, "CSI1B_L0N_T0B")
144 MTK_PIN(
145 18, "GPIO18",
146 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
147 DRV_GRP3,
148 MTK_FUNCTION(0, "GPIO18"),
149 MTK_FUNCTION(1, "CSI1B_L1P_T0C")
151 MTK_PIN(
152 19, "GPIO19",
153 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
154 DRV_GRP3,
155 MTK_FUNCTION(0, "GPIO19"),
156 MTK_FUNCTION(1, "CSI1B_L1N_T1A")
158 MTK_PIN(
159 20, "GPIO20",
160 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
161 DRV_GRP3,
162 MTK_FUNCTION(0, "GPIO20"),
163 MTK_FUNCTION(1, "CSI1B_L2P_T1B")
165 MTK_PIN(
166 21, "GPIO21",
167 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
168 DRV_GRP3,
169 MTK_FUNCTION(0, "GPIO21"),
170 MTK_FUNCTION(1, "CSI1B_L2N_T1C")
172 MTK_PIN(
173 22, "GPIO22",
174 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
175 DRV_GRP3,
176 MTK_FUNCTION(0, "GPIO22"),
177 MTK_FUNCTION(1, "CSI2_L0P_T0A")
179 MTK_PIN(
180 23, "GPIO23",
181 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
182 DRV_GRP3,
183 MTK_FUNCTION(0, "GPIO23"),
184 MTK_FUNCTION(1, "CSI2_L0N_T0B")
186 MTK_PIN(
187 24, "GPIO24",
188 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
189 DRV_GRP3,
190 MTK_FUNCTION(0, "GPIO24"),
191 MTK_FUNCTION(1, "CSI2_L1P_T0C")
193 MTK_PIN(
194 25, "GPIO25",
195 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
196 DRV_GRP3,
197 MTK_FUNCTION(0, "GPIO25"),
198 MTK_FUNCTION(1, "CSI2_L1N_T1A")
200 MTK_PIN(
201 26, "GPIO26",
202 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
203 DRV_GRP3,
204 MTK_FUNCTION(0, "GPIO26"),
205 MTK_FUNCTION(1, "CSI2_L2P_T1B")
207 MTK_PIN(
208 27, "GPIO27",
209 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
210 DRV_GRP3,
211 MTK_FUNCTION(0, "GPIO27"),
212 MTK_FUNCTION(1, "CSI2_L2N_T1C")
214 MTK_PIN(
215 28, "GPIO28",
216 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
217 DRV_GRP3,
218 MTK_FUNCTION(0, "GPIO28"),
219 MTK_FUNCTION(1, "SPI5_CLK_A"),
220 MTK_FUNCTION(2, "IRTX_OUT"),
221 MTK_FUNCTION(3, "UDI_TDO"),
222 MTK_FUNCTION(4, "SCP_JTAG_TDO"),
223 MTK_FUNCTION(5, "CONN_MCU_TDO"),
224 MTK_FUNCTION(6, "PWM_A"),
225 MTK_FUNCTION(7, "C2K_DM_OTDO")
227 MTK_PIN(
228 29, "GPIO29",
229 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
230 DRV_GRP3,
231 MTK_FUNCTION(0, "GPIO29"),
232 MTK_FUNCTION(1, "SPI5_MI_A"),
233 MTK_FUNCTION(2, "DAP_SIB1_SWD"),
234 MTK_FUNCTION(3, "UDI_TMS"),
235 MTK_FUNCTION(4, "SCP_JTAG_TMS"),
236 MTK_FUNCTION(5, "CONN_MCU_TMS"),
237 MTK_FUNCTION(6, "CONN_MCU_AICE_TMSC"),
238 MTK_FUNCTION(7, "C2K_DM_OTMS")
240 MTK_PIN(
241 30, "GPIO30",
242 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
243 DRV_GRP3,
244 MTK_FUNCTION(0, "GPIO30"),
245 MTK_FUNCTION(1, "CMMCLK0"),
246 MTK_FUNCTION(7, "MD_CLKM0")
248 MTK_PIN(
249 31, "GPIO31",
250 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
251 DRV_GRP3,
252 MTK_FUNCTION(0, "GPIO31"),
253 MTK_FUNCTION(1, "CMMCLK1"),
254 MTK_FUNCTION(7, "MD_CLKM1")
256 MTK_PIN(
257 32, "GPIO32",
258 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
259 DRV_GRP3,
260 MTK_FUNCTION(0, "GPIO32"),
261 MTK_FUNCTION(1, "SPI5_CS_A"),
262 MTK_FUNCTION(2, "DAP_SIB1_SWCK"),
263 MTK_FUNCTION(3, "UDI_TCK_XI"),
264 MTK_FUNCTION(4, "SCP_JTAG_TCK"),
265 MTK_FUNCTION(5, "CONN_MCU_TCK"),
266 MTK_FUNCTION(6, "CONN_MCU_AICE_TCKC"),
267 MTK_FUNCTION(7, "C2K_DM_OTCK")
269 MTK_PIN(
270 33, "GPIO33",
271 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
272 DRV_GRP3,
273 MTK_FUNCTION(0, "GPIO33"),
274 MTK_FUNCTION(1, "SPI5_MO_A"),
275 MTK_FUNCTION(2, "CMFLASH"),
276 MTK_FUNCTION(3, "UDI_TDI"),
277 MTK_FUNCTION(4, "SCP_JTAG_TDI"),
278 MTK_FUNCTION(5, "CONN_MCU_TDI"),
279 MTK_FUNCTION(6, "MD_URXD0"),
280 MTK_FUNCTION(7, "C2K_DM_OTDI")
282 MTK_PIN(
283 34, "GPIO34",
284 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
285 DRV_GRP3,
286 MTK_FUNCTION(0, "GPIO34"),
287 MTK_FUNCTION(1, "CMFLASH"),
288 MTK_FUNCTION(2, "CLKM0"),
289 MTK_FUNCTION(3, "UDI_NTRST"),
290 MTK_FUNCTION(4, "SCP_JTAG_TRSTN"),
291 MTK_FUNCTION(5, "CONN_MCU_TRST_B"),
292 MTK_FUNCTION(6, "MD_UTXD0"),
293 MTK_FUNCTION(7, "C2K_DM_JTINTP")
295 MTK_PIN(
296 35, "GPIO35",
297 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
298 DRV_GRP3,
299 MTK_FUNCTION(0, "GPIO35"),
300 MTK_FUNCTION(1, "CMMCLK3"),
301 MTK_FUNCTION(2, "CLKM1"),
302 MTK_FUNCTION(3, "MD_URXD1"),
303 MTK_FUNCTION(4, "PTA_RXD"),
304 MTK_FUNCTION(5, "CONN_MCU_DBGACK_N"),
305 MTK_FUNCTION(6, "PWM_B"),
306 MTK_FUNCTION(7, "PCC_PPC_IO")
308 MTK_PIN(
309 36, "GPIO36",
310 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
311 DRV_GRP3,
312 MTK_FUNCTION(0, "GPIO36"),
313 MTK_FUNCTION(1, "CMMCLK2"),
314 MTK_FUNCTION(2, "CLKM2"),
315 MTK_FUNCTION(3, "MD_UTXD1"),
316 MTK_FUNCTION(4, "PTA_TXD"),
317 MTK_FUNCTION(5, "CONN_MCU_DBGI_N"),
318 MTK_FUNCTION(6, "PWM_C"),
319 MTK_FUNCTION(7, "EXT_FRAME_SYNC")
321 MTK_PIN(
322 37, "GPIO37",
323 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
324 DRV_GRP3,
325 MTK_FUNCTION(0, "GPIO37"),
326 MTK_FUNCTION(1, "SCL0_0")
328 MTK_PIN(
329 38, "GPIO38",
330 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
331 DRV_GRP3,
332 MTK_FUNCTION(0, "GPIO38"),
333 MTK_FUNCTION(1, "SDA0_0")
335 MTK_PIN(
336 39, "GPIO39",
337 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
338 DRV_GRP3,
339 MTK_FUNCTION(0, "GPIO39"),
340 MTK_FUNCTION(1, "DPI_D0"),
341 MTK_FUNCTION(2, "SPI1_CLK_A"),
342 MTK_FUNCTION(3, "PCM0_SYNC"),
343 MTK_FUNCTION(4, "I2S0_LRCK"),
344 MTK_FUNCTION(5, "CONN_MCU_TRST_B"),
345 MTK_FUNCTION(6, "URXD3"),
346 MTK_FUNCTION(7, "C2K_NTRST")
348 MTK_PIN(
349 40, "GPIO40",
350 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
351 DRV_GRP3,
352 MTK_FUNCTION(0, "GPIO40"),
353 MTK_FUNCTION(1, "DPI_D1"),
354 MTK_FUNCTION(2, "SPI1_MI_A"),
355 MTK_FUNCTION(3, "PCM0_CLK"),
356 MTK_FUNCTION(4, "I2S0_BCK"),
357 MTK_FUNCTION(5, "CONN_MCU_TDO"),
358 MTK_FUNCTION(6, "UTXD3"),
359 MTK_FUNCTION(7, "C2K_TCK")
361 MTK_PIN(
362 41, "GPIO41",
363 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
364 DRV_GRP3,
365 MTK_FUNCTION(0, "GPIO41"),
366 MTK_FUNCTION(1, "DPI_D2"),
367 MTK_FUNCTION(2, "SPI1_CS_A"),
368 MTK_FUNCTION(3, "PCM0_DO"),
369 MTK_FUNCTION(4, "I2S3_DO"),
370 MTK_FUNCTION(5, "CONN_MCU_DBGACK_N"),
371 MTK_FUNCTION(6, "URTS3"),
372 MTK_FUNCTION(7, "C2K_TDI")
374 MTK_PIN(
375 42, "GPIO42",
376 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
377 DRV_GRP3,
378 MTK_FUNCTION(0, "GPIO42"),
379 MTK_FUNCTION(1, "DPI_D3"),
380 MTK_FUNCTION(2, "SPI1_MO_A"),
381 MTK_FUNCTION(3, "PCM0_DI"),
382 MTK_FUNCTION(4, "I2S0_DI"),
383 MTK_FUNCTION(5, "CONN_MCU_TDI"),
384 MTK_FUNCTION(6, "UCTS3"),
385 MTK_FUNCTION(7, "C2K_TMS")
387 MTK_PIN(
388 43, "GPIO43",
389 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
390 DRV_GRP3,
391 MTK_FUNCTION(0, "GPIO43"),
392 MTK_FUNCTION(1, "DPI_D4"),
393 MTK_FUNCTION(2, "SPI2_CLK_A"),
394 MTK_FUNCTION(3, "PCM1_SYNC"),
395 MTK_FUNCTION(4, "I2S2_LRCK"),
396 MTK_FUNCTION(5, "CONN_MCU_TMS"),
397 MTK_FUNCTION(6, "CONN_MCU_AICE_TMSC"),
398 MTK_FUNCTION(7, "C2K_TDO")
400 MTK_PIN(
401 44, "GPIO44",
402 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
403 DRV_GRP3,
404 MTK_FUNCTION(0, "GPIO44"),
405 MTK_FUNCTION(1, "DPI_D5"),
406 MTK_FUNCTION(2, "SPI2_MI_A"),
407 MTK_FUNCTION(3, "PCM1_CLK"),
408 MTK_FUNCTION(4, "I2S2_BCK"),
409 MTK_FUNCTION(5, "CONN_MCU_TCK"),
410 MTK_FUNCTION(6, "CONN_MCU_AICE_TCKC"),
411 MTK_FUNCTION(7, "C2K_RTCK")
413 MTK_PIN(
414 45, "GPIO45",
415 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
416 DRV_GRP3,
417 MTK_FUNCTION(0, "GPIO45"),
418 MTK_FUNCTION(1, "DPI_D6"),
419 MTK_FUNCTION(2, "SPI2_CS_A"),
420 MTK_FUNCTION(3, "PCM1_DI"),
421 MTK_FUNCTION(4, "I2S2_DI"),
422 MTK_FUNCTION(5, "CONN_MCU_DBGI_N"),
423 MTK_FUNCTION(6, "MD_URXD0")
425 MTK_PIN(
426 46, "GPIO46",
427 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
428 DRV_GRP3,
429 MTK_FUNCTION(0, "GPIO46"),
430 MTK_FUNCTION(1, "DPI_D7"),
431 MTK_FUNCTION(2, "SPI2_MO_A"),
432 MTK_FUNCTION(3, "PCM1_DO0"),
433 MTK_FUNCTION(4, "I2S1_DO"),
434 MTK_FUNCTION(5, "ANT_SEL0"),
435 MTK_FUNCTION(6, "MD_UTXD0")
437 MTK_PIN(
438 47, "GPIO47",
439 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
440 DRV_GRP3,
441 MTK_FUNCTION(0, "GPIO47"),
442 MTK_FUNCTION(1, "DPI_D8"),
443 MTK_FUNCTION(2, "CLKM0"),
444 MTK_FUNCTION(3, "PCM1_DO1"),
445 MTK_FUNCTION(4, "I2S0_MCK"),
446 MTK_FUNCTION(5, "ANT_SEL1"),
447 MTK_FUNCTION(6, "PTA_RXD"),
448 MTK_FUNCTION(7, "C2K_URXD0")
450 MTK_PIN(
451 48, "GPIO48",
452 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
453 DRV_GRP3,
454 MTK_FUNCTION(0, "GPIO48"),
455 MTK_FUNCTION(1, "DPI_D9"),
456 MTK_FUNCTION(2, "CLKM1"),
457 MTK_FUNCTION(3, "CMFLASH"),
458 MTK_FUNCTION(4, "I2S2_MCK"),
459 MTK_FUNCTION(5, "ANT_SEL2"),
460 MTK_FUNCTION(6, "PTA_TXD"),
461 MTK_FUNCTION(7, "C2K_UTXD0")
463 MTK_PIN(
464 49, "GPIO49",
465 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
466 DRV_GRP3,
467 MTK_FUNCTION(0, "GPIO49"),
468 MTK_FUNCTION(1, "DPI_D10"),
469 MTK_FUNCTION(2, "MD_INT1_C2K_UIM1_HOT_PLUG_IN"),
470 MTK_FUNCTION(3, "PWM_C"),
471 MTK_FUNCTION(4, "IRTX_OUT"),
472 MTK_FUNCTION(5, "ANT_SEL3"),
473 MTK_FUNCTION(6, "MD_URXD1")
475 MTK_PIN(
476 50, "GPIO50",
477 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
478 DRV_GRP3,
479 MTK_FUNCTION(0, "GPIO50"),
480 MTK_FUNCTION(1, "DPI_D11"),
481 MTK_FUNCTION(2, "MD_INT2"),
482 MTK_FUNCTION(3, "PWM_D"),
483 MTK_FUNCTION(4, "CLKM2"),
484 MTK_FUNCTION(5, "ANT_SEL4"),
485 MTK_FUNCTION(6, "MD_UTXD1")
487 MTK_PIN(
488 51, "GPIO51",
489 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
490 DRV_GRP3,
491 MTK_FUNCTION(0, "GPIO51"),
492 MTK_FUNCTION(1, "DPI_DE"),
493 MTK_FUNCTION(2, "SPI4_CLK_A"),
494 MTK_FUNCTION(3, "IRTX_OUT"),
495 MTK_FUNCTION(4, "SCL0_1"),
496 MTK_FUNCTION(5, "ANT_SEL5"),
497 MTK_FUNCTION(7, "C2K_UTXD1")
499 MTK_PIN(
500 52, "GPIO52",
501 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
502 DRV_GRP3,
503 MTK_FUNCTION(0, "GPIO52"),
504 MTK_FUNCTION(1, "DPI_CK"),
505 MTK_FUNCTION(2, "SPI4_MI_A"),
506 MTK_FUNCTION(3, "SPI4_MO_A"),
507 MTK_FUNCTION(4, "SDA0_1"),
508 MTK_FUNCTION(5, "ANT_SEL6"),
509 MTK_FUNCTION(7, "C2K_URXD1")
511 MTK_PIN(
512 53, "GPIO53",
513 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
514 DRV_GRP3,
515 MTK_FUNCTION(0, "GPIO53"),
516 MTK_FUNCTION(1, "DPI_HSYNC"),
517 MTK_FUNCTION(2, "SPI4_CS_A"),
518 MTK_FUNCTION(3, "CMFLASH"),
519 MTK_FUNCTION(4, "SCL1_1"),
520 MTK_FUNCTION(5, "ANT_SEL7"),
521 MTK_FUNCTION(6, "MD_URXD2"),
522 MTK_FUNCTION(7, "PCC_PPC_IO")
524 MTK_PIN(
525 54, "GPIO54",
526 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
527 DRV_GRP3,
528 MTK_FUNCTION(0, "GPIO54"),
529 MTK_FUNCTION(1, "DPI_VSYNC"),
530 MTK_FUNCTION(2, "SPI4_MO_A"),
531 MTK_FUNCTION(3, "SPI4_MI_A"),
532 MTK_FUNCTION(4, "SDA1_1"),
533 MTK_FUNCTION(5, "PWM_A"),
534 MTK_FUNCTION(6, "MD_UTXD2"),
535 MTK_FUNCTION(7, "EXT_FRAME_SYNC")
537 MTK_PIN(
538 55, "GPIO55",
539 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
540 DRV_GRP3,
541 MTK_FUNCTION(0, "GPIO55"),
542 MTK_FUNCTION(1, "SCL1_0")
544 MTK_PIN(
545 56, "GPIO56",
546 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
547 DRV_GRP3,
548 MTK_FUNCTION(0, "GPIO56"),
549 MTK_FUNCTION(1, "SDA1_0")
551 MTK_PIN(
552 57, "GPIO57",
553 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
554 DRV_GRP3,
555 MTK_FUNCTION(0, "GPIO57"),
556 MTK_FUNCTION(1, "SPI0_CLK"),
557 MTK_FUNCTION(2, "SCL0_2"),
558 MTK_FUNCTION(3, "PWM_B"),
559 MTK_FUNCTION(4, "UTXD3"),
560 MTK_FUNCTION(5, "PCM0_SYNC")
562 MTK_PIN(
563 58, "GPIO58",
564 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
565 DRV_GRP3,
566 MTK_FUNCTION(0, "GPIO58"),
567 MTK_FUNCTION(1, "SPI0_MI"),
568 MTK_FUNCTION(2, "SPI0_MO"),
569 MTK_FUNCTION(3, "SDA1_2"),
570 MTK_FUNCTION(4, "URXD3"),
571 MTK_FUNCTION(5, "PCM0_CLK")
573 MTK_PIN(
574 59, "GPIO59",
575 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
576 DRV_GRP3,
577 MTK_FUNCTION(0, "GPIO59"),
578 MTK_FUNCTION(1, "SPI0_MO"),
579 MTK_FUNCTION(2, "SPI0_MI"),
580 MTK_FUNCTION(3, "PWM_C"),
581 MTK_FUNCTION(4, "URTS3"),
582 MTK_FUNCTION(5, "PCM0_DO")
584 MTK_PIN(
585 60, "GPIO60",
586 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
587 DRV_GRP3,
588 MTK_FUNCTION(0, "GPIO60"),
589 MTK_FUNCTION(1, "SPI0_CS"),
590 MTK_FUNCTION(2, "SDA0_2"),
591 MTK_FUNCTION(3, "SCL1_2"),
592 MTK_FUNCTION(4, "UCTS3"),
593 MTK_FUNCTION(5, "PCM0_DI")
595 MTK_PIN(
596 61, "GPIO61",
597 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
598 DRV_GRP3,
599 MTK_FUNCTION(0, "GPIO61"),
600 MTK_FUNCTION(1, "EINT0"),
601 MTK_FUNCTION(2, "IDDIG"),
602 MTK_FUNCTION(3, "SPI4_CLK_B"),
603 MTK_FUNCTION(4, "I2S0_LRCK"),
604 MTK_FUNCTION(5, "PCM0_SYNC"),
605 MTK_FUNCTION(7, "C2K_EINT0")
607 MTK_PIN(
608 62, "GPIO62",
609 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
610 DRV_GRP3,
611 MTK_FUNCTION(0, "GPIO62"),
612 MTK_FUNCTION(1, "EINT1"),
613 MTK_FUNCTION(2, "USB_DRVVBUS"),
614 MTK_FUNCTION(3, "SPI4_MI_B"),
615 MTK_FUNCTION(4, "I2S0_BCK"),
616 MTK_FUNCTION(5, "PCM0_CLK"),
617 MTK_FUNCTION(7, "C2K_EINT1")
619 MTK_PIN(
620 63, "GPIO63",
621 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
622 DRV_GRP3,
623 MTK_FUNCTION(0, "GPIO63"),
624 MTK_FUNCTION(1, "EINT2"),
625 MTK_FUNCTION(2, "IRTX_OUT"),
626 MTK_FUNCTION(3, "SPI4_MO_B"),
627 MTK_FUNCTION(4, "I2S0_MCK"),
628 MTK_FUNCTION(5, "PCM0_DI"),
629 MTK_FUNCTION(7, "C2K_DM_EINT0")
631 MTK_PIN(
632 64, "GPIO64",
633 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
634 DRV_GRP3,
635 MTK_FUNCTION(0, "GPIO64"),
636 MTK_FUNCTION(1, "EINT3"),
637 MTK_FUNCTION(2, "CMFLASH"),
638 MTK_FUNCTION(3, "SPI4_CS_B"),
639 MTK_FUNCTION(4, "I2S0_DI"),
640 MTK_FUNCTION(5, "PCM0_DO"),
641 MTK_FUNCTION(7, "C2K_DM_EINT1")
643 MTK_PIN(
644 65, "GPIO65",
645 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
646 DRV_GRP3,
647 MTK_FUNCTION(0, "GPIO65"),
648 MTK_FUNCTION(1, "EINT4"),
649 MTK_FUNCTION(2, "CLKM0"),
650 MTK_FUNCTION(3, "SPI5_CLK_B"),
651 MTK_FUNCTION(4, "I2S1_LRCK"),
652 MTK_FUNCTION(5, "PWM_A"),
653 MTK_FUNCTION(7, "C2K_DM_EINT2")
655 MTK_PIN(
656 66, "GPIO66",
657 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
658 DRV_GRP3,
659 MTK_FUNCTION(0, "GPIO66"),
660 MTK_FUNCTION(1, "EINT5"),
661 MTK_FUNCTION(2, "CLKM1"),
662 MTK_FUNCTION(3, "SPI5_MI_B"),
663 MTK_FUNCTION(4, "I2S1_BCK"),
664 MTK_FUNCTION(5, "PWM_B"),
665 MTK_FUNCTION(7, "C2K_DM_EINT3")
667 MTK_PIN(
668 67, "GPIO67",
669 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
670 DRV_GRP3,
671 MTK_FUNCTION(0, "GPIO67"),
672 MTK_FUNCTION(1, "EINT6"),
673 MTK_FUNCTION(2, "CLKM2"),
674 MTK_FUNCTION(3, "SPI5_MO_B"),
675 MTK_FUNCTION(4, "I2S1_MCK"),
676 MTK_FUNCTION(5, "PWM_C"),
677 MTK_FUNCTION(7, "DBG_MON_A0")
679 MTK_PIN(
680 68, "GPIO68",
681 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
682 DRV_GRP3,
683 MTK_FUNCTION(0, "GPIO68"),
684 MTK_FUNCTION(1, "EINT7"),
685 MTK_FUNCTION(2, "CLKM3"),
686 MTK_FUNCTION(3, "SPI5_CS_B"),
687 MTK_FUNCTION(4, "I2S1_DO"),
688 MTK_FUNCTION(5, "PWM_D"),
689 MTK_FUNCTION(7, "DBG_MON_A1")
691 MTK_PIN(
692 69, "GPIO69",
693 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
694 DRV_GRP3,
695 MTK_FUNCTION(0, "GPIO69"),
696 MTK_FUNCTION(1, "I2S0_LRCK"),
697 MTK_FUNCTION(2, "I2S3_LRCK"),
698 MTK_FUNCTION(3, "I2S1_LRCK"),
699 MTK_FUNCTION(4, "I2S2_LRCK"),
700 MTK_FUNCTION(7, "DBG_MON_A2")
702 MTK_PIN(
703 70, "GPIO70",
704 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
705 DRV_GRP3,
706 MTK_FUNCTION(0, "GPIO70"),
707 MTK_FUNCTION(1, "I2S0_BCK"),
708 MTK_FUNCTION(2, "I2S3_BCK"),
709 MTK_FUNCTION(3, "I2S1_BCK"),
710 MTK_FUNCTION(4, "I2S2_BCK"),
711 MTK_FUNCTION(7, "DBG_MON_A3")
713 MTK_PIN(
714 71, "GPIO71",
715 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
716 DRV_GRP3,
717 MTK_FUNCTION(0, "GPIO71"),
718 MTK_FUNCTION(1, "I2S0_MCK"),
719 MTK_FUNCTION(2, "I2S3_MCK"),
720 MTK_FUNCTION(3, "I2S1_MCK"),
721 MTK_FUNCTION(4, "I2S2_MCK"),
722 MTK_FUNCTION(7, "DBG_MON_A4")
724 MTK_PIN(
725 72, "GPIO72",
726 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
727 DRV_GRP3,
728 MTK_FUNCTION(0, "GPIO72"),
729 MTK_FUNCTION(1, "I2S0_DI"),
730 MTK_FUNCTION(2, "I2S0_DI"),
731 MTK_FUNCTION(3, "I2S2_DI"),
732 MTK_FUNCTION(4, "I2S2_DI"),
733 MTK_FUNCTION(7, "DBG_MON_A5")
735 MTK_PIN(
736 73, "GPIO73",
737 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
738 DRV_GRP3,
739 MTK_FUNCTION(0, "GPIO73"),
740 MTK_FUNCTION(1, "I2S3_DO"),
741 MTK_FUNCTION(2, "I2S3_DO"),
742 MTK_FUNCTION(3, "I2S1_DO"),
743 MTK_FUNCTION(4, "I2S1_DO"),
744 MTK_FUNCTION(7, "DBG_MON_A6")
746 MTK_PIN(
747 74, "GPIO74",
748 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
749 DRV_GRP3,
750 MTK_FUNCTION(0, "GPIO74"),
751 MTK_FUNCTION(1, "SCL3_0"),
752 MTK_FUNCTION(7, "AUXIF_CLK1")
754 MTK_PIN(
755 75, "GPIO75",
756 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
757 DRV_GRP3,
758 MTK_FUNCTION(0, "GPIO75"),
759 MTK_FUNCTION(1, "SDA3_0"),
760 MTK_FUNCTION(7, "AUXIF_ST1")
762 MTK_PIN(
763 76, "GPIO76",
764 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
765 DRV_GRP3,
766 MTK_FUNCTION(0, "GPIO76"),
767 MTK_FUNCTION(1, "CONN_HRST_B"),
768 MTK_FUNCTION(7, "C2K_DM_EINT0")
770 MTK_PIN(
771 77, "GPIO77",
772 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
773 DRV_GRP3,
774 MTK_FUNCTION(0, "GPIO77"),
775 MTK_FUNCTION(1, "CONN_TOP_CLK"),
776 MTK_FUNCTION(7, "C2K_DM_EINT1")
778 MTK_PIN(
779 78, "GPIO78",
780 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
781 DRV_GRP3,
782 MTK_FUNCTION(0, "GPIO78"),
783 MTK_FUNCTION(1, "CONN_TOP_DATA"),
784 MTK_FUNCTION(7, "C2K_DM_EINT2")
786 MTK_PIN(
787 79, "GPIO79",
788 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
789 DRV_GRP3,
790 MTK_FUNCTION(0, "GPIO79"),
791 MTK_FUNCTION(1, "CONN_WB_PTA"),
792 MTK_FUNCTION(7, "C2K_DM_EINT3")
794 MTK_PIN(
795 80, "GPIO80",
796 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
797 DRV_GRP3,
798 MTK_FUNCTION(0, "GPIO80"),
799 MTK_FUNCTION(1, "CONN_WF_HB0"),
800 MTK_FUNCTION(7, "C2K_EINT0")
802 MTK_PIN(
803 81, "GPIO81",
804 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
805 DRV_GRP3,
806 MTK_FUNCTION(0, "GPIO81"),
807 MTK_FUNCTION(1, "CONN_WF_HB1"),
808 MTK_FUNCTION(7, "C2K_EINT1")
810 MTK_PIN(
811 82, "GPIO82",
812 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
813 DRV_GRP3,
814 MTK_FUNCTION(0, "GPIO82"),
815 MTK_FUNCTION(1, "CONN_WF_HB2"),
816 MTK_FUNCTION(7, "MD_CLKM0")
818 MTK_PIN(
819 83, "GPIO83",
820 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
821 DRV_GRP3,
822 MTK_FUNCTION(0, "GPIO83"),
823 MTK_FUNCTION(1, "CONN_BT_CLK"),
824 MTK_FUNCTION(7, "MD_CLKM1")
826 MTK_PIN(
827 84, "GPIO84",
828 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
829 DRV_GRP3,
830 MTK_FUNCTION(0, "GPIO84"),
831 MTK_FUNCTION(1, "CONN_BT_DATA")
833 MTK_PIN(
834 85, "GPIO85",
835 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
836 DRV_GRP3,
837 MTK_FUNCTION(0, "GPIO85"),
838 MTK_FUNCTION(1, "EINT8"),
839 MTK_FUNCTION(2, "I2S1_LRCK"),
840 MTK_FUNCTION(3, "I2S2_LRCK"),
841 MTK_FUNCTION(4, "URXD1"),
842 MTK_FUNCTION(5, "MD_URXD0"),
843 MTK_FUNCTION(7, "DBG_MON_A7")
845 MTK_PIN(
846 86, "GPIO86",
847 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
848 DRV_GRP3,
849 MTK_FUNCTION(0, "GPIO86"),
850 MTK_FUNCTION(1, "EINT9"),
851 MTK_FUNCTION(2, "I2S1_BCK"),
852 MTK_FUNCTION(3, "I2S2_BCK"),
853 MTK_FUNCTION(4, "UTXD1"),
854 MTK_FUNCTION(5, "MD_UTXD0"),
855 MTK_FUNCTION(7, "DBG_MON_A8")
857 MTK_PIN(
858 87, "GPIO87",
859 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
860 DRV_GRP3,
861 MTK_FUNCTION(0, "GPIO87"),
862 MTK_FUNCTION(1, "EINT10"),
863 MTK_FUNCTION(2, "I2S1_MCK"),
864 MTK_FUNCTION(3, "I2S2_MCK"),
865 MTK_FUNCTION(4, "URTS1"),
866 MTK_FUNCTION(5, "MD_URXD1"),
867 MTK_FUNCTION(7, "DBG_MON_A9")
869 MTK_PIN(
870 88, "GPIO88",
871 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
872 DRV_GRP3,
873 MTK_FUNCTION(0, "GPIO88"),
874 MTK_FUNCTION(1, "EINT11"),
875 MTK_FUNCTION(2, "I2S1_DO"),
876 MTK_FUNCTION(3, "I2S2_DI"),
877 MTK_FUNCTION(4, "UCTS1"),
878 MTK_FUNCTION(5, "MD_UTXD1"),
879 MTK_FUNCTION(7, "DBG_MON_A10")
881 MTK_PIN(
882 89, "GPIO89",
883 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
884 DRV_GRP3,
885 MTK_FUNCTION(0, "GPIO89"),
886 MTK_FUNCTION(1, "EINT12"),
887 MTK_FUNCTION(2, "IRTX_OUT"),
888 MTK_FUNCTION(3, "CLKM0"),
889 MTK_FUNCTION(4, "PCM1_SYNC"),
890 MTK_FUNCTION(5, "URTS0"),
891 MTK_FUNCTION(7, "DBG_MON_A11")
893 MTK_PIN(
894 90, "GPIO90",
895 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
896 DRV_GRP3,
897 MTK_FUNCTION(0, "GPIO90"),
898 MTK_FUNCTION(1, "EINT13"),
899 MTK_FUNCTION(2, "CMFLASH"),
900 MTK_FUNCTION(3, "CLKM1"),
901 MTK_FUNCTION(4, "PCM1_CLK"),
902 MTK_FUNCTION(5, "UCTS0"),
903 MTK_FUNCTION(7, "C2K_DM_EINT0")
905 MTK_PIN(
906 91, "GPIO91",
907 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
908 DRV_GRP3,
909 MTK_FUNCTION(0, "GPIO91"),
910 MTK_FUNCTION(1, "EINT14"),
911 MTK_FUNCTION(2, "PWM_A"),
912 MTK_FUNCTION(3, "CLKM2"),
913 MTK_FUNCTION(4, "PCM1_DI"),
914 MTK_FUNCTION(5, "SDA0_3"),
915 MTK_FUNCTION(7, "C2K_DM_EINT1")
917 MTK_PIN(
918 92, "GPIO92",
919 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
920 DRV_GRP3,
921 MTK_FUNCTION(0, "GPIO92"),
922 MTK_FUNCTION(1, "EINT15"),
923 MTK_FUNCTION(2, "PWM_B"),
924 MTK_FUNCTION(3, "CLKM3"),
925 MTK_FUNCTION(4, "PCM1_DO0"),
926 MTK_FUNCTION(5, "SCL0_3")
928 MTK_PIN(
929 93, "GPIO93",
930 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
931 DRV_GRP3,
932 MTK_FUNCTION(0, "GPIO93"),
933 MTK_FUNCTION(1, "EINT16"),
934 MTK_FUNCTION(2, "IDDIG"),
935 MTK_FUNCTION(3, "CLKM4"),
936 MTK_FUNCTION(4, "PCM1_DO1"),
937 MTK_FUNCTION(5, "MD_INT2"),
938 MTK_FUNCTION(7, "DROP_ZONE")
940 MTK_PIN(
941 94, "GPIO94",
942 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
943 DRV_GRP3,
944 MTK_FUNCTION(0, "GPIO94"),
945 MTK_FUNCTION(1, "USB_DRVVBUS"),
946 MTK_FUNCTION(2, "PWM_C"),
947 MTK_FUNCTION(3, "CLKM5")
949 MTK_PIN(
950 95, "GPIO95",
951 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
952 DRV_GRP3,
953 MTK_FUNCTION(0, "GPIO95"),
954 MTK_FUNCTION(1, "SDA2_0"),
955 MTK_FUNCTION(7, "AUXIF_ST0")
957 MTK_PIN(
958 96, "GPIO96",
959 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
960 DRV_GRP3,
961 MTK_FUNCTION(0, "GPIO96"),
962 MTK_FUNCTION(1, "SCL2_0"),
963 MTK_FUNCTION(7, "AUXIF_CLK0")
965 MTK_PIN(
966 97, "GPIO97",
967 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
968 DRV_GRP3,
969 MTK_FUNCTION(0, "GPIO97"),
970 MTK_FUNCTION(1, "URXD0"),
971 MTK_FUNCTION(2, "UTXD0"),
972 MTK_FUNCTION(3, "MD_URXD0"),
973 MTK_FUNCTION(4, "MD_URXD1"),
974 MTK_FUNCTION(5, "MD_URXD2"),
975 MTK_FUNCTION(6, "C2K_URXD0"),
976 MTK_FUNCTION(7, "C2K_URXD1")
978 MTK_PIN(
979 98, "GPIO98",
980 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
981 DRV_GRP3,
982 MTK_FUNCTION(0, "GPIO98"),
983 MTK_FUNCTION(1, "UTXD0"),
984 MTK_FUNCTION(2, "URXD0"),
985 MTK_FUNCTION(3, "MD_UTXD0"),
986 MTK_FUNCTION(4, "MD_UTXD1"),
987 MTK_FUNCTION(5, "MD_UTXD2"),
988 MTK_FUNCTION(6, "C2K_UTXD0"),
989 MTK_FUNCTION(7, "C2K_UTXD1")
991 MTK_PIN(
992 99, "GPIO99",
993 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
994 DRV_GRP3,
995 MTK_FUNCTION(0, "GPIO99"),
996 MTK_FUNCTION(1, "RTC32K_CK")
998 MTK_PIN(
999 100, "GPIO100",
1000 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1001 DRV_GRP3,
1002 MTK_FUNCTION(0, "GPIO100"),
1003 MTK_FUNCTION(1, "SRCLKENAI0")
1005 MTK_PIN(
1006 101, "GPIO101",
1007 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1008 DRV_GRP3,
1009 MTK_FUNCTION(0, "GPIO101"),
1010 MTK_FUNCTION(1, "SRCLKENAI1")
1012 MTK_PIN(
1013 102, "GPIO102",
1014 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1015 DRV_GRP3,
1016 MTK_FUNCTION(0, "GPIO102"),
1017 MTK_FUNCTION(1, "SRCLKENA0")
1019 MTK_PIN(
1020 103, "GPIO103",
1021 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1022 DRV_GRP3,
1023 MTK_FUNCTION(0, "GPIO103"),
1024 MTK_FUNCTION(1, "SRCLKENA1")
1026 MTK_PIN(
1027 104, "GPIO104",
1028 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1029 DRV_GRP3,
1030 MTK_FUNCTION(0, "GPIO104"),
1031 MTK_FUNCTION(1, "SYSRSTB")
1033 MTK_PIN(
1034 105, "GPIO105",
1035 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1036 DRV_GRP3,
1037 MTK_FUNCTION(0, "GPIO105"),
1038 MTK_FUNCTION(1, "WATCHDOG")
1040 MTK_PIN(
1041 106, "GPIO106",
1042 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1043 DRV_GRP3,
1044 MTK_FUNCTION(0, "GPIO106"),
1045 MTK_FUNCTION(1, "KPROW0"),
1046 MTK_FUNCTION(2, "CMFLASH"),
1047 MTK_FUNCTION(3, "CLKM4"),
1048 MTK_FUNCTION(4, "TP_GPIO0_AO"),
1049 MTK_FUNCTION(5, "IRTX_OUT")
1051 MTK_PIN(
1052 107, "GPIO107",
1053 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1054 DRV_GRP3,
1055 MTK_FUNCTION(0, "GPIO107"),
1056 MTK_FUNCTION(1, "KPROW1"),
1057 MTK_FUNCTION(2, "IDDIG"),
1058 MTK_FUNCTION(3, "CLKM5"),
1059 MTK_FUNCTION(4, "TP_GPIO1_AO"),
1060 MTK_FUNCTION(5, "I2S1_BCK"),
1061 MTK_FUNCTION(7, "DAP_SIB1_SWD")
1063 MTK_PIN(
1064 108, "GPIO108",
1065 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1066 DRV_GRP3,
1067 MTK_FUNCTION(0, "GPIO108"),
1068 MTK_FUNCTION(1, "KPROW2"),
1069 MTK_FUNCTION(2, "USB_DRVVBUS"),
1070 MTK_FUNCTION(3, "PWM_A"),
1071 MTK_FUNCTION(4, "CMFLASH"),
1072 MTK_FUNCTION(5, "I2S1_LRCK"),
1073 MTK_FUNCTION(7, "DAP_SIB1_SWCK")
1075 MTK_PIN(
1076 109, "GPIO109",
1077 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1078 DRV_GRP3,
1079 MTK_FUNCTION(0, "GPIO109"),
1080 MTK_FUNCTION(1, "KPCOL0")
1082 MTK_PIN(
1083 110, "GPIO110",
1084 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1085 DRV_GRP3,
1086 MTK_FUNCTION(0, "GPIO110"),
1087 MTK_FUNCTION(1, "KPCOL1"),
1088 MTK_FUNCTION(2, "SDA1_3"),
1089 MTK_FUNCTION(3, "PWM_B"),
1090 MTK_FUNCTION(4, "CLKM0"),
1091 MTK_FUNCTION(5, "I2S1_DO"),
1092 MTK_FUNCTION(7, "C2K_DM_EINT3")
1094 MTK_PIN(
1095 111, "GPIO111",
1096 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1097 DRV_GRP3,
1098 MTK_FUNCTION(0, "GPIO111"),
1099 MTK_FUNCTION(1, "KPCOL2"),
1100 MTK_FUNCTION(2, "SCL1_3"),
1101 MTK_FUNCTION(3, "PWM_C"),
1102 MTK_FUNCTION(4, "DISP_PWM"),
1103 MTK_FUNCTION(5, "I2S1_MCK"),
1104 MTK_FUNCTION(7, "C2K_DM_EINT2")
1106 MTK_PIN(
1107 112, "GPIO112",
1108 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1109 DRV_GRP3,
1110 MTK_FUNCTION(0, "GPIO112"),
1111 MTK_FUNCTION(1, "MD_INT1_C2K_UIM1_HOT_PLUG_IN"),
1112 MTK_FUNCTION(7, "C2K_DM_EINT1")
1114 MTK_PIN(
1115 113, "GPIO113",
1116 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1117 DRV_GRP3,
1118 MTK_FUNCTION(0, "GPIO113"),
1119 MTK_FUNCTION(1, "MD_INT0_C2K_UIM0_HOT_PLUG_IN"),
1120 MTK_FUNCTION(7, "C2K_DM_EINT0")
1122 MTK_PIN(
1123 114, "GPIO114",
1124 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1125 DRV_GRP3,
1126 MTK_FUNCTION(0, "GPIO114"),
1127 MTK_FUNCTION(1, "MSDC0_DAT0")
1129 MTK_PIN(
1130 115, "GPIO115",
1131 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1132 DRV_GRP3,
1133 MTK_FUNCTION(0, "GPIO115"),
1134 MTK_FUNCTION(1, "MSDC0_DAT1")
1136 MTK_PIN(
1137 116, "GPIO116",
1138 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1139 DRV_GRP3,
1140 MTK_FUNCTION(0, "GPIO116"),
1141 MTK_FUNCTION(1, "MSDC0_DAT2")
1143 MTK_PIN(
1144 117, "GPIO117",
1145 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1146 DRV_GRP3,
1147 MTK_FUNCTION(0, "GPIO117"),
1148 MTK_FUNCTION(1, "MSDC0_DAT3")
1150 MTK_PIN(
1151 118, "GPIO118",
1152 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1153 DRV_GRP3,
1154 MTK_FUNCTION(0, "GPIO118"),
1155 MTK_FUNCTION(1, "MSDC0_DAT4")
1157 MTK_PIN(
1158 119, "GPIO119",
1159 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1160 DRV_GRP3,
1161 MTK_FUNCTION(0, "GPIO119"),
1162 MTK_FUNCTION(1, "MSDC0_DAT5")
1164 MTK_PIN(
1165 120, "GPIO120",
1166 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1167 DRV_GRP3,
1168 MTK_FUNCTION(0, "GPIO120"),
1169 MTK_FUNCTION(1, "MSDC0_DAT6")
1171 MTK_PIN(
1172 121, "GPIO121",
1173 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1174 DRV_GRP3,
1175 MTK_FUNCTION(0, "GPIO121"),
1176 MTK_FUNCTION(1, "MSDC0_DAT7")
1178 MTK_PIN(
1179 122, "GPIO122",
1180 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1181 DRV_GRP3,
1182 MTK_FUNCTION(0, "GPIO122"),
1183 MTK_FUNCTION(1, "MSDC0_CMD")
1185 MTK_PIN(
1186 123, "GPIO123",
1187 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1188 DRV_GRP3,
1189 MTK_FUNCTION(0, "GPIO123"),
1190 MTK_FUNCTION(1, "MSDC0_CLK")
1192 MTK_PIN(
1193 124, "GPIO124",
1194 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1195 DRV_GRP3,
1196 MTK_FUNCTION(0, "GPIO124"),
1197 MTK_FUNCTION(1, "MSDC0_DSL")
1199 MTK_PIN(
1200 125, "GPIO125",
1201 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1202 DRV_GRP3,
1203 MTK_FUNCTION(0, "GPIO125"),
1204 MTK_FUNCTION(1, "MSDC0_RSTB")
1206 MTK_PIN(
1207 126, "GPIO126",
1208 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1209 DRV_GRP3,
1210 MTK_FUNCTION(0, "GPIO126"),
1211 MTK_FUNCTION(1, "MD1_SIM1_SCLK"),
1212 MTK_FUNCTION(2, "MD1_SIM2_SCLK"),
1213 MTK_FUNCTION(3, "C2K_UIM0_CLK"),
1214 MTK_FUNCTION(4, "C2K_UIM1_CLK")
1216 MTK_PIN(
1217 127, "GPIO127",
1218 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1219 DRV_GRP3,
1220 MTK_FUNCTION(0, "GPIO127"),
1221 MTK_FUNCTION(1, "MD1_SIM1_SRST"),
1222 MTK_FUNCTION(2, "MD1_SIM2_SRST"),
1223 MTK_FUNCTION(3, "C2K_UIM0_RST"),
1224 MTK_FUNCTION(4, "C2K_UIM1_RST")
1226 MTK_PIN(
1227 128, "GPIO128",
1228 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1229 DRV_GRP3,
1230 MTK_FUNCTION(0, "GPIO128"),
1231 MTK_FUNCTION(1, "MD1_SIM1_SIO"),
1232 MTK_FUNCTION(2, "MD1_SIM2_SIO"),
1233 MTK_FUNCTION(3, "C2K_UIM0_IO"),
1234 MTK_FUNCTION(4, "C2K_UIM1_IO")
1236 MTK_PIN(
1237 129, "GPIO129",
1238 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1239 DRV_GRP3,
1240 MTK_FUNCTION(0, "GPIO129"),
1241 MTK_FUNCTION(1, "MSDC1_CMD"),
1242 MTK_FUNCTION(2, "CONN_DSP_JMS"),
1243 MTK_FUNCTION(3, "LTE_JTAG_TMS"),
1244 MTK_FUNCTION(4, "UDI_TMS"),
1245 MTK_FUNCTION(5, "C2K_TMS")
1247 MTK_PIN(
1248 130, "GPIO130",
1249 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1250 DRV_GRP3,
1251 MTK_FUNCTION(0, "GPIO130"),
1252 MTK_FUNCTION(1, "MSDC1_DAT0"),
1253 MTK_FUNCTION(2, "CONN_DSP_JDI"),
1254 MTK_FUNCTION(3, "LTE_JTAG_TDI"),
1255 MTK_FUNCTION(4, "UDI_TDI"),
1256 MTK_FUNCTION(5, "C2K_TDI")
1258 MTK_PIN(
1259 131, "GPIO131",
1260 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1261 DRV_GRP3,
1262 MTK_FUNCTION(0, "GPIO131"),
1263 MTK_FUNCTION(1, "MSDC1_DAT1"),
1264 MTK_FUNCTION(2, "CONN_DSP_JDO"),
1265 MTK_FUNCTION(3, "LTE_JTAG_TDO"),
1266 MTK_FUNCTION(4, "UDI_TDO"),
1267 MTK_FUNCTION(5, "C2K_TDO")
1269 MTK_PIN(
1270 132, "GPIO132",
1271 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1272 DRV_GRP3,
1273 MTK_FUNCTION(0, "GPIO132"),
1274 MTK_FUNCTION(1, "MSDC1_DAT2"),
1275 MTK_FUNCTION(5, "C2K_RTCK")
1277 MTK_PIN(
1278 133, "GPIO133",
1279 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1280 DRV_GRP3,
1281 MTK_FUNCTION(0, "GPIO133"),
1282 MTK_FUNCTION(1, "MSDC1_DAT3"),
1283 MTK_FUNCTION(2, "CONN_DSP_JINTP"),
1284 MTK_FUNCTION(3, "LTE_JTAG_TRSTN"),
1285 MTK_FUNCTION(4, "UDI_NTRST"),
1286 MTK_FUNCTION(5, "C2K_NTRST")
1288 MTK_PIN(
1289 134, "GPIO134",
1290 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1291 DRV_GRP3,
1292 MTK_FUNCTION(0, "GPIO134"),
1293 MTK_FUNCTION(1, "MSDC1_CLK"),
1294 MTK_FUNCTION(2, "CONN_DSP_JCK"),
1295 MTK_FUNCTION(3, "LTE_JTAG_TCK"),
1296 MTK_FUNCTION(4, "UDI_TCK_XI"),
1297 MTK_FUNCTION(5, "C2K_TCK")
1299 MTK_PIN(
1300 135, "GPIO135",
1301 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1302 DRV_GRP3,
1303 MTK_FUNCTION(0, "GPIO135"),
1304 MTK_FUNCTION(1, "TDM_LRCK"),
1305 MTK_FUNCTION(2, "I2S0_LRCK"),
1306 MTK_FUNCTION(3, "CLKM0"),
1307 MTK_FUNCTION(4, "PCM1_SYNC"),
1308 MTK_FUNCTION(5, "PWM_A"),
1309 MTK_FUNCTION(7, "DBG_MON_A12")
1311 MTK_PIN(
1312 136, "GPIO136",
1313 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1314 DRV_GRP3,
1315 MTK_FUNCTION(0, "GPIO136"),
1316 MTK_FUNCTION(1, "TDM_BCK"),
1317 MTK_FUNCTION(2, "I2S0_BCK"),
1318 MTK_FUNCTION(3, "CLKM1"),
1319 MTK_FUNCTION(4, "PCM1_CLK"),
1320 MTK_FUNCTION(5, "PWM_B"),
1321 MTK_FUNCTION(7, "DBG_MON_A13")
1323 MTK_PIN(
1324 137, "GPIO137",
1325 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1326 DRV_GRP3,
1327 MTK_FUNCTION(0, "GPIO137"),
1328 MTK_FUNCTION(1, "TDM_MCK"),
1329 MTK_FUNCTION(2, "I2S0_MCK"),
1330 MTK_FUNCTION(3, "CLKM2"),
1331 MTK_FUNCTION(4, "PCM1_DI"),
1332 MTK_FUNCTION(5, "IRTX_OUT"),
1333 MTK_FUNCTION(7, "DBG_MON_A14")
1335 MTK_PIN(
1336 138, "GPIO138",
1337 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1338 DRV_GRP3,
1339 MTK_FUNCTION(0, "GPIO138"),
1340 MTK_FUNCTION(1, "TDM_DATA0"),
1341 MTK_FUNCTION(2, "I2S0_DI"),
1342 MTK_FUNCTION(3, "CLKM3"),
1343 MTK_FUNCTION(4, "PCM1_DO0"),
1344 MTK_FUNCTION(5, "PWM_C"),
1345 MTK_FUNCTION(6, "SDA3_1"),
1346 MTK_FUNCTION(7, "DBG_MON_A15")
1348 MTK_PIN(
1349 139, "GPIO139",
1350 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1351 DRV_GRP3,
1352 MTK_FUNCTION(0, "GPIO139"),
1353 MTK_FUNCTION(1, "TDM_DATA1"),
1354 MTK_FUNCTION(2, "I2S3_DO"),
1355 MTK_FUNCTION(3, "CLKM4"),
1356 MTK_FUNCTION(4, "PCM1_DO1"),
1357 MTK_FUNCTION(5, "ANT_SEL2"),
1358 MTK_FUNCTION(6, "SCL3_1"),
1359 MTK_FUNCTION(7, "DBG_MON_A16")
1361 MTK_PIN(
1362 140, "GPIO140",
1363 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1364 DRV_GRP3,
1365 MTK_FUNCTION(0, "GPIO140"),
1366 MTK_FUNCTION(1, "TDM_DATA2"),
1367 MTK_FUNCTION(2, "DISP_PWM"),
1368 MTK_FUNCTION(3, "CLKM5"),
1369 MTK_FUNCTION(4, "SDA1_4"),
1370 MTK_FUNCTION(5, "ANT_SEL1"),
1371 MTK_FUNCTION(6, "URXD3"),
1372 MTK_FUNCTION(7, "DBG_MON_A17")
1374 MTK_PIN(
1375 141, "GPIO141",
1376 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1377 DRV_GRP3,
1378 MTK_FUNCTION(0, "GPIO141"),
1379 MTK_FUNCTION(1, "TDM_DATA3"),
1380 MTK_FUNCTION(2, "CMFLASH"),
1381 MTK_FUNCTION(3, "IRTX_OUT"),
1382 MTK_FUNCTION(4, "SCL1_4"),
1383 MTK_FUNCTION(5, "ANT_SEL0"),
1384 MTK_FUNCTION(6, "UTXD3"),
1385 MTK_FUNCTION(7, "DBG_MON_A18")
1387 MTK_PIN(
1388 142, "GPIO142",
1389 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1390 DRV_GRP3,
1391 MTK_FUNCTION(0, "GPIO142"),
1392 MTK_FUNCTION(1, "PWRAP_SPI0_MI"),
1393 MTK_FUNCTION(2, "PWRAP_SPI0_MO")
1395 MTK_PIN(
1396 143, "GPIO143",
1397 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1398 DRV_GRP3,
1399 MTK_FUNCTION(0, "GPIO143"),
1400 MTK_FUNCTION(1, "PWRAP_SPI0_MO"),
1401 MTK_FUNCTION(2, "PWRAP_SPI0_MI")
1403 MTK_PIN(
1404 144, "GPIO144",
1405 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1406 DRV_GRP3,
1407 MTK_FUNCTION(0, "GPIO144"),
1408 MTK_FUNCTION(1, "PWRAP_SPI0_CK")
1410 MTK_PIN(
1411 145, "GPIO145",
1412 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1413 DRV_GRP3,
1414 MTK_FUNCTION(0, "GPIO145"),
1415 MTK_FUNCTION(1, "PWRAP_SPI0_CSN")
1417 MTK_PIN(
1418 146, "GPIO146",
1419 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1420 DRV_GRP3,
1421 MTK_FUNCTION(0, "GPIO146"),
1422 MTK_FUNCTION(1, "AUD_CLK_MOSI")
1424 MTK_PIN(
1425 147, "GPIO147",
1426 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1427 DRV_GRP3,
1428 MTK_FUNCTION(0, "GPIO147"),
1429 MTK_FUNCTION(1, "AUD_DAT_MISO"),
1430 MTK_FUNCTION(2, "AUD_DAT_MOSI"),
1431 MTK_FUNCTION(3, "VOW_DAT_MISO")
1433 MTK_PIN(
1434 148, "GPIO148",
1435 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1436 DRV_GRP3,
1437 MTK_FUNCTION(0, "GPIO148"),
1438 MTK_FUNCTION(1, "AUD_DAT_MOSI"),
1439 MTK_FUNCTION(2, "AUD_DAT_MISO")
1441 MTK_PIN(
1442 149, "GPIO149",
1443 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1444 DRV_GRP3,
1445 MTK_FUNCTION(0, "GPIO149"),
1446 MTK_FUNCTION(1, "VOW_CLK_MISO")
1448 MTK_PIN(
1449 150, "GPIO150",
1450 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1451 DRV_GRP3,
1452 MTK_FUNCTION(0, "GPIO150"),
1453 MTK_FUNCTION(1, "ANC_DAT_MOSI")
1455 MTK_PIN(
1456 151, "GPIO151",
1457 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1458 DRV_GRP3,
1459 MTK_FUNCTION(0, "GPIO151"),
1460 MTK_FUNCTION(1, "SCL6_0")
1462 MTK_PIN(
1463 152, "GPIO152",
1464 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1465 DRV_GRP3,
1466 MTK_FUNCTION(0, "GPIO152"),
1467 MTK_FUNCTION(1, "SDA6_0")
1469 MTK_PIN(
1470 153, "GPIO153",
1471 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1472 DRV_GRP3,
1473 MTK_FUNCTION(0, "GPIO153"),
1474 MTK_FUNCTION(1, "SCL7_0")
1476 MTK_PIN(
1477 154, "GPIO154",
1478 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1479 DRV_GRP3,
1480 MTK_FUNCTION(0, "GPIO154"),
1481 MTK_FUNCTION(1, "SDA7_0")
1483 MTK_PIN(
1484 155, "GPIO155",
1485 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1486 DRV_GRP3,
1487 MTK_FUNCTION(0, "GPIO155"),
1488 MTK_FUNCTION(1, "MD1_SIM2_SCLK"),
1489 MTK_FUNCTION(2, "MD1_SIM1_SCLK"),
1490 MTK_FUNCTION(3, "C2K_UIM0_CLK"),
1491 MTK_FUNCTION(4, "C2K_UIM1_CLK")
1493 MTK_PIN(
1494 156, "GPIO156",
1495 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1496 DRV_GRP3,
1497 MTK_FUNCTION(0, "GPIO156"),
1498 MTK_FUNCTION(1, "MD1_SIM2_SRST"),
1499 MTK_FUNCTION(2, "MD1_SIM1_SRST"),
1500 MTK_FUNCTION(3, "C2K_UIM0_RST"),
1501 MTK_FUNCTION(4, "C2K_UIM1_RST")
1503 MTK_PIN(
1504 157, "GPIO157",
1505 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1506 DRV_GRP3,
1507 MTK_FUNCTION(0, "GPIO157"),
1508 MTK_FUNCTION(1, "MD1_SIM2_SIO"),
1509 MTK_FUNCTION(2, "MD1_SIM1_SIO"),
1510 MTK_FUNCTION(3, "C2K_UIM0_IO"),
1511 MTK_FUNCTION(4, "C2K_UIM1_IO")
1513 MTK_PIN(
1514 158, "GPIO158",
1515 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1516 DRV_GRP3,
1517 MTK_FUNCTION(0, "GPIO158"),
1518 MTK_FUNCTION(1, "MIPI_TDP0")
1520 MTK_PIN(
1521 159, "GPIO159",
1522 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1523 DRV_GRP3,
1524 MTK_FUNCTION(0, "GPIO159"),
1525 MTK_FUNCTION(1, "MIPI_TDN0")
1527 MTK_PIN(
1528 160, "GPIO160",
1529 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1530 DRV_GRP3,
1531 MTK_FUNCTION(0, "GPIO160"),
1532 MTK_FUNCTION(1, "MIPI_TDP1")
1534 MTK_PIN(
1535 161, "GPIO161",
1536 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1537 DRV_GRP3,
1538 MTK_FUNCTION(0, "GPIO161"),
1539 MTK_FUNCTION(1, "MIPI_TDN1")
1541 MTK_PIN(
1542 162, "GPIO162",
1543 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1544 DRV_GRP3,
1545 MTK_FUNCTION(0, "GPIO162"),
1546 MTK_FUNCTION(1, "MIPI_TCP")
1548 MTK_PIN(
1549 163, "GPIO163",
1550 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1551 DRV_GRP3,
1552 MTK_FUNCTION(0, "GPIO163"),
1553 MTK_FUNCTION(1, "MIPI_TCN")
1555 MTK_PIN(
1556 164, "GPIO164",
1557 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1558 DRV_GRP3,
1559 MTK_FUNCTION(0, "GPIO164"),
1560 MTK_FUNCTION(1, "MIPI_TDP2")
1562 MTK_PIN(
1563 165, "GPIO165",
1564 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1565 DRV_GRP3,
1566 MTK_FUNCTION(0, "GPIO165"),
1567 MTK_FUNCTION(1, "MIPI_TDN2")
1569 MTK_PIN(
1570 166, "GPIO166",
1571 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1572 DRV_GRP3,
1573 MTK_FUNCTION(0, "GPIO166"),
1574 MTK_FUNCTION(1, "MIPI_TDP3")
1576 MTK_PIN(
1577 167, "GPIO167",
1578 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1579 DRV_GRP3,
1580 MTK_FUNCTION(0, "GPIO167"),
1581 MTK_FUNCTION(1, "MIPI_TDN3")
1583 MTK_PIN(
1584 168, "GPIO168",
1585 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1586 DRV_GRP3,
1587 MTK_FUNCTION(0, "GPIO168"),
1588 MTK_FUNCTION(1, "MIPI_TDP0_A")
1590 MTK_PIN(
1591 169, "GPIO169",
1592 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1593 DRV_GRP3,
1594 MTK_FUNCTION(0, "GPIO169"),
1595 MTK_FUNCTION(1, "MIPI_TDN0_A")
1597 MTK_PIN(
1598 170, "GPIO170",
1599 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1600 DRV_GRP3,
1601 MTK_FUNCTION(0, "GPIO170"),
1602 MTK_FUNCTION(1, "MIPI_TDP1_A")
1604 MTK_PIN(
1605 171, "GPIO171",
1606 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1607 DRV_GRP3,
1608 MTK_FUNCTION(0, "GPIO171"),
1609 MTK_FUNCTION(1, "MIPI_TDN1_A")
1611 MTK_PIN(
1612 172, "GPIO172",
1613 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1614 DRV_GRP3,
1615 MTK_FUNCTION(0, "GPIO172"),
1616 MTK_FUNCTION(1, "MIPI_TCP_A")
1618 MTK_PIN(
1619 173, "GPIO173",
1620 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1621 DRV_GRP3,
1622 MTK_FUNCTION(0, "GPIO173"),
1623 MTK_FUNCTION(1, "MIPI_TCN_A")
1625 MTK_PIN(
1626 174, "GPIO174",
1627 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1628 DRV_GRP3,
1629 MTK_FUNCTION(0, "GPIO174"),
1630 MTK_FUNCTION(1, "MIPI_TDP2_A")
1632 MTK_PIN(
1633 175, "GPIO175",
1634 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1635 DRV_GRP3,
1636 MTK_FUNCTION(0, "GPIO175"),
1637 MTK_FUNCTION(1, "MIPI_TDN2_A")
1639 MTK_PIN(
1640 176, "GPIO176",
1641 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1642 DRV_GRP3,
1643 MTK_FUNCTION(0, "GPIO176"),
1644 MTK_FUNCTION(1, "MIPI_TDP3_A")
1646 MTK_PIN(
1647 177, "GPIO177",
1648 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1649 DRV_GRP3,
1650 MTK_FUNCTION(0, "GPIO177"),
1651 MTK_FUNCTION(1, "MIPI_TDN3_A")
1653 MTK_PIN(
1654 178, "GPIO178",
1655 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1656 DRV_GRP3,
1657 MTK_FUNCTION(0, "GPIO178"),
1658 MTK_FUNCTION(1, "DISP_PWM"),
1659 MTK_FUNCTION(2, "PWM_D"),
1660 MTK_FUNCTION(3, "CLKM5"),
1661 MTK_FUNCTION(7, "DBG_MON_A19")
1663 MTK_PIN(
1664 179, "GPIO179",
1665 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1666 DRV_GRP3,
1667 MTK_FUNCTION(0, "GPIO179"),
1668 MTK_FUNCTION(1, "DSI_TE0"),
1669 MTK_FUNCTION(7, "DBG_MON_A20")
1671 MTK_PIN(
1672 180, "GPIO180",
1673 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1674 DRV_GRP3,
1675 MTK_FUNCTION(0, "GPIO180"),
1676 MTK_FUNCTION(1, "LCM_RST"),
1677 MTK_FUNCTION(2, "DSI_TE1"),
1678 MTK_FUNCTION(7, "DBG_MON_A21")
1680 MTK_PIN(
1681 181, "GPIO181",
1682 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1683 DRV_GRP3,
1684 MTK_FUNCTION(0, "GPIO181"),
1685 MTK_FUNCTION(1, "IDDIG"),
1686 MTK_FUNCTION(2, "DSI_TE1"),
1687 MTK_FUNCTION(7, "DBG_MON_A22")
1689 MTK_PIN(
1690 182, "GPIO182",
1691 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1692 DRV_GRP3,
1693 MTK_FUNCTION(0, "GPIO182"),
1694 MTK_FUNCTION(1, "TESTMODE")
1696 MTK_PIN(
1697 183, "GPIO183",
1698 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1699 DRV_GRP3,
1700 MTK_FUNCTION(0, "GPIO183"),
1701 MTK_FUNCTION(1, "RFIC0_BSI_CK"),
1702 MTK_FUNCTION(2, "SPM_BSI_CK"),
1703 MTK_FUNCTION(7, "DBG_MON_B27")
1705 MTK_PIN(
1706 184, "GPIO184",
1707 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1708 DRV_GRP3,
1709 MTK_FUNCTION(0, "GPIO184"),
1710 MTK_FUNCTION(1, "RFIC0_BSI_EN"),
1711 MTK_FUNCTION(2, "SPM_BSI_EN"),
1712 MTK_FUNCTION(7, "DBG_MON_B28")
1714 MTK_PIN(
1715 185, "GPIO185",
1716 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1717 DRV_GRP3,
1718 MTK_FUNCTION(0, "GPIO185"),
1719 MTK_FUNCTION(1, "RFIC0_BSI_D0"),
1720 MTK_FUNCTION(2, "SPM_BSI_D0"),
1721 MTK_FUNCTION(7, "DBG_MON_B29")
1723 MTK_PIN(
1724 186, "GPIO186",
1725 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1726 DRV_GRP3,
1727 MTK_FUNCTION(0, "GPIO186"),
1728 MTK_FUNCTION(1, "RFIC0_BSI_D1"),
1729 MTK_FUNCTION(2, "SPM_BSI_D1"),
1730 MTK_FUNCTION(7, "DBG_MON_B30")
1732 MTK_PIN(
1733 187, "GPIO187",
1734 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1735 DRV_GRP3,
1736 MTK_FUNCTION(0, "GPIO187"),
1737 MTK_FUNCTION(1, "RFIC0_BSI_D2"),
1738 MTK_FUNCTION(2, "SPM_BSI_D2"),
1739 MTK_FUNCTION(7, "DBG_MON_B31")
1741 MTK_PIN(
1742 188, "GPIO188",
1743 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1744 DRV_GRP3,
1745 MTK_FUNCTION(0, "GPIO188"),
1746 MTK_FUNCTION(1, "MIPI0_SCLK"),
1747 MTK_FUNCTION(7, "DBG_MON_B32")
1749 MTK_PIN(
1750 189, "GPIO189",
1751 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1752 DRV_GRP3,
1753 MTK_FUNCTION(0, "GPIO189"),
1754 MTK_FUNCTION(1, "MIPI0_SDATA")
1756 MTK_PIN(
1757 190, "GPIO190",
1758 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1759 DRV_GRP3,
1760 MTK_FUNCTION(0, "GPIO190"),
1761 MTK_FUNCTION(1, "MIPI1_SCLK")
1763 MTK_PIN(
1764 191, "GPIO191",
1765 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1766 DRV_GRP3,
1767 MTK_FUNCTION(0, "GPIO191"),
1768 MTK_FUNCTION(1, "MIPI1_SDATA")
1770 MTK_PIN(
1771 192, "GPIO192",
1772 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1773 DRV_GRP3,
1774 MTK_FUNCTION(0, "GPIO192"),
1775 MTK_FUNCTION(1, "BPI_BUS4")
1777 MTK_PIN(
1778 193, "GPIO193",
1779 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1780 DRV_GRP3,
1781 MTK_FUNCTION(0, "GPIO193"),
1782 MTK_FUNCTION(1, "BPI_BUS5"),
1783 MTK_FUNCTION(7, "DBG_MON_B0")
1785 MTK_PIN(
1786 194, "GPIO194",
1787 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1788 DRV_GRP3,
1789 MTK_FUNCTION(0, "GPIO194"),
1790 MTK_FUNCTION(1, "BPI_BUS6"),
1791 MTK_FUNCTION(7, "DBG_MON_B1")
1793 MTK_PIN(
1794 195, "GPIO195",
1795 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1796 DRV_GRP3,
1797 MTK_FUNCTION(0, "GPIO195"),
1798 MTK_FUNCTION(1, "BPI_BUS7"),
1799 MTK_FUNCTION(7, "DBG_MON_B2")
1801 MTK_PIN(
1802 196, "GPIO196",
1803 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1804 DRV_GRP3,
1805 MTK_FUNCTION(0, "GPIO196"),
1806 MTK_FUNCTION(1, "BPI_BUS8"),
1807 MTK_FUNCTION(7, "DBG_MON_B3")
1809 MTK_PIN(
1810 197, "GPIO197",
1811 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1812 DRV_GRP3,
1813 MTK_FUNCTION(0, "GPIO197"),
1814 MTK_FUNCTION(1, "BPI_BUS9"),
1815 MTK_FUNCTION(7, "DBG_MON_B4")
1817 MTK_PIN(
1818 198, "GPIO198",
1819 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1820 DRV_GRP3,
1821 MTK_FUNCTION(0, "GPIO198"),
1822 MTK_FUNCTION(1, "BPI_BUS10"),
1823 MTK_FUNCTION(7, "DBG_MON_B5")
1825 MTK_PIN(
1826 199, "GPIO199",
1827 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1828 DRV_GRP3,
1829 MTK_FUNCTION(0, "GPIO199"),
1830 MTK_FUNCTION(1, "BPI_BUS11"),
1831 MTK_FUNCTION(7, "DBG_MON_B6")
1833 MTK_PIN(
1834 200, "GPIO200",
1835 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1836 DRV_GRP3,
1837 MTK_FUNCTION(0, "GPIO200"),
1838 MTK_FUNCTION(1, "BPI_BUS12"),
1839 MTK_FUNCTION(7, "DBG_MON_B7")
1841 MTK_PIN(
1842 201, "GPIO201",
1843 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1844 DRV_GRP3,
1845 MTK_FUNCTION(0, "GPIO201"),
1846 MTK_FUNCTION(1, "BPI_BUS13"),
1847 MTK_FUNCTION(7, "DBG_MON_B8")
1849 MTK_PIN(
1850 202, "GPIO202",
1851 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1852 DRV_GRP3,
1853 MTK_FUNCTION(0, "GPIO202"),
1854 MTK_FUNCTION(1, "BPI_BUS14"),
1855 MTK_FUNCTION(7, "DBG_MON_B9")
1857 MTK_PIN(
1858 203, "GPIO203",
1859 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1860 DRV_GRP3,
1861 MTK_FUNCTION(0, "GPIO203"),
1862 MTK_FUNCTION(1, "BPI_BUS15"),
1863 MTK_FUNCTION(7, "DBG_MON_B10")
1865 MTK_PIN(
1866 204, "GPIO204",
1867 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1868 DRV_GRP3,
1869 MTK_FUNCTION(0, "GPIO204"),
1870 MTK_FUNCTION(1, "BPI_BUS16"),
1871 MTK_FUNCTION(2, "PA_VM0"),
1872 MTK_FUNCTION(7, "DBG_MON_B11")
1874 MTK_PIN(
1875 205, "GPIO205",
1876 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1877 DRV_GRP3,
1878 MTK_FUNCTION(0, "GPIO205"),
1879 MTK_FUNCTION(1, "BPI_BUS17"),
1880 MTK_FUNCTION(2, "PA_VM1"),
1881 MTK_FUNCTION(7, "DBG_MON_B12")
1883 MTK_PIN(
1884 206, "GPIO206",
1885 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1886 DRV_GRP3,
1887 MTK_FUNCTION(0, "GPIO206"),
1888 MTK_FUNCTION(1, "BPI_BUS18"),
1889 MTK_FUNCTION(2, "TX_SWAP0"),
1890 MTK_FUNCTION(7, "DBG_MON_B13")
1892 MTK_PIN(
1893 207, "GPIO207",
1894 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1895 DRV_GRP3,
1896 MTK_FUNCTION(0, "GPIO207"),
1897 MTK_FUNCTION(1, "BPI_BUS19"),
1898 MTK_FUNCTION(2, "TX_SWAP1"),
1899 MTK_FUNCTION(7, "DBG_MON_B14")
1901 MTK_PIN(
1902 208, "GPIO208",
1903 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1904 DRV_GRP3,
1905 MTK_FUNCTION(0, "GPIO208"),
1906 MTK_FUNCTION(1, "BPI_BUS20"),
1907 MTK_FUNCTION(2, "TX_SWAP2"),
1908 MTK_FUNCTION(7, "DBG_MON_B15")
1910 MTK_PIN(
1911 209, "GPIO209",
1912 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1913 DRV_GRP3,
1914 MTK_FUNCTION(0, "GPIO209"),
1915 MTK_FUNCTION(1, "BPI_BUS21"),
1916 MTK_FUNCTION(2, "TX_SWAP3"),
1917 MTK_FUNCTION(7, "DBG_MON_B16")
1919 MTK_PIN(
1920 210, "GPIO210",
1921 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1922 DRV_GRP3,
1923 MTK_FUNCTION(0, "GPIO210"),
1924 MTK_FUNCTION(1, "BPI_BUS22"),
1925 MTK_FUNCTION(2, "DET_BPI0"),
1926 MTK_FUNCTION(7, "DBG_MON_B17")
1928 MTK_PIN(
1929 211, "GPIO211",
1930 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1931 DRV_GRP3,
1932 MTK_FUNCTION(0, "GPIO211"),
1933 MTK_FUNCTION(1, "BPI_BUS23"),
1934 MTK_FUNCTION(2, "DET_BPI1"),
1935 MTK_FUNCTION(7, "DBG_MON_B18")
1937 MTK_PIN(
1938 212, "GPIO212",
1939 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1940 DRV_GRP3,
1941 MTK_FUNCTION(0, "GPIO212"),
1942 MTK_FUNCTION(1, "BPI_BUS0"),
1943 MTK_FUNCTION(7, "DBG_MON_B19")
1945 MTK_PIN(
1946 213, "GPIO213",
1947 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1948 DRV_GRP3,
1949 MTK_FUNCTION(0, "GPIO213"),
1950 MTK_FUNCTION(1, "BPI_BUS1"),
1951 MTK_FUNCTION(7, "DBG_MON_B20")
1953 MTK_PIN(
1954 214, "GPIO214",
1955 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1956 DRV_GRP3,
1957 MTK_FUNCTION(0, "GPIO214"),
1958 MTK_FUNCTION(1, "BPI_BUS2"),
1959 MTK_FUNCTION(7, "DBG_MON_B21")
1961 MTK_PIN(
1962 215, "GPIO215",
1963 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1964 DRV_GRP3,
1965 MTK_FUNCTION(0, "GPIO215"),
1966 MTK_FUNCTION(1, "BPI_BUS3"),
1967 MTK_FUNCTION(7, "DBG_MON_B22")
1969 MTK_PIN(
1970 216, "GPIO216",
1971 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1972 DRV_GRP3,
1973 MTK_FUNCTION(0, "GPIO216"),
1974 MTK_FUNCTION(1, "MIPI2_SCLK"),
1975 MTK_FUNCTION(7, "DBG_MON_B23")
1977 MTK_PIN(
1978 217, "GPIO217",
1979 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1980 DRV_GRP3,
1981 MTK_FUNCTION(0, "GPIO217"),
1982 MTK_FUNCTION(1, "MIPI2_SDATA"),
1983 MTK_FUNCTION(7, "DBG_MON_B24")
1985 MTK_PIN(
1986 218, "GPIO218",
1987 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1988 DRV_GRP3,
1989 MTK_FUNCTION(0, "GPIO218"),
1990 MTK_FUNCTION(1, "MIPI3_SCLK"),
1991 MTK_FUNCTION(7, "DBG_MON_B25")
1993 MTK_PIN(
1994 219, "GPIO219",
1995 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1996 DRV_GRP3,
1997 MTK_FUNCTION(0, "GPIO219"),
1998 MTK_FUNCTION(1, "MIPI3_SDATA"),
1999 MTK_FUNCTION(7, "DBG_MON_B26")
2001 MTK_PIN(
2002 220, "GPIO220",
2003 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
2004 DRV_GRP3,
2005 MTK_FUNCTION(0, "GPIO220"),
2006 MTK_FUNCTION(1, "CONN_WF_IP")
2008 MTK_PIN(
2009 221, "GPIO221",
2010 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
2011 DRV_GRP3,
2012 MTK_FUNCTION(0, "GPIO221"),
2013 MTK_FUNCTION(1, "CONN_WF_IN")
2015 MTK_PIN(
2016 222, "GPIO222",
2017 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
2018 DRV_GRP3,
2019 MTK_FUNCTION(0, "GPIO222"),
2020 MTK_FUNCTION(1, "CONN_WF_QP")
2022 MTK_PIN(
2023 223, "GPIO223",
2024 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
2025 DRV_GRP3,
2026 MTK_FUNCTION(0, "GPIO223"),
2027 MTK_FUNCTION(1, "CONN_WF_QN")
2029 MTK_PIN(
2030 224, "GPIO224",
2031 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
2032 DRV_GRP3,
2033 MTK_FUNCTION(0, "GPIO224"),
2034 MTK_FUNCTION(1, "CONN_BT_IP")
2036 MTK_PIN(
2037 225, "GPIO225",
2038 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
2039 DRV_GRP3,
2040 MTK_FUNCTION(0, "GPIO225"),
2041 MTK_FUNCTION(1, "CONN_BT_IN")
2043 MTK_PIN(
2044 226, "GPIO226",
2045 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
2046 DRV_GRP3,
2047 MTK_FUNCTION(0, "GPIO226"),
2048 MTK_FUNCTION(1, "CONN_BT_QP")
2050 MTK_PIN(
2051 227, "GPIO227",
2052 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
2053 DRV_GRP3,
2054 MTK_FUNCTION(0, "GPIO227"),
2055 MTK_FUNCTION(1, "CONN_BT_QN")
2057 MTK_PIN(
2058 228, "GPIO228",
2059 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
2060 DRV_GRP3,
2061 MTK_FUNCTION(0, "GPIO228"),
2062 MTK_FUNCTION(1, "CONN_GPS_IP")
2064 MTK_PIN(
2065 229, "GPIO229",
2066 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
2067 DRV_GRP3,
2068 MTK_FUNCTION(0, "GPIO229"),
2069 MTK_FUNCTION(1, "CONN_GPS_IN")
2071 MTK_PIN(
2072 230, "GPIO230",
2073 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
2074 DRV_GRP3,
2075 MTK_FUNCTION(0, "GPIO230"),
2076 MTK_FUNCTION(1, "CONN_GPS_QP")
2078 MTK_PIN(
2079 231, "GPIO231",
2080 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
2081 DRV_GRP3,
2082 MTK_FUNCTION(0, "GPIO231"),
2083 MTK_FUNCTION(1, "CONN_GPS_QN")
2085 MTK_PIN(
2086 232, "GPIO232",
2087 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
2088 DRV_GRP3,
2089 MTK_FUNCTION(0, "GPIO232"),
2090 MTK_FUNCTION(1, "URXD1"),
2091 MTK_FUNCTION(2, "UTXD1"),
2092 MTK_FUNCTION(3, "MD_URXD0"),
2093 MTK_FUNCTION(4, "MD_URXD1"),
2094 MTK_FUNCTION(5, "MD_URXD2"),
2095 MTK_FUNCTION(6, "C2K_URXD0"),
2096 MTK_FUNCTION(7, "C2K_URXD1")
2098 MTK_PIN(
2099 233, "GPIO233",
2100 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
2101 DRV_GRP3,
2102 MTK_FUNCTION(0, "GPIO233"),
2103 MTK_FUNCTION(1, "UTXD1"),
2104 MTK_FUNCTION(2, "URXD1"),
2105 MTK_FUNCTION(3, "MD_UTXD0"),
2106 MTK_FUNCTION(4, "MD_UTXD1"),
2107 MTK_FUNCTION(5, "MD_UTXD2"),
2108 MTK_FUNCTION(6, "C2K_UTXD0"),
2109 MTK_FUNCTION(7, "C2K_UTXD1")
2111 MTK_PIN(
2112 234, "GPIO234",
2113 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
2114 DRV_GRP3,
2115 MTK_FUNCTION(0, "GPIO234"),
2116 MTK_FUNCTION(1, "SPI1_CLK_B"),
2117 MTK_FUNCTION(2, "TP_UTXD1_AO"),
2118 MTK_FUNCTION(3, "SCL4_1"),
2119 MTK_FUNCTION(4, "UTXD0"),
2120 MTK_FUNCTION(6, "PWM_A"),
2121 MTK_FUNCTION(7, "DBG_MON_A23")
2123 MTK_PIN(
2124 235, "GPIO235",
2125 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
2126 DRV_GRP3,
2127 MTK_FUNCTION(0, "GPIO235"),
2128 MTK_FUNCTION(1, "SPI1_MI_B"),
2129 MTK_FUNCTION(2, "SPI1_MO_B"),
2130 MTK_FUNCTION(3, "SDA4_1"),
2131 MTK_FUNCTION(4, "URXD0"),
2132 MTK_FUNCTION(6, "CLKM0"),
2133 MTK_FUNCTION(7, "DBG_MON_A24")
2135 MTK_PIN(
2136 236, "GPIO236",
2137 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
2138 DRV_GRP3,
2139 MTK_FUNCTION(0, "GPIO236"),
2140 MTK_FUNCTION(1, "SPI1_MO_B"),
2141 MTK_FUNCTION(2, "SPI1_MI_B"),
2142 MTK_FUNCTION(3, "SCL5_1"),
2143 MTK_FUNCTION(4, "URTS0"),
2144 MTK_FUNCTION(6, "PWM_B"),
2145 MTK_FUNCTION(7, "DBG_MON_A25")
2147 MTK_PIN(
2148 237, "GPIO237",
2149 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
2150 DRV_GRP3,
2151 MTK_FUNCTION(0, "GPIO237"),
2152 MTK_FUNCTION(1, "SPI1_CS_B"),
2153 MTK_FUNCTION(2, "TP_URXD1_AO"),
2154 MTK_FUNCTION(3, "SDA5_1"),
2155 MTK_FUNCTION(4, "UCTS0"),
2156 MTK_FUNCTION(6, "CLKM1"),
2157 MTK_FUNCTION(7, "DBG_MON_A26")
2159 MTK_PIN(
2160 238, "GPIO238",
2161 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
2162 DRV_GRP3,
2163 MTK_FUNCTION(0, "GPIO238"),
2164 MTK_FUNCTION(1, "SDA4_0")
2166 MTK_PIN(
2167 239, "GPIO239",
2168 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
2169 DRV_GRP3,
2170 MTK_FUNCTION(0, "GPIO239"),
2171 MTK_FUNCTION(1, "SCL4_0")
2173 MTK_PIN(
2174 240, "GPIO240",
2175 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
2176 DRV_GRP3,
2177 MTK_FUNCTION(0, "GPIO240"),
2178 MTK_FUNCTION(1, "SDA5_0")
2180 MTK_PIN(
2181 241, "GPIO241",
2182 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
2183 DRV_GRP3,
2184 MTK_FUNCTION(0, "GPIO241"),
2185 MTK_FUNCTION(1, "SCL5_0")
2187 MTK_PIN(
2188 242, "GPIO242",
2189 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
2190 DRV_GRP3,
2191 MTK_FUNCTION(0, "GPIO242"),
2192 MTK_FUNCTION(1, "SPI2_CLK_B"),
2193 MTK_FUNCTION(2, "TP_UTXD2_AO"),
2194 MTK_FUNCTION(3, "SCL4_2"),
2195 MTK_FUNCTION(4, "UTXD1"),
2196 MTK_FUNCTION(5, "URTS3"),
2197 MTK_FUNCTION(6, "PWM_C"),
2198 MTK_FUNCTION(7, "DBG_MON_A27")
2200 MTK_PIN(
2201 243, "GPIO243",
2202 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
2203 DRV_GRP3,
2204 MTK_FUNCTION(0, "GPIO243"),
2205 MTK_FUNCTION(1, "SPI2_MI_B"),
2206 MTK_FUNCTION(2, "SPI2_MO_B"),
2207 MTK_FUNCTION(3, "SDA4_2"),
2208 MTK_FUNCTION(4, "URXD1"),
2209 MTK_FUNCTION(5, "UCTS3"),
2210 MTK_FUNCTION(6, "CLKM2"),
2211 MTK_FUNCTION(7, "DBG_MON_A28")
2213 MTK_PIN(
2214 244, "GPIO244",
2215 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
2216 DRV_GRP3,
2217 MTK_FUNCTION(0, "GPIO244"),
2218 MTK_FUNCTION(1, "SPI2_MO_B"),
2219 MTK_FUNCTION(2, "SPI2_MI_B"),
2220 MTK_FUNCTION(3, "SCL5_2"),
2221 MTK_FUNCTION(4, "URTS1"),
2222 MTK_FUNCTION(5, "UTXD3"),
2223 MTK_FUNCTION(6, "PWM_D"),
2224 MTK_FUNCTION(7, "DBG_MON_A29")
2226 MTK_PIN(
2227 245, "GPIO245",
2228 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
2229 DRV_GRP3,
2230 MTK_FUNCTION(0, "GPIO245"),
2231 MTK_FUNCTION(1, "SPI2_CS_B"),
2232 MTK_FUNCTION(2, "TP_URXD2_AO"),
2233 MTK_FUNCTION(3, "SDA5_2"),
2234 MTK_FUNCTION(4, "UCTS1"),
2235 MTK_FUNCTION(5, "URXD3"),
2236 MTK_FUNCTION(6, "CLKM3"),
2237 MTK_FUNCTION(7, "DBG_MON_A30")
2239 MTK_PIN(
2240 246, "GPIO246",
2241 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
2242 DRV_GRP3,
2243 MTK_FUNCTION(0, "GPIO246"),
2244 MTK_FUNCTION(1, "I2S1_LRCK"),
2245 MTK_FUNCTION(2, "I2S2_LRCK"),
2246 MTK_FUNCTION(3, "I2S0_LRCK"),
2247 MTK_FUNCTION(4, "I2S3_LRCK"),
2248 MTK_FUNCTION(5, "PCM0_SYNC"),
2249 MTK_FUNCTION(6, "SPI5_CLK_C"),
2250 MTK_FUNCTION(7, "DBG_MON_A31")
2252 MTK_PIN(
2253 247, "GPIO247",
2254 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
2255 DRV_GRP3,
2256 MTK_FUNCTION(0, "GPIO247"),
2257 MTK_FUNCTION(1, "I2S1_BCK"),
2258 MTK_FUNCTION(2, "I2S2_BCK"),
2259 MTK_FUNCTION(3, "I2S0_BCK"),
2260 MTK_FUNCTION(4, "I2S3_BCK"),
2261 MTK_FUNCTION(5, "PCM0_CLK"),
2262 MTK_FUNCTION(6, "SPI5_MI_C"),
2263 MTK_FUNCTION(7, "DBG_MON_A32")
2265 MTK_PIN(
2266 248, "GPIO248",
2267 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
2268 DRV_GRP3,
2269 MTK_FUNCTION(0, "GPIO248"),
2270 MTK_FUNCTION(1, "I2S2_DI"),
2271 MTK_FUNCTION(2, "I2S2_DI"),
2272 MTK_FUNCTION(3, "I2S0_DI"),
2273 MTK_FUNCTION(4, "I2S0_DI"),
2274 MTK_FUNCTION(5, "PCM0_DI"),
2275 MTK_FUNCTION(6, "SPI5_CS_C")
2277 MTK_PIN(
2278 249, "GPIO249",
2279 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
2280 DRV_GRP3,
2281 MTK_FUNCTION(0, "GPIO249"),
2282 MTK_FUNCTION(1, "I2S1_DO"),
2283 MTK_FUNCTION(2, "I2S1_DO"),
2284 MTK_FUNCTION(3, "I2S3_DO"),
2285 MTK_FUNCTION(4, "I2S3_DO"),
2286 MTK_FUNCTION(5, "PCM0_DO"),
2287 MTK_FUNCTION(6, "SPI5_MO_C"),
2288 MTK_FUNCTION(7, "TRAP_SRAM_PWR_BYPASS")
2290 MTK_PIN(
2291 250, "GPIO250",
2292 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
2293 DRV_GRP3,
2294 MTK_FUNCTION(0, "GPIO250"),
2295 MTK_FUNCTION(1, "SPI3_MI"),
2296 MTK_FUNCTION(2, "SPI3_MO"),
2297 MTK_FUNCTION(3, "IRTX_OUT"),
2298 MTK_FUNCTION(6, "TP_URXD1_AO"),
2299 MTK_FUNCTION(7, "DROP_ZONE")
2301 MTK_PIN(
2302 251, "GPIO251",
2303 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
2304 DRV_GRP3,
2305 MTK_FUNCTION(0, "GPIO251"),
2306 MTK_FUNCTION(1, "SPI3_MO"),
2307 MTK_FUNCTION(2, "SPI3_MI"),
2308 MTK_FUNCTION(3, "CMFLASH"),
2309 MTK_FUNCTION(6, "TP_UTXD1_AO"),
2310 MTK_FUNCTION(7, "C2K_RTCK")
2312 MTK_PIN(
2313 252, "GPIO252",
2314 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
2315 DRV_GRP3,
2316 MTK_FUNCTION(0, "GPIO252"),
2317 MTK_FUNCTION(1, "SPI3_CLK"),
2318 MTK_FUNCTION(2, "SCL0_4"),
2319 MTK_FUNCTION(3, "PWM_D"),
2320 MTK_FUNCTION(7, "C2K_TMS")
2322 MTK_PIN(
2323 253, "GPIO253",
2324 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
2325 DRV_GRP3,
2326 MTK_FUNCTION(0, "GPIO253"),
2327 MTK_FUNCTION(1, "SPI3_CS"),
2328 MTK_FUNCTION(2, "SDA0_4"),
2329 MTK_FUNCTION(3, "PWM_A"),
2330 MTK_FUNCTION(7, "C2K_TCK")
2332 MTK_PIN(
2333 254, "GPIO254",
2334 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
2335 DRV_GRP3,
2336 MTK_FUNCTION(0, "GPIO254"),
2337 MTK_FUNCTION(1, "I2S1_MCK"),
2338 MTK_FUNCTION(2, "I2S2_MCK"),
2339 MTK_FUNCTION(3, "I2S0_MCK"),
2340 MTK_FUNCTION(4, "I2S3_MCK"),
2341 MTK_FUNCTION(5, "CLKM0"),
2342 MTK_FUNCTION(7, "C2K_TDI")
2344 MTK_PIN(
2345 255, "GPIO255",
2346 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
2347 DRV_GRP3,
2348 MTK_FUNCTION(0, "GPIO255"),
2349 MTK_FUNCTION(1, "CLKM1"),
2350 MTK_FUNCTION(2, "DISP_PWM"),
2351 MTK_FUNCTION(3, "PWM_B"),
2352 MTK_FUNCTION(6, "TP_GPIO1_AO"),
2353 MTK_FUNCTION(7, "C2K_TDO")
2355 MTK_PIN(
2356 256, "GPIO256",
2357 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
2358 DRV_GRP3,
2359 MTK_FUNCTION(0, "GPIO256"),
2360 MTK_FUNCTION(1, "CLKM2"),
2361 MTK_FUNCTION(2, "IRTX_OUT"),
2362 MTK_FUNCTION(3, "PWM_C"),
2363 MTK_FUNCTION(6, "TP_GPIO0_AO"),
2364 MTK_FUNCTION(7, "C2K_NTRST")
2366 MTK_PIN(
2367 257, "GPIO257",
2368 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
2369 DRV_GRP3,
2370 MTK_FUNCTION(0, "GPIO257"),
2371 MTK_FUNCTION(1, "IO_JTAG_TMS"),
2372 MTK_FUNCTION(2, "LTE_JTAG_TMS"),
2373 MTK_FUNCTION(3, "DFD_TMS"),
2374 MTK_FUNCTION(4, "DAP_SIB1_SWD"),
2375 MTK_FUNCTION(5, "ANC_JTAG_TMS"),
2376 MTK_FUNCTION(6, "SCP_JTAG_TMS"),
2377 MTK_FUNCTION(7, "C2K_DM_OTMS")
2379 MTK_PIN(
2380 258, "GPIO258",
2381 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
2382 DRV_GRP3,
2383 MTK_FUNCTION(0, "GPIO258"),
2384 MTK_FUNCTION(1, "IO_JTAG_TCK"),
2385 MTK_FUNCTION(2, "LTE_JTAG_TCK"),
2386 MTK_FUNCTION(3, "DFD_TCK_XI"),
2387 MTK_FUNCTION(4, "DAP_SIB1_SWCK"),
2388 MTK_FUNCTION(5, "ANC_JTAG_TCK"),
2389 MTK_FUNCTION(6, "SCP_JTAG_TCK"),
2390 MTK_FUNCTION(7, "C2K_DM_OTCK")
2392 MTK_PIN(
2393 259, "GPIO259",
2394 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
2395 DRV_GRP3,
2396 MTK_FUNCTION(0, "GPIO259"),
2397 MTK_FUNCTION(1, "IO_JTAG_TDI"),
2398 MTK_FUNCTION(2, "LTE_JTAG_TDI"),
2399 MTK_FUNCTION(3, "DFD_TDI"),
2400 MTK_FUNCTION(5, "ANC_JTAG_TDI"),
2401 MTK_FUNCTION(6, "SCP_JTAG_TDI"),
2402 MTK_FUNCTION(7, "C2K_DM_OTDI")
2404 MTK_PIN(
2405 260, "GPIO260",
2406 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
2407 DRV_GRP3,
2408 MTK_FUNCTION(0, "GPIO260"),
2409 MTK_FUNCTION(1, "IO_JTAG_TDO"),
2410 MTK_FUNCTION(2, "LTE_JTAG_TDO"),
2411 MTK_FUNCTION(3, "DFD_TDO"),
2412 MTK_FUNCTION(5, "ANC_JTAG_TDO"),
2413 MTK_FUNCTION(6, "SCP_JTAG_TDO"),
2414 MTK_FUNCTION(7, "C2K_DM_OTDO")
2416 MTK_PIN(
2417 261, "GPIO261",
2418 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
2419 DRV_GRP3,
2420 MTK_FUNCTION(0, "GPIO261"),
2421 MTK_FUNCTION(2, "LTE_JTAG_TRSTN"),
2422 MTK_FUNCTION(3, "DFD_NTRST"),
2423 MTK_FUNCTION(5, "ANC_JTAG_TRSTN"),
2424 MTK_FUNCTION(6, "SCP_JTAG_TRSTN"),
2425 MTK_FUNCTION(7, "C2K_DM_JTINTP")
2429 #endif /* __PINCTRL_MTK_MT6797_H */