1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Copyright (c) 2022 Collabora Ltd.
4  * Author: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
5  */
6 
7 #ifndef __PINCTRL_MTK_MT6795_H
8 #define __PINCTRL_MTK_MT6795_H
9 
10 #include "pinctrl-paris.h"
11 
12 static const struct mtk_pin_desc mtk_pins_mt6795[] = {
13 	MTK_PIN(
14 		0, "GPIO0",
15 		MTK_EINT_FUNCTION(0, 0),
16 		DRV_GRP2,
17 		MTK_FUNCTION(0, "GPIO0"),
18 		MTK_FUNCTION(1, "IRDA_PDN"),
19 		MTK_FUNCTION(2, "I2S1_WS"),
20 		MTK_FUNCTION(4, "TDD_TMS"),
21 		MTK_FUNCTION(5, "UTXD0")
22 	),
23 	MTK_PIN(
24 		1, "GPIO1",
25 		MTK_EINT_FUNCTION(0, 1),
26 		DRV_GRP2,
27 		MTK_FUNCTION(0, "GPIO1"),
28 		MTK_FUNCTION(1, "IRDA_RXD"),
29 		MTK_FUNCTION(2, "I2S1_BCK"),
30 		MTK_FUNCTION(3, "SDA4"),
31 		MTK_FUNCTION(4, "TDD_TCK"),
32 		MTK_FUNCTION(5, "URXD0")
33 	),
34 	MTK_PIN(
35 		2, "GPIO2",
36 		MTK_EINT_FUNCTION(0, 2),
37 		DRV_GRP2,
38 		MTK_FUNCTION(0, "GPIO2"),
39 		MTK_FUNCTION(1, "IRDA_TXD"),
40 		MTK_FUNCTION(2, "I2S1_MCK"),
41 		MTK_FUNCTION(3, "SCL4"),
42 		MTK_FUNCTION(4, "TDD_TDI"),
43 		MTK_FUNCTION(5, "UTXD3")
44 	),
45 	MTK_PIN(
46 		3, "GPIO3",
47 		MTK_EINT_FUNCTION(0, 3),
48 		DRV_GRP2,
49 		MTK_FUNCTION(0, "GPIO3"),
50 		MTK_FUNCTION(1, "DSI1_TE"),
51 		MTK_FUNCTION(2, "I2S1_DO_1"),
52 		MTK_FUNCTION(3, "SDA3"),
53 		MTK_FUNCTION(4, "TDD_TDO"),
54 		MTK_FUNCTION(5, "URXD3")
55 	),
56 	MTK_PIN(
57 		4, "GPIO4",
58 		MTK_EINT_FUNCTION(0, 4),
59 		DRV_GRP2,
60 		MTK_FUNCTION(0, "GPIO4"),
61 		MTK_FUNCTION(1, "DISP_PWM1"),
62 		MTK_FUNCTION(2, "I2S1_DO_2"),
63 		MTK_FUNCTION(3, "SCL3"),
64 		MTK_FUNCTION(4, "TDD_TRSTN")
65 	),
66 	MTK_PIN(
67 		5, "GPIO5",
68 		MTK_EINT_FUNCTION(0, 5),
69 		DRV_GRP2,
70 		MTK_FUNCTION(0, "GPIO5"),
71 		MTK_FUNCTION(1, "PCM1_CLK"),
72 		MTK_FUNCTION(2, "I2S2_WS"),
73 		MTK_FUNCTION(3, "SPI_CK_3"),
74 		MTK_FUNCTION(4, "LTE_MD32_JTAG_TMS"),
75 		MTK_FUNCTION(5, "AP_MD32_JTAG_TMS")
76 	),
77 	MTK_PIN(
78 		6, "GPIO6",
79 		MTK_EINT_FUNCTION(0, 6),
80 		DRV_GRP2,
81 		MTK_FUNCTION(0, "GPIO6"),
82 		MTK_FUNCTION(1, "PCM1_SYNC"),
83 		MTK_FUNCTION(2, "I2S2_BCK"),
84 		MTK_FUNCTION(3, "SPI_MI_3"),
85 		MTK_FUNCTION(4, "LTE_MD32_JTAG_TCK"),
86 		MTK_FUNCTION(5, "AP_MD32_JTAG_TCK")
87 	),
88 	MTK_PIN(
89 		7, "GPIO7",
90 		MTK_EINT_FUNCTION(0, 7),
91 		DRV_GRP2,
92 		MTK_FUNCTION(0, "GPIO7"),
93 		MTK_FUNCTION(1, "PCM1_DI"),
94 		MTK_FUNCTION(2, "I2S2_DI_1"),
95 		MTK_FUNCTION(3, "SPI_MO_3"),
96 		MTK_FUNCTION(4, "LTE_MD32_JTAG_TDI"),
97 		MTK_FUNCTION(5, "AP_MD32_JTAG_TDI")
98 	),
99 	MTK_PIN(
100 		8, "GPIO8",
101 		MTK_EINT_FUNCTION(0, 8),
102 		DRV_GRP2,
103 		MTK_FUNCTION(0, "GPIO8"),
104 		MTK_FUNCTION(1, "PCM1_DO"),
105 		MTK_FUNCTION(2, "I2S2_DI_2"),
106 		MTK_FUNCTION(3, "SPI_CS_3"),
107 		MTK_FUNCTION(4, "LTE_MD32_JTAG_TDO"),
108 		MTK_FUNCTION(5, "AP_MD32_JTAG_TDO")
109 	),
110 	MTK_PIN(
111 		9, "GPIO9",
112 		MTK_EINT_FUNCTION(0, 9),
113 		DRV_GRP2,
114 		MTK_FUNCTION(0, "GPIO9"),
115 		MTK_FUNCTION(1, "USB_DRVVBUS"),
116 		MTK_FUNCTION(2, "I2S2_MCK"),
117 		MTK_FUNCTION(4, "LTE_MD32_JTAG_TRST"),
118 		MTK_FUNCTION(5, "AP_MD32_JTAG_TRST")
119 	),
120 	MTK_PIN(
121 		10, "GPIO10",
122 		MTK_EINT_FUNCTION(0, 10),
123 		DRV_GRP2,
124 		MTK_FUNCTION(0, "GPIO10"),
125 		MTK_FUNCTION(2, "I2S0_WS")
126 	),
127 	MTK_PIN(
128 		11, "GPIO11",
129 		MTK_EINT_FUNCTION(0, 11),
130 		DRV_GRP2,
131 		MTK_FUNCTION(0, "GPIO11"),
132 		MTK_FUNCTION(2, "I2S0_BCK")
133 	),
134 	MTK_PIN(
135 		12, "GPIO12",
136 		MTK_EINT_FUNCTION(0, 12),
137 		DRV_GRP2,
138 		MTK_FUNCTION(0, "GPIO12"),
139 		MTK_FUNCTION(2, "I2S0_MCK")
140 	),
141 	MTK_PIN(
142 		13, "GPIO13",
143 		MTK_EINT_FUNCTION(0, 13),
144 		DRV_GRP2,
145 		MTK_FUNCTION(0, "GPIO13"),
146 		MTK_FUNCTION(2, "I2S0_DO")
147 	),
148 	MTK_PIN(
149 		14, "GPIO14",
150 		MTK_EINT_FUNCTION(0, 14),
151 		DRV_GRP2,
152 		MTK_FUNCTION(0, "GPIO14"),
153 		MTK_FUNCTION(2, "I2S0_DI"),
154 		MTK_FUNCTION(3, "DISP_PWM1"),
155 		MTK_FUNCTION(4, "PWM4"),
156 		MTK_FUNCTION(5, "IRDA_RXD"),
157 		MTK_FUNCTION(6, "I2S1_BCK")
158 	),
159 	MTK_PIN(
160 		15, "GPIO15",
161 		MTK_EINT_FUNCTION(0, 15),
162 		DRV_GRP2,
163 		MTK_FUNCTION(0, "GPIO15"),
164 		MTK_FUNCTION(2, "DSI1_TE"),
165 		MTK_FUNCTION(3, "USB_DRVVBUS"),
166 		MTK_FUNCTION(4, "PWM5"),
167 		MTK_FUNCTION(5, "IRDA_TXD"),
168 		MTK_FUNCTION(6, "I2S1_MCK")
169 	),
170 	MTK_PIN(
171 		16, "GPIO16",
172 		MTK_EINT_FUNCTION(0, 16),
173 		DRV_GRP2,
174 		MTK_FUNCTION(0, "GPIO16"),
175 		MTK_FUNCTION(1, "IDDIG"),
176 		MTK_FUNCTION(2, "FLASH"),
177 		MTK_FUNCTION(3, "EXT_FRAME_SYNC"),
178 		MTK_FUNCTION(4, "PWM5")
179 	),
180 	MTK_PIN(
181 		17, "GPIO17",
182 		MTK_EINT_FUNCTION(0, 17),
183 		DRV_GRP0,
184 		MTK_FUNCTION(0, "GPIO17"),
185 		MTK_FUNCTION(1, "SIM1_SCLK"),
186 		MTK_FUNCTION(2, "SIM2_SCLK")
187 	),
188 	MTK_PIN(
189 		18, "GPIO18",
190 		MTK_EINT_FUNCTION(0, 18),
191 		DRV_GRP0,
192 		MTK_FUNCTION(0, "GPIO18"),
193 		MTK_FUNCTION(1, "SIM1_SRST"),
194 		MTK_FUNCTION(2, "SIM2_SRST")
195 	),
196 	MTK_PIN(
197 		19, "GPIO19",
198 		MTK_EINT_FUNCTION(0, 19),
199 		DRV_GRP0,
200 		MTK_FUNCTION(0, "GPIO19"),
201 		MTK_FUNCTION(1, "SIM1_SDAT"),
202 		MTK_FUNCTION(2, "SIM2_SDAT")
203 	),
204 	MTK_PIN(
205 		20, "GPIO20",
206 		MTK_EINT_FUNCTION(0, 20),
207 		DRV_GRP0,
208 		MTK_FUNCTION(0, "GPIO20"),
209 		MTK_FUNCTION(1, "SIM2_SCLK"),
210 		MTK_FUNCTION(2, "SIM1_SCLK")
211 	),
212 	MTK_PIN(
213 		21, "GPIO21",
214 		MTK_EINT_FUNCTION(0, 21),
215 		DRV_GRP0,
216 		MTK_FUNCTION(0, "GPIO21"),
217 		MTK_FUNCTION(1, "SIM2_SRST"),
218 		MTK_FUNCTION(2, "SIM1_SRST")
219 	),
220 	MTK_PIN(
221 		22, "GPIO22",
222 		MTK_EINT_FUNCTION(0, 22),
223 		DRV_GRP0,
224 		MTK_FUNCTION(0, "GPIO22"),
225 		MTK_FUNCTION(1, "SIM2_SDAT"),
226 		MTK_FUNCTION(2, "SIM1_SDAT")
227 	),
228 	MTK_PIN(
229 		23, "GPIO23",
230 		MTK_EINT_FUNCTION(0, 23),
231 		DRV_GRP4,
232 		MTK_FUNCTION(0, "GPIO23"),
233 		MTK_FUNCTION(1, "MSDC3_DAT0")
234 	),
235 	MTK_PIN(
236 		24, "GPIO24",
237 		MTK_EINT_FUNCTION(0, 24),
238 		DRV_GRP4,
239 		MTK_FUNCTION(0, "GPIO24"),
240 		MTK_FUNCTION(1, "MSDC3_DAT1")
241 	),
242 	MTK_PIN(
243 		25, "GPIO25",
244 		MTK_EINT_FUNCTION(0, 25),
245 		DRV_GRP4,
246 		MTK_FUNCTION(0, "GPIO25"),
247 		MTK_FUNCTION(1, "MSDC3_DAT2")
248 	),
249 	MTK_PIN(
250 		26, "GPIO26",
251 		MTK_EINT_FUNCTION(0, 26),
252 		DRV_GRP4,
253 		MTK_FUNCTION(0, "GPIO26"),
254 		MTK_FUNCTION(1, "MSDC3_DAT3")
255 	),
256 	MTK_PIN(
257 		27, "GPIO27",
258 		MTK_EINT_FUNCTION(0, 27),
259 		DRV_GRP4,
260 		MTK_FUNCTION(0, "GPIO27"),
261 		MTK_FUNCTION(1, "MSDC3_CLK")
262 	),
263 	MTK_PIN(
264 		28, "GPIO28",
265 		MTK_EINT_FUNCTION(0, 28),
266 		DRV_GRP4,
267 		MTK_FUNCTION(0, "GPIO28"),
268 		MTK_FUNCTION(1, "MSDC3_CMD")
269 	),
270 	MTK_PIN(
271 		29, "GPIO29",
272 		MTK_EINT_FUNCTION(0, 29),
273 		DRV_GRP2,
274 		MTK_FUNCTION(0, "GPIO29"),
275 		MTK_FUNCTION(1, "PTA_RXD"),
276 		MTK_FUNCTION(2, "UCTS2")
277 	),
278 	MTK_PIN(
279 		30, "GPIO30",
280 		MTK_EINT_FUNCTION(0, 30),
281 		DRV_GRP2,
282 		MTK_FUNCTION(0, "GPIO30"),
283 		MTK_FUNCTION(1, "PTA_TXD"),
284 		MTK_FUNCTION(2, "URTS2")
285 	),
286 	MTK_PIN(
287 		31, "GPIO31",
288 		MTK_EINT_FUNCTION(0, 31),
289 		DRV_GRP2,
290 		MTK_FUNCTION(0, "GPIO31"),
291 		MTK_FUNCTION(1, "URXD2"),
292 		MTK_FUNCTION(2, "UTXD2")
293 	),
294 	MTK_PIN(
295 		32, "GPIO32",
296 		MTK_EINT_FUNCTION(0, 32),
297 		DRV_GRP2,
298 		MTK_FUNCTION(0, "GPIO32"),
299 		MTK_FUNCTION(1, "UTXD2"),
300 		MTK_FUNCTION(2, "URXD2")
301 	),
302 	MTK_PIN(
303 		33, "GPIO33",
304 		MTK_EINT_FUNCTION(0, 33),
305 		DRV_GRP2,
306 		MTK_FUNCTION(0, "GPIO33"),
307 		MTK_FUNCTION(1, "MRG_CLK"),
308 		MTK_FUNCTION(2, "PCM0_CLK")
309 	),
310 	MTK_PIN(
311 		34, "GPIO34",
312 		MTK_EINT_FUNCTION(0, 34),
313 		DRV_GRP2,
314 		MTK_FUNCTION(0, "GPIO34"),
315 		MTK_FUNCTION(1, "MRG_DI"),
316 		MTK_FUNCTION(2, "PCM0_DI")
317 	),
318 	MTK_PIN(
319 		35, "GPIO35",
320 		MTK_EINT_FUNCTION(0, 35),
321 		DRV_GRP2,
322 		MTK_FUNCTION(0, "GPIO35"),
323 		MTK_FUNCTION(1, "MRG_DO"),
324 		MTK_FUNCTION(2, "PCM0_DO")
325 	),
326 	MTK_PIN(
327 		36, "GPIO36",
328 		MTK_EINT_FUNCTION(0, 36),
329 		DRV_GRP2,
330 		MTK_FUNCTION(0, "GPIO36"),
331 		MTK_FUNCTION(1, "MRG_SYNC"),
332 		MTK_FUNCTION(2, "PCM0_SYNC")
333 	),
334 	MTK_PIN(
335 		37, "GPIO37",
336 		MTK_EINT_FUNCTION(0, 37),
337 		DRV_GRP2,
338 		MTK_FUNCTION(0, "GPIO37"),
339 		MTK_FUNCTION(1, "GPS_SYNC")
340 	),
341 	MTK_PIN(
342 		38, "GPIO38",
343 		MTK_EINT_FUNCTION(0, 38),
344 		DRV_GRP2,
345 		MTK_FUNCTION(0, "GPIO38"),
346 		MTK_FUNCTION(1, "DAIRSTB")
347 	),
348 	MTK_PIN(
349 		39, "GPIO39",
350 		MTK_EINT_FUNCTION(0, 39),
351 		DRV_GRP2,
352 		MTK_FUNCTION(0, "GPIO39"),
353 		MTK_FUNCTION(1, "CM2MCLK")
354 	),
355 	MTK_PIN(
356 		40, "GPIO40",
357 		MTK_EINT_FUNCTION(0, 40),
358 		DRV_GRP2,
359 		MTK_FUNCTION(0, "GPIO40"),
360 		MTK_FUNCTION(1, "CM3MCLK"),
361 		MTK_FUNCTION(2, "IRDA_PDN"),
362 		MTK_FUNCTION(3, "PWM6"),
363 		MTK_FUNCTION(4, "I2S1_WS")
364 	),
365 	MTK_PIN(
366 		41, "GPIO41",
367 		MTK_EINT_FUNCTION(0, 41),
368 		DRV_GRP2,
369 		MTK_FUNCTION(0, "GPIO41"),
370 		MTK_FUNCTION(1, "CMPCLK"),
371 		MTK_FUNCTION(2, "CMCSK"),
372 		MTK_FUNCTION(3, "FLASH")
373 	),
374 	MTK_PIN(
375 		42, "GPIO42",
376 		MTK_EINT_FUNCTION(0, 42),
377 		DRV_GRP2,
378 		MTK_FUNCTION(0, "GPIO42"),
379 		MTK_FUNCTION(1, "CMMCLK")
380 	),
381 	MTK_PIN(
382 		43, "GPIO43",
383 		MTK_EINT_FUNCTION(0, 43),
384 		DRV_FIXED,
385 		MTK_FUNCTION(0, "GPIO43"),
386 		MTK_FUNCTION(1, "SDA2")
387 	),
388 	MTK_PIN(
389 		44, "GPIO44",
390 		MTK_EINT_FUNCTION(0, 44),
391 		DRV_FIXED,
392 		MTK_FUNCTION(0, "GPIO44"),
393 		MTK_FUNCTION(1, "SCL2")
394 	),
395 	MTK_PIN(
396 		45, "GPIO45",
397 		MTK_EINT_FUNCTION(0, 45),
398 		DRV_FIXED,
399 		MTK_FUNCTION(0, "GPIO45"),
400 		MTK_FUNCTION(1, "SDA0")
401 	),
402 	MTK_PIN(
403 		46, "GPIO46",
404 		MTK_EINT_FUNCTION(0, 46),
405 		DRV_FIXED,
406 		MTK_FUNCTION(0, "GPIO46"),
407 		MTK_FUNCTION(1, "SCL0")
408 	),
409 	MTK_PIN(
410 		47, "GPIO47",
411 		MTK_EINT_FUNCTION(0, 47),
412 		DRV_GRP0,
413 		MTK_FUNCTION(0, "GPIO47"),
414 		MTK_FUNCTION(1, "BPI_BUS0")
415 	),
416 	MTK_PIN(
417 		48, "GPIO48",
418 		MTK_EINT_FUNCTION(0, 48),
419 		DRV_GRP0,
420 		MTK_FUNCTION(0, "GPIO48"),
421 		MTK_FUNCTION(1, "BPI_BUS1")
422 	),
423 	MTK_PIN(
424 		49, "GPIO49",
425 		MTK_EINT_FUNCTION(0, 49),
426 		DRV_GRP0,
427 		MTK_FUNCTION(0, "GPIO49"),
428 		MTK_FUNCTION(1, "BPI_BUS2")
429 	),
430 	MTK_PIN(
431 		50, "GPIO50",
432 		MTK_EINT_FUNCTION(0, 50),
433 		DRV_GRP0,
434 		MTK_FUNCTION(0, "GPIO50"),
435 		MTK_FUNCTION(1, "BPI_BUS3")
436 	),
437 	MTK_PIN(
438 		51, "GPIO51",
439 		MTK_EINT_FUNCTION(0, 51),
440 		DRV_GRP0,
441 		MTK_FUNCTION(0, "GPIO51"),
442 		MTK_FUNCTION(1, "BPI_BUS4")
443 	),
444 	MTK_PIN(
445 		52, "GPIO52",
446 		MTK_EINT_FUNCTION(0, 52),
447 		DRV_GRP0,
448 		MTK_FUNCTION(0, "GPIO52"),
449 		MTK_FUNCTION(1, "BPI_BUS5")
450 	),
451 	MTK_PIN(
452 		53, "GPIO53",
453 		MTK_EINT_FUNCTION(0, 53),
454 		DRV_GRP0,
455 		MTK_FUNCTION(0, "GPIO53"),
456 		MTK_FUNCTION(1, "BPI_BUS6")
457 	),
458 	MTK_PIN(
459 		54, "GPIO54",
460 		MTK_EINT_FUNCTION(0, 54),
461 		DRV_GRP0,
462 		MTK_FUNCTION(0, "GPIO54"),
463 		MTK_FUNCTION(1, "BPI_BUS7")
464 	),
465 	MTK_PIN(
466 		55, "GPIO55",
467 		MTK_EINT_FUNCTION(0, 55),
468 		DRV_GRP0,
469 		MTK_FUNCTION(0, "GPIO55"),
470 		MTK_FUNCTION(1, "BPI_BUS8")
471 	),
472 	MTK_PIN(
473 		56, "GPIO56",
474 		MTK_EINT_FUNCTION(0, 56),
475 		DRV_GRP0,
476 		MTK_FUNCTION(0, "GPIO56"),
477 		MTK_FUNCTION(1, "BPI_BUS9")
478 	),
479 	MTK_PIN(
480 		57, "GPIO57",
481 		MTK_EINT_FUNCTION(0, 57),
482 		DRV_GRP0,
483 		MTK_FUNCTION(0, "GPIO57"),
484 		MTK_FUNCTION(1, "BPI_BUS10")
485 	),
486 	MTK_PIN(
487 		58, "GPIO58",
488 		MTK_EINT_FUNCTION(0, 58),
489 		DRV_GRP0,
490 		MTK_FUNCTION(0, "GPIO58"),
491 		MTK_FUNCTION(1, "BPI_BUS11")
492 	),
493 	MTK_PIN(
494 		59, "GPIO59",
495 		MTK_EINT_FUNCTION(0, 59),
496 		DRV_GRP0,
497 		MTK_FUNCTION(0, "GPIO59"),
498 		MTK_FUNCTION(1, "BPI_BUS12")
499 	),
500 	MTK_PIN(
501 		60, "GPIO60",
502 		MTK_EINT_FUNCTION(0, 60),
503 		DRV_GRP0,
504 		MTK_FUNCTION(0, "GPIO60"),
505 		MTK_FUNCTION(1, "BPI_BUS13")
506 	),
507 	MTK_PIN(
508 		61, "GPIO61",
509 		MTK_EINT_FUNCTION(0, 61),
510 		DRV_GRP0,
511 		MTK_FUNCTION(0, "GPIO61"),
512 		MTK_FUNCTION(1, "BPI_BUS14")
513 	),
514 	MTK_PIN(
515 		62, "GPIO62",
516 		MTK_EINT_FUNCTION(0, 62),
517 		DRV_GRP0,
518 		MTK_FUNCTION(0, "GPIO62"),
519 		MTK_FUNCTION(1, "RFIC1_BSI_CK")
520 	),
521 	MTK_PIN(
522 		63, "GPIO63",
523 		MTK_EINT_FUNCTION(0, 63),
524 		DRV_GRP0,
525 		MTK_FUNCTION(0, "GPIO63"),
526 		MTK_FUNCTION(1, "RFIC1_BSI_D0")
527 	),
528 	MTK_PIN(
529 		64, "GPIO64",
530 		MTK_EINT_FUNCTION(0, 64),
531 		DRV_GRP0,
532 		MTK_FUNCTION(0, "GPIO64"),
533 		MTK_FUNCTION(1, "RFIC1_BSI_D1")
534 	),
535 	MTK_PIN(
536 		65, "GPIO65",
537 		MTK_EINT_FUNCTION(0, 65),
538 		DRV_GRP0,
539 		MTK_FUNCTION(0, "GPIO65"),
540 		MTK_FUNCTION(1, "RFIC1_BSI_D2")
541 	),
542 	MTK_PIN(
543 		66, "GPIO66",
544 		MTK_EINT_FUNCTION(0, 66),
545 		DRV_GRP0,
546 		MTK_FUNCTION(0, "GPIO66"),
547 		MTK_FUNCTION(1, "RFIC1_BSI_CS")
548 	),
549 	MTK_PIN(
550 		67, "GPIO67",
551 		MTK_EINT_FUNCTION(0, 67),
552 		DRV_GRP2,
553 		MTK_FUNCTION(0, "GPIO67"),
554 		MTK_FUNCTION(1, "TD_TXBPI")
555 	),
556 	MTK_PIN(
557 		68, "GPIO68",
558 		MTK_EINT_FUNCTION(0, 68),
559 		DRV_GRP0,
560 		MTK_FUNCTION(0, "GPIO68"),
561 		MTK_FUNCTION(1, "RFIC0_BSI_CK")
562 	),
563 	MTK_PIN(
564 		69, "GPIO69",
565 		MTK_EINT_FUNCTION(0, 69),
566 		DRV_GRP0,
567 		MTK_FUNCTION(0, "GPIO69"),
568 		MTK_FUNCTION(1, "RFIC0_BSI_D0")
569 	),
570 	MTK_PIN(
571 		70, "GPIO70",
572 		MTK_EINT_FUNCTION(0, 70),
573 		DRV_GRP0,
574 		MTK_FUNCTION(0, "GPIO70"),
575 		MTK_FUNCTION(1, "RFIC0_BSI_D1")
576 	),
577 	MTK_PIN(
578 		71, "GPIO71",
579 		MTK_EINT_FUNCTION(0, 71),
580 		DRV_GRP0,
581 		MTK_FUNCTION(0, "GPIO71"),
582 		MTK_FUNCTION(1, "RFIC0_BSI_D2")
583 	),
584 	MTK_PIN(
585 		72, "GPIO72",
586 		MTK_EINT_FUNCTION(0, 72),
587 		DRV_GRP0,
588 		MTK_FUNCTION(0, "GPIO72"),
589 		MTK_FUNCTION(1, "RFIC0_BSI_CS")
590 	),
591 	MTK_PIN(
592 		73, "GPIO73",
593 		MTK_EINT_FUNCTION(0, 73),
594 		DRV_GRP0,
595 		MTK_FUNCTION(0, "GPIO73"),
596 		MTK_FUNCTION(1, "MISC_BSI_DO")
597 	),
598 	MTK_PIN(
599 		74, "GPIO74",
600 		MTK_EINT_FUNCTION(0, 74),
601 		DRV_GRP0,
602 		MTK_FUNCTION(0, "GPIO74"),
603 		MTK_FUNCTION(1, "MISC_BSI_CK")
604 	),
605 	MTK_PIN(
606 		75, "GPIO75",
607 		MTK_EINT_FUNCTION(0, 75),
608 		DRV_GRP0,
609 		MTK_FUNCTION(0, "GPIO75"),
610 		MTK_FUNCTION(1, "MISC_BSI_CS0B"),
611 		MTK_FUNCTION(2, "MIPI1_SCLK")
612 	),
613 	MTK_PIN(
614 		76, "GPIO76",
615 		MTK_EINT_FUNCTION(0, 76),
616 		DRV_GRP0,
617 		MTK_FUNCTION(0, "GPIO76"),
618 		MTK_FUNCTION(1, "MISC_BSI_CS1B")
619 	),
620 	MTK_PIN(
621 		77, "GPIO77",
622 		MTK_EINT_FUNCTION(0, 77),
623 		DRV_GRP0,
624 		MTK_FUNCTION(0, "GPIO77"),
625 		MTK_FUNCTION(1, "MISC_BSI_DI"),
626 		MTK_FUNCTION(2, "MIPI1_SDATA")
627 	),
628 	MTK_PIN(
629 		78, "GPIO78",
630 		MTK_EINT_FUNCTION(0, 78),
631 		DRV_GRP0,
632 		MTK_FUNCTION(0, "GPIO78"),
633 		MTK_FUNCTION(1, "LTE_TXBPI")
634 	),
635 	MTK_PIN(
636 		79, "GPIO79",
637 		MTK_EINT_FUNCTION(0, 79),
638 		DRV_GRP0,
639 		MTK_FUNCTION(0, "GPIO79"),
640 		MTK_FUNCTION(1, "BPI_BUS15")
641 	),
642 	MTK_PIN(
643 		80, "GPIO80",
644 		MTK_EINT_FUNCTION(0, 80),
645 		DRV_GRP0,
646 		MTK_FUNCTION(0, "GPIO80"),
647 		MTK_FUNCTION(1, "BPI_BUS16")
648 	),
649 	MTK_PIN(
650 		81, "GPIO81",
651 		MTK_EINT_FUNCTION(0, 81),
652 		DRV_GRP0,
653 		MTK_FUNCTION(0, "GPIO81"),
654 		MTK_FUNCTION(1, "BPI_BUS17")
655 	),
656 	MTK_PIN(
657 		82, "GPIO82",
658 		MTK_EINT_FUNCTION(0, 82),
659 		DRV_GRP0,
660 		MTK_FUNCTION(0, "GPIO82"),
661 		MTK_FUNCTION(1, "BPI_BUS18")
662 	),
663 	MTK_PIN(
664 		83, "GPIO83",
665 		MTK_EINT_FUNCTION(0, 83),
666 		DRV_GRP0,
667 		MTK_FUNCTION(0, "GPIO83"),
668 		MTK_FUNCTION(1, "BPI_BUS19")
669 	),
670 	MTK_PIN(
671 		84, "GPIO84",
672 		MTK_EINT_FUNCTION(0, 84),
673 		DRV_GRP0,
674 		MTK_FUNCTION(0, "GPIO84"),
675 		MTK_FUNCTION(1, "BPI_BUS20")
676 	),
677 	MTK_PIN(
678 		85, "GPIO85",
679 		MTK_EINT_FUNCTION(0, 85),
680 		DRV_GRP0,
681 		MTK_FUNCTION(0, "GPIO85"),
682 		MTK_FUNCTION(1, "BPI_BUS21")
683 	),
684 	MTK_PIN(
685 		86, "GPIO86",
686 		MTK_EINT_FUNCTION(0, 86),
687 		DRV_GRP0,
688 		MTK_FUNCTION(0, "GPIO86"),
689 		MTK_FUNCTION(1, "BPI_BUS22")
690 	),
691 	MTK_PIN(
692 		87, "GPIO87",
693 		MTK_EINT_FUNCTION(0, 87),
694 		DRV_GRP0,
695 		MTK_FUNCTION(0, "GPIO87"),
696 		MTK_FUNCTION(1, "BPI_BUS23")
697 	),
698 	MTK_PIN(
699 		88, "GPIO88",
700 		MTK_EINT_FUNCTION(0, 88),
701 		DRV_GRP0,
702 		MTK_FUNCTION(0, "GPIO88"),
703 		MTK_FUNCTION(1, "BPI_BUS24")
704 	),
705 	MTK_PIN(
706 		89, "GPIO89",
707 		MTK_EINT_FUNCTION(0, 89),
708 		DRV_GRP0,
709 		MTK_FUNCTION(0, "GPIO89"),
710 		MTK_FUNCTION(1, "BPI_BUS25")
711 	),
712 	MTK_PIN(
713 		90, "GPIO90",
714 		MTK_EINT_FUNCTION(0, 90),
715 		DRV_GRP0,
716 		MTK_FUNCTION(0, "GPIO90"),
717 		MTK_FUNCTION(1, "BPI_BUS26")
718 	),
719 	MTK_PIN(
720 		91, "GPIO91",
721 		MTK_EINT_FUNCTION(0, 91),
722 		DRV_GRP0,
723 		MTK_FUNCTION(0, "GPIO91"),
724 		MTK_FUNCTION(1, "BPI_BUS27")
725 	),
726 	MTK_PIN(
727 		92, "GPIO92",
728 		MTK_EINT_FUNCTION(0, 92),
729 		DRV_GRP0,
730 		MTK_FUNCTION(0, "GPIO92"),
731 		MTK_FUNCTION(1, "PCM1_CLK"),
732 		MTK_FUNCTION(2, "I2S0_BCK"),
733 		MTK_FUNCTION(3, "NLD6")
734 	),
735 	MTK_PIN(
736 		93, "GPIO93",
737 		MTK_EINT_FUNCTION(0, 93),
738 		DRV_GRP0,
739 		MTK_FUNCTION(0, "GPIO93"),
740 		MTK_FUNCTION(1, "PCM1_SYNC"),
741 		MTK_FUNCTION(2, "I2S0_WS"),
742 		MTK_FUNCTION(3, "NLD7")
743 	),
744 	MTK_PIN(
745 		94, "GPIO94",
746 		MTK_EINT_FUNCTION(0, 94),
747 		DRV_GRP0,
748 		MTK_FUNCTION(0, "GPIO94"),
749 		MTK_FUNCTION(1, "PCM1_DI"),
750 		MTK_FUNCTION(2, "I2S0_DI"),
751 		MTK_FUNCTION(3, "NREB")
752 	),
753 	MTK_PIN(
754 		95, "GPIO95",
755 		MTK_EINT_FUNCTION(0, 95),
756 		DRV_GRP0,
757 		MTK_FUNCTION(0, "GPIO95"),
758 		MTK_FUNCTION(1, "PCM1_DO"),
759 		MTK_FUNCTION(2, "I2S0_DO"),
760 		MTK_FUNCTION(3, "NRNB0")
761 	),
762 	MTK_PIN(
763 		96, "GPIO96",
764 		MTK_EINT_FUNCTION(0, 96),
765 		DRV_GRP2,
766 		MTK_FUNCTION(0, "GPIO96"),
767 		MTK_FUNCTION(1, "URXD1"),
768 		MTK_FUNCTION(2, "UTXD1"),
769 		MTK_FUNCTION(3, "NWEB")
770 	),
771 	MTK_PIN(
772 		97, "GPIO97",
773 		MTK_EINT_FUNCTION(0, 97),
774 		DRV_GRP2,
775 		MTK_FUNCTION(0, "GPIO97"),
776 		MTK_FUNCTION(1, "UTXD1"),
777 		MTK_FUNCTION(2, "URXD1"),
778 		MTK_FUNCTION(3, "NCEB0")
779 	),
780 	MTK_PIN(
781 		98, "GPIO98",
782 		MTK_EINT_FUNCTION(0, 98),
783 		DRV_GRP2,
784 		MTK_FUNCTION(0, "GPIO98"),
785 		MTK_FUNCTION(1, "URTS1"),
786 		MTK_FUNCTION(2, "UCTS1"),
787 		MTK_FUNCTION(3, "NALE")
788 	),
789 	MTK_PIN(
790 		99, "GPIO99",
791 		MTK_EINT_FUNCTION(0, 99),
792 		DRV_GRP2,
793 		MTK_FUNCTION(0, "GPIO99"),
794 		MTK_FUNCTION(1, "UCTS1"),
795 		MTK_FUNCTION(2, "URTS1"),
796 		MTK_FUNCTION(3, "NCLE")
797 	),
798 	MTK_PIN(
799 		100, "GPIO100",
800 		MTK_EINT_FUNCTION(0, 100),
801 		DRV_GRP4,
802 		MTK_FUNCTION(0, "GPIO100"),
803 		MTK_FUNCTION(1, "MSDC2_DAT0"),
804 		MTK_FUNCTION(2, "URXD1"),
805 		MTK_FUNCTION(3, "USB_DRVVBUS"),
806 		MTK_FUNCTION(4, "SDA4")
807 	),
808 	MTK_PIN(
809 		101, "GPIO101",
810 		MTK_EINT_FUNCTION(0, 101),
811 		DRV_GRP4,
812 		MTK_FUNCTION(0, "GPIO101"),
813 		MTK_FUNCTION(1, "MSDC2_DAT1"),
814 		MTK_FUNCTION(2, "UTXD1"),
815 		MTK_FUNCTION(4, "SCL4")
816 	),
817 	MTK_PIN(
818 		102, "GPIO102",
819 		MTK_EINT_FUNCTION(0, 102),
820 		DRV_GRP4,
821 		MTK_FUNCTION(0, "GPIO102"),
822 		MTK_FUNCTION(1, "MSDC2_DAT2"),
823 		MTK_FUNCTION(2, "URTS1"),
824 		MTK_FUNCTION(3, "UTXD0"),
825 		MTK_FUNCTION(5, "PWM0"),
826 		MTK_FUNCTION(6, "SPI_CK_1")
827 	),
828 	MTK_PIN(
829 		103, "GPIO103",
830 		MTK_EINT_FUNCTION(0, 103),
831 		DRV_GRP4,
832 		MTK_FUNCTION(0, "GPIO103"),
833 		MTK_FUNCTION(1, "MSDC2_DAT3"),
834 		MTK_FUNCTION(2, "UCTS1"),
835 		MTK_FUNCTION(3, "URXD0"),
836 		MTK_FUNCTION(5, "PWM1"),
837 		MTK_FUNCTION(6, "SPI_MI_1")
838 	),
839 	MTK_PIN(
840 		104, "GPIO104",
841 		MTK_EINT_FUNCTION(0, 104),
842 		DRV_GRP4,
843 		MTK_FUNCTION(0, "GPIO104"),
844 		MTK_FUNCTION(1, "MSDC2_CLK"),
845 		MTK_FUNCTION(2, "NLD4"),
846 		MTK_FUNCTION(3, "UTXD3"),
847 		MTK_FUNCTION(4, "SDA3"),
848 		MTK_FUNCTION(5, "PWM2"),
849 		MTK_FUNCTION(6, "SPI_MO_1")
850 	),
851 	MTK_PIN(
852 		105, "GPIO105",
853 		MTK_EINT_FUNCTION(0, 105),
854 		DRV_GRP4,
855 		MTK_FUNCTION(0, "GPIO105"),
856 		MTK_FUNCTION(1, "MSDC2_CMD"),
857 		MTK_FUNCTION(2, "NLD5"),
858 		MTK_FUNCTION(3, "URXD3"),
859 		MTK_FUNCTION(4, "SCL3"),
860 		MTK_FUNCTION(5, "PWM3"),
861 		MTK_FUNCTION(6, "SPI_CS_1")
862 	),
863 	MTK_PIN(
864 		106, "GPIO106",
865 		MTK_EINT_FUNCTION(0, 106),
866 		DRV_GRP2,
867 		MTK_FUNCTION(0, "GPIO106"),
868 		MTK_FUNCTION(1, "LCM_RST")
869 	),
870 	MTK_PIN(
871 		107, "GPIO107",
872 		MTK_EINT_FUNCTION(0, 107),
873 		DRV_GRP2,
874 		MTK_FUNCTION(0, "GPIO107"),
875 		MTK_FUNCTION(1, "DSI_TE")
876 	),
877 	MTK_PIN(
878 		108, "GPIO108",
879 		MTK_EINT_FUNCTION(0, 108),
880 		DRV_GRP2,
881 		MTK_FUNCTION(0, "GPIO108"),
882 		MTK_FUNCTION(1, "JTMS"),
883 		MTK_FUNCTION(2, "MFG_JTAG_TMS"),
884 		MTK_FUNCTION(3, "TDD_TMS"),
885 		MTK_FUNCTION(4, "LTE_MD32_JTAG_TMS"),
886 		MTK_FUNCTION(5, "AP_MD32_JTAG_TMS"),
887 		MTK_FUNCTION(6, "DFD_TMS")
888 	),
889 	MTK_PIN(
890 		109, "GPIO109",
891 		MTK_EINT_FUNCTION(0, 109),
892 		DRV_GRP2,
893 		MTK_FUNCTION(0, "GPIO109"),
894 		MTK_FUNCTION(1, "JTCK"),
895 		MTK_FUNCTION(2, "MFG_JTAG_TCK"),
896 		MTK_FUNCTION(3, "TDD_TCK"),
897 		MTK_FUNCTION(4, "LTE_MD32_JTAG_TCK"),
898 		MTK_FUNCTION(5, "AP_MD32_JTAG_TCK"),
899 		MTK_FUNCTION(6, "DFD_TCK")
900 	),
901 	MTK_PIN(
902 		110, "GPIO110",
903 		MTK_EINT_FUNCTION(0, 110),
904 		DRV_GRP2,
905 		MTK_FUNCTION(0, "GPIO110"),
906 		MTK_FUNCTION(1, "JTDI"),
907 		MTK_FUNCTION(2, "MFG_JTAG_TDI"),
908 		MTK_FUNCTION(3, "TDD_TDI"),
909 		MTK_FUNCTION(4, "LTE_MD32_JTAG_TDI"),
910 		MTK_FUNCTION(5, "AP_MD32_JTAG_TDI"),
911 		MTK_FUNCTION(6, "DFD_TDI")
912 	),
913 	MTK_PIN(
914 		111, "GPIO111",
915 		MTK_EINT_FUNCTION(0, 111),
916 		DRV_GRP2,
917 		MTK_FUNCTION(0, "GPIO111"),
918 		MTK_FUNCTION(1, "JTDO"),
919 		MTK_FUNCTION(2, "MFG_JTAG_TDO"),
920 		MTK_FUNCTION(3, "TDD_TDO"),
921 		MTK_FUNCTION(4, "LTE_MD32_JTAG_TDO"),
922 		MTK_FUNCTION(5, "AP_MD32_JTAG_TDO"),
923 		MTK_FUNCTION(6, "DFD_TDO")
924 	),
925 	MTK_PIN(
926 		112, "GPIO112",
927 		MTK_EINT_FUNCTION(0, 112),
928 		DRV_GRP2,
929 		MTK_FUNCTION(0, "GPIO112"),
930 		MTK_FUNCTION(1, "JTRST_B"),
931 		MTK_FUNCTION(2, "MFG_JTAG_TRSTN"),
932 		MTK_FUNCTION(3, "TDD_TRSTN"),
933 		MTK_FUNCTION(4, "LTE_MD32_JTAG_TRST"),
934 		MTK_FUNCTION(5, "AP_MD32_JTAG_TRST"),
935 		MTK_FUNCTION(6, "DFD_NTRST")
936 	),
937 	MTK_PIN(
938 		113, "GPIO113",
939 		MTK_EINT_FUNCTION(0, 113),
940 		DRV_GRP2,
941 		MTK_FUNCTION(0, "GPIO113"),
942 		MTK_FUNCTION(1, "URXD0"),
943 		MTK_FUNCTION(2, "UTXD0"),
944 		MTK_FUNCTION(3, "MD_URXD"),
945 		MTK_FUNCTION(4, "LTE_URXD"),
946 		MTK_FUNCTION(5, "TDD_TXD"),
947 		MTK_FUNCTION(6, "I2S2_WS")
948 	),
949 	MTK_PIN(
950 		114, "GPIO114",
951 		MTK_EINT_FUNCTION(0, 114),
952 		DRV_GRP2,
953 		MTK_FUNCTION(0, "GPIO114"),
954 		MTK_FUNCTION(1, "UTXD0"),
955 		MTK_FUNCTION(2, "URXD0"),
956 		MTK_FUNCTION(3, "MD_UTXD"),
957 		MTK_FUNCTION(4, "LTE_UTXD"),
958 		MTK_FUNCTION(5, "TDD_TXD"),
959 		MTK_FUNCTION(6, "I2S2_BCK")
960 	),
961 	MTK_PIN(
962 		115, "GPIO115",
963 		MTK_EINT_FUNCTION(0, 115),
964 		DRV_GRP2,
965 		MTK_FUNCTION(0, "GPIO115"),
966 		MTK_FUNCTION(1, "URTS0"),
967 		MTK_FUNCTION(2, "UCTS0"),
968 		MTK_FUNCTION(3, "MD_URXD"),
969 		MTK_FUNCTION(4, "LTE_URXD"),
970 		MTK_FUNCTION(5, "TDD_TXD"),
971 		MTK_FUNCTION(6, "I2S2_MCK")
972 	),
973 	MTK_PIN(
974 		116, "GPIO116",
975 		MTK_EINT_FUNCTION(0, 116),
976 		DRV_GRP2,
977 		MTK_FUNCTION(0, "GPIO116"),
978 		MTK_FUNCTION(1, "UCTS0"),
979 		MTK_FUNCTION(2, "URTS0"),
980 		MTK_FUNCTION(3, "MD_UTXD"),
981 		MTK_FUNCTION(4, "LTE_UTXD"),
982 		MTK_FUNCTION(5, "TDD_TXD"),
983 		MTK_FUNCTION(6, "I2S2_DI_1")
984 	),
985 	MTK_PIN(
986 		117, "GPIO117",
987 		MTK_EINT_FUNCTION(0, 117),
988 		DRV_GRP2,
989 		MTK_FUNCTION(0, "GPIO117"),
990 		MTK_FUNCTION(1, "URXD3"),
991 		MTK_FUNCTION(2, "UTXD3"),
992 		MTK_FUNCTION(3, "MD_URXD"),
993 		MTK_FUNCTION(4, "LTE_URXD"),
994 		MTK_FUNCTION(5, "TDD_TXD")
995 	),
996 	MTK_PIN(
997 		118, "GPIO118",
998 		MTK_EINT_FUNCTION(0, 118),
999 		DRV_GRP2,
1000 		MTK_FUNCTION(0, "GPIO118"),
1001 		MTK_FUNCTION(1, "UTXD3"),
1002 		MTK_FUNCTION(2, "URXD3"),
1003 		MTK_FUNCTION(3, "MD_UTXD"),
1004 		MTK_FUNCTION(4, "LTE_UTXD"),
1005 		MTK_FUNCTION(5, "TDD_TXD")
1006 	),
1007 	MTK_PIN(
1008 		119, "GPIO119",
1009 		MTK_EINT_FUNCTION(0, 119),
1010 		DRV_GRP2,
1011 		MTK_FUNCTION(0, "GPIO119"),
1012 		MTK_FUNCTION(1, "KROW0")
1013 	),
1014 	MTK_PIN(
1015 		120, "GPIO120",
1016 		MTK_EINT_FUNCTION(0, 120),
1017 		DRV_GRP2,
1018 		MTK_FUNCTION(0, "GPIO120"),
1019 		MTK_FUNCTION(1, "KROW1"),
1020 		MTK_FUNCTION(3, "PWM6")
1021 	),
1022 	MTK_PIN(
1023 		121, "GPIO121",
1024 		MTK_EINT_FUNCTION(0, 121),
1025 		DRV_GRP2,
1026 		MTK_FUNCTION(0, "GPIO121"),
1027 		MTK_FUNCTION(1, "KROW2"),
1028 		MTK_FUNCTION(2, "IRDA_PDN"),
1029 		MTK_FUNCTION(3, "I2S1_DO_1"),
1030 		MTK_FUNCTION(4, "USB_DRVVBUS"),
1031 		MTK_FUNCTION(5, "SPI_CK_2"),
1032 		MTK_FUNCTION(6, "PWM4")
1033 	),
1034 	MTK_PIN(
1035 		122, "GPIO122",
1036 		MTK_EINT_FUNCTION(0, 122),
1037 		DRV_GRP2,
1038 		MTK_FUNCTION(0, "GPIO122"),
1039 		MTK_FUNCTION(1, "KCOL0")
1040 	),
1041 	MTK_PIN(
1042 		123, "GPIO123",
1043 		MTK_EINT_FUNCTION(0, 123),
1044 		DRV_GRP2,
1045 		MTK_FUNCTION(0, "GPIO123"),
1046 		MTK_FUNCTION(1, "KCOL1"),
1047 		MTK_FUNCTION(2, "IRDA_RXD"),
1048 		MTK_FUNCTION(3, "I2S2_DI_2"),
1049 		MTK_FUNCTION(4, "PWM5")
1050 	),
1051 	MTK_PIN(
1052 		124, "GPIO124",
1053 		MTK_EINT_FUNCTION(0, 124),
1054 		DRV_GRP2,
1055 		MTK_FUNCTION(0, "GPIO124"),
1056 		MTK_FUNCTION(1, "KCOL2"),
1057 		MTK_FUNCTION(2, "IRDA_TXD"),
1058 		MTK_FUNCTION(3, "I2S1_DO_2"),
1059 		MTK_FUNCTION(4, "USB_DRVVBUS"),
1060 		MTK_FUNCTION(5, "SPI_MI_2"),
1061 		MTK_FUNCTION(6, "PWM3")
1062 	),
1063 	MTK_PIN(
1064 		125, "GPIO125",
1065 		MTK_EINT_FUNCTION(0, 125),
1066 		DRV_GRP2,
1067 		MTK_FUNCTION(0, "GPIO125"),
1068 		MTK_FUNCTION(1, "SDA1")
1069 	),
1070 	MTK_PIN(
1071 		126, "GPIO126",
1072 		MTK_EINT_FUNCTION(0, 126),
1073 		DRV_GRP2,
1074 		MTK_FUNCTION(0, "GPIO126"),
1075 		MTK_FUNCTION(1, "SCL1")
1076 	),
1077 	MTK_PIN(
1078 		127, "GPIO127",
1079 		MTK_EINT_FUNCTION(1, 127),
1080 		DRV_GRP2,
1081 		MTK_FUNCTION(0, "GPIO127"),
1082 		MTK_FUNCTION(1, "MD_EINT1"),
1083 		MTK_FUNCTION(2, "DISP_PWM1"),
1084 		MTK_FUNCTION(3, "SPI_MO_2")
1085 	),
1086 	MTK_PIN(
1087 		128, "GPIO128",
1088 		MTK_EINT_FUNCTION(1, 128),
1089 		DRV_GRP2,
1090 		MTK_FUNCTION(0, "GPIO128"),
1091 		MTK_FUNCTION(1, "MD_EINT2"),
1092 		MTK_FUNCTION(2, "DSI1_TE"),
1093 		MTK_FUNCTION(3, "SPI_CS_2")
1094 	),
1095 	MTK_PIN(
1096 		129, "GPIO129",
1097 		MTK_EINT_FUNCTION(0, 129),
1098 		DRV_GRP2,
1099 		MTK_FUNCTION(0, "GPIO129"),
1100 		MTK_FUNCTION(1, "I2S3_WS"),
1101 		MTK_FUNCTION(2, "I2S2_WS"),
1102 		MTK_FUNCTION(3, "PWM0")
1103 	),
1104 	MTK_PIN(
1105 		130, "GPIO130",
1106 		MTK_EINT_FUNCTION(0, 130),
1107 		DRV_GRP2,
1108 		MTK_FUNCTION(0, "GPIO130"),
1109 		MTK_FUNCTION(1, "I2S3_BCK"),
1110 		MTK_FUNCTION(2, "I2S2_BCK"),
1111 		MTK_FUNCTION(3, "PWM1")
1112 	),
1113 	MTK_PIN(
1114 		131, "GPIO131",
1115 		MTK_EINT_FUNCTION(0, 131),
1116 		DRV_GRP2,
1117 		MTK_FUNCTION(0, "GPIO131"),
1118 		MTK_FUNCTION(1, "I2S3_MCK"),
1119 		MTK_FUNCTION(2, "I2S2_MCK"),
1120 		MTK_FUNCTION(3, "PWM2")
1121 	),
1122 	MTK_PIN(
1123 		132, "GPIO132",
1124 		MTK_EINT_FUNCTION(0, 132),
1125 		DRV_GRP2,
1126 		MTK_FUNCTION(0, "GPIO132"),
1127 		MTK_FUNCTION(1, "I2S3_DO_1"),
1128 		MTK_FUNCTION(2, "I2S2_DI_1"),
1129 		MTK_FUNCTION(3, "PWM3")
1130 	),
1131 	MTK_PIN(
1132 		133, "GPIO133",
1133 		MTK_EINT_FUNCTION(0, 133),
1134 		DRV_GRP2,
1135 		MTK_FUNCTION(0, "GPIO133"),
1136 		MTK_FUNCTION(1, "I2S3_DO_2"),
1137 		MTK_FUNCTION(2, "I2S2_DI_2"),
1138 		MTK_FUNCTION(3, "PWM4")
1139 	),
1140 	MTK_PIN(
1141 		134, "GPIO134",
1142 		MTK_EINT_FUNCTION(0, 134),
1143 		DRV_GRP2,
1144 		MTK_FUNCTION(0, "GPIO134"),
1145 		MTK_FUNCTION(1, "I2S3_DO_3"),
1146 		MTK_FUNCTION(2, "DISP_PWM1"),
1147 		MTK_FUNCTION(3, "I2S1_DO_1"),
1148 		MTK_FUNCTION(4, "PWM5")
1149 	),
1150 	MTK_PIN(
1151 		135, "GPIO135",
1152 		MTK_EINT_FUNCTION(0, 135),
1153 		DRV_GRP2,
1154 		MTK_FUNCTION(0, "GPIO135"),
1155 		MTK_FUNCTION(1, "I2S3_DO_4"),
1156 		MTK_FUNCTION(2, "DSI1_TE"),
1157 		MTK_FUNCTION(3, "I2S1_DO_2"),
1158 		MTK_FUNCTION(4, "PWM6")
1159 	),
1160 	MTK_PIN(
1161 		136, "GPIO136",
1162 		MTK_EINT_FUNCTION(0, 136),
1163 		DRV_FIXED,
1164 		MTK_FUNCTION(0, "GPIO136"),
1165 		MTK_FUNCTION(1, "SDA3")
1166 	),
1167 	MTK_PIN(
1168 		137, "GPIO137",
1169 		MTK_EINT_FUNCTION(0, 137),
1170 		DRV_FIXED,
1171 		MTK_FUNCTION(0, "GPIO137"),
1172 		MTK_FUNCTION(1, "SCL3")
1173 	),
1174 	MTK_PIN(
1175 		138, "GPIO138",
1176 		MTK_EINT_FUNCTION(0, 138),
1177 		DRV_GRP4,
1178 		MTK_FUNCTION(0, "GPIO138"),
1179 		MTK_FUNCTION(1, "DPI_CK"),
1180 		MTK_FUNCTION(2, "NLD6"),
1181 		MTK_FUNCTION(3, "UTXD0"),
1182 		MTK_FUNCTION(4, "USB_DRVVBUS"),
1183 		MTK_FUNCTION(5, "IRDA_PDN")
1184 	),
1185 	MTK_PIN(
1186 		139, "GPIO139",
1187 		MTK_EINT_FUNCTION(0, 139),
1188 		DRV_GRP4,
1189 		MTK_FUNCTION(0, "GPIO139"),
1190 		MTK_FUNCTION(1, "DPI_DE"),
1191 		MTK_FUNCTION(2, "NLD7"),
1192 		MTK_FUNCTION(3, "URXD0"),
1193 		MTK_FUNCTION(4, "MD_UTXD"),
1194 		MTK_FUNCTION(5, "IRDA_RXD")
1195 	),
1196 	MTK_PIN(
1197 		140, "GPIO140",
1198 		MTK_EINT_FUNCTION(0, 140),
1199 		DRV_GRP4,
1200 		MTK_FUNCTION(0, "GPIO140"),
1201 		MTK_FUNCTION(1, "DPI_D0"),
1202 		MTK_FUNCTION(2, "NREB"),
1203 		MTK_FUNCTION(3, "UCTS0"),
1204 		MTK_FUNCTION(4, "MD_URXD"),
1205 		MTK_FUNCTION(5, "IRDA_TXD")
1206 	),
1207 	MTK_PIN(
1208 		141, "GPIO141",
1209 		MTK_EINT_FUNCTION(0, 141),
1210 		DRV_GRP4,
1211 		MTK_FUNCTION(0, "GPIO141"),
1212 		MTK_FUNCTION(1, "DPI_D1"),
1213 		MTK_FUNCTION(2, "NRNB0"),
1214 		MTK_FUNCTION(3, "URTS0"),
1215 		MTK_FUNCTION(4, "LTE_UTXD"),
1216 		MTK_FUNCTION(5, "I2S2_WS")
1217 	),
1218 	MTK_PIN(
1219 		142, "GPIO142",
1220 		MTK_EINT_FUNCTION(0, 142),
1221 		DRV_GRP4,
1222 		MTK_FUNCTION(0, "GPIO142"),
1223 		MTK_FUNCTION(1, "DPI_D2"),
1224 		MTK_FUNCTION(2, "NWEB"),
1225 		MTK_FUNCTION(3, "UTXD1"),
1226 		MTK_FUNCTION(4, "LTE_URXD"),
1227 		MTK_FUNCTION(5, "I2S2_BCK")
1228 	),
1229 	MTK_PIN(
1230 		143, "GPIO143",
1231 		MTK_EINT_FUNCTION(0, 143),
1232 		DRV_GRP4,
1233 		MTK_FUNCTION(0, "GPIO143"),
1234 		MTK_FUNCTION(1, "DPI_D3"),
1235 		MTK_FUNCTION(2, "NCEB0"),
1236 		MTK_FUNCTION(3, "URXD1"),
1237 		MTK_FUNCTION(4, "TDD_TXD"),
1238 		MTK_FUNCTION(5, "I2S2_MCK")
1239 	),
1240 	MTK_PIN(
1241 		144, "GPIO144",
1242 		MTK_EINT_FUNCTION(0, 144),
1243 		DRV_GRP4,
1244 		MTK_FUNCTION(0, "GPIO144"),
1245 		MTK_FUNCTION(1, "DPI_D4"),
1246 		MTK_FUNCTION(2, "NALE"),
1247 		MTK_FUNCTION(3, "UCTS1"),
1248 		MTK_FUNCTION(4, "TDD_TMS"),
1249 		MTK_FUNCTION(5, "I2S2_DI_1")
1250 	),
1251 	MTK_PIN(
1252 		145, "GPIO145",
1253 		MTK_EINT_FUNCTION(0, 145),
1254 		DRV_GRP4,
1255 		MTK_FUNCTION(0, "GPIO145"),
1256 		MTK_FUNCTION(1, "DPI_D5"),
1257 		MTK_FUNCTION(2, "NCLE"),
1258 		MTK_FUNCTION(3, "URTS1"),
1259 		MTK_FUNCTION(4, "TDD_TCK"),
1260 		MTK_FUNCTION(5, "I2S2_DI_2")
1261 	),
1262 	MTK_PIN(
1263 		146, "GPIO146",
1264 		MTK_EINT_FUNCTION(0, 146),
1265 		DRV_GRP4,
1266 		MTK_FUNCTION(0, "GPIO146"),
1267 		MTK_FUNCTION(1, "DPI_D6"),
1268 		MTK_FUNCTION(2, "NLD8"),
1269 		MTK_FUNCTION(3, "UTXD2"),
1270 		MTK_FUNCTION(4, "TDD_TDI")
1271 	),
1272 	MTK_PIN(
1273 		147, "GPIO147",
1274 		MTK_EINT_FUNCTION(0, 147),
1275 		DRV_GRP4,
1276 		MTK_FUNCTION(0, "GPIO147"),
1277 		MTK_FUNCTION(1, "DPI_D7"),
1278 		MTK_FUNCTION(2, "NLD9"),
1279 		MTK_FUNCTION(3, "URXD2"),
1280 		MTK_FUNCTION(4, "TDD_TDO"),
1281 		MTK_FUNCTION(5, "I2S1_WS")
1282 	),
1283 	MTK_PIN(
1284 		148, "GPIO148",
1285 		MTK_EINT_FUNCTION(0, 148),
1286 		DRV_GRP4,
1287 		MTK_FUNCTION(0, "GPIO148"),
1288 		MTK_FUNCTION(1, "DPI_D8"),
1289 		MTK_FUNCTION(2, "NLD10"),
1290 		MTK_FUNCTION(3, "UCTS2"),
1291 		MTK_FUNCTION(4, "TDD_TRSTN"),
1292 		MTK_FUNCTION(5, "I2S1_BCK")
1293 	),
1294 	MTK_PIN(
1295 		149, "GPIO149",
1296 		MTK_EINT_FUNCTION(0, 149),
1297 		DRV_GRP4,
1298 		MTK_FUNCTION(0, "GPIO149"),
1299 		MTK_FUNCTION(1, "DPI_D9"),
1300 		MTK_FUNCTION(2, "NLD11"),
1301 		MTK_FUNCTION(3, "URTS2"),
1302 		MTK_FUNCTION(4, "LTE_MD32_JTAG_TMS"),
1303 		MTK_FUNCTION(5, "I2S1_MCK")
1304 	),
1305 	MTK_PIN(
1306 		150, "GPIO150",
1307 		MTK_EINT_FUNCTION(0, 150),
1308 		DRV_GRP4,
1309 		MTK_FUNCTION(0, "GPIO150"),
1310 		MTK_FUNCTION(1, "DPI_D10"),
1311 		MTK_FUNCTION(2, "NLD12"),
1312 		MTK_FUNCTION(3, "UTXD3"),
1313 		MTK_FUNCTION(4, "LTE_MD32_JTAG_TCK"),
1314 		MTK_FUNCTION(5, "I2S1_DO_1")
1315 	),
1316 	MTK_PIN(
1317 		151, "GPIO151",
1318 		MTK_EINT_FUNCTION(0, 151),
1319 		DRV_GRP4,
1320 		MTK_FUNCTION(0, "GPIO151"),
1321 		MTK_FUNCTION(1, "DPI_D11"),
1322 		MTK_FUNCTION(2, "NLD13"),
1323 		MTK_FUNCTION(3, "URXD3"),
1324 		MTK_FUNCTION(4, "LTE_MD32_JTAG_TDI"),
1325 		MTK_FUNCTION(5, "I2S1_DO_2")
1326 	),
1327 	MTK_PIN(
1328 		152, "GPIO152",
1329 		MTK_EINT_FUNCTION(0, 152),
1330 		DRV_GRP4,
1331 		MTK_FUNCTION(0, "GPIO152"),
1332 		MTK_FUNCTION(1, "DPI_HSYNC"),
1333 		MTK_FUNCTION(2, "NLD14"),
1334 		MTK_FUNCTION(3, "UCTS3"),
1335 		MTK_FUNCTION(4, "LTE_MD32_JTAG_TDO"),
1336 		MTK_FUNCTION(5, "DSI1_TE")
1337 	),
1338 	MTK_PIN(
1339 		153, "GPIO153",
1340 		MTK_EINT_FUNCTION(0, 153),
1341 		DRV_GRP4,
1342 		MTK_FUNCTION(0, "GPIO153"),
1343 		MTK_FUNCTION(1, "DPI_VSYNC"),
1344 		MTK_FUNCTION(2, "NLD15"),
1345 		MTK_FUNCTION(3, "URTS3"),
1346 		MTK_FUNCTION(4, "LTE_MD32_JTAG_TRST"),
1347 		MTK_FUNCTION(5, "DISP_PWM1")
1348 	),
1349 	MTK_PIN(
1350 		154, "GPIO154",
1351 		MTK_EINT_FUNCTION(0, 154),
1352 		DRV_GRP4,
1353 		MTK_FUNCTION(0, "GPIO154"),
1354 		MTK_FUNCTION(1, "MSDC0_DAT0"),
1355 		MTK_FUNCTION(2, "NLD8")
1356 	),
1357 	MTK_PIN(
1358 		155, "GPIO155",
1359 		MTK_EINT_FUNCTION(0, 155),
1360 		DRV_GRP4,
1361 		MTK_FUNCTION(0, "GPIO155"),
1362 		MTK_FUNCTION(1, "MSDC0_DAT1"),
1363 		MTK_FUNCTION(2, "NLD9")
1364 	),
1365 	MTK_PIN(
1366 		156, "GPIO156",
1367 		MTK_EINT_FUNCTION(0, 156),
1368 		DRV_GRP4,
1369 		MTK_FUNCTION(0, "GPIO156"),
1370 		MTK_FUNCTION(1, "MSDC0_DAT2"),
1371 		MTK_FUNCTION(2, "NLD10")
1372 	),
1373 	MTK_PIN(
1374 		157, "GPIO157",
1375 		MTK_EINT_FUNCTION(0, 157),
1376 		DRV_GRP4,
1377 		MTK_FUNCTION(0, "GPIO157"),
1378 		MTK_FUNCTION(1, "MSDC0_DAT3"),
1379 		MTK_FUNCTION(2, "NLD11")
1380 	),
1381 	MTK_PIN(
1382 		158, "GPIO158",
1383 		MTK_EINT_FUNCTION(0, 158),
1384 		DRV_GRP4,
1385 		MTK_FUNCTION(0, "GPIO158"),
1386 		MTK_FUNCTION(1, "MSDC0_DAT4"),
1387 		MTK_FUNCTION(2, "NLD12")
1388 	),
1389 	MTK_PIN(
1390 		159, "GPIO159",
1391 		MTK_EINT_FUNCTION(0, 159),
1392 		DRV_GRP4,
1393 		MTK_FUNCTION(0, "GPIO159"),
1394 		MTK_FUNCTION(1, "MSDC0_DAT5"),
1395 		MTK_FUNCTION(2, "NLD13")
1396 	),
1397 	MTK_PIN(
1398 		160, "GPIO160",
1399 		MTK_EINT_FUNCTION(0, 160),
1400 		DRV_GRP4,
1401 		MTK_FUNCTION(0, "GPIO160"),
1402 		MTK_FUNCTION(1, "MSDC0_DAT6"),
1403 		MTK_FUNCTION(2, "NLD14")
1404 	),
1405 	MTK_PIN(
1406 		161, "GPIO161",
1407 		MTK_EINT_FUNCTION(0, 161),
1408 		DRV_GRP4,
1409 		MTK_FUNCTION(0, "GPIO161"),
1410 		MTK_FUNCTION(1, "MSDC0_DAT7"),
1411 		MTK_FUNCTION(2, "NLD15")
1412 	),
1413 	MTK_PIN(
1414 		162, "GPIO162",
1415 		MTK_EINT_FUNCTION(0, 162),
1416 		DRV_GRP4,
1417 		MTK_FUNCTION(0, "GPIO162"),
1418 		MTK_FUNCTION(1, "MSDC0_CMD")
1419 	),
1420 	MTK_PIN(
1421 		163, "GPIO163",
1422 		MTK_EINT_FUNCTION(0, 163),
1423 		DRV_GRP4,
1424 		MTK_FUNCTION(0, "GPIO163"),
1425 		MTK_FUNCTION(1, "MSDC0_CLK")
1426 	),
1427 	MTK_PIN(
1428 		164, "GPIO164",
1429 		MTK_EINT_FUNCTION(0, 164),
1430 		DRV_GRP4,
1431 		MTK_FUNCTION(0, "GPIO164"),
1432 		MTK_FUNCTION(1, "MSDC0_DSL")
1433 	),
1434 	MTK_PIN(
1435 		165, "GPIO165",
1436 		MTK_EINT_FUNCTION(0, 165),
1437 		DRV_GRP4,
1438 		MTK_FUNCTION(0, "GPIO165"),
1439 		MTK_FUNCTION(1, "MSDC0_RSTB")
1440 	),
1441 	MTK_PIN(
1442 		166, "GPIO166",
1443 		MTK_EINT_FUNCTION(0, 166),
1444 		DRV_GRP2,
1445 		MTK_FUNCTION(0, "GPIO166"),
1446 		MTK_FUNCTION(1, "SPI_CK_0"),
1447 		MTK_FUNCTION(3, "PWM0")
1448 	),
1449 	MTK_PIN(
1450 		167, "GPIO167",
1451 		MTK_EINT_FUNCTION(0, 167),
1452 		DRV_GRP2,
1453 		MTK_FUNCTION(0, "GPIO167"),
1454 		MTK_FUNCTION(1, "SPI_MI_0"),
1455 		MTK_FUNCTION(3, "PWM1"),
1456 		MTK_FUNCTION(4, "SPI_MO_0")
1457 	),
1458 	MTK_PIN(
1459 		168, "GPIO168",
1460 		MTK_EINT_FUNCTION(2, 168),
1461 		DRV_GRP2,
1462 		MTK_FUNCTION(0, "GPIO168"),
1463 		MTK_FUNCTION(1, "SPI_MO_0"),
1464 		MTK_FUNCTION(2, "MD_EINT3"),
1465 		MTK_FUNCTION(3, "PWM2"),
1466 		MTK_FUNCTION(4, "SPI_MI_0")
1467 	),
1468 	MTK_PIN(
1469 		169, "GPIO169",
1470 		MTK_EINT_FUNCTION(2, 169),
1471 		DRV_GRP2,
1472 		MTK_FUNCTION(0, "GPIO169"),
1473 		MTK_FUNCTION(1, "SPI_CS_0"),
1474 		MTK_FUNCTION(2, "MD_EINT4"),
1475 		MTK_FUNCTION(3, "PWM3")
1476 	),
1477 	MTK_PIN(
1478 		170, "GPIO170",
1479 		MTK_EINT_FUNCTION(0, 170),
1480 		DRV_GRP4,
1481 		MTK_FUNCTION(0, "GPIO170"),
1482 		MTK_FUNCTION(1, "MSDC1_CMD")
1483 	),
1484 	MTK_PIN(
1485 		171, "GPIO171",
1486 		MTK_EINT_FUNCTION(0, 171),
1487 		DRV_GRP4,
1488 		MTK_FUNCTION(0, "GPIO171"),
1489 		MTK_FUNCTION(1, "MSDC1_DAT0")
1490 	),
1491 	MTK_PIN(
1492 		172, "GPIO172",
1493 		MTK_EINT_FUNCTION(0, 172),
1494 		DRV_GRP4,
1495 		MTK_FUNCTION(0, "GPIO172"),
1496 		MTK_FUNCTION(1, "MSDC1_DAT1")
1497 	),
1498 	MTK_PIN(
1499 		173, "GPIO173",
1500 		MTK_EINT_FUNCTION(0, 173),
1501 		DRV_GRP4,
1502 		MTK_FUNCTION(0, "GPIO173"),
1503 		MTK_FUNCTION(1, "MSDC1_DAT2")
1504 	),
1505 	MTK_PIN(
1506 		174, "GPIO174",
1507 		MTK_EINT_FUNCTION(0, 174),
1508 		DRV_GRP4,
1509 		MTK_FUNCTION(0, "GPIO174"),
1510 		MTK_FUNCTION(1, "MSDC1_DAT3")
1511 	),
1512 	MTK_PIN(
1513 		175, "GPIO175",
1514 		MTK_EINT_FUNCTION(0, 175),
1515 		DRV_GRP4,
1516 		MTK_FUNCTION(0, "GPIO175"),
1517 		MTK_FUNCTION(1, "MSDC1_CLK")
1518 	),
1519 	MTK_PIN(
1520 		176, "GPIO176",
1521 		MTK_EINT_FUNCTION(0, 176),
1522 		DRV_GRP2,
1523 		MTK_FUNCTION(0, "GPIO176"),
1524 		MTK_FUNCTION(1, "PWRAP_SPIMI"),
1525 		MTK_FUNCTION(2, "PWRAP_SPIMO")
1526 	),
1527 	MTK_PIN(
1528 		177, "GPIO177",
1529 		MTK_EINT_FUNCTION(0, 177),
1530 		DRV_GRP2,
1531 		MTK_FUNCTION(0, "GPIO177"),
1532 		MTK_FUNCTION(1, "PWRAP_SPIMO"),
1533 		MTK_FUNCTION(2, "PWRAP_SPIMI")
1534 	),
1535 	MTK_PIN(
1536 		178, "GPIO178",
1537 		MTK_EINT_FUNCTION(0, 178),
1538 		DRV_GRP2,
1539 		MTK_FUNCTION(0, "GPIO178"),
1540 		MTK_FUNCTION(1, "PWRAP_SPICK")
1541 	),
1542 	MTK_PIN(
1543 		179, "GPIO179",
1544 		MTK_EINT_FUNCTION(0, 179),
1545 		DRV_GRP2,
1546 		MTK_FUNCTION(0, "GPIO179"),
1547 		MTK_FUNCTION(1, "PWRAP_SPICS")
1548 	),
1549 	MTK_PIN(
1550 		180, "GPIO180",
1551 		MTK_EINT_FUNCTION(0, 180),
1552 		DRV_GRP2,
1553 		MTK_FUNCTION(0, "GPIO180"),
1554 		MTK_FUNCTION(1, "AUD_CLK_MOSI"),
1555 		MTK_FUNCTION(2, "I2S1_WS"),
1556 		MTK_FUNCTION(3, "I2S2_WS"),
1557 		MTK_FUNCTION(4, "I2S0_WS")
1558 	),
1559 	MTK_PIN(
1560 		181, "GPIO181",
1561 		MTK_EINT_FUNCTION(0, 181),
1562 		DRV_GRP2,
1563 		MTK_FUNCTION(0, "GPIO181"),
1564 		MTK_FUNCTION(1, "AUD_DAT_MISO_1"),
1565 		MTK_FUNCTION(2, "I2S1_BCK"),
1566 		MTK_FUNCTION(3, "I2S2_BCK"),
1567 		MTK_FUNCTION(4, "I2S0_BCK")
1568 	),
1569 	MTK_PIN(
1570 		182, "GPIO182",
1571 		MTK_EINT_FUNCTION(0, 182),
1572 		DRV_GRP2,
1573 		MTK_FUNCTION(0, "GPIO182"),
1574 		MTK_FUNCTION(1, "AUD_DAT_MOSI_1"),
1575 		MTK_FUNCTION(2, "I2S1_MCK"),
1576 		MTK_FUNCTION(3, "I2S2_MCK"),
1577 		MTK_FUNCTION(4, "I2S0_MCK")
1578 	),
1579 	MTK_PIN(
1580 		183, "GPIO183",
1581 		MTK_EINT_FUNCTION(0, 183),
1582 		DRV_GRP2,
1583 		MTK_FUNCTION(0, "GPIO183"),
1584 		MTK_FUNCTION(1, "AUD_DAT_MISO_2"),
1585 		MTK_FUNCTION(2, "I2S1_DO_1"),
1586 		MTK_FUNCTION(3, "I2S2_DI_1"),
1587 		MTK_FUNCTION(4, "I2S0_DO")
1588 	),
1589 	MTK_PIN(
1590 		184, "GPIO184",
1591 		MTK_EINT_FUNCTION(0, 184),
1592 		DRV_GRP2,
1593 		MTK_FUNCTION(0, "GPIO184"),
1594 		MTK_FUNCTION(1, "AUD_DAT_MOSI_2"),
1595 		MTK_FUNCTION(2, "I2S1_DO_2"),
1596 		MTK_FUNCTION(3, "I2S2_DI_2"),
1597 		MTK_FUNCTION(4, "I2S0_DI")
1598 	),
1599 	MTK_PIN(
1600 		185, "GPIO185",
1601 		MTK_EINT_FUNCTION(0, 185),
1602 		DRV_GRP2,
1603 		MTK_FUNCTION(0, "GPIO185"),
1604 		MTK_FUNCTION(1, "RTC32K_CK")
1605 	),
1606 	MTK_PIN(
1607 		186, "GPIO186",
1608 		MTK_EINT_FUNCTION(0, 186),
1609 		DRV_GRP2,
1610 		MTK_FUNCTION(0, "GPIO186"),
1611 		MTK_FUNCTION(1, "DISP_PWM0"),
1612 		MTK_FUNCTION(2, "DISP_PWM1")
1613 	),
1614 	MTK_PIN(
1615 		187, "GPIO187",
1616 		MTK_EINT_FUNCTION(0, 187),
1617 		DRV_GRP2,
1618 		MTK_FUNCTION(0, "GPIO187"),
1619 		MTK_FUNCTION(1, "SRCLKENAI")
1620 	),
1621 	MTK_PIN(
1622 		188, "GPIO188",
1623 		MTK_EINT_FUNCTION(0, 188),
1624 		DRV_GRP2,
1625 		MTK_FUNCTION(0, "GPIO188"),
1626 		MTK_FUNCTION(1, "SRCLKENAI2")
1627 	),
1628 	MTK_PIN(
1629 		189, "GPIO189",
1630 		MTK_EINT_FUNCTION(0, 189),
1631 		DRV_GRP2,
1632 		MTK_FUNCTION(0, "GPIO189"),
1633 		MTK_FUNCTION(1, "SRCLKENA0")
1634 	),
1635 	MTK_PIN(
1636 		190, "GPIO190",
1637 		MTK_EINT_FUNCTION(0, 190),
1638 		DRV_GRP2,
1639 		MTK_FUNCTION(0, "GPIO190"),
1640 		MTK_FUNCTION(1, "SRCLKENA1")
1641 	),
1642 	MTK_PIN(
1643 		191, "GPIO191",
1644 		MTK_EINT_FUNCTION(0, 191),
1645 		DRV_GRP2,
1646 		MTK_FUNCTION(0, "GPIO191"),
1647 		MTK_FUNCTION(1, "WATCHDOG_AO")
1648 	),
1649 	MTK_PIN(
1650 		192, "GPIO192",
1651 		MTK_EINT_FUNCTION(0, 192),
1652 		DRV_GRP2,
1653 		MTK_FUNCTION(0, "GPIO192"),
1654 		MTK_FUNCTION(1, "I2S0_WS"),
1655 		MTK_FUNCTION(2, "I2S1_WS"),
1656 		MTK_FUNCTION(3, "I2S2_WS"),
1657 		MTK_FUNCTION(4, "NCEB1")
1658 	),
1659 	MTK_PIN(
1660 		193, "GPIO193",
1661 		MTK_EINT_FUNCTION(0, 193),
1662 		DRV_GRP2,
1663 		MTK_FUNCTION(0, "GPIO193"),
1664 		MTK_FUNCTION(1, "I2S0_BCK"),
1665 		MTK_FUNCTION(2, "I2S1_BCK"),
1666 		MTK_FUNCTION(3, "I2S2_BCK"),
1667 		MTK_FUNCTION(4, "NRNB1")
1668 	),
1669 	MTK_PIN(
1670 		194, "GPIO194",
1671 		MTK_EINT_FUNCTION(0, 194),
1672 		DRV_GRP2,
1673 		MTK_FUNCTION(0, "GPIO194"),
1674 		MTK_FUNCTION(1, "I2S0_MCK"),
1675 		MTK_FUNCTION(2, "I2S1_MCK"),
1676 		MTK_FUNCTION(3, "I2S2_MCK")
1677 	),
1678 	MTK_PIN(
1679 		195, "GPIO195",
1680 		MTK_EINT_FUNCTION(0, 195),
1681 		DRV_GRP2,
1682 		MTK_FUNCTION(0, "GPIO195"),
1683 		MTK_FUNCTION(1, "I2S0_DO"),
1684 		MTK_FUNCTION(2, "I2S1_DO_1"),
1685 		MTK_FUNCTION(3, "I2S2_DI_1")
1686 	),
1687 	MTK_PIN(
1688 		196, "GPIO196",
1689 		MTK_EINT_FUNCTION(0, 196),
1690 		DRV_GRP2,
1691 		MTK_FUNCTION(0, "GPIO196"),
1692 		MTK_FUNCTION(1, "I2S0_DI"),
1693 		MTK_FUNCTION(2, "I2S1_DO_2"),
1694 		MTK_FUNCTION(3, "I2S2_DI_2")
1695 	),
1696 };
1697 
1698 #endif /* __PINCTRL_MTK_MT6795_H */
1699