Merge tag 'block-5.11-2021-01-10' of git://git.kernel.dk/linux-block
[linux/fpc-iii.git] / drivers / pinctrl / mediatek / pinctrl-mtk-mt8192.h
blob071162141376853cacda43fd0e89255fc2a577fa
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * Copyright (C) 2019 MediaTek Inc.
4 * Author: Andy Teng <andy.teng@mediatek.com>
6 */
8 #ifndef __PINCTRL_MTK_MT8192_H
9 #define __PINCTRL_MTK_MT8192_H
11 #include "pinctrl-paris.h"
13 static const struct mtk_pin_desc mtk_pins_mt8192[] = {
14 MTK_PIN(
15 0, "GPIO0",
16 MTK_EINT_FUNCTION(0, 0),
17 DRV_GRP4,
18 MTK_FUNCTION(0, "GPIO0"),
19 MTK_FUNCTION(1, "SPI6_CLK"),
20 MTK_FUNCTION(2, "I2S5_MCK"),
21 MTK_FUNCTION(3, "PWM_0"),
22 MTK_FUNCTION(4, "TDM_LRCK"),
23 MTK_FUNCTION(5, "TP_GPIO0_AO"),
24 MTK_FUNCTION(6, "MD_INT0")
26 MTK_PIN(
27 1, "GPIO1",
28 MTK_EINT_FUNCTION(0, 1),
29 DRV_GRP4,
30 MTK_FUNCTION(0, "GPIO1"),
31 MTK_FUNCTION(1, "SPI6_CSB"),
32 MTK_FUNCTION(2, "I2S5_BCK"),
33 MTK_FUNCTION(3, "PWM_1"),
34 MTK_FUNCTION(4, "TDM_BCK"),
35 MTK_FUNCTION(5, "TP_GPIO1_AO"),
36 MTK_FUNCTION(6, "MD_INT1_C2K_UIM0_HOT_PLUG"),
37 MTK_FUNCTION(7, "DBG_MON_A9")
39 MTK_PIN(
40 2, "GPIO2",
41 MTK_EINT_FUNCTION(0, 2),
42 DRV_GRP4,
43 MTK_FUNCTION(0, "GPIO2"),
44 MTK_FUNCTION(1, "SPI6_MI"),
45 MTK_FUNCTION(2, "I2S5_LRCK"),
46 MTK_FUNCTION(3, "PWM_2"),
47 MTK_FUNCTION(4, "TDM_MCK"),
48 MTK_FUNCTION(5, "TP_GPIO2_AO"),
49 MTK_FUNCTION(6, "MD_INT2_C2K_UIM1_HOT_PLUG"),
50 MTK_FUNCTION(7, "DBG_MON_A10")
52 MTK_PIN(
53 3, "GPIO3",
54 MTK_EINT_FUNCTION(0, 3),
55 DRV_GRP4,
56 MTK_FUNCTION(0, "GPIO3"),
57 MTK_FUNCTION(1, "SPI6_MO"),
58 MTK_FUNCTION(2, "I2S5_DO"),
59 MTK_FUNCTION(3, "PWM_3"),
60 MTK_FUNCTION(4, "TDM_DATA0"),
61 MTK_FUNCTION(5, "TP_GPIO3_AO"),
62 MTK_FUNCTION(6, "CLKM0"),
63 MTK_FUNCTION(7, "DBG_MON_A11")
65 MTK_PIN(
66 4, "GPIO4",
67 MTK_EINT_FUNCTION(0, 4),
68 DRV_GRP4,
69 MTK_FUNCTION(0, "GPIO4"),
70 MTK_FUNCTION(1, "SPI4_A_CLK"),
71 MTK_FUNCTION(2, "I2S2_MCK"),
72 MTK_FUNCTION(3, "DMIC1_CLK"),
73 MTK_FUNCTION(4, "TDM_DATA1"),
74 MTK_FUNCTION(5, "TP_GPIO4_AO"),
75 MTK_FUNCTION(6, "PCM1_DI"),
76 MTK_FUNCTION(7, "IDDIG")
78 MTK_PIN(
79 5, "GPIO5",
80 MTK_EINT_FUNCTION(0, 5),
81 DRV_GRP4,
82 MTK_FUNCTION(0, "GPIO5"),
83 MTK_FUNCTION(1, "SPI4_A_CSB"),
84 MTK_FUNCTION(2, "I2S2_BCK"),
85 MTK_FUNCTION(3, "DMIC1_DAT"),
86 MTK_FUNCTION(4, "TDM_DATA2"),
87 MTK_FUNCTION(5, "TP_GPIO5_AO"),
88 MTK_FUNCTION(6, "PCM1_CLK"),
89 MTK_FUNCTION(7, "USB_DRVVBUS")
91 MTK_PIN(
92 6, "GPIO6",
93 MTK_EINT_FUNCTION(0, 6),
94 DRV_GRP4,
95 MTK_FUNCTION(0, "GPIO6"),
96 MTK_FUNCTION(1, "SPI4_A_MI"),
97 MTK_FUNCTION(2, "I2S2_LRCK"),
98 MTK_FUNCTION(3, "DMIC_CLK"),
99 MTK_FUNCTION(4, "TDM_DATA3"),
100 MTK_FUNCTION(5, "TP_GPIO6_AO"),
101 MTK_FUNCTION(6, "PCM1_SYNC")
103 MTK_PIN(
104 7, "GPIO7",
105 MTK_EINT_FUNCTION(0, 7),
106 DRV_GRP4,
107 MTK_FUNCTION(0, "GPIO7"),
108 MTK_FUNCTION(1, "SPI4_A_MO"),
109 MTK_FUNCTION(2, "I2S2_DI"),
110 MTK_FUNCTION(3, "DMIC_DAT"),
111 MTK_FUNCTION(4, "WIFI_TXD"),
112 MTK_FUNCTION(5, "TP_GPIO7_AO"),
113 MTK_FUNCTION(6, "PCM1_DO0")
115 MTK_PIN(
116 8, "GPIO8",
117 MTK_EINT_FUNCTION(0, 8),
118 DRV_GRP4,
119 MTK_FUNCTION(0, "GPIO8"),
120 MTK_FUNCTION(1, "SRCLKENAI1"),
121 MTK_FUNCTION(2, "I2S2_DI2"),
122 MTK_FUNCTION(3, "KPCOL2"),
123 MTK_FUNCTION(4, "CONN_TCXOENA_REQ"),
124 MTK_FUNCTION(5, "CLKM1"),
125 MTK_FUNCTION(6, "PCM1_DO1"),
126 MTK_FUNCTION(7, "DBG_MON_A12")
128 MTK_PIN(
129 9, "GPIO9",
130 MTK_EINT_FUNCTION(0, 9),
131 DRV_GRP4,
132 MTK_FUNCTION(0, "GPIO9"),
133 MTK_FUNCTION(1, "SRCLKENAI0"),
134 MTK_FUNCTION(2, "DVFSRC_EXT_REQ"),
135 MTK_FUNCTION(3, "KPROW2"),
136 MTK_FUNCTION(4, "CMMCLK4"),
137 MTK_FUNCTION(5, "CLKM3"),
138 MTK_FUNCTION(6, "PCM1_DO2"),
139 MTK_FUNCTION(7, "DBG_MON_A13")
141 MTK_PIN(
142 10, "GPIO10",
143 MTK_EINT_FUNCTION(0, 10),
144 DRV_GRP4,
145 MTK_FUNCTION(0, "GPIO10"),
146 MTK_FUNCTION(1, "MSDC2_CLK"),
147 MTK_FUNCTION(2, "SPI4_B_CLK"),
148 MTK_FUNCTION(3, "I2S8_MCK"),
149 MTK_FUNCTION(5, "MD_INT0"),
150 MTK_FUNCTION(6, "TP_GPIO8_AO")
152 MTK_PIN(
153 11, "GPIO11",
154 MTK_EINT_FUNCTION(0, 11),
155 DRV_GRP4,
156 MTK_FUNCTION(0, "GPIO11"),
157 MTK_FUNCTION(1, "MSDC2_CMD"),
158 MTK_FUNCTION(2, "SPI4_B_CSB"),
159 MTK_FUNCTION(3, "I2S8_BCK"),
160 MTK_FUNCTION(4, "PCIE_CLKREQ_N"),
161 MTK_FUNCTION(5, "MD_INT1_C2K_UIM0_HOT_PLUG"),
162 MTK_FUNCTION(6, "TP_GPIO9_AO")
164 MTK_PIN(
165 12, "GPIO12",
166 MTK_EINT_FUNCTION(0, 12),
167 DRV_GRP4,
168 MTK_FUNCTION(0, "GPIO12"),
169 MTK_FUNCTION(1, "MSDC2_DAT3"),
170 MTK_FUNCTION(2, "SPI4_B_MI"),
171 MTK_FUNCTION(3, "I2S8_LRCK"),
172 MTK_FUNCTION(4, "DMIC1_CLK"),
173 MTK_FUNCTION(5, "MD_INT2_C2K_UIM1_HOT_PLUG"),
174 MTK_FUNCTION(6, "TP_GPIO10_AO")
176 MTK_PIN(
177 13, "GPIO13",
178 MTK_EINT_FUNCTION(0, 13),
179 DRV_GRP4,
180 MTK_FUNCTION(0, "GPIO13"),
181 MTK_FUNCTION(1, "MSDC2_DAT0"),
182 MTK_FUNCTION(2, "SPI4_B_MO"),
183 MTK_FUNCTION(3, "I2S8_DI"),
184 MTK_FUNCTION(4, "DMIC1_DAT"),
185 MTK_FUNCTION(5, "ANT_SEL10"),
186 MTK_FUNCTION(6, "TP_GPIO11_AO")
188 MTK_PIN(
189 14, "GPIO14",
190 MTK_EINT_FUNCTION(0, 14),
191 DRV_GRP4,
192 MTK_FUNCTION(0, "GPIO14"),
193 MTK_FUNCTION(1, "MSDC2_DAT2"),
194 MTK_FUNCTION(2, "IDDIG"),
195 MTK_FUNCTION(3, "SCL_6306"),
196 MTK_FUNCTION(4, "PCIE_PERESET_N"),
197 MTK_FUNCTION(5, "ANT_SEL11"),
198 MTK_FUNCTION(6, "TP_GPIO12_AO")
200 MTK_PIN(
201 15, "GPIO15",
202 MTK_EINT_FUNCTION(0, 15),
203 DRV_GRP4,
204 MTK_FUNCTION(0, "GPIO15"),
205 MTK_FUNCTION(1, "MSDC2_DAT1"),
206 MTK_FUNCTION(2, "USB_DRVVBUS"),
207 MTK_FUNCTION(3, "SDA_6306"),
208 MTK_FUNCTION(4, "PCIE_WAKE_N"),
209 MTK_FUNCTION(5, "ANT_SEL12"),
210 MTK_FUNCTION(6, "TP_GPIO13_AO")
212 MTK_PIN(
213 16, "GPIO16",
214 MTK_EINT_FUNCTION(0, 16),
215 DRV_GRP4,
216 MTK_FUNCTION(0, "GPIO16"),
217 MTK_FUNCTION(1, "SRCLKENAI1"),
218 MTK_FUNCTION(2, "IDDIG"),
219 MTK_FUNCTION(3, "TP_GPIO14_AO"),
220 MTK_FUNCTION(4, "KPCOL2"),
221 MTK_FUNCTION(5, "GPS_L1_ELNA_EN"),
222 MTK_FUNCTION(6, "SPI7_A_MI"),
223 MTK_FUNCTION(7, "DBG_MON_A0")
225 MTK_PIN(
226 17, "GPIO17",
227 MTK_EINT_FUNCTION(0, 17),
228 DRV_GRP4,
229 MTK_FUNCTION(0, "GPIO17"),
230 MTK_FUNCTION(1, "SRCLKENAI0"),
231 MTK_FUNCTION(2, "USB_DRVVBUS"),
232 MTK_FUNCTION(3, "TP_GPIO15_AO"),
233 MTK_FUNCTION(4, "KPROW2"),
234 MTK_FUNCTION(6, "SPI7_A_MO"),
235 MTK_FUNCTION(7, "DBG_MON_A1")
237 MTK_PIN(
238 18, "GPIO18",
239 MTK_EINT_FUNCTION(0, 18),
240 DRV_GRP4,
241 MTK_FUNCTION(0, "GPIO18"),
242 MTK_FUNCTION(1, "SRCLKENAI0"),
243 MTK_FUNCTION(2, "SPI4_C_MI"),
244 MTK_FUNCTION(3, "SPI1_B_MI"),
245 MTK_FUNCTION(4, "GPS_L1_ELNA_EN"),
246 MTK_FUNCTION(5, "ANT_SEL10"),
247 MTK_FUNCTION(6, "MD_INT0"),
248 MTK_FUNCTION(7, "DBG_MON_B2")
250 MTK_PIN(
251 19, "GPIO19",
252 MTK_EINT_FUNCTION(0, 19),
253 DRV_GRP4,
254 MTK_FUNCTION(0, "GPIO19"),
255 MTK_FUNCTION(1, "SRCLKENAI1"),
256 MTK_FUNCTION(2, "SPI4_C_MO"),
257 MTK_FUNCTION(3, "SPI1_B_MO"),
258 MTK_FUNCTION(5, "ANT_SEL11"),
259 MTK_FUNCTION(6, "MD_INT1_C2K_UIM0_HOT_PLUG"),
260 MTK_FUNCTION(7, "DBG_MON_B3")
262 MTK_PIN(
263 20, "GPIO20",
264 MTK_EINT_FUNCTION(0, 20),
265 DRV_GRP4,
266 MTK_FUNCTION(0, "GPIO20"),
267 MTK_FUNCTION(1, "SRCLKENAI0"),
268 MTK_FUNCTION(2, "SPI4_C_CLK"),
269 MTK_FUNCTION(3, "SPI1_B_CLK"),
270 MTK_FUNCTION(4, "PWM_3"),
271 MTK_FUNCTION(5, "ANT_SEL12"),
272 MTK_FUNCTION(6, "MD_INT2_C2K_UIM1_HOT_PLUG"),
273 MTK_FUNCTION(7, "DBG_MON_B4")
275 MTK_PIN(
276 21, "GPIO21",
277 MTK_EINT_FUNCTION(0, 21),
278 DRV_GRP4,
279 MTK_FUNCTION(0, "GPIO21"),
280 MTK_FUNCTION(2, "SPI4_C_CSB"),
281 MTK_FUNCTION(3, "SPI1_B_CSB"),
282 MTK_FUNCTION(6, "IDDIG"),
283 MTK_FUNCTION(7, "DBG_MON_B5")
285 MTK_PIN(
286 22, "GPIO22",
287 MTK_EINT_FUNCTION(0, 22),
288 DRV_GRP4,
289 MTK_FUNCTION(0, "GPIO22"),
290 MTK_FUNCTION(2, "SPI0_C_CLK"),
291 MTK_FUNCTION(3, "SPI7_B_CLK"),
292 MTK_FUNCTION(4, "I2S7_BCK"),
293 MTK_FUNCTION(5, "I2S9_BCK"),
294 MTK_FUNCTION(6, "SCL_6306")
296 MTK_PIN(
297 23, "GPIO23",
298 MTK_EINT_FUNCTION(0, 23),
299 DRV_GRP4,
300 MTK_FUNCTION(0, "GPIO23"),
301 MTK_FUNCTION(2, "SPI0_C_CSB"),
302 MTK_FUNCTION(3, "SPI7_B_CSB"),
303 MTK_FUNCTION(4, "I2S7_LRCK"),
304 MTK_FUNCTION(5, "I2S9_LRCK"),
305 MTK_FUNCTION(6, "SDA_6306")
307 MTK_PIN(
308 24, "GPIO24",
309 MTK_EINT_FUNCTION(0, 24),
310 DRV_GRP4,
311 MTK_FUNCTION(0, "GPIO24"),
312 MTK_FUNCTION(1, "SRCLKENAI1"),
313 MTK_FUNCTION(2, "SPI0_C_MI"),
314 MTK_FUNCTION(3, "SPI7_B_MI"),
315 MTK_FUNCTION(4, "I2S6_DI"),
316 MTK_FUNCTION(5, "I2S8_DI"),
317 MTK_FUNCTION(6, "SPINOR_CS")
319 MTK_PIN(
320 25, "GPIO25",
321 MTK_EINT_FUNCTION(0, 25),
322 DRV_GRP4,
323 MTK_FUNCTION(0, "GPIO25"),
324 MTK_FUNCTION(1, "SRCLKENAI0"),
325 MTK_FUNCTION(2, "SPI0_C_MO"),
326 MTK_FUNCTION(3, "SPI7_B_MO"),
327 MTK_FUNCTION(4, "I2S7_DO"),
328 MTK_FUNCTION(5, "I2S9_DO"),
329 MTK_FUNCTION(6, "SPINOR_CK")
331 MTK_PIN(
332 26, "GPIO26",
333 MTK_EINT_FUNCTION(0, 26),
334 DRV_GRP4,
335 MTK_FUNCTION(0, "GPIO26"),
336 MTK_FUNCTION(1, "PWM_2"),
337 MTK_FUNCTION(2, "CLKM0"),
338 MTK_FUNCTION(3, "USB_DRVVBUS"),
339 MTK_FUNCTION(4, "SPI5_C_MI"),
340 MTK_FUNCTION(5, "I2S9_BCK")
342 MTK_PIN(
343 27, "GPIO27",
344 MTK_EINT_FUNCTION(0, 27),
345 DRV_GRP4,
346 MTK_FUNCTION(0, "GPIO27"),
347 MTK_FUNCTION(1, "PWM_3"),
348 MTK_FUNCTION(2, "CLKM1"),
349 MTK_FUNCTION(4, "SPI5_C_MO"),
350 MTK_FUNCTION(5, "I2S9_LRCK"),
351 MTK_FUNCTION(6, "SPINOR_IO0")
353 MTK_PIN(
354 28, "GPIO28",
355 MTK_EINT_FUNCTION(0, 28),
356 DRV_GRP4,
357 MTK_FUNCTION(0, "GPIO28"),
358 MTK_FUNCTION(1, "PWM_0"),
359 MTK_FUNCTION(2, "CLKM2"),
360 MTK_FUNCTION(4, "SPI5_C_CSB"),
361 MTK_FUNCTION(5, "I2S9_MCK"),
362 MTK_FUNCTION(6, "SPINOR_IO1")
364 MTK_PIN(
365 29, "GPIO29",
366 MTK_EINT_FUNCTION(0, 29),
367 DRV_GRP4,
368 MTK_FUNCTION(0, "GPIO29"),
369 MTK_FUNCTION(1, "PWM_1"),
370 MTK_FUNCTION(2, "CLKM3"),
371 MTK_FUNCTION(4, "SPI5_C_CLK"),
372 MTK_FUNCTION(5, "I2S9_DO"),
373 MTK_FUNCTION(6, "SPINOR_IO2")
375 MTK_PIN(
376 30, "GPIO30",
377 MTK_EINT_FUNCTION(0, 30),
378 DRV_GRP4,
379 MTK_FUNCTION(0, "GPIO30"),
380 MTK_FUNCTION(1, "PWM_2"),
381 MTK_FUNCTION(2, "CLKM0"),
382 MTK_FUNCTION(3, "GPS_L1_ELNA_EN"),
383 MTK_FUNCTION(4, "I2S7_MCK"),
384 MTK_FUNCTION(5, "I2S9_MCK"),
385 MTK_FUNCTION(6, "SPINOR_IO3")
387 MTK_PIN(
388 31, "GPIO31",
389 MTK_EINT_FUNCTION(0, 31),
390 DRV_GRP4,
391 MTK_FUNCTION(0, "GPIO31"),
392 MTK_FUNCTION(1, "I2S3_MCK"),
393 MTK_FUNCTION(2, "I2S1_MCK"),
394 MTK_FUNCTION(3, "I2S5_MCK"),
395 MTK_FUNCTION(4, "SRCLKENAI0"),
396 MTK_FUNCTION(5, "I2S0_MCK")
398 MTK_PIN(
399 32, "GPIO32",
400 MTK_EINT_FUNCTION(0, 32),
401 DRV_GRP4,
402 MTK_FUNCTION(0, "GPIO32"),
403 MTK_FUNCTION(1, "I2S3_BCK"),
404 MTK_FUNCTION(2, "I2S1_BCK"),
405 MTK_FUNCTION(3, "I2S5_BCK"),
406 MTK_FUNCTION(4, "PCM0_CLK"),
407 MTK_FUNCTION(5, "I2S0_BCK")
409 MTK_PIN(
410 33, "GPIO33",
411 MTK_EINT_FUNCTION(0, 33),
412 DRV_GRP4,
413 MTK_FUNCTION(0, "GPIO33"),
414 MTK_FUNCTION(1, "I2S3_LRCK"),
415 MTK_FUNCTION(2, "I2S1_LRCK"),
416 MTK_FUNCTION(3, "I2S5_LRCK"),
417 MTK_FUNCTION(4, "PCM0_SYNC"),
418 MTK_FUNCTION(5, "I2S0_LRCK")
420 MTK_PIN(
421 34, "GPIO34",
422 MTK_EINT_FUNCTION(0, 34),
423 DRV_GRP4,
424 MTK_FUNCTION(0, "GPIO34"),
425 MTK_FUNCTION(1, "I2S0_DI"),
426 MTK_FUNCTION(2, "I2S2_DI"),
427 MTK_FUNCTION(3, "I2S2_DI2"),
428 MTK_FUNCTION(4, "PCM0_DI"),
429 MTK_FUNCTION(5, "I2S0_DI")
431 MTK_PIN(
432 35, "GPIO35",
433 MTK_EINT_FUNCTION(0, 35),
434 DRV_GRP4,
435 MTK_FUNCTION(0, "GPIO35"),
436 MTK_FUNCTION(1, "I2S3_DO"),
437 MTK_FUNCTION(2, "I2S1_DO"),
438 MTK_FUNCTION(3, "I2S5_DO"),
439 MTK_FUNCTION(4, "PCM0_DO")
441 MTK_PIN(
442 36, "GPIO36",
443 MTK_EINT_FUNCTION(0, 36),
444 DRV_GRP4,
445 MTK_FUNCTION(0, "GPIO36"),
446 MTK_FUNCTION(1, "SPI5_A_CLK"),
447 MTK_FUNCTION(2, "DMIC1_CLK"),
448 MTK_FUNCTION(4, "MD_URXD0"),
449 MTK_FUNCTION(5, "UCTS0"),
450 MTK_FUNCTION(6, "URXD1")
452 MTK_PIN(
453 37, "GPIO37",
454 MTK_EINT_FUNCTION(0, 37),
455 DRV_GRP4,
456 MTK_FUNCTION(0, "GPIO37"),
457 MTK_FUNCTION(1, "SPI5_A_CSB"),
458 MTK_FUNCTION(2, "DMIC1_DAT"),
459 MTK_FUNCTION(4, "MD_UTXD0"),
460 MTK_FUNCTION(5, "URTS0"),
461 MTK_FUNCTION(6, "UTXD1")
463 MTK_PIN(
464 38, "GPIO38",
465 MTK_EINT_FUNCTION(0, 38),
466 DRV_GRP4,
467 MTK_FUNCTION(0, "GPIO38"),
468 MTK_FUNCTION(1, "SPI5_A_MI"),
469 MTK_FUNCTION(2, "DMIC_CLK"),
470 MTK_FUNCTION(4, "MD_URXD1"),
471 MTK_FUNCTION(5, "URXD0"),
472 MTK_FUNCTION(6, "UCTS1")
474 MTK_PIN(
475 39, "GPIO39",
476 MTK_EINT_FUNCTION(0, 39),
477 DRV_GRP4,
478 MTK_FUNCTION(0, "GPIO39"),
479 MTK_FUNCTION(1, "SPI5_A_MO"),
480 MTK_FUNCTION(2, "DMIC_DAT"),
481 MTK_FUNCTION(4, "MD_UTXD1"),
482 MTK_FUNCTION(5, "UTXD0"),
483 MTK_FUNCTION(6, "URTS1")
485 MTK_PIN(
486 40, "GPIO40",
487 MTK_EINT_FUNCTION(0, 40),
488 DRV_GRP4,
489 MTK_FUNCTION(0, "GPIO40"),
490 MTK_FUNCTION(1, "DISP_PWM"),
491 MTK_FUNCTION(7, "DBG_MON_A6")
493 MTK_PIN(
494 41, "GPIO41",
495 MTK_EINT_FUNCTION(0, 41),
496 DRV_GRP4,
497 MTK_FUNCTION(0, "GPIO41"),
498 MTK_FUNCTION(1, "DSI_TE"),
499 MTK_FUNCTION(7, "DBG_MON_A7")
501 MTK_PIN(
502 42, "GPIO42",
503 MTK_EINT_FUNCTION(0, 42),
504 DRV_GRP4,
505 MTK_FUNCTION(0, "GPIO42"),
506 MTK_FUNCTION(1, "LCM_RST"),
507 MTK_FUNCTION(7, "DBG_MON_A8")
509 MTK_PIN(
510 43, "GPIO43",
511 MTK_EINT_FUNCTION(0, 43),
512 DRV_GRP4,
513 MTK_FUNCTION(0, "GPIO43"),
514 MTK_FUNCTION(1, "MD_INT1_C2K_UIM0_HOT_PLUG"),
515 MTK_FUNCTION(2, "MD_INT2_C2K_UIM1_HOT_PLUG"),
516 MTK_FUNCTION(3, "SCL_6306"),
517 MTK_FUNCTION(4, "ADSP_URXD0"),
518 MTK_FUNCTION(5, "PTA_RXD"),
519 MTK_FUNCTION(6, "SSPM_URXD_AO"),
520 MTK_FUNCTION(7, "DBG_MON_B0")
522 MTK_PIN(
523 44, "GPIO44",
524 MTK_EINT_FUNCTION(0, 44),
525 DRV_GRP4,
526 MTK_FUNCTION(0, "GPIO44"),
527 MTK_FUNCTION(1, "MD_INT2_C2K_UIM1_HOT_PLUG"),
528 MTK_FUNCTION(2, "MD_INT1_C2K_UIM0_HOT_PLUG"),
529 MTK_FUNCTION(3, "SDA_6306"),
530 MTK_FUNCTION(4, "ADSP_UTXD0"),
531 MTK_FUNCTION(5, "PTA_TXD"),
532 MTK_FUNCTION(6, "SSPM_UTXD_AO"),
533 MTK_FUNCTION(7, "DBG_MON_B1")
535 MTK_PIN(
536 45, "GPIO45",
537 MTK_EINT_FUNCTION(0, 45),
538 DRV_GRP0,
539 MTK_FUNCTION(0, "GPIO45"),
540 MTK_FUNCTION(1, "MD1_SIM2_SCLK"),
541 MTK_FUNCTION(2, "MD1_SIM1_SCLK"),
542 MTK_FUNCTION(3, "MCUPM_JTAG_TDI"),
543 MTK_FUNCTION(4, "APU_JTAG_TDI"),
544 MTK_FUNCTION(5, "CCU_JTAG_TDI"),
545 MTK_FUNCTION(6, "LVTS_SCK"),
546 MTK_FUNCTION(7, "CONN_DSP_JDI")
548 MTK_PIN(
549 46, "GPIO46",
550 MTK_EINT_FUNCTION(0, 46),
551 DRV_GRP0,
552 MTK_FUNCTION(0, "GPIO46"),
553 MTK_FUNCTION(1, "MD1_SIM2_SRST"),
554 MTK_FUNCTION(2, "MD1_SIM1_SRST"),
555 MTK_FUNCTION(3, "MCUPM_JTAG_TMS"),
556 MTK_FUNCTION(4, "APU_JTAG_TMS"),
557 MTK_FUNCTION(5, "CCU_JTAG_TMS"),
558 MTK_FUNCTION(6, "LVTS_SDI"),
559 MTK_FUNCTION(7, "CONN_DSP_JMS")
561 MTK_PIN(
562 47, "GPIO47",
563 MTK_EINT_FUNCTION(0, 47),
564 DRV_GRP0,
565 MTK_FUNCTION(0, "GPIO47"),
566 MTK_FUNCTION(1, "MD1_SIM2_SIO"),
567 MTK_FUNCTION(2, "MD1_SIM1_SIO"),
568 MTK_FUNCTION(3, "MCUPM_JTAG_TDO"),
569 MTK_FUNCTION(4, "APU_JTAG_TDO"),
570 MTK_FUNCTION(5, "CCU_JTAG_TDO"),
571 MTK_FUNCTION(6, "LVTS_SCF"),
572 MTK_FUNCTION(7, "CONN_DSP_JDO")
574 MTK_PIN(
575 48, "GPIO48",
576 MTK_EINT_FUNCTION(0, 48),
577 DRV_GRP0,
578 MTK_FUNCTION(0, "GPIO48"),
579 MTK_FUNCTION(1, "MD1_SIM1_SIO"),
580 MTK_FUNCTION(2, "MD1_SIM2_SIO"),
581 MTK_FUNCTION(3, "MCUPM_JTAG_TRSTN"),
582 MTK_FUNCTION(4, "APU_JTAG_TRST"),
583 MTK_FUNCTION(5, "CCU_JTAG_TRST"),
584 MTK_FUNCTION(6, "LVTS_FOUT"),
585 MTK_FUNCTION(7, "CONN_DSP_JINTP")
587 MTK_PIN(
588 49, "GPIO49",
589 MTK_EINT_FUNCTION(0, 49),
590 DRV_GRP0,
591 MTK_FUNCTION(0, "GPIO49"),
592 MTK_FUNCTION(1, "MD1_SIM1_SRST"),
593 MTK_FUNCTION(2, "MD1_SIM2_SRST"),
594 MTK_FUNCTION(3, "MCUPM_JTAG_TCK"),
595 MTK_FUNCTION(4, "APU_JTAG_TCK"),
596 MTK_FUNCTION(5, "CCU_JTAG_TCK"),
597 MTK_FUNCTION(6, "LVTS_SDO"),
598 MTK_FUNCTION(7, "CONN_DSP_JCK")
600 MTK_PIN(
601 50, "GPIO50",
602 MTK_EINT_FUNCTION(0, 50),
603 DRV_GRP0,
604 MTK_FUNCTION(0, "GPIO50"),
605 MTK_FUNCTION(1, "MD1_SIM1_SCLK"),
606 MTK_FUNCTION(2, "MD1_SIM2_SCLK"),
607 MTK_FUNCTION(6, "LVTS_26M")
609 MTK_PIN(
610 51, "GPIO51",
611 MTK_EINT_FUNCTION(0, 51),
612 DRV_GRP4,
613 MTK_FUNCTION(0, "GPIO51"),
614 MTK_FUNCTION(1, "MSDC1_CLK"),
615 MTK_FUNCTION(2, "PCM1_CLK"),
616 MTK_FUNCTION(3, "CONN_DSP_JCK"),
617 MTK_FUNCTION(4, "UDI_TCK"),
618 MTK_FUNCTION(5, "IPU_JTAG_TCK"),
619 MTK_FUNCTION(6, "SSPM_JTAG_TCK"),
620 MTK_FUNCTION(7, "JTCK_SEL3")
622 MTK_PIN(
623 52, "GPIO52",
624 MTK_EINT_FUNCTION(0, 52),
625 DRV_GRP4,
626 MTK_FUNCTION(0, "GPIO52"),
627 MTK_FUNCTION(1, "MSDC1_CMD"),
628 MTK_FUNCTION(2, "PCM1_SYNC"),
629 MTK_FUNCTION(3, "CONN_DSP_JMS"),
630 MTK_FUNCTION(4, "UDI_TMS"),
631 MTK_FUNCTION(5, "IPU_JTAG_TMS"),
632 MTK_FUNCTION(6, "SSPM_JTAG_TMS"),
633 MTK_FUNCTION(7, "JTMS_SEL3")
635 MTK_PIN(
636 53, "GPIO53",
637 MTK_EINT_FUNCTION(0, 53),
638 DRV_GRP4,
639 MTK_FUNCTION(0, "GPIO53"),
640 MTK_FUNCTION(1, "MSDC1_DAT3"),
641 MTK_FUNCTION(2, "PCM1_DI"),
642 MTK_FUNCTION(3, "CONN_DSP_JINTP"),
643 MTK_FUNCTION(4, "CONN_MCU_AICE_TMSC")
645 MTK_PIN(
646 54, "GPIO54",
647 MTK_EINT_FUNCTION(0, 54),
648 DRV_GRP4,
649 MTK_FUNCTION(0, "GPIO54"),
650 MTK_FUNCTION(1, "MSDC1_DAT0"),
651 MTK_FUNCTION(2, "PCM1_DO0"),
652 MTK_FUNCTION(3, "CONN_DSP_JDI"),
653 MTK_FUNCTION(4, "UDI_TDI"),
654 MTK_FUNCTION(5, "IPU_JTAG_TDI"),
655 MTK_FUNCTION(6, "SSPM_JTAG_TDI"),
656 MTK_FUNCTION(7, "JTDI_SEL3")
658 MTK_PIN(
659 55, "GPIO55",
660 MTK_EINT_FUNCTION(0, 55),
661 DRV_GRP4,
662 MTK_FUNCTION(0, "GPIO55"),
663 MTK_FUNCTION(1, "MSDC1_DAT2"),
664 MTK_FUNCTION(2, "PCM1_DO2"),
665 MTK_FUNCTION(3, "CONN_MCU_AICE_TCKC"),
666 MTK_FUNCTION(4, "UDI_NTRST"),
667 MTK_FUNCTION(5, "IPU_JTAG_TRST"),
668 MTK_FUNCTION(6, "SSPM_JTAG_TRSTN"),
669 MTK_FUNCTION(7, "JTRSTN_SEL3")
671 MTK_PIN(
672 56, "GPIO56",
673 MTK_EINT_FUNCTION(0, 56),
674 DRV_GRP4,
675 MTK_FUNCTION(0, "GPIO56"),
676 MTK_FUNCTION(1, "MSDC1_DAT1"),
677 MTK_FUNCTION(2, "PCM1_DO1"),
678 MTK_FUNCTION(3, "CONN_DSP_JDO"),
679 MTK_FUNCTION(4, "UDI_TDO"),
680 MTK_FUNCTION(5, "IPU_JTAG_TDO"),
681 MTK_FUNCTION(6, "SSPM_JTAG_TDO"),
682 MTK_FUNCTION(7, "JTDO_SEL3")
684 MTK_PIN(
685 57, "GPIO57",
686 MTK_EINT_FUNCTION(0, 57),
687 DRV_GRP4,
688 MTK_FUNCTION(0, "GPIO57"),
689 MTK_FUNCTION(1, "MIPI2_D_SCLK")
691 MTK_PIN(
692 58, "GPIO58",
693 MTK_EINT_FUNCTION(0, 58),
694 DRV_GRP4,
695 MTK_FUNCTION(0, "GPIO58"),
696 MTK_FUNCTION(1, "MIPI2_D_SDATA")
698 MTK_PIN(
699 59, "GPIO59",
700 MTK_EINT_FUNCTION(0, 59),
701 DRV_GRP4,
702 MTK_FUNCTION(0, "GPIO59"),
703 MTK_FUNCTION(1, "MIPI_M_SCLK")
705 MTK_PIN(
706 60, "GPIO60",
707 MTK_EINT_FUNCTION(0, 60),
708 DRV_GRP4,
709 MTK_FUNCTION(0, "GPIO60"),
710 MTK_FUNCTION(1, "MIPI_M_SDATA")
712 MTK_PIN(
713 61, "GPIO61",
714 MTK_EINT_FUNCTION(0, 61),
715 DRV_GRP4,
716 MTK_FUNCTION(0, "GPIO61"),
717 MTK_FUNCTION(1, "MD_UCNT_A_TGL")
719 MTK_PIN(
720 62, "GPIO62",
721 MTK_EINT_FUNCTION(0, 62),
722 DRV_GRP4,
723 MTK_FUNCTION(0, "GPIO62"),
724 MTK_FUNCTION(1, "DIGRF_IRQ")
726 MTK_PIN(
727 63, "GPIO63",
728 MTK_EINT_FUNCTION(0, 63),
729 DRV_GRP4,
730 MTK_FUNCTION(0, "GPIO63"),
731 MTK_FUNCTION(1, "BPI_BUS0"),
732 MTK_FUNCTION(3, "PCIE_WAKE_N")
734 MTK_PIN(
735 64, "GPIO64",
736 MTK_EINT_FUNCTION(0, 64),
737 DRV_GRP4,
738 MTK_FUNCTION(0, "GPIO64"),
739 MTK_FUNCTION(1, "BPI_BUS1"),
740 MTK_FUNCTION(3, "PCIE_PERESET_N")
742 MTK_PIN(
743 65, "GPIO65",
744 MTK_EINT_FUNCTION(0, 65),
745 DRV_GRP4,
746 MTK_FUNCTION(0, "GPIO65"),
747 MTK_FUNCTION(1, "BPI_BUS2"),
748 MTK_FUNCTION(3, "PCIE_CLKREQ_N")
750 MTK_PIN(
751 66, "GPIO66",
752 MTK_EINT_FUNCTION(0, 66),
753 DRV_GRP4,
754 MTK_FUNCTION(0, "GPIO66"),
755 MTK_FUNCTION(1, "BPI_BUS3")
757 MTK_PIN(
758 67, "GPIO67",
759 MTK_EINT_FUNCTION(0, 67),
760 DRV_GRP4,
761 MTK_FUNCTION(0, "GPIO67"),
762 MTK_FUNCTION(1, "BPI_BUS4")
764 MTK_PIN(
765 68, "GPIO68",
766 MTK_EINT_FUNCTION(0, 68),
767 DRV_GRP4,
768 MTK_FUNCTION(0, "GPIO68"),
769 MTK_FUNCTION(1, "BPI_BUS5")
771 MTK_PIN(
772 69, "GPIO69",
773 MTK_EINT_FUNCTION(0, 69),
774 DRV_GRP4,
775 MTK_FUNCTION(0, "GPIO69"),
776 MTK_FUNCTION(1, "BPI_BUS6"),
777 MTK_FUNCTION(2, "CONN_BPI_BUS6")
779 MTK_PIN(
780 70, "GPIO70",
781 MTK_EINT_FUNCTION(0, 70),
782 DRV_GRP4,
783 MTK_FUNCTION(0, "GPIO70"),
784 MTK_FUNCTION(1, "BPI_BUS7"),
785 MTK_FUNCTION(2, "CONN_BPI_BUS7")
787 MTK_PIN(
788 71, "GPIO71",
789 MTK_EINT_FUNCTION(0, 71),
790 DRV_GRP4,
791 MTK_FUNCTION(0, "GPIO71"),
792 MTK_FUNCTION(1, "BPI_BUS8"),
793 MTK_FUNCTION(2, "CONN_BPI_BUS8")
795 MTK_PIN(
796 72, "GPIO72",
797 MTK_EINT_FUNCTION(0, 72),
798 DRV_GRP4,
799 MTK_FUNCTION(0, "GPIO72"),
800 MTK_FUNCTION(1, "BPI_BUS9"),
801 MTK_FUNCTION(2, "CONN_BPI_BUS9")
803 MTK_PIN(
804 73, "GPIO73",
805 MTK_EINT_FUNCTION(0, 73),
806 DRV_GRP4,
807 MTK_FUNCTION(0, "GPIO73"),
808 MTK_FUNCTION(1, "BPI_BUS10"),
809 MTK_FUNCTION(2, "CONN_BPI_BUS10")
811 MTK_PIN(
812 74, "GPIO74",
813 MTK_EINT_FUNCTION(0, 74),
814 DRV_GRP4,
815 MTK_FUNCTION(0, "GPIO74"),
816 MTK_FUNCTION(1, "BPI_BUS11_OLAT0"),
817 MTK_FUNCTION(2, "CONN_BPI_BUS11_OLAT0")
819 MTK_PIN(
820 75, "GPIO75",
821 MTK_EINT_FUNCTION(0, 75),
822 DRV_GRP4,
823 MTK_FUNCTION(0, "GPIO75"),
824 MTK_FUNCTION(1, "BPI_BUS12_OLAT1"),
825 MTK_FUNCTION(2, "CONN_BPI_BUS12_OLAT1")
827 MTK_PIN(
828 76, "GPIO76",
829 MTK_EINT_FUNCTION(0, 76),
830 DRV_GRP4,
831 MTK_FUNCTION(0, "GPIO76"),
832 MTK_FUNCTION(1, "BPI_BUS13_OLAT2"),
833 MTK_FUNCTION(2, "CONN_BPI_BUS13_OLAT2")
835 MTK_PIN(
836 77, "GPIO77",
837 MTK_EINT_FUNCTION(0, 77),
838 DRV_GRP4,
839 MTK_FUNCTION(0, "GPIO77"),
840 MTK_FUNCTION(1, "BPI_BUS14_OLAT3"),
841 MTK_FUNCTION(2, "CONN_BPI_BUS14_OLAT3")
843 MTK_PIN(
844 78, "GPIO78",
845 MTK_EINT_FUNCTION(0, 78),
846 DRV_GRP4,
847 MTK_FUNCTION(0, "GPIO78"),
848 MTK_FUNCTION(1, "BPI_BUS15_OLAT4"),
849 MTK_FUNCTION(2, "CONN_BPI_BUS15_OLAT4")
851 MTK_PIN(
852 79, "GPIO79",
853 MTK_EINT_FUNCTION(0, 79),
854 DRV_GRP4,
855 MTK_FUNCTION(0, "GPIO79"),
856 MTK_FUNCTION(1, "BPI_BUS16_OLAT5"),
857 MTK_FUNCTION(2, "CONN_BPI_BUS16_OLAT5")
859 MTK_PIN(
860 80, "GPIO80",
861 MTK_EINT_FUNCTION(0, 80),
862 DRV_GRP4,
863 MTK_FUNCTION(0, "GPIO80"),
864 MTK_FUNCTION(1, "BPI_BUS17_ANT0"),
865 MTK_FUNCTION(2, "CONN_BPI_BUS17_ANT0"),
866 MTK_FUNCTION(3, "PCIE_WAKE_N")
868 MTK_PIN(
869 81, "GPIO81",
870 MTK_EINT_FUNCTION(0, 81),
871 DRV_GRP4,
872 MTK_FUNCTION(0, "GPIO81"),
873 MTK_FUNCTION(1, "BPI_BUS18_ANT1"),
874 MTK_FUNCTION(2, "CONN_BPI_BUS18_ANT1"),
875 MTK_FUNCTION(3, "PCIE_PERESET_N")
877 MTK_PIN(
878 82, "GPIO82",
879 MTK_EINT_FUNCTION(0, 82),
880 DRV_GRP4,
881 MTK_FUNCTION(0, "GPIO82"),
882 MTK_FUNCTION(1, "BPI_BUS19_ANT2"),
883 MTK_FUNCTION(2, "CONN_BPI_BUS19_ANT2"),
884 MTK_FUNCTION(3, "PCIE_CLKREQ_N")
886 MTK_PIN(
887 83, "GPIO83",
888 MTK_EINT_FUNCTION(0, 83),
889 DRV_GRP4,
890 MTK_FUNCTION(0, "GPIO83"),
891 MTK_FUNCTION(1, "BPI_BUS20_ANT3"),
892 MTK_FUNCTION(2, "CONN_BPI_BUS20_ANT3")
894 MTK_PIN(
895 84, "GPIO84",
896 MTK_EINT_FUNCTION(0, 84),
897 DRV_GRP4,
898 MTK_FUNCTION(0, "GPIO84"),
899 MTK_FUNCTION(1, "BPI_BUS21_ANT4"),
900 MTK_FUNCTION(2, "CONN_BPI_BUS21_ANT4")
902 MTK_PIN(
903 85, "GPIO85",
904 MTK_EINT_FUNCTION(0, 85),
905 DRV_GRP4,
906 MTK_FUNCTION(0, "GPIO85"),
907 MTK_FUNCTION(1, "MIPI1_D_SCLK"),
908 MTK_FUNCTION(2, "CONN_MIPI1_SCLK")
910 MTK_PIN(
911 86, "GPIO86",
912 MTK_EINT_FUNCTION(0, 86),
913 DRV_GRP4,
914 MTK_FUNCTION(0, "GPIO86"),
915 MTK_FUNCTION(1, "MIPI1_D_SDATA"),
916 MTK_FUNCTION(2, "CONN_MIPI1_SDATA")
918 MTK_PIN(
919 87, "GPIO87",
920 MTK_EINT_FUNCTION(0, 87),
921 DRV_GRP4,
922 MTK_FUNCTION(0, "GPIO87"),
923 MTK_FUNCTION(1, "MIPI0_D_SCLK"),
924 MTK_FUNCTION(2, "CONN_MIPI0_SCLK")
926 MTK_PIN(
927 88, "GPIO88",
928 MTK_EINT_FUNCTION(0, 88),
929 DRV_GRP4,
930 MTK_FUNCTION(0, "GPIO88"),
931 MTK_FUNCTION(1, "MIPI0_D_SDATA"),
932 MTK_FUNCTION(2, "CONN_MIPI0_SDATA")
934 MTK_PIN(
935 89, "GPIO89",
936 MTK_EINT_FUNCTION(0, 89),
937 DRV_GRP4,
938 MTK_FUNCTION(0, "GPIO89"),
939 MTK_FUNCTION(1, "SPMI_SCL"),
940 MTK_FUNCTION(2, "SCL10")
942 MTK_PIN(
943 90, "GPIO90",
944 MTK_EINT_FUNCTION(0, 90),
945 DRV_GRP4,
946 MTK_FUNCTION(0, "GPIO90"),
947 MTK_FUNCTION(1, "SPMI_SDA"),
948 MTK_FUNCTION(2, "SDA10")
950 MTK_PIN(
951 91, "GPIO91",
952 MTK_EINT_FUNCTION(0, 91),
953 DRV_GRP4,
954 MTK_FUNCTION(0, "GPIO91"),
955 MTK_FUNCTION(1, "AP_GOOD")
957 MTK_PIN(
958 92, "GPIO92",
959 MTK_EINT_FUNCTION(0, 92),
960 DRV_GRP4,
961 MTK_FUNCTION(0, "GPIO92"),
962 MTK_FUNCTION(1, "URXD0"),
963 MTK_FUNCTION(2, "MD_URXD0"),
964 MTK_FUNCTION(3, "MD_URXD1"),
965 MTK_FUNCTION(4, "SSPM_URXD_AO"),
966 MTK_FUNCTION(5, "CONN_UART0_RXD")
968 MTK_PIN(
969 93, "GPIO93",
970 MTK_EINT_FUNCTION(0, 93),
971 DRV_GRP4,
972 MTK_FUNCTION(0, "GPIO93"),
973 MTK_FUNCTION(1, "UTXD0"),
974 MTK_FUNCTION(2, "MD_UTXD0"),
975 MTK_FUNCTION(3, "MD_UTXD1"),
976 MTK_FUNCTION(4, "SSPM_UTXD_AO"),
977 MTK_FUNCTION(5, "CONN_UART0_TXD"),
978 MTK_FUNCTION(6, "WIFI_TXD")
980 MTK_PIN(
981 94, "GPIO94",
982 MTK_EINT_FUNCTION(0, 94),
983 DRV_GRP4,
984 MTK_FUNCTION(0, "GPIO94"),
985 MTK_FUNCTION(1, "URXD1"),
986 MTK_FUNCTION(2, "ADSP_URXD0"),
987 MTK_FUNCTION(3, "MD32_0_RXD"),
988 MTK_FUNCTION(4, "SSPM_URXD_AO"),
989 MTK_FUNCTION(5, "TP_URXD1_AO"),
990 MTK_FUNCTION(6, "TP_URXD2_AO"),
991 MTK_FUNCTION(7, "MBISTREADEN_TRIGGER")
993 MTK_PIN(
994 95, "GPIO95",
995 MTK_EINT_FUNCTION(0, 95),
996 DRV_GRP4,
997 MTK_FUNCTION(0, "GPIO95"),
998 MTK_FUNCTION(1, "UTXD1"),
999 MTK_FUNCTION(2, "ADSP_UTXD0"),
1000 MTK_FUNCTION(3, "MD32_0_TXD"),
1001 MTK_FUNCTION(4, "SSPM_UTXD_AO"),
1002 MTK_FUNCTION(5, "TP_UTXD1_AO"),
1003 MTK_FUNCTION(6, "TP_UTXD2_AO"),
1004 MTK_FUNCTION(7, "MBISTWRITEEN_TRIGGER")
1006 MTK_PIN(
1007 96, "GPIO96",
1008 MTK_EINT_FUNCTION(0, 96),
1009 DRV_GRP4,
1010 MTK_FUNCTION(0, "GPIO96"),
1011 MTK_FUNCTION(1, "TDM_LRCK"),
1012 MTK_FUNCTION(2, "I2S7_LRCK"),
1013 MTK_FUNCTION(3, "I2S9_LRCK"),
1014 MTK_FUNCTION(4, "DPI_D0"),
1015 MTK_FUNCTION(5, "ADSP_JTAG0_TDI"),
1016 MTK_FUNCTION(7, "IO_JTAG_TDI")
1018 MTK_PIN(
1019 97, "GPIO97",
1020 MTK_EINT_FUNCTION(0, 97),
1021 DRV_GRP4,
1022 MTK_FUNCTION(0, "GPIO97"),
1023 MTK_FUNCTION(1, "TDM_BCK"),
1024 MTK_FUNCTION(2, "I2S7_BCK"),
1025 MTK_FUNCTION(3, "I2S9_BCK"),
1026 MTK_FUNCTION(4, "DPI_D1"),
1027 MTK_FUNCTION(5, "ADSP_JTAG0_TRSTN"),
1028 MTK_FUNCTION(7, "IO_JTAG_TRSTN")
1030 MTK_PIN(
1031 98, "GPIO98",
1032 MTK_EINT_FUNCTION(0, 98),
1033 DRV_GRP4,
1034 MTK_FUNCTION(0, "GPIO98"),
1035 MTK_FUNCTION(1, "TDM_MCK"),
1036 MTK_FUNCTION(2, "I2S7_MCK"),
1037 MTK_FUNCTION(3, "I2S9_MCK"),
1038 MTK_FUNCTION(4, "DPI_D2"),
1039 MTK_FUNCTION(5, "ADSP_JTAG0_TCK"),
1040 MTK_FUNCTION(7, "IO_JTAG_TCK")
1042 MTK_PIN(
1043 99, "GPIO99",
1044 MTK_EINT_FUNCTION(0, 99),
1045 DRV_GRP4,
1046 MTK_FUNCTION(0, "GPIO99"),
1047 MTK_FUNCTION(1, "TDM_DATA0"),
1048 MTK_FUNCTION(2, "I2S6_DI"),
1049 MTK_FUNCTION(3, "I2S8_DI"),
1050 MTK_FUNCTION(4, "DPI_D3"),
1051 MTK_FUNCTION(5, "ADSP_JTAG0_TDO"),
1052 MTK_FUNCTION(7, "IO_JTAG_TDO")
1054 MTK_PIN(
1055 100, "GPIO100",
1056 MTK_EINT_FUNCTION(0, 100),
1057 DRV_GRP4,
1058 MTK_FUNCTION(0, "GPIO100"),
1059 MTK_FUNCTION(1, "TDM_DATA1"),
1060 MTK_FUNCTION(2, "I2S7_DO"),
1061 MTK_FUNCTION(3, "I2S9_DO"),
1062 MTK_FUNCTION(4, "DPI_D4"),
1063 MTK_FUNCTION(5, "ADSP_JTAG0_TMS"),
1064 MTK_FUNCTION(7, "IO_JTAG_TMS")
1066 MTK_PIN(
1067 101, "GPIO101",
1068 MTK_EINT_FUNCTION(0, 101),
1069 DRV_GRP4,
1070 MTK_FUNCTION(0, "GPIO101"),
1071 MTK_FUNCTION(1, "TDM_DATA2"),
1072 MTK_FUNCTION(2, "DMIC1_CLK"),
1073 MTK_FUNCTION(3, "SRCLKENAI0"),
1074 MTK_FUNCTION(4, "DPI_D5"),
1075 MTK_FUNCTION(5, "CLKM0"),
1076 MTK_FUNCTION(7, "DAP_MD32_SWD")
1078 MTK_PIN(
1079 102, "GPIO102",
1080 MTK_EINT_FUNCTION(0, 102),
1081 DRV_GRP4,
1082 MTK_FUNCTION(0, "GPIO102"),
1083 MTK_FUNCTION(1, "TDM_DATA3"),
1084 MTK_FUNCTION(2, "DMIC1_DAT"),
1085 MTK_FUNCTION(3, "SRCLKENAI1"),
1086 MTK_FUNCTION(4, "DPI_D6"),
1087 MTK_FUNCTION(6, "DVFSRC_EXT_REQ"),
1088 MTK_FUNCTION(7, "DAP_MD32_SWCK")
1090 MTK_PIN(
1091 103, "GPIO103",
1092 MTK_EINT_FUNCTION(0, 103),
1093 DRV_GRP4,
1094 MTK_FUNCTION(0, "GPIO103"),
1095 MTK_FUNCTION(1, "SPI0_A_MI"),
1096 MTK_FUNCTION(2, "SCP_SPI0_MI"),
1097 MTK_FUNCTION(4, "DPI_D7"),
1098 MTK_FUNCTION(5, "DFD_TDO"),
1099 MTK_FUNCTION(6, "SPM_JTAG_TDO"),
1100 MTK_FUNCTION(7, "JTDO_SEL1")
1102 MTK_PIN(
1103 104, "GPIO104",
1104 MTK_EINT_FUNCTION(0, 104),
1105 DRV_GRP4,
1106 MTK_FUNCTION(0, "GPIO104"),
1107 MTK_FUNCTION(1, "SPI0_A_CSB"),
1108 MTK_FUNCTION(2, "SCP_SPI0_CS"),
1109 MTK_FUNCTION(4, "DPI_D8"),
1110 MTK_FUNCTION(5, "DFD_TMS"),
1111 MTK_FUNCTION(6, "SPM_JTAG_TMS"),
1112 MTK_FUNCTION(7, "JTMS_SEL1")
1114 MTK_PIN(
1115 105, "GPIO105",
1116 MTK_EINT_FUNCTION(0, 105),
1117 DRV_GRP4,
1118 MTK_FUNCTION(0, "GPIO105"),
1119 MTK_FUNCTION(1, "SPI0_A_MO"),
1120 MTK_FUNCTION(2, "SCP_SPI0_MO"),
1121 MTK_FUNCTION(3, "SCP_SDA0"),
1122 MTK_FUNCTION(4, "DPI_D9"),
1123 MTK_FUNCTION(5, "DFD_TDI"),
1124 MTK_FUNCTION(6, "SPM_JTAG_TDI"),
1125 MTK_FUNCTION(7, "JTDI_SEL1")
1127 MTK_PIN(
1128 106, "GPIO106",
1129 MTK_EINT_FUNCTION(0, 106),
1130 DRV_GRP4,
1131 MTK_FUNCTION(0, "GPIO106"),
1132 MTK_FUNCTION(1, "SPI0_A_CLK"),
1133 MTK_FUNCTION(2, "SCP_SPI0_CK"),
1134 MTK_FUNCTION(3, "SCP_SCL0"),
1135 MTK_FUNCTION(4, "DPI_D10"),
1136 MTK_FUNCTION(5, "DFD_TCK_XI"),
1137 MTK_FUNCTION(6, "SPM_JTAG_TCK"),
1138 MTK_FUNCTION(7, "JTCK_SEL1")
1140 MTK_PIN(
1141 107, "GPIO107",
1142 MTK_EINT_FUNCTION(0, 107),
1143 DRV_GRP4,
1144 MTK_FUNCTION(0, "GPIO107"),
1145 MTK_FUNCTION(1, "DMIC_CLK"),
1146 MTK_FUNCTION(2, "PWM_0"),
1147 MTK_FUNCTION(3, "CLKM2"),
1148 MTK_FUNCTION(6, "SPM_JTAG_TRSTN"),
1149 MTK_FUNCTION(7, "JTRSTN_SEL1")
1151 MTK_PIN(
1152 108, "GPIO108",
1153 MTK_EINT_FUNCTION(0, 108),
1154 DRV_GRP4,
1155 MTK_FUNCTION(0, "GPIO108"),
1156 MTK_FUNCTION(1, "DMIC_DAT"),
1157 MTK_FUNCTION(2, "PWM_1"),
1158 MTK_FUNCTION(3, "CLKM3"),
1159 MTK_FUNCTION(7, "DAP_SONIC_SWD")
1161 MTK_PIN(
1162 109, "GPIO109",
1163 MTK_EINT_FUNCTION(0, 109),
1164 DRV_GRP4,
1165 MTK_FUNCTION(0, "GPIO109"),
1166 MTK_FUNCTION(1, "I2S1_MCK"),
1167 MTK_FUNCTION(2, "I2S3_MCK"),
1168 MTK_FUNCTION(3, "I2S2_MCK"),
1169 MTK_FUNCTION(4, "DPI_DE"),
1170 MTK_FUNCTION(5, "I2S2_MCK"),
1171 MTK_FUNCTION(6, "SRCLKENAI0"),
1172 MTK_FUNCTION(7, "DAP_SONIC_SWCK")
1174 MTK_PIN(
1175 110, "GPIO110",
1176 MTK_EINT_FUNCTION(0, 110),
1177 DRV_GRP4,
1178 MTK_FUNCTION(0, "GPIO110"),
1179 MTK_FUNCTION(1, "I2S1_BCK"),
1180 MTK_FUNCTION(2, "I2S3_BCK"),
1181 MTK_FUNCTION(3, "I2S2_BCK"),
1182 MTK_FUNCTION(4, "DPI_D11"),
1183 MTK_FUNCTION(5, "I2S2_BCK"),
1184 MTK_FUNCTION(6, "CONN_MCU_TDO")
1186 MTK_PIN(
1187 111, "GPIO111",
1188 MTK_EINT_FUNCTION(0, 111),
1189 DRV_GRP4,
1190 MTK_FUNCTION(0, "GPIO111"),
1191 MTK_FUNCTION(1, "I2S1_LRCK"),
1192 MTK_FUNCTION(2, "I2S3_LRCK"),
1193 MTK_FUNCTION(3, "I2S2_LRCK"),
1194 MTK_FUNCTION(4, "DPI_VSYNC"),
1195 MTK_FUNCTION(5, "I2S2_LRCK"),
1196 MTK_FUNCTION(6, "CONN_MCU_TDI")
1198 MTK_PIN(
1199 112, "GPIO112",
1200 MTK_EINT_FUNCTION(0, 112),
1201 DRV_GRP4,
1202 MTK_FUNCTION(0, "GPIO112"),
1203 MTK_FUNCTION(1, "I2S2_DI"),
1204 MTK_FUNCTION(2, "I2S0_DI"),
1205 MTK_FUNCTION(3, "I2S2_DI2"),
1206 MTK_FUNCTION(4, "DPI_CK"),
1207 MTK_FUNCTION(5, "I2S2_DI"),
1208 MTK_FUNCTION(6, "CONN_MCU_TMS")
1210 MTK_PIN(
1211 113, "GPIO113",
1212 MTK_EINT_FUNCTION(0, 113),
1213 DRV_GRP4,
1214 MTK_FUNCTION(0, "GPIO113"),
1215 MTK_FUNCTION(1, "I2S1_DO"),
1216 MTK_FUNCTION(2, "I2S3_DO"),
1217 MTK_FUNCTION(3, "I2S5_DO"),
1218 MTK_FUNCTION(4, "DPI_HSYNC"),
1219 MTK_FUNCTION(5, "I2S2_DI2"),
1220 MTK_FUNCTION(6, "CONN_MCU_TCK")
1222 MTK_PIN(
1223 114, "GPIO114",
1224 MTK_EINT_FUNCTION(0, 114),
1225 DRV_GRP4,
1226 MTK_FUNCTION(0, "GPIO114"),
1227 MTK_FUNCTION(1, "SPI2_MI"),
1228 MTK_FUNCTION(2, "SCP_SPI2_MI"),
1229 MTK_FUNCTION(4, "PCM0_DI"),
1230 MTK_FUNCTION(6, "CONN_MCU_TRST_B")
1232 MTK_PIN(
1233 115, "GPIO115",
1234 MTK_EINT_FUNCTION(0, 115),
1235 DRV_GRP4,
1236 MTK_FUNCTION(0, "GPIO115"),
1237 MTK_FUNCTION(1, "SPI2_CSB"),
1238 MTK_FUNCTION(2, "SCP_SPI2_CS"),
1239 MTK_FUNCTION(4, "PCM0_SYNC"),
1240 MTK_FUNCTION(6, "CONN_MCU_DBGI_N")
1242 MTK_PIN(
1243 116, "GPIO116",
1244 MTK_EINT_FUNCTION(0, 116),
1245 DRV_GRP4,
1246 MTK_FUNCTION(0, "GPIO116"),
1247 MTK_FUNCTION(1, "SPI2_MO"),
1248 MTK_FUNCTION(2, "SCP_SPI2_MO"),
1249 MTK_FUNCTION(3, "SCP_SDA1"),
1250 MTK_FUNCTION(4, "PCM0_DO"),
1251 MTK_FUNCTION(6, "CONN_MCU_DBGACK_N")
1253 MTK_PIN(
1254 117, "GPIO117",
1255 MTK_EINT_FUNCTION(0, 117),
1256 DRV_GRP4,
1257 MTK_FUNCTION(0, "GPIO117"),
1258 MTK_FUNCTION(1, "SPI2_CLK"),
1259 MTK_FUNCTION(2, "SCP_SPI2_CK"),
1260 MTK_FUNCTION(3, "SCP_SCL1"),
1261 MTK_FUNCTION(4, "PCM0_CLK")
1263 MTK_PIN(
1264 118, "GPIO118",
1265 MTK_EINT_FUNCTION(0, 118),
1266 DRV_GRP4,
1267 MTK_FUNCTION(0, "GPIO118"),
1268 MTK_FUNCTION(1, "SCL1"),
1269 MTK_FUNCTION(2, "SCP_SCL0"),
1270 MTK_FUNCTION(3, "SCP_SCL1")
1272 MTK_PIN(
1273 119, "GPIO119",
1274 MTK_EINT_FUNCTION(0, 119),
1275 DRV_GRP4,
1276 MTK_FUNCTION(0, "GPIO119"),
1277 MTK_FUNCTION(1, "SDA1"),
1278 MTK_FUNCTION(2, "SCP_SDA0"),
1279 MTK_FUNCTION(3, "SCP_SDA1")
1281 MTK_PIN(
1282 120, "GPIO120",
1283 MTK_EINT_FUNCTION(0, 120),
1284 DRV_GRP4,
1285 MTK_FUNCTION(0, "GPIO120"),
1286 MTK_FUNCTION(1, "SCL9"),
1287 MTK_FUNCTION(2, "SCP_SCL0")
1289 MTK_PIN(
1290 121, "GPIO121",
1291 MTK_EINT_FUNCTION(0, 121),
1292 DRV_GRP4,
1293 MTK_FUNCTION(0, "GPIO121"),
1294 MTK_FUNCTION(1, "SDA9"),
1295 MTK_FUNCTION(2, "SCP_SDA0")
1297 MTK_PIN(
1298 122, "GPIO122",
1299 MTK_EINT_FUNCTION(0, 122),
1300 DRV_GRP4,
1301 MTK_FUNCTION(0, "GPIO122"),
1302 MTK_FUNCTION(1, "SCL8"),
1303 MTK_FUNCTION(2, "SCP_SDA0")
1305 MTK_PIN(
1306 123, "GPIO123",
1307 MTK_EINT_FUNCTION(0, 123),
1308 DRV_GRP4,
1309 MTK_FUNCTION(0, "GPIO123"),
1310 MTK_FUNCTION(1, "SDA8"),
1311 MTK_FUNCTION(2, "SCP_SCL0")
1313 MTK_PIN(
1314 124, "GPIO124",
1315 MTK_EINT_FUNCTION(0, 124),
1316 DRV_GRP4,
1317 MTK_FUNCTION(0, "GPIO124"),
1318 MTK_FUNCTION(1, "SCL7"),
1319 MTK_FUNCTION(2, "DMIC1_CLK")
1321 MTK_PIN(
1322 125, "GPIO125",
1323 MTK_EINT_FUNCTION(0, 125),
1324 DRV_GRP4,
1325 MTK_FUNCTION(0, "GPIO125"),
1326 MTK_FUNCTION(1, "SDA7"),
1327 MTK_FUNCTION(2, "DMIC1_DAT")
1329 MTK_PIN(
1330 126, "GPIO126",
1331 MTK_EINT_FUNCTION(0, 126),
1332 DRV_GRP4,
1333 MTK_FUNCTION(0, "GPIO126"),
1334 MTK_FUNCTION(1, "CMFLASH0"),
1335 MTK_FUNCTION(2, "PWM_2"),
1336 MTK_FUNCTION(3, "TP_UCTS1_AO"),
1337 MTK_FUNCTION(4, "UCTS0"),
1338 MTK_FUNCTION(5, "SCL11"),
1339 MTK_FUNCTION(6, "GPS_L1_ELNA_EN"),
1340 MTK_FUNCTION(7, "DBG_MON_A14")
1342 MTK_PIN(
1343 127, "GPIO127",
1344 MTK_EINT_FUNCTION(0, 127),
1345 DRV_GRP4,
1346 MTK_FUNCTION(0, "GPIO127"),
1347 MTK_FUNCTION(1, "CMFLASH1"),
1348 MTK_FUNCTION(2, "PWM_3"),
1349 MTK_FUNCTION(3, "TP_URTS1_AO"),
1350 MTK_FUNCTION(4, "URTS0"),
1351 MTK_FUNCTION(5, "SDA11"),
1352 MTK_FUNCTION(7, "DBG_MON_A15")
1354 MTK_PIN(
1355 128, "GPIO128",
1356 MTK_EINT_FUNCTION(0, 128),
1357 DRV_GRP4,
1358 MTK_FUNCTION(0, "GPIO128"),
1359 MTK_FUNCTION(1, "CMFLASH2"),
1360 MTK_FUNCTION(2, "PWM_0"),
1361 MTK_FUNCTION(3, "TP_UCTS2_AO"),
1362 MTK_FUNCTION(4, "UCTS1"),
1363 MTK_FUNCTION(5, "SCL_6306"),
1364 MTK_FUNCTION(7, "DBG_MON_A16")
1366 MTK_PIN(
1367 129, "GPIO129",
1368 MTK_EINT_FUNCTION(0, 129),
1369 DRV_GRP4,
1370 MTK_FUNCTION(0, "GPIO129"),
1371 MTK_FUNCTION(1, "CMFLASH3"),
1372 MTK_FUNCTION(2, "PWM_1"),
1373 MTK_FUNCTION(3, "TP_URTS2_AO"),
1374 MTK_FUNCTION(4, "URTS1"),
1375 MTK_FUNCTION(5, "SDA_6306"),
1376 MTK_FUNCTION(7, "DBG_MON_A17")
1378 MTK_PIN(
1379 130, "GPIO130",
1380 MTK_EINT_FUNCTION(0, 130),
1381 DRV_GRP4,
1382 MTK_FUNCTION(0, "GPIO130"),
1383 MTK_FUNCTION(1, "CMVREF0"),
1384 MTK_FUNCTION(2, "ANT_SEL10"),
1385 MTK_FUNCTION(3, "SCP_JTAG0_TDO"),
1386 MTK_FUNCTION(4, "MD32_0_JTAG_TDO"),
1387 MTK_FUNCTION(5, "SCL11"),
1388 MTK_FUNCTION(6, "SPI5_B_CLK"),
1389 MTK_FUNCTION(7, "DBG_MON_A22")
1391 MTK_PIN(
1392 131, "GPIO131",
1393 MTK_EINT_FUNCTION(0, 131),
1394 DRV_GRP4,
1395 MTK_FUNCTION(0, "GPIO131"),
1396 MTK_FUNCTION(1, "CMVREF1"),
1397 MTK_FUNCTION(2, "ANT_SEL11"),
1398 MTK_FUNCTION(3, "SCP_JTAG0_TDI"),
1399 MTK_FUNCTION(4, "MD32_0_JTAG_TDI"),
1400 MTK_FUNCTION(5, "SDA11"),
1401 MTK_FUNCTION(6, "SPI5_B_MO"),
1402 MTK_FUNCTION(7, "DBG_MON_A25")
1404 MTK_PIN(
1405 132, "GPIO132",
1406 MTK_EINT_FUNCTION(0, 132),
1407 DRV_GRP4,
1408 MTK_FUNCTION(0, "GPIO132"),
1409 MTK_FUNCTION(1, "CMVREF2"),
1410 MTK_FUNCTION(2, "ANT_SEL12"),
1411 MTK_FUNCTION(3, "SCP_JTAG0_TMS"),
1412 MTK_FUNCTION(4, "MD32_0_JTAG_TMS"),
1413 MTK_FUNCTION(7, "DBG_MON_A28")
1415 MTK_PIN(
1416 133, "GPIO133",
1417 MTK_EINT_FUNCTION(0, 133),
1418 DRV_GRP4,
1419 MTK_FUNCTION(0, "GPIO133"),
1420 MTK_FUNCTION(1, "CMVREF3"),
1421 MTK_FUNCTION(2, "GPS_L1_ELNA_EN"),
1422 MTK_FUNCTION(3, "SCP_JTAG0_TCK"),
1423 MTK_FUNCTION(4, "MD32_0_JTAG_TCK"),
1424 MTK_FUNCTION(6, "SPI5_B_CSB"),
1425 MTK_FUNCTION(7, "DBG_MON_A23")
1427 MTK_PIN(
1428 134, "GPIO134",
1429 MTK_EINT_FUNCTION(0, 134),
1430 DRV_GRP4,
1431 MTK_FUNCTION(0, "GPIO134"),
1432 MTK_FUNCTION(1, "CMVREF4"),
1433 MTK_FUNCTION(3, "SCP_JTAG0_TRSTN"),
1434 MTK_FUNCTION(4, "MD32_0_JTAG_TRST"),
1435 MTK_FUNCTION(7, "DBG_MON_A26")
1437 MTK_PIN(
1438 135, "GPIO135",
1439 MTK_EINT_FUNCTION(0, 135),
1440 DRV_GRP4,
1441 MTK_FUNCTION(0, "GPIO135"),
1442 MTK_FUNCTION(1, "PWM_0"),
1443 MTK_FUNCTION(2, "SRCLKENAI1"),
1444 MTK_FUNCTION(3, "MD_URXD0"),
1445 MTK_FUNCTION(4, "MD32_0_RXD"),
1446 MTK_FUNCTION(5, "CONN_TCXOENA_REQ"),
1447 MTK_FUNCTION(7, "DBG_MON_A29")
1449 MTK_PIN(
1450 136, "GPIO136",
1451 MTK_EINT_FUNCTION(0, 136),
1452 DRV_GRP4,
1453 MTK_FUNCTION(0, "GPIO136"),
1454 MTK_FUNCTION(1, "CMMCLK3"),
1455 MTK_FUNCTION(2, "CLKM1"),
1456 MTK_FUNCTION(3, "MD_UTXD0"),
1457 MTK_FUNCTION(4, "MD32_0_TXD"),
1458 MTK_FUNCTION(6, "SPI5_B_MI"),
1459 MTK_FUNCTION(7, "DBG_MON_A24")
1461 MTK_PIN(
1462 137, "GPIO137",
1463 MTK_EINT_FUNCTION(0, 137),
1464 DRV_GRP4,
1465 MTK_FUNCTION(0, "GPIO137"),
1466 MTK_FUNCTION(1, "CMMCLK4"),
1467 MTK_FUNCTION(2, "CLKM2"),
1468 MTK_FUNCTION(3, "MD_URXD1"),
1469 MTK_FUNCTION(6, "CONN_UART0_RXD"),
1470 MTK_FUNCTION(7, "DBG_MON_A27")
1472 MTK_PIN(
1473 138, "GPIO138",
1474 MTK_EINT_FUNCTION(0, 138),
1475 DRV_GRP4,
1476 MTK_FUNCTION(0, "GPIO138"),
1477 MTK_FUNCTION(1, "CMMCLK5"),
1478 MTK_FUNCTION(2, "CLKM3"),
1479 MTK_FUNCTION(3, "MD_UTXD1"),
1480 MTK_FUNCTION(6, "CONN_UART0_TXD"),
1481 MTK_FUNCTION(7, "DBG_MON_A30")
1483 MTK_PIN(
1484 139, "GPIO139",
1485 MTK_EINT_FUNCTION(0, 139),
1486 DRV_GRP4,
1487 MTK_FUNCTION(0, "GPIO139"),
1488 MTK_FUNCTION(1, "SCL4"),
1489 MTK_FUNCTION(7, "DBG_MON_A21")
1491 MTK_PIN(
1492 140, "GPIO140",
1493 MTK_EINT_FUNCTION(0, 140),
1494 DRV_GRP4,
1495 MTK_FUNCTION(0, "GPIO140"),
1496 MTK_FUNCTION(1, "SDA4"),
1497 MTK_FUNCTION(7, "DBG_MON_A20")
1499 MTK_PIN(
1500 141, "GPIO141",
1501 MTK_EINT_FUNCTION(0, 141),
1502 DRV_GRP4,
1503 MTK_FUNCTION(0, "GPIO141"),
1504 MTK_FUNCTION(1, "SCL2"),
1505 MTK_FUNCTION(7, "DBG_MON_A18")
1507 MTK_PIN(
1508 142, "GPIO142",
1509 MTK_EINT_FUNCTION(0, 142),
1510 DRV_GRP4,
1511 MTK_FUNCTION(0, "GPIO142"),
1512 MTK_FUNCTION(1, "SDA2"),
1513 MTK_FUNCTION(7, "DBG_MON_A19")
1515 MTK_PIN(
1516 143, "GPIO143",
1517 MTK_EINT_FUNCTION(0, 143),
1518 DRV_GRP4,
1519 MTK_FUNCTION(0, "GPIO143"),
1520 MTK_FUNCTION(1, "CMVREF0"),
1521 MTK_FUNCTION(2, "SPI3_CLK"),
1522 MTK_FUNCTION(3, "ADSP_JTAG1_TDO"),
1523 MTK_FUNCTION(4, "SCP_JTAG1_TDO"),
1524 MTK_FUNCTION(7, "DBG_MON_A31")
1526 MTK_PIN(
1527 144, "GPIO144",
1528 MTK_EINT_FUNCTION(0, 144),
1529 DRV_GRP4,
1530 MTK_FUNCTION(0, "GPIO144"),
1531 MTK_FUNCTION(1, "CMVREF1"),
1532 MTK_FUNCTION(2, "SPI3_CSB"),
1533 MTK_FUNCTION(3, "ADSP_JTAG1_TDI"),
1534 MTK_FUNCTION(4, "SCP_JTAG1_TDI")
1536 MTK_PIN(
1537 145, "GPIO145",
1538 MTK_EINT_FUNCTION(0, 145),
1539 DRV_GRP4,
1540 MTK_FUNCTION(0, "GPIO145"),
1541 MTK_FUNCTION(1, "CMVREF2"),
1542 MTK_FUNCTION(2, "SPI3_MI"),
1543 MTK_FUNCTION(3, "ADSP_JTAG1_TMS"),
1544 MTK_FUNCTION(4, "SCP_JTAG1_TMS")
1546 MTK_PIN(
1547 146, "GPIO146",
1548 MTK_EINT_FUNCTION(0, 146),
1549 DRV_GRP4,
1550 MTK_FUNCTION(0, "GPIO146"),
1551 MTK_FUNCTION(1, "CMVREF3"),
1552 MTK_FUNCTION(2, "SPI3_MO"),
1553 MTK_FUNCTION(3, "ADSP_JTAG1_TCK"),
1554 MTK_FUNCTION(4, "SCP_JTAG1_TCK"),
1555 MTK_FUNCTION(7, "DBG_MON_A32")
1557 MTK_PIN(
1558 147, "GPIO147",
1559 MTK_EINT_FUNCTION(0, 147),
1560 DRV_GRP4,
1561 MTK_FUNCTION(0, "GPIO147"),
1562 MTK_FUNCTION(1, "CMVREF4"),
1563 MTK_FUNCTION(2, "EXT_FRAME_SYNC"),
1564 MTK_FUNCTION(3, "ADSP_JTAG1_TRSTN"),
1565 MTK_FUNCTION(4, "SCP_JTAG1_TRSTN")
1567 MTK_PIN(
1568 148, "GPIO148",
1569 MTK_EINT_FUNCTION(0, 148),
1570 DRV_GRP4,
1571 MTK_FUNCTION(0, "GPIO148"),
1572 MTK_FUNCTION(1, "PWM_1"),
1573 MTK_FUNCTION(2, "AGPS_SYNC"),
1574 MTK_FUNCTION(3, "CMMCLK5")
1576 MTK_PIN(
1577 149, "GPIO149",
1578 MTK_EINT_FUNCTION(0, 149),
1579 DRV_GRP4,
1580 MTK_FUNCTION(0, "GPIO149"),
1581 MTK_FUNCTION(1, "CMMCLK0"),
1582 MTK_FUNCTION(2, "CLKM0"),
1583 MTK_FUNCTION(3, "MD32_0_GPIO0")
1585 MTK_PIN(
1586 150, "GPIO150",
1587 MTK_EINT_FUNCTION(0, 150),
1588 DRV_GRP4,
1589 MTK_FUNCTION(0, "GPIO150"),
1590 MTK_FUNCTION(1, "CMMCLK1"),
1591 MTK_FUNCTION(2, "CLKM1"),
1592 MTK_FUNCTION(3, "MD32_0_GPIO1"),
1593 MTK_FUNCTION(7, "CONN_MCU_AICE_TMSC")
1595 MTK_PIN(
1596 151, "GPIO151",
1597 MTK_EINT_FUNCTION(0, 151),
1598 DRV_GRP4,
1599 MTK_FUNCTION(0, "GPIO151"),
1600 MTK_FUNCTION(1, "CMMCLK2"),
1601 MTK_FUNCTION(2, "CLKM2"),
1602 MTK_FUNCTION(3, "MD32_0_GPIO2"),
1603 MTK_FUNCTION(7, "CONN_MCU_AICE_TCKC")
1605 MTK_PIN(
1606 152, "GPIO152",
1607 MTK_EINT_FUNCTION(0, 152),
1608 DRV_GRP4,
1609 MTK_FUNCTION(0, "GPIO152"),
1610 MTK_FUNCTION(1, "KPROW1"),
1611 MTK_FUNCTION(2, "PWM_2"),
1612 MTK_FUNCTION(3, "IDDIG"),
1613 MTK_FUNCTION(6, "MBISTREADEN_TRIGGER"),
1614 MTK_FUNCTION(7, "DBG_MON_B9")
1616 MTK_PIN(
1617 153, "GPIO153",
1618 MTK_EINT_FUNCTION(0, 153),
1619 DRV_GRP4,
1620 MTK_FUNCTION(0, "GPIO153"),
1621 MTK_FUNCTION(1, "KPROW0"),
1622 MTK_FUNCTION(7, "DBG_MON_B8")
1624 MTK_PIN(
1625 154, "GPIO154",
1626 MTK_EINT_FUNCTION(0, 154),
1627 DRV_GRP4,
1628 MTK_FUNCTION(0, "GPIO154"),
1629 MTK_FUNCTION(1, "KPCOL0"),
1630 MTK_FUNCTION(7, "DBG_MON_B6")
1632 MTK_PIN(
1633 155, "GPIO155",
1634 MTK_EINT_FUNCTION(0, 155),
1635 DRV_GRP4,
1636 MTK_FUNCTION(0, "GPIO155"),
1637 MTK_FUNCTION(1, "KPCOL1"),
1638 MTK_FUNCTION(2, "PWM_3"),
1639 MTK_FUNCTION(3, "USB_DRVVBUS"),
1640 MTK_FUNCTION(4, "CONN_TCXOENA_REQ"),
1641 MTK_FUNCTION(6, "MBISTWRITEEN_TRIGGER"),
1642 MTK_FUNCTION(7, "DBG_MON_B7")
1644 MTK_PIN(
1645 156, "GPIO156",
1646 MTK_EINT_FUNCTION(0, 156),
1647 DRV_GRP4,
1648 MTK_FUNCTION(0, "GPIO156"),
1649 MTK_FUNCTION(1, "SPI1_A_CLK"),
1650 MTK_FUNCTION(2, "SCP_SPI1_A_CK"),
1651 MTK_FUNCTION(3, "MRG_CLK"),
1652 MTK_FUNCTION(4, "AGPS_SYNC"),
1653 MTK_FUNCTION(5, "MD_URXD0"),
1654 MTK_FUNCTION(6, "UDI_TMS"),
1655 MTK_FUNCTION(7, "DBG_MON_B10")
1657 MTK_PIN(
1658 157, "GPIO157",
1659 MTK_EINT_FUNCTION(0, 157),
1660 DRV_GRP4,
1661 MTK_FUNCTION(0, "GPIO157"),
1662 MTK_FUNCTION(1, "SPI1_A_CSB"),
1663 MTK_FUNCTION(2, "SCP_SPI1_A_CS"),
1664 MTK_FUNCTION(3, "MRG_SYNC"),
1665 MTK_FUNCTION(4, "EXT_FRAME_SYNC"),
1666 MTK_FUNCTION(5, "MD_UTXD0"),
1667 MTK_FUNCTION(6, "UDI_TCK"),
1668 MTK_FUNCTION(7, "DBG_MON_B11")
1670 MTK_PIN(
1671 158, "GPIO158",
1672 MTK_EINT_FUNCTION(0, 158),
1673 DRV_GRP4,
1674 MTK_FUNCTION(0, "GPIO158"),
1675 MTK_FUNCTION(1, "SPI1_A_MI"),
1676 MTK_FUNCTION(2, "SCP_SPI1_A_MI"),
1677 MTK_FUNCTION(3, "MRG_DI"),
1678 MTK_FUNCTION(4, "PTA_RXD"),
1679 MTK_FUNCTION(5, "MD_URXD1"),
1680 MTK_FUNCTION(6, "UDI_TDO"),
1681 MTK_FUNCTION(7, "DBG_MON_B12")
1683 MTK_PIN(
1684 159, "GPIO159",
1685 MTK_EINT_FUNCTION(0, 159),
1686 DRV_GRP4,
1687 MTK_FUNCTION(0, "GPIO159"),
1688 MTK_FUNCTION(1, "SPI1_A_MO"),
1689 MTK_FUNCTION(2, "SCP_SPI1_A_MO"),
1690 MTK_FUNCTION(3, "MRG_DO"),
1691 MTK_FUNCTION(4, "PTA_TXD"),
1692 MTK_FUNCTION(5, "MD_UTXD1"),
1693 MTK_FUNCTION(6, "UDI_NTRST"),
1694 MTK_FUNCTION(7, "DBG_MON_B13")
1696 MTK_PIN(
1697 160, "GPIO160",
1698 MTK_EINT_FUNCTION(0, 160),
1699 DRV_GRP4,
1700 MTK_FUNCTION(0, "GPIO160"),
1701 MTK_FUNCTION(1, "SCL3"),
1702 MTK_FUNCTION(3, "SCP_SCL1"),
1703 MTK_FUNCTION(7, "DBG_MON_B14")
1705 MTK_PIN(
1706 161, "GPIO161",
1707 MTK_EINT_FUNCTION(0, 161),
1708 DRV_GRP4,
1709 MTK_FUNCTION(0, "GPIO161"),
1710 MTK_FUNCTION(1, "SDA3"),
1711 MTK_FUNCTION(3, "SCP_SDA1"),
1712 MTK_FUNCTION(7, "DBG_MON_B15")
1714 MTK_PIN(
1715 162, "GPIO162",
1716 MTK_EINT_FUNCTION(0, 162),
1717 DRV_GRP4,
1718 MTK_FUNCTION(0, "GPIO162"),
1719 MTK_FUNCTION(1, "ANT_SEL0"),
1720 MTK_FUNCTION(2, "GPS_L1_ELNA_EN"),
1721 MTK_FUNCTION(6, "UDI_TDI"),
1722 MTK_FUNCTION(7, "DBG_MON_B16")
1724 MTK_PIN(
1725 163, "GPIO163",
1726 MTK_EINT_FUNCTION(0, 163),
1727 DRV_GRP4,
1728 MTK_FUNCTION(0, "GPIO163"),
1729 MTK_FUNCTION(1, "ANT_SEL1"),
1730 MTK_FUNCTION(2, "CONN_TCXOENA_REQ"),
1731 MTK_FUNCTION(7, "DBG_MON_B17")
1733 MTK_PIN(
1734 164, "GPIO164",
1735 MTK_EINT_FUNCTION(0, 164),
1736 DRV_GRP4,
1737 MTK_FUNCTION(0, "GPIO164"),
1738 MTK_FUNCTION(1, "ANT_SEL2"),
1739 MTK_FUNCTION(2, "SCP_SPI1_B_CK"),
1740 MTK_FUNCTION(3, "TP_URXD1_AO"),
1741 MTK_FUNCTION(5, "UCTS0"),
1742 MTK_FUNCTION(7, "DBG_MON_B18")
1744 MTK_PIN(
1745 165, "GPIO165",
1746 MTK_EINT_FUNCTION(0, 165),
1747 DRV_GRP4,
1748 MTK_FUNCTION(0, "GPIO165"),
1749 MTK_FUNCTION(1, "ANT_SEL3"),
1750 MTK_FUNCTION(2, "SCP_SPI1_B_CS"),
1751 MTK_FUNCTION(3, "TP_UTXD1_AO"),
1752 MTK_FUNCTION(4, "CONN_TCXOENA_REQ"),
1753 MTK_FUNCTION(5, "URTS0"),
1754 MTK_FUNCTION(7, "DBG_MON_B19")
1756 MTK_PIN(
1757 166, "GPIO166",
1758 MTK_EINT_FUNCTION(0, 166),
1759 DRV_GRP4,
1760 MTK_FUNCTION(0, "GPIO166"),
1761 MTK_FUNCTION(1, "ANT_SEL4"),
1762 MTK_FUNCTION(2, "SCP_SPI1_B_MI"),
1763 MTK_FUNCTION(3, "TP_URXD2_AO"),
1764 MTK_FUNCTION(4, "SRCLKENAI1"),
1765 MTK_FUNCTION(5, "UCTS1"),
1766 MTK_FUNCTION(7, "DBG_MON_B20")
1768 MTK_PIN(
1769 167, "GPIO167",
1770 MTK_EINT_FUNCTION(0, 167),
1771 DRV_GRP4,
1772 MTK_FUNCTION(0, "GPIO167"),
1773 MTK_FUNCTION(1, "ANT_SEL5"),
1774 MTK_FUNCTION(2, "SCP_SPI1_B_MO"),
1775 MTK_FUNCTION(3, "TP_UTXD2_AO"),
1776 MTK_FUNCTION(4, "SRCLKENAI0"),
1777 MTK_FUNCTION(5, "URTS1"),
1778 MTK_FUNCTION(7, "DBG_MON_B21")
1780 MTK_PIN(
1781 168, "GPIO168",
1782 MTK_EINT_FUNCTION(0, 168),
1783 DRV_GRP4,
1784 MTK_FUNCTION(0, "GPIO168"),
1785 MTK_FUNCTION(1, "ANT_SEL6"),
1786 MTK_FUNCTION(2, "SPI0_B_CLK"),
1787 MTK_FUNCTION(3, "TP_UCTS1_AO"),
1788 MTK_FUNCTION(4, "KPCOL2"),
1789 MTK_FUNCTION(5, "MD_UCTS0"),
1790 MTK_FUNCTION(6, "SCL11"),
1791 MTK_FUNCTION(7, "DBG_MON_B22")
1793 MTK_PIN(
1794 169, "GPIO169",
1795 MTK_EINT_FUNCTION(0, 169),
1796 DRV_GRP4,
1797 MTK_FUNCTION(0, "GPIO169"),
1798 MTK_FUNCTION(1, "ANT_SEL7"),
1799 MTK_FUNCTION(2, "SPI0_B_CSB"),
1800 MTK_FUNCTION(3, "TP_URTS1_AO"),
1801 MTK_FUNCTION(4, "KPROW2"),
1802 MTK_FUNCTION(5, "MD_URTS0"),
1803 MTK_FUNCTION(6, "SDA11"),
1804 MTK_FUNCTION(7, "DBG_MON_B23")
1806 MTK_PIN(
1807 170, "GPIO170",
1808 MTK_EINT_FUNCTION(0, 170),
1809 DRV_GRP4,
1810 MTK_FUNCTION(0, "GPIO170"),
1811 MTK_FUNCTION(1, "ANT_SEL8"),
1812 MTK_FUNCTION(2, "SPI0_B_MI"),
1813 MTK_FUNCTION(3, "TP_UCTS2_AO"),
1814 MTK_FUNCTION(4, "SRCLKENAI1"),
1815 MTK_FUNCTION(5, "MD_UCTS1"),
1816 MTK_FUNCTION(7, "DBG_MON_B24")
1818 MTK_PIN(
1819 171, "GPIO171",
1820 MTK_EINT_FUNCTION(0, 171),
1821 DRV_GRP4,
1822 MTK_FUNCTION(0, "GPIO171"),
1823 MTK_FUNCTION(1, "ANT_SEL9"),
1824 MTK_FUNCTION(2, "SPI0_B_MO"),
1825 MTK_FUNCTION(3, "TP_URTS2_AO"),
1826 MTK_FUNCTION(4, "SRCLKENAI0"),
1827 MTK_FUNCTION(5, "MD_URTS1"),
1828 MTK_FUNCTION(7, "DBG_MON_B25")
1830 MTK_PIN(
1831 172, "GPIO172",
1832 MTK_EINT_FUNCTION(0, 172),
1833 DRV_GRP4,
1834 MTK_FUNCTION(0, "GPIO172"),
1835 MTK_FUNCTION(1, "CONN_TOP_CLK"),
1836 MTK_FUNCTION(2, "AUXIF_CLK0"),
1837 MTK_FUNCTION(7, "DBG_MON_B29")
1839 MTK_PIN(
1840 173, "GPIO173",
1841 MTK_EINT_FUNCTION(0, 173),
1842 DRV_GRP4,
1843 MTK_FUNCTION(0, "GPIO173"),
1844 MTK_FUNCTION(1, "CONN_TOP_DATA"),
1845 MTK_FUNCTION(2, "AUXIF_ST0"),
1846 MTK_FUNCTION(7, "DBG_MON_B30")
1848 MTK_PIN(
1849 174, "GPIO174",
1850 MTK_EINT_FUNCTION(0, 174),
1851 DRV_GRP4,
1852 MTK_FUNCTION(0, "GPIO174"),
1853 MTK_FUNCTION(1, "CONN_HRST_B"),
1854 MTK_FUNCTION(7, "DBG_MON_B28")
1856 MTK_PIN(
1857 175, "GPIO175",
1858 MTK_EINT_FUNCTION(0, 175),
1859 DRV_GRP4,
1860 MTK_FUNCTION(0, "GPIO175"),
1861 MTK_FUNCTION(1, "CONN_WB_PTA"),
1862 MTK_FUNCTION(7, "DBG_MON_B31")
1864 MTK_PIN(
1865 176, "GPIO176",
1866 MTK_EINT_FUNCTION(0, 176),
1867 DRV_GRP4,
1868 MTK_FUNCTION(0, "GPIO176"),
1869 MTK_FUNCTION(1, "CONN_BT_CLK"),
1870 MTK_FUNCTION(2, "AUXIF_CLK1"),
1871 MTK_FUNCTION(7, "DBG_MON_B26")
1873 MTK_PIN(
1874 177, "GPIO177",
1875 MTK_EINT_FUNCTION(0, 177),
1876 DRV_GRP4,
1877 MTK_FUNCTION(0, "GPIO177"),
1878 MTK_FUNCTION(1, "CONN_BT_DATA"),
1879 MTK_FUNCTION(2, "AUXIF_ST1"),
1880 MTK_FUNCTION(7, "DBG_MON_B27")
1882 MTK_PIN(
1883 178, "GPIO178",
1884 MTK_EINT_FUNCTION(0, 178),
1885 DRV_GRP4,
1886 MTK_FUNCTION(0, "GPIO178"),
1887 MTK_FUNCTION(1, "CONN_WF_CTRL0")
1889 MTK_PIN(
1890 179, "GPIO179",
1891 MTK_EINT_FUNCTION(0, 179),
1892 DRV_GRP4,
1893 MTK_FUNCTION(0, "GPIO179"),
1894 MTK_FUNCTION(1, "CONN_WF_CTRL1"),
1895 MTK_FUNCTION(2, "UFS_MPHY_SCL")
1897 MTK_PIN(
1898 180, "GPIO180",
1899 MTK_EINT_FUNCTION(0, 180),
1900 DRV_GRP4,
1901 MTK_FUNCTION(0, "GPIO180"),
1902 MTK_FUNCTION(1, "CONN_WF_CTRL2"),
1903 MTK_FUNCTION(2, "UFS_MPHY_SDA")
1905 MTK_PIN(
1906 181, "GPIO181",
1907 MTK_EINT_FUNCTION(0, 181),
1908 DRV_GRP4,
1909 MTK_FUNCTION(0, "GPIO181"),
1910 MTK_FUNCTION(1, "CONN_WF_CTRL3")
1912 MTK_PIN(
1913 182, "GPIO182",
1914 MTK_EINT_FUNCTION(0, 182),
1915 DRV_GRP4,
1916 MTK_FUNCTION(0, "GPIO182"),
1917 MTK_FUNCTION(1, "CONN_WF_CTRL4")
1919 MTK_PIN(
1920 183, "GPIO183",
1921 MTK_EINT_FUNCTION(0, 183),
1922 DRV_GRP4,
1923 MTK_FUNCTION(0, "GPIO183"),
1924 MTK_FUNCTION(1, "MSDC0_CMD")
1926 MTK_PIN(
1927 184, "GPIO184",
1928 MTK_EINT_FUNCTION(0, 184),
1929 DRV_GRP4,
1930 MTK_FUNCTION(0, "GPIO184"),
1931 MTK_FUNCTION(1, "MSDC0_DAT0")
1933 MTK_PIN(
1934 185, "GPIO185",
1935 MTK_EINT_FUNCTION(0, 185),
1936 DRV_GRP4,
1937 MTK_FUNCTION(0, "GPIO185"),
1938 MTK_FUNCTION(1, "MSDC0_DAT2")
1940 MTK_PIN(
1941 186, "GPIO186",
1942 MTK_EINT_FUNCTION(0, 186),
1943 DRV_GRP4,
1944 MTK_FUNCTION(0, "GPIO186"),
1945 MTK_FUNCTION(1, "MSDC0_DAT4")
1947 MTK_PIN(
1948 187, "GPIO187",
1949 MTK_EINT_FUNCTION(0, 187),
1950 DRV_GRP4,
1951 MTK_FUNCTION(0, "GPIO187"),
1952 MTK_FUNCTION(1, "MSDC0_DAT6")
1954 MTK_PIN(
1955 188, "GPIO188",
1956 MTK_EINT_FUNCTION(0, 188),
1957 DRV_GRP4,
1958 MTK_FUNCTION(0, "GPIO188"),
1959 MTK_FUNCTION(1, "MSDC0_DAT1")
1961 MTK_PIN(
1962 189, "GPIO189",
1963 MTK_EINT_FUNCTION(0, 189),
1964 DRV_GRP4,
1965 MTK_FUNCTION(0, "GPIO189"),
1966 MTK_FUNCTION(1, "MSDC0_DAT5")
1968 MTK_PIN(
1969 190, "GPIO190",
1970 MTK_EINT_FUNCTION(0, 190),
1971 DRV_GRP4,
1972 MTK_FUNCTION(0, "GPIO190"),
1973 MTK_FUNCTION(1, "MSDC0_DAT7")
1975 MTK_PIN(
1976 191, "GPIO191",
1977 MTK_EINT_FUNCTION(0, 191),
1978 DRV_GRP4,
1979 MTK_FUNCTION(0, "GPIO191"),
1980 MTK_FUNCTION(1, "MSDC0_DSL"),
1981 MTK_FUNCTION(2, "GPS_L1_ELNA_EN"),
1982 MTK_FUNCTION(3, "IDDIG"),
1983 MTK_FUNCTION(4, "DMIC_CLK")
1985 MTK_PIN(
1986 192, "GPIO192",
1987 MTK_EINT_FUNCTION(0, 192),
1988 DRV_GRP4,
1989 MTK_FUNCTION(0, "GPIO192"),
1990 MTK_FUNCTION(1, "MSDC0_CLK"),
1991 MTK_FUNCTION(3, "USB_DRVVBUS"),
1992 MTK_FUNCTION(4, "DMIC_DAT")
1994 MTK_PIN(
1995 193, "GPIO193",
1996 MTK_EINT_FUNCTION(0, 193),
1997 DRV_GRP4,
1998 MTK_FUNCTION(0, "GPIO193"),
1999 MTK_FUNCTION(1, "MSDC0_DAT3")
2001 MTK_PIN(
2002 194, "GPIO194",
2003 MTK_EINT_FUNCTION(0, 194),
2004 DRV_GRP4,
2005 MTK_FUNCTION(0, "GPIO194"),
2006 MTK_FUNCTION(1, "MSDC0_RSTB")
2008 MTK_PIN(
2009 195, "GPIO195",
2010 MTK_EINT_FUNCTION(0, 195),
2011 DRV_GRP4,
2012 MTK_FUNCTION(0, "GPIO195"),
2013 MTK_FUNCTION(1, "SCP_VREQ_VAO"),
2014 MTK_FUNCTION(2, "DVFSRC_EXT_REQ")
2016 MTK_PIN(
2017 196, "GPIO196",
2018 MTK_EINT_FUNCTION(0, 196),
2019 DRV_GRP4,
2020 MTK_FUNCTION(0, "GPIO196"),
2021 MTK_FUNCTION(1, "AUD_DAT_MOSI2")
2023 MTK_PIN(
2024 197, "GPIO197",
2025 MTK_EINT_FUNCTION(0, 197),
2026 DRV_GRP4,
2027 MTK_FUNCTION(0, "GPIO197"),
2028 MTK_FUNCTION(1, "AUD_NLE_MOSI1"),
2029 MTK_FUNCTION(2, "AUD_CLK_MISO"),
2030 MTK_FUNCTION(3, "I2S2_MCK"),
2031 MTK_FUNCTION(4, "I2S6_MCK"),
2032 MTK_FUNCTION(5, "I2S8_MCK")
2034 MTK_PIN(
2035 198, "GPIO198",
2036 MTK_EINT_FUNCTION(0, 198),
2037 DRV_GRP4,
2038 MTK_FUNCTION(0, "GPIO198"),
2039 MTK_FUNCTION(1, "AUD_NLE_MOSI0"),
2040 MTK_FUNCTION(2, "AUD_SYNC_MISO"),
2041 MTK_FUNCTION(3, "I2S2_BCK"),
2042 MTK_FUNCTION(4, "I2S6_BCK"),
2043 MTK_FUNCTION(5, "I2S8_BCK")
2045 MTK_PIN(
2046 199, "GPIO199",
2047 MTK_EINT_FUNCTION(0, 199),
2048 DRV_GRP4,
2049 MTK_FUNCTION(0, "GPIO199"),
2050 MTK_FUNCTION(1, "AUD_DAT_MISO2"),
2051 MTK_FUNCTION(3, "I2S2_DI2")
2053 MTK_PIN(
2054 200, "GPIO200",
2055 MTK_EINT_FUNCTION(0, 200),
2056 DRV_GRP4,
2057 MTK_FUNCTION(0, "GPIO200"),
2058 MTK_FUNCTION(1, "SCL6"),
2059 MTK_FUNCTION(3, "SCP_SCL1"),
2060 MTK_FUNCTION(4, "SCL_6306"),
2061 MTK_FUNCTION(7, "DBG_MON_A4")
2063 MTK_PIN(
2064 201, "GPIO201",
2065 MTK_EINT_FUNCTION(0, 201),
2066 DRV_GRP4,
2067 MTK_FUNCTION(0, "GPIO201"),
2068 MTK_FUNCTION(1, "SDA6"),
2069 MTK_FUNCTION(3, "SCP_SDA1"),
2070 MTK_FUNCTION(4, "SDA_6306"),
2071 MTK_FUNCTION(7, "DBG_MON_A5")
2073 MTK_PIN(
2074 202, "GPIO202",
2075 MTK_EINT_FUNCTION(0, 202),
2076 DRV_GRP4,
2077 MTK_FUNCTION(0, "GPIO202"),
2078 MTK_FUNCTION(1, "SCL5")
2080 MTK_PIN(
2081 203, "GPIO203",
2082 MTK_EINT_FUNCTION(0, 203),
2083 DRV_GRP4,
2084 MTK_FUNCTION(0, "GPIO203"),
2085 MTK_FUNCTION(1, "SDA5")
2087 MTK_PIN(
2088 204, "GPIO204",
2089 MTK_EINT_FUNCTION(0, 204),
2090 DRV_GRP4,
2091 MTK_FUNCTION(0, "GPIO204"),
2092 MTK_FUNCTION(1, "SCL0"),
2093 MTK_FUNCTION(6, "SPI7_A_CLK"),
2094 MTK_FUNCTION(7, "DBG_MON_A2")
2096 MTK_PIN(
2097 205, "GPIO205",
2098 MTK_EINT_FUNCTION(0, 205),
2099 DRV_GRP4,
2100 MTK_FUNCTION(0, "GPIO205"),
2101 MTK_FUNCTION(1, "SDA0"),
2102 MTK_FUNCTION(6, "SPI7_A_CSB"),
2103 MTK_FUNCTION(7, "DBG_MON_A3")
2105 MTK_PIN(
2106 206, "GPIO206",
2107 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
2108 DRV_GRP4,
2109 MTK_FUNCTION(0, "GPIO206"),
2110 MTK_FUNCTION(1, "SRCLKENA0")
2112 MTK_PIN(
2113 207, "GPIO207",
2114 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
2115 DRV_GRP4,
2116 MTK_FUNCTION(0, "GPIO207"),
2117 MTK_FUNCTION(1, "SRCLKENA1")
2119 MTK_PIN(
2120 208, "GPIO208",
2121 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
2122 DRV_GRP4,
2123 MTK_FUNCTION(0, "GPIO208"),
2124 MTK_FUNCTION(1, "WATCHDOG")
2126 MTK_PIN(
2127 209, "GPIO209",
2128 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
2129 DRV_GRP4,
2130 MTK_FUNCTION(0, "GPIO209"),
2131 MTK_FUNCTION(1, "PWRAP_SPI0_MI"),
2132 MTK_FUNCTION(2, "PWRAP_SPI0_MO")
2134 MTK_PIN(
2135 210, "GPIO210",
2136 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
2137 DRV_GRP4,
2138 MTK_FUNCTION(0, "GPIO210"),
2139 MTK_FUNCTION(1, "PWRAP_SPI0_CSN")
2141 MTK_PIN(
2142 211, "GPIO211",
2143 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
2144 DRV_GRP4,
2145 MTK_FUNCTION(0, "GPIO211"),
2146 MTK_FUNCTION(1, "PWRAP_SPI0_MO"),
2147 MTK_FUNCTION(2, "PWRAP_SPI0_MI")
2149 MTK_PIN(
2150 212, "GPIO212",
2151 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
2152 DRV_GRP4,
2153 MTK_FUNCTION(0, "GPIO212"),
2154 MTK_FUNCTION(1, "PWRAP_SPI0_CK")
2156 MTK_PIN(
2157 213, "GPIO213",
2158 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
2159 DRV_GRP4,
2160 MTK_FUNCTION(0, "GPIO213"),
2161 MTK_FUNCTION(1, "RTC32K_CK")
2163 MTK_PIN(
2164 214, "GPIO214",
2165 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
2166 DRV_GRP4,
2167 MTK_FUNCTION(0, "GPIO214"),
2168 MTK_FUNCTION(1, "AUD_CLK_MOSI"),
2169 MTK_FUNCTION(3, "I2S1_MCK"),
2170 MTK_FUNCTION(4, "I2S7_MCK"),
2171 MTK_FUNCTION(5, "I2S9_MCK")
2173 MTK_PIN(
2174 215, "GPIO215",
2175 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
2176 DRV_GRP4,
2177 MTK_FUNCTION(0, "GPIO215"),
2178 MTK_FUNCTION(1, "AUD_SYNC_MOSI"),
2179 MTK_FUNCTION(3, "I2S1_BCK"),
2180 MTK_FUNCTION(4, "I2S7_BCK"),
2181 MTK_FUNCTION(5, "I2S9_BCK")
2183 MTK_PIN(
2184 216, "GPIO216",
2185 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
2186 DRV_GRP4,
2187 MTK_FUNCTION(0, "GPIO216"),
2188 MTK_FUNCTION(1, "AUD_DAT_MOSI0"),
2189 MTK_FUNCTION(3, "I2S1_LRCK"),
2190 MTK_FUNCTION(4, "I2S7_LRCK"),
2191 MTK_FUNCTION(5, "I2S9_LRCK")
2193 MTK_PIN(
2194 217, "GPIO217",
2195 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
2196 DRV_GRP4,
2197 MTK_FUNCTION(0, "GPIO217"),
2198 MTK_FUNCTION(1, "AUD_DAT_MOSI1"),
2199 MTK_FUNCTION(3, "I2S1_DO"),
2200 MTK_FUNCTION(4, "I2S7_DO"),
2201 MTK_FUNCTION(5, "I2S9_DO")
2203 MTK_PIN(
2204 218, "GPIO218",
2205 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
2206 DRV_GRP4,
2207 MTK_FUNCTION(0, "GPIO218"),
2208 MTK_FUNCTION(1, "AUD_DAT_MISO0"),
2209 MTK_FUNCTION(2, "VOW_DAT_MISO"),
2210 MTK_FUNCTION(3, "I2S2_LRCK"),
2211 MTK_FUNCTION(4, "I2S6_LRCK"),
2212 MTK_FUNCTION(5, "I2S8_LRCK")
2214 MTK_PIN(
2215 219, "GPIO219",
2216 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
2217 DRV_GRP4,
2218 MTK_FUNCTION(0, "GPIO219"),
2219 MTK_FUNCTION(1, "AUD_DAT_MISO1"),
2220 MTK_FUNCTION(2, "VOW_CLK_MISO"),
2221 MTK_FUNCTION(3, "I2S2_DI"),
2222 MTK_FUNCTION(4, "I2S6_DI"),
2223 MTK_FUNCTION(5, "I2S8_DI")
2225 MTK_PIN(
2226 220, "GPIO220",
2227 MTK_EINT_FUNCTION(0, 208),
2228 DRV_GRP4,
2229 MTK_FUNCTION(0, "GPIO220")
2231 MTK_PIN(
2232 221, "GPIO221",
2233 MTK_EINT_FUNCTION(0, 209),
2234 DRV_GRP4,
2235 MTK_FUNCTION(0, "GPIO221")
2237 MTK_PIN(
2238 222, "GPIO222",
2239 MTK_EINT_FUNCTION(0, 210),
2240 DRV_GRP4,
2241 MTK_FUNCTION(0, "GPIO222")
2243 MTK_PIN(
2244 223, "GPIO223",
2245 MTK_EINT_FUNCTION(0, 211),
2246 DRV_GRP4,
2247 MTK_FUNCTION(0, "GPIO223")
2249 MTK_PIN(
2250 224, "GPIO224",
2251 MTK_EINT_FUNCTION(0, 212),
2252 DRV_GRP4,
2253 MTK_FUNCTION(0, "GPIO224")
2255 MTK_PIN(
2256 225, "GPIO225",
2257 MTK_EINT_FUNCTION(0, 214),
2258 DRV_GRP4,
2259 MTK_FUNCTION(0, "GPIO225")
2261 MTK_PIN(
2262 226, "GPIO226",
2263 MTK_EINT_FUNCTION(0, 215),
2264 DRV_GRP4,
2265 MTK_FUNCTION(0, "GPIO226")
2267 MTK_PIN(
2268 227, "GPIO227",
2269 MTK_EINT_FUNCTION(0, 216),
2270 DRV_GRP4,
2271 MTK_FUNCTION(0, "GPIO227")
2275 #endif /* __PINCTRL_MTK_MT8192_H */