xref: /linux/drivers/pinctrl/mediatek/pinctrl-mtk-mt6779.h (revision a4eb44a6435d6d8f9e642407a4a06f65eb90ca04)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Copyright (C) 2019 MediaTek Inc.
4  * Author: Andy Teng <andy.teng@mediatek.com>
5  *
6  */
7 
8 #ifndef __PINCTRL_MTK_MT6779_H
9 #define __PINCTRL_MTK_MT6779_H
10 
11 #include "pinctrl-paris.h"
12 
13 static const struct mtk_pin_desc mtk_pins_mt6779[] = {
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_MI"),
20 		MTK_FUNCTION(2, "I2S5_LRCK"),
21 		MTK_FUNCTION(3, "TDM_LRCK_2ND"),
22 		MTK_FUNCTION(4, "PCM1_SYNC"),
23 		MTK_FUNCTION(5, "SCL_6306"),
24 		MTK_FUNCTION(6, "TP_GPIO0_AO"),
25 		MTK_FUNCTION(7, "PTA_RXD")
26 	),
27 	MTK_PIN(
28 		1, "GPIO1",
29 		MTK_EINT_FUNCTION(0, 1),
30 		DRV_GRP4,
31 		MTK_FUNCTION(0, "GPIO1"),
32 		MTK_FUNCTION(1, "SPI6_CSB"),
33 		MTK_FUNCTION(2, "I2S5_DO"),
34 		MTK_FUNCTION(3, "TDM_DATA0_2ND"),
35 		MTK_FUNCTION(4, "PCM1_DO0"),
36 		MTK_FUNCTION(5, "SDA_6306"),
37 		MTK_FUNCTION(6, "TP_GPIO1_AO"),
38 		MTK_FUNCTION(7, "PTA_TXD")
39 	),
40 	MTK_PIN(
41 		2, "GPIO2",
42 		MTK_EINT_FUNCTION(0, 2),
43 		DRV_GRP4,
44 		MTK_FUNCTION(0, "GPIO2"),
45 		MTK_FUNCTION(1, "SPI6_MO"),
46 		MTK_FUNCTION(2, "I2S5_BCK"),
47 		MTK_FUNCTION(3, "TDM_BCK_2ND"),
48 		MTK_FUNCTION(4, "PCM1_CLK"),
49 		MTK_FUNCTION(5, "MD_INT1_C2K_UIM0_HOT_PLUG"),
50 		MTK_FUNCTION(6, "TP_GPIO2_AO")
51 	),
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_CLK"),
58 		MTK_FUNCTION(2, "I2S5_MCK"),
59 		MTK_FUNCTION(3, "TDM_MCK_2ND"),
60 		MTK_FUNCTION(4, "EXT_FRAME_SYNC"),
61 		MTK_FUNCTION(5, "MD_INT2_C2K_UIM1_HOT_PLUG"),
62 		MTK_FUNCTION(6, "TP_GPIO3_AO")
63 	),
64 	MTK_PIN(
65 		4, "GPIO4",
66 		MTK_EINT_FUNCTION(0, 4),
67 		DRV_GRP4,
68 		MTK_FUNCTION(0, "GPIO4"),
69 		MTK_FUNCTION(1, "SPI7_MI"),
70 		MTK_FUNCTION(2, "I2S0_MCK"),
71 		MTK_FUNCTION(3, "TDM_DATA1_2ND"),
72 		MTK_FUNCTION(4, "PCM1_DO1"),
73 		MTK_FUNCTION(5, "DMIC1_CLK"),
74 		MTK_FUNCTION(6, "TP_GPIO4_AO"),
75 		MTK_FUNCTION(7, "SCL8")
76 	),
77 	MTK_PIN(
78 		5, "GPIO5",
79 		MTK_EINT_FUNCTION(0, 5),
80 		DRV_GRP4,
81 		MTK_FUNCTION(0, "GPIO5"),
82 		MTK_FUNCTION(1, "SPI7_CSB"),
83 		MTK_FUNCTION(2, "I2S0_BCK"),
84 		MTK_FUNCTION(3, "TDM_DATA2_2ND"),
85 		MTK_FUNCTION(4, "PCM1_DO2"),
86 		MTK_FUNCTION(5, "DMIC1_DAT"),
87 		MTK_FUNCTION(6, "TP_GPIO5_AO"),
88 		MTK_FUNCTION(7, "SDA8")
89 	),
90 	MTK_PIN(
91 		6, "GPIO6",
92 		MTK_EINT_FUNCTION(0, 6),
93 		DRV_GRP4,
94 		MTK_FUNCTION(0, "GPIO6"),
95 		MTK_FUNCTION(1, "SPI7_MO"),
96 		MTK_FUNCTION(2, "I2S0_LRCK"),
97 		MTK_FUNCTION(3, "TDM_DATA3_2ND"),
98 		MTK_FUNCTION(4, "PCM1_DI"),
99 		MTK_FUNCTION(5, "DMIC_CLK"),
100 		MTK_FUNCTION(6, "TP_GPIO6_AO"),
101 		MTK_FUNCTION(7, "SCL9")
102 	),
103 	MTK_PIN(
104 		7, "GPIO7",
105 		MTK_EINT_FUNCTION(0, 7),
106 		DRV_GRP4,
107 		MTK_FUNCTION(0, "GPIO7"),
108 		MTK_FUNCTION(1, "SPI7_CLK"),
109 		MTK_FUNCTION(2, "I2S0_DI"),
110 		MTK_FUNCTION(3, "SRCLKENAI1"),
111 		MTK_FUNCTION(4, "DVFSRC_EXT_REQ"),
112 		MTK_FUNCTION(5, "DMIC_DAT"),
113 		MTK_FUNCTION(6, "TP_GPIO7_AO"),
114 		MTK_FUNCTION(7, "SDA9")
115 	),
116 	MTK_PIN(
117 		8, "GPIO8",
118 		MTK_EINT_FUNCTION(0, 8),
119 		DRV_GRP4,
120 		MTK_FUNCTION(0, "GPIO8"),
121 		MTK_FUNCTION(1, "PWM_0"),
122 		MTK_FUNCTION(2, "I2S2_DI2"),
123 		MTK_FUNCTION(3, "SRCLKENAI0"),
124 		MTK_FUNCTION(4, "URXD1"),
125 		MTK_FUNCTION(5, "I2S0_MCK"),
126 		MTK_FUNCTION(6, "CONN_MCU_DBGACK_N"),
127 		MTK_FUNCTION(7, "IDDIG")
128 	),
129 	MTK_PIN(
130 		9, "GPIO9",
131 		MTK_EINT_FUNCTION(0, 9),
132 		DRV_GRP4,
133 		MTK_FUNCTION(0, "GPIO9"),
134 		MTK_FUNCTION(1, "PWM_3"),
135 		MTK_FUNCTION(2, "MD_INT0"),
136 		MTK_FUNCTION(3, "SRCLKENAI1"),
137 		MTK_FUNCTION(4, "UTXD1"),
138 		MTK_FUNCTION(5, "I2S0_BCK"),
139 		MTK_FUNCTION(6, "CONN_MCU_TRST_B"),
140 		MTK_FUNCTION(7, "USB_DRVVBUS")
141 	),
142 	MTK_PIN(
143 		10, "GPIO10",
144 		MTK_EINT_FUNCTION(0, 10),
145 		DRV_GRP4,
146 		MTK_FUNCTION(0, "GPIO10"),
147 		MTK_FUNCTION(1, "MSDC1_CLK_A"),
148 		MTK_FUNCTION(2, "TP_URXD1_AO"),
149 		MTK_FUNCTION(3, "I2S1_LRCK"),
150 		MTK_FUNCTION(4, "UCTS0"),
151 		MTK_FUNCTION(5, "DMIC1_CLK"),
152 		MTK_FUNCTION(6, "KPCOL2"),
153 		MTK_FUNCTION(7, "SCL8")
154 	),
155 	MTK_PIN(
156 		11, "GPIO11",
157 		MTK_EINT_FUNCTION(0, 11),
158 		DRV_GRP4,
159 		MTK_FUNCTION(0, "GPIO11"),
160 		MTK_FUNCTION(1, "MSDC1_CMD_A"),
161 		MTK_FUNCTION(2, "TP_UTXD1_AO"),
162 		MTK_FUNCTION(3, "I2S1_DO"),
163 		MTK_FUNCTION(4, "URTS0"),
164 		MTK_FUNCTION(5, "DMIC1_DAT"),
165 		MTK_FUNCTION(6, "KPROW2"),
166 		MTK_FUNCTION(7, "SDA8")
167 	),
168 	MTK_PIN(
169 		12, "GPIO12",
170 		MTK_EINT_FUNCTION(0, 12),
171 		DRV_GRP4,
172 		MTK_FUNCTION(0, "GPIO12"),
173 		MTK_FUNCTION(1, "MSDC1_DAT3_A"),
174 		MTK_FUNCTION(2, "TP_URXD2_AO"),
175 		MTK_FUNCTION(3, "I2S1_MCK"),
176 		MTK_FUNCTION(4, "UCTS1"),
177 		MTK_FUNCTION(5, "DMIC_CLK"),
178 		MTK_FUNCTION(6, "ANT_SEL9"),
179 		MTK_FUNCTION(7, "SCL9")
180 	),
181 	MTK_PIN(
182 		13, "GPIO13",
183 		MTK_EINT_FUNCTION(0, 13),
184 		DRV_GRP4,
185 		MTK_FUNCTION(0, "GPIO13"),
186 		MTK_FUNCTION(1, "MSDC1_DAT0_A"),
187 		MTK_FUNCTION(2, "TP_UTXD2_AO"),
188 		MTK_FUNCTION(3, "I2S1_BCK"),
189 		MTK_FUNCTION(4, "URTS1"),
190 		MTK_FUNCTION(5, "DMIC_DAT"),
191 		MTK_FUNCTION(6, "ANT_SEL10"),
192 		MTK_FUNCTION(7, "SDA9")
193 	),
194 	MTK_PIN(
195 		14, "GPIO14",
196 		MTK_EINT_FUNCTION(0, 14),
197 		DRV_GRP4,
198 		MTK_FUNCTION(0, "GPIO14"),
199 		MTK_FUNCTION(1, "MSDC1_DAT2_A"),
200 		MTK_FUNCTION(2, "PWM_3"),
201 		MTK_FUNCTION(3, "IDDIG"),
202 		MTK_FUNCTION(4, "MD_INT0"),
203 		MTK_FUNCTION(5, "PTA_RXD"),
204 		MTK_FUNCTION(6, "ANT_SEL11")
205 	),
206 	MTK_PIN(
207 		15, "GPIO15",
208 		MTK_EINT_FUNCTION(0, 15),
209 		DRV_GRP4,
210 		MTK_FUNCTION(0, "GPIO15"),
211 		MTK_FUNCTION(1, "MSDC1_DAT1_A"),
212 		MTK_FUNCTION(2, "DVFSRC_EXT_REQ"),
213 		MTK_FUNCTION(3, "USB_DRVVBUS"),
214 		MTK_FUNCTION(4, "MD_INT1_C2K_UIM0_HOT_PLUG"),
215 		MTK_FUNCTION(5, "PTA_TXD"),
216 		MTK_FUNCTION(6, "ANT_SEL12")
217 	),
218 	MTK_PIN(
219 		16, "GPIO16",
220 		MTK_EINT_FUNCTION(0, 16),
221 		DRV_GRP4,
222 		MTK_FUNCTION(0, "GPIO16"),
223 		MTK_FUNCTION(1, "SRCLKENAI0"),
224 		MTK_FUNCTION(2, "EXT_FRAME_SYNC"),
225 		MTK_FUNCTION(3, "MFG_EJTAG_TRSTN"),
226 		MTK_FUNCTION(4, "MD_INT2_C2K_UIM1_HOT_PLUG"),
227 		MTK_FUNCTION(5, "CONN_TCXOENA_REQ"),
228 		MTK_FUNCTION(6, "PWM_2"),
229 		MTK_FUNCTION(7, "JTRSTN_SEL1")
230 	),
231 	MTK_PIN(
232 		17, "GPIO17",
233 		MTK_EINT_FUNCTION(0, 17),
234 		DRV_GRP4,
235 		MTK_FUNCTION(0, "GPIO17"),
236 		MTK_FUNCTION(1, "SPI0_A_MI"),
237 		MTK_FUNCTION(2, "SCP_SPI0_MI"),
238 		MTK_FUNCTION(3, "MFG_EJTAG_TDO"),
239 		MTK_FUNCTION(4, "DPI_HSYNC"),
240 		MTK_FUNCTION(5, "MFG_DFD_JTAG_TDO"),
241 		MTK_FUNCTION(6, "DFD_TDO"),
242 		MTK_FUNCTION(7, "JTDO_SEL1")
243 	),
244 	MTK_PIN(
245 		18, "GPIO18",
246 		MTK_EINT_FUNCTION(0, 18),
247 		DRV_GRP4,
248 		MTK_FUNCTION(0, "GPIO18"),
249 		MTK_FUNCTION(1, "SPI0_A_MO"),
250 		MTK_FUNCTION(2, "SCP_SPI0_MO"),
251 		MTK_FUNCTION(3, "MFG_EJTAG_TDI"),
252 		MTK_FUNCTION(4, "DPI_VSYNC"),
253 		MTK_FUNCTION(5, "MFG_DFD_JTAG_TDI"),
254 		MTK_FUNCTION(6, "DFD_TDI"),
255 		MTK_FUNCTION(7, "JTDI_SEL1")
256 	),
257 	MTK_PIN(
258 		19, "GPIO19",
259 		MTK_EINT_FUNCTION(0, 19),
260 		DRV_GRP4,
261 		MTK_FUNCTION(0, "GPIO19"),
262 		MTK_FUNCTION(1, "SPI0_A_CSB"),
263 		MTK_FUNCTION(2, "SCP_SPI0_CS"),
264 		MTK_FUNCTION(3, "MFG_EJTAG_TMS"),
265 		MTK_FUNCTION(4, "DPI_DE"),
266 		MTK_FUNCTION(5, "MFG_DFD_JTAG_TMS"),
267 		MTK_FUNCTION(6, "DFD_TMS"),
268 		MTK_FUNCTION(7, "JTMS_SEL1")
269 	),
270 	MTK_PIN(
271 		20, "GPIO20",
272 		MTK_EINT_FUNCTION(0, 20),
273 		DRV_GRP4,
274 		MTK_FUNCTION(0, "GPIO20"),
275 		MTK_FUNCTION(1, "SPI0_A_CLK"),
276 		MTK_FUNCTION(2, "SCP_SPI0_CK"),
277 		MTK_FUNCTION(3, "MFG_EJTAG_TCK"),
278 		MTK_FUNCTION(4, "DPI_CK"),
279 		MTK_FUNCTION(5, "MFG_DFD_JTAG_TCK"),
280 		MTK_FUNCTION(6, "DFD_TCK_XI"),
281 		MTK_FUNCTION(7, "JTCK_SEL1")
282 	),
283 	MTK_PIN(
284 		21, "GPIO21",
285 		MTK_EINT_FUNCTION(0, 21),
286 		DRV_GRP4,
287 		MTK_FUNCTION(0, "GPIO21"),
288 		MTK_FUNCTION(1, "PWM_0"),
289 		MTK_FUNCTION(2, "CMFLASH0"),
290 		MTK_FUNCTION(3, "CMVREF2"),
291 		MTK_FUNCTION(4, "CLKM0"),
292 		MTK_FUNCTION(5, "ANT_SEL9"),
293 		MTK_FUNCTION(6, "CONN_TCXOENA_REQ"),
294 		MTK_FUNCTION(7, "DBG_MON_A27")
295 	),
296 	MTK_PIN(
297 		22, "GPIO22",
298 		MTK_EINT_FUNCTION(0, 22),
299 		DRV_GRP4,
300 		MTK_FUNCTION(0, "GPIO22"),
301 		MTK_FUNCTION(1, "PWM_1"),
302 		MTK_FUNCTION(2, "CMFLASH1"),
303 		MTK_FUNCTION(3, "CMVREF3"),
304 		MTK_FUNCTION(4, "CLKM1"),
305 		MTK_FUNCTION(5, "ANT_SEL10"),
306 		MTK_FUNCTION(7, "DBG_MON_A28")
307 	),
308 	MTK_PIN(
309 		23, "GPIO23",
310 		MTK_EINT_FUNCTION(0, 23),
311 		DRV_GRP4,
312 		MTK_FUNCTION(0, "GPIO23"),
313 		MTK_FUNCTION(1, "PWM_2"),
314 		MTK_FUNCTION(2, "CMFLASH2"),
315 		MTK_FUNCTION(3, "CMVREF0"),
316 		MTK_FUNCTION(4, "CLKM2"),
317 		MTK_FUNCTION(5, "ANT_SEL11"),
318 		MTK_FUNCTION(7, "DBG_MON_A29")
319 	),
320 	MTK_PIN(
321 		24, "GPIO24",
322 		MTK_EINT_FUNCTION(0, 24),
323 		DRV_GRP4,
324 		MTK_FUNCTION(0, "GPIO24"),
325 		MTK_FUNCTION(1, "PWM_0"),
326 		MTK_FUNCTION(2, "CMFLASH3"),
327 		MTK_FUNCTION(3, "CMVREF1"),
328 		MTK_FUNCTION(4, "CLKM3"),
329 		MTK_FUNCTION(5, "ANT_SEL12"),
330 		MTK_FUNCTION(7, "DBG_MON_A30")
331 	),
332 	MTK_PIN(
333 		25, "GPIO25",
334 		MTK_EINT_FUNCTION(0, 25),
335 		DRV_GRP4,
336 		MTK_FUNCTION(0, "GPIO25"),
337 		MTK_FUNCTION(1, "SRCLKENAI0"),
338 		MTK_FUNCTION(2, "UCTS0"),
339 		MTK_FUNCTION(3, "SCL8"),
340 		MTK_FUNCTION(4, "CMVREF4"),
341 		MTK_FUNCTION(5, "I2S0_LRCK"),
342 		MTK_FUNCTION(6, "CONN_TCXOENA_REQ"),
343 		MTK_FUNCTION(7, "DBG_MON_A31")
344 	),
345 	MTK_PIN(
346 		26, "GPIO26",
347 		MTK_EINT_FUNCTION(0, 26),
348 		DRV_GRP4,
349 		MTK_FUNCTION(0, "GPIO26"),
350 		MTK_FUNCTION(1, "PWM_0"),
351 		MTK_FUNCTION(2, "URTS0"),
352 		MTK_FUNCTION(3, "SDA8"),
353 		MTK_FUNCTION(4, "CLKM0"),
354 		MTK_FUNCTION(5, "I2S0_DI"),
355 		MTK_FUNCTION(6, "AGPS_SYNC"),
356 		MTK_FUNCTION(7, "DBG_MON_A32")
357 	),
358 	MTK_PIN(
359 		27, "GPIO27",
360 		MTK_EINT_FUNCTION(0, 27),
361 		DRV_GRP4,
362 		MTK_FUNCTION(0, "GPIO27"),
363 		MTK_FUNCTION(1, "AP_GOOD")
364 	),
365 	MTK_PIN(
366 		28, "GPIO28",
367 		MTK_EINT_FUNCTION(0, 28),
368 		DRV_GRP4,
369 		MTK_FUNCTION(0, "GPIO28"),
370 		MTK_FUNCTION(1, "SCL5")
371 	),
372 	MTK_PIN(
373 		29, "GPIO29",
374 		MTK_EINT_FUNCTION(0, 29),
375 		DRV_GRP4,
376 		MTK_FUNCTION(0, "GPIO29"),
377 		MTK_FUNCTION(1, "SDA5")
378 	),
379 	MTK_PIN(
380 		30, "GPIO30",
381 		MTK_EINT_FUNCTION(0, 30),
382 		DRV_GRP4,
383 		MTK_FUNCTION(0, "GPIO30"),
384 		MTK_FUNCTION(1, "I2S1_MCK"),
385 		MTK_FUNCTION(2, "I2S3_MCK"),
386 		MTK_FUNCTION(3, "I2S2_MCK"),
387 		MTK_FUNCTION(4, "DPI_D0"),
388 		MTK_FUNCTION(5, "SPI4_MI"),
389 		MTK_FUNCTION(6, "CONN_MCU_DBGI_N")
390 	),
391 	MTK_PIN(
392 		31, "GPIO31",
393 		MTK_EINT_FUNCTION(0, 31),
394 		DRV_GRP4,
395 		MTK_FUNCTION(0, "GPIO31"),
396 		MTK_FUNCTION(1, "I2S1_BCK"),
397 		MTK_FUNCTION(2, "I2S3_BCK"),
398 		MTK_FUNCTION(3, "I2S2_BCK"),
399 		MTK_FUNCTION(4, "DPI_D1"),
400 		MTK_FUNCTION(5, "SPI4_CSB"),
401 		MTK_FUNCTION(6, "CONN_MCU_TDO")
402 	),
403 	MTK_PIN(
404 		32, "GPIO32",
405 		MTK_EINT_FUNCTION(0, 32),
406 		DRV_GRP4,
407 		MTK_FUNCTION(0, "GPIO32"),
408 		MTK_FUNCTION(1, "I2S1_LRCK"),
409 		MTK_FUNCTION(2, "I2S3_LRCK"),
410 		MTK_FUNCTION(3, "I2S2_LRCK"),
411 		MTK_FUNCTION(4, "DPI_D2"),
412 		MTK_FUNCTION(5, "SPI4_MO"),
413 		MTK_FUNCTION(6, "CONN_MCU_TDI")
414 	),
415 	MTK_PIN(
416 		33, "GPIO33",
417 		MTK_EINT_FUNCTION(0, 33),
418 		DRV_GRP4,
419 		MTK_FUNCTION(0, "GPIO33"),
420 		MTK_FUNCTION(1, "I2S2_DI"),
421 		MTK_FUNCTION(2, "I2S0_DI"),
422 		MTK_FUNCTION(3, "I2S5_DO"),
423 		MTK_FUNCTION(4, "DPI_D3"),
424 		MTK_FUNCTION(5, "SPI4_CLK"),
425 		MTK_FUNCTION(6, "CONN_MCU_TMS")
426 	),
427 	MTK_PIN(
428 		34, "GPIO34",
429 		MTK_EINT_FUNCTION(0, 34),
430 		DRV_GRP4,
431 		MTK_FUNCTION(0, "GPIO34"),
432 		MTK_FUNCTION(1, "I2S1_DO"),
433 		MTK_FUNCTION(2, "I2S3_DO"),
434 		MTK_FUNCTION(3, "I2S2_DI2"),
435 		MTK_FUNCTION(4, "DPI_D4"),
436 		MTK_FUNCTION(5, "AGPS_SYNC"),
437 		MTK_FUNCTION(6, "CONN_MCU_TCK")
438 	),
439 	MTK_PIN(
440 		35, "GPIO35",
441 		MTK_EINT_FUNCTION(0, 35),
442 		DRV_GRP4,
443 		MTK_FUNCTION(0, "GPIO35"),
444 		MTK_FUNCTION(1, "TDM_LRCK"),
445 		MTK_FUNCTION(2, "I2S1_LRCK"),
446 		MTK_FUNCTION(3, "I2S5_LRCK"),
447 		MTK_FUNCTION(4, "DPI_D5"),
448 		MTK_FUNCTION(5, "SPI5_A_MO"),
449 		MTK_FUNCTION(6, "IO_JTAG_TDI"),
450 		MTK_FUNCTION(7, "PWM_2")
451 	),
452 	MTK_PIN(
453 		36, "GPIO36",
454 		MTK_EINT_FUNCTION(0, 36),
455 		DRV_GRP4,
456 		MTK_FUNCTION(0, "GPIO36"),
457 		MTK_FUNCTION(1, "TDM_BCK"),
458 		MTK_FUNCTION(2, "I2S1_BCK"),
459 		MTK_FUNCTION(3, "I2S5_BCK"),
460 		MTK_FUNCTION(4, "DPI_D6"),
461 		MTK_FUNCTION(5, "SPI5_A_CSB"),
462 		MTK_FUNCTION(6, "IO_JTAG_TRSTN"),
463 		MTK_FUNCTION(7, "SRCLKENAI1")
464 	),
465 	MTK_PIN(
466 		37, "GPIO37",
467 		MTK_EINT_FUNCTION(0, 37),
468 		DRV_GRP4,
469 		MTK_FUNCTION(0, "GPIO37"),
470 		MTK_FUNCTION(1, "TDM_MCK"),
471 		MTK_FUNCTION(2, "I2S1_MCK"),
472 		MTK_FUNCTION(3, "I2S5_MCK"),
473 		MTK_FUNCTION(4, "DPI_D7"),
474 		MTK_FUNCTION(5, "SPI5_A_MI"),
475 		MTK_FUNCTION(6, "IO_JTAG_TCK"),
476 		MTK_FUNCTION(7, "SRCLKENAI0")
477 	),
478 	MTK_PIN(
479 		38, "GPIO38",
480 		MTK_EINT_FUNCTION(0, 38),
481 		DRV_GRP4,
482 		MTK_FUNCTION(0, "GPIO38"),
483 		MTK_FUNCTION(1, "TDM_DATA0"),
484 		MTK_FUNCTION(2, "I2S2_DI"),
485 		MTK_FUNCTION(3, "I2S5_DO"),
486 		MTK_FUNCTION(4, "DPI_D8"),
487 		MTK_FUNCTION(5, "SPI5_A_CLK"),
488 		MTK_FUNCTION(6, "IO_JTAG_TDO"),
489 		MTK_FUNCTION(7, "CONN_TCXOENA_REQ")
490 	),
491 	MTK_PIN(
492 		39, "GPIO39",
493 		MTK_EINT_FUNCTION(0, 39),
494 		DRV_GRP4,
495 		MTK_FUNCTION(0, "GPIO39"),
496 		MTK_FUNCTION(1, "TDM_DATA1"),
497 		MTK_FUNCTION(2, "I2S1_DO"),
498 		MTK_FUNCTION(3, "I2S2_DI2"),
499 		MTK_FUNCTION(4, "DPI_D9"),
500 		MTK_FUNCTION(5, "DVFSRC_EXT_REQ"),
501 		MTK_FUNCTION(6, "IO_JTAG_TMS"),
502 		MTK_FUNCTION(7, "IDDIG")
503 	),
504 	MTK_PIN(
505 		40, "GPIO40",
506 		MTK_EINT_FUNCTION(0, 40),
507 		DRV_GRP4,
508 		MTK_FUNCTION(0, "GPIO40"),
509 		MTK_FUNCTION(1, "TDM_DATA2"),
510 		MTK_FUNCTION(2, "SCL9"),
511 		MTK_FUNCTION(3, "PWM_3"),
512 		MTK_FUNCTION(4, "DPI_D10"),
513 		MTK_FUNCTION(5, "SRCLKENAI0"),
514 		MTK_FUNCTION(6, "DAP_MD32_SWD"),
515 		MTK_FUNCTION(7, "USB_DRVVBUS")
516 	),
517 	MTK_PIN(
518 		41, "GPIO41",
519 		MTK_EINT_FUNCTION(0, 41),
520 		DRV_GRP4,
521 		MTK_FUNCTION(0, "GPIO41"),
522 		MTK_FUNCTION(1, "TDM_DATA3"),
523 		MTK_FUNCTION(2, "SDA9"),
524 		MTK_FUNCTION(3, "PWM_1"),
525 		MTK_FUNCTION(4, "DPI_D11"),
526 		MTK_FUNCTION(5, "CLKM1"),
527 		MTK_FUNCTION(6, "DAP_MD32_SWCK")
528 	),
529 	MTK_PIN(
530 		42, "GPIO42",
531 		MTK_EINT_FUNCTION(0, 42),
532 		DRV_GRP4,
533 		MTK_FUNCTION(0, "GPIO42"),
534 		MTK_FUNCTION(1, "DISP_PWM")
535 	),
536 	MTK_PIN(
537 		43, "GPIO43",
538 		MTK_EINT_FUNCTION(0, 43),
539 		DRV_GRP4,
540 		MTK_FUNCTION(0, "GPIO43"),
541 		MTK_FUNCTION(1, "DSI_TE")
542 	),
543 	MTK_PIN(
544 		44, "GPIO44",
545 		MTK_EINT_FUNCTION(0, 44),
546 		DRV_GRP4,
547 		MTK_FUNCTION(0, "GPIO44"),
548 		MTK_FUNCTION(1, "LCM_RST")
549 	),
550 	MTK_PIN(
551 		45, "GPIO45",
552 		MTK_EINT_FUNCTION(0, 45),
553 		DRV_GRP4,
554 		MTK_FUNCTION(0, "GPIO45"),
555 		MTK_FUNCTION(1, "SCL6"),
556 		MTK_FUNCTION(2, "SCP_SCL0"),
557 		MTK_FUNCTION(3, "SCP_SCL1"),
558 		MTK_FUNCTION(4, "SCL_6306")
559 	),
560 	MTK_PIN(
561 		46, "GPIO46",
562 		MTK_EINT_FUNCTION(0, 46),
563 		DRV_GRP4,
564 		MTK_FUNCTION(0, "GPIO46"),
565 		MTK_FUNCTION(1, "SDA6"),
566 		MTK_FUNCTION(2, "SCP_SDA0"),
567 		MTK_FUNCTION(3, "SCP_SDA1"),
568 		MTK_FUNCTION(4, "SDA_6306")
569 	),
570 	MTK_PIN(
571 		47, "GPIO47",
572 		MTK_EINT_FUNCTION(0, 47),
573 		DRV_GRP4,
574 		MTK_FUNCTION(0, "GPIO47"),
575 		MTK_FUNCTION(1, "SPI1_A_MI"),
576 		MTK_FUNCTION(2, "SCP_SPI1_A_MI"),
577 		MTK_FUNCTION(3, "KPCOL2"),
578 		MTK_FUNCTION(4, "MD_URXD0"),
579 		MTK_FUNCTION(5, "CONN_UART0_RXD"),
580 		MTK_FUNCTION(6, "SSPM_URXD_AO"),
581 		MTK_FUNCTION(7, "DBG_MON_B32")
582 	),
583 	MTK_PIN(
584 		48, "GPIO48",
585 		MTK_EINT_FUNCTION(0, 48),
586 		DRV_GRP4,
587 		MTK_FUNCTION(0, "GPIO48"),
588 		MTK_FUNCTION(1, "SPI1_A_CSB"),
589 		MTK_FUNCTION(2, "SCP_SPI1_A_CS"),
590 		MTK_FUNCTION(3, "KPROW2"),
591 		MTK_FUNCTION(4, "MD_UTXD0"),
592 		MTK_FUNCTION(5, "CONN_UART0_TXD"),
593 		MTK_FUNCTION(6, "SSPM_UTXD_AO"),
594 		MTK_FUNCTION(7, "DBG_MON_B31")
595 	),
596 	MTK_PIN(
597 		49, "GPIO49",
598 		MTK_EINT_FUNCTION(0, 49),
599 		DRV_GRP4,
600 		MTK_FUNCTION(0, "GPIO49"),
601 		MTK_FUNCTION(1, "SPI1_A_MO"),
602 		MTK_FUNCTION(2, "SCP_SPI1_A_MO"),
603 		MTK_FUNCTION(3, "UCTS0"),
604 		MTK_FUNCTION(4, "MD_URXD1"),
605 		MTK_FUNCTION(5, "PWM_1"),
606 		MTK_FUNCTION(6, "TP_URXD2_AO"),
607 		MTK_FUNCTION(7, "DBG_MON_B30")
608 	),
609 	MTK_PIN(
610 		50, "GPIO50",
611 		MTK_EINT_FUNCTION(0, 50),
612 		DRV_GRP4,
613 		MTK_FUNCTION(0, "GPIO50"),
614 		MTK_FUNCTION(1, "SPI1_A_CLK"),
615 		MTK_FUNCTION(2, "SCP_SPI1_A_CK"),
616 		MTK_FUNCTION(3, "URTS0"),
617 		MTK_FUNCTION(4, "MD_UTXD1"),
618 		MTK_FUNCTION(5, "WIFI_TXD"),
619 		MTK_FUNCTION(6, "TP_UTXD2_AO"),
620 		MTK_FUNCTION(7, "DBG_MON_B29")
621 	),
622 	MTK_PIN(
623 		51, "GPIO51",
624 		MTK_EINT_FUNCTION(0, 51),
625 		DRV_GRP4,
626 		MTK_FUNCTION(0, "GPIO51"),
627 		MTK_FUNCTION(1, "SCL0")
628 	),
629 	MTK_PIN(
630 		52, "GPIO52",
631 		MTK_EINT_FUNCTION(0, 52),
632 		DRV_GRP4,
633 		MTK_FUNCTION(0, "GPIO52"),
634 		MTK_FUNCTION(1, "SDA0")
635 	),
636 	MTK_PIN(
637 		53, "GPIO53",
638 		MTK_EINT_FUNCTION(0, 53),
639 		DRV_GRP4,
640 		MTK_FUNCTION(0, "GPIO53"),
641 		MTK_FUNCTION(1, "URXD0"),
642 		MTK_FUNCTION(2, "UTXD0"),
643 		MTK_FUNCTION(3, "MD_URXD0"),
644 		MTK_FUNCTION(4, "MD_URXD1"),
645 		MTK_FUNCTION(5, "SSPM_URXD_AO"),
646 		MTK_FUNCTION(7, "CONN_UART0_RXD")
647 	),
648 	MTK_PIN(
649 		54, "GPIO54",
650 		MTK_EINT_FUNCTION(0, 54),
651 		DRV_GRP4,
652 		MTK_FUNCTION(0, "GPIO54"),
653 		MTK_FUNCTION(1, "UTXD0"),
654 		MTK_FUNCTION(2, "URXD0"),
655 		MTK_FUNCTION(3, "MD_UTXD0"),
656 		MTK_FUNCTION(4, "MD_UTXD1"),
657 		MTK_FUNCTION(5, "SSPM_UTXD_AO"),
658 		MTK_FUNCTION(6, "WIFI_TXD"),
659 		MTK_FUNCTION(7, "CONN_UART0_TXD")
660 	),
661 	MTK_PIN(
662 		55, "GPIO55",
663 		MTK_EINT_FUNCTION(0, 55),
664 		DRV_GRP4,
665 		MTK_FUNCTION(0, "GPIO55"),
666 		MTK_FUNCTION(1, "SCL3"),
667 		MTK_FUNCTION(2, "SCP_SCL0"),
668 		MTK_FUNCTION(3, "SCP_SCL1"),
669 		MTK_FUNCTION(4, "SCL_6306")
670 	),
671 	MTK_PIN(
672 		56, "GPIO56",
673 		MTK_EINT_FUNCTION(0, 56),
674 		DRV_GRP4,
675 		MTK_FUNCTION(0, "GPIO56"),
676 		MTK_FUNCTION(1, "SDA3"),
677 		MTK_FUNCTION(2, "SCP_SDA0"),
678 		MTK_FUNCTION(3, "SCP_SDA1"),
679 		MTK_FUNCTION(4, "SDA_6306")
680 	),
681 	MTK_PIN(
682 		57, "GPIO57",
683 		MTK_EINT_FUNCTION(0, 57),
684 		DRV_GRP4,
685 		MTK_FUNCTION(0, "GPIO57"),
686 		MTK_FUNCTION(1, "KPROW1"),
687 		MTK_FUNCTION(2, "PWM_1"),
688 		MTK_FUNCTION(3, "DVFSRC_EXT_REQ"),
689 		MTK_FUNCTION(4, "CLKM1"),
690 		MTK_FUNCTION(5, "IDDIG"),
691 		MTK_FUNCTION(6, "CONN_TCXOENA_REQ"),
692 		MTK_FUNCTION(7, "MBISTREADEN_TRIGGER")
693 	),
694 	MTK_PIN(
695 		58, "GPIO58",
696 		MTK_EINT_FUNCTION(0, 58),
697 		DRV_GRP4,
698 		MTK_FUNCTION(0, "GPIO58"),
699 		MTK_FUNCTION(1, "KPROW0"),
700 		MTK_FUNCTION(7, "DBG_MON_B28")
701 	),
702 	MTK_PIN(
703 		59, "GPIO59",
704 		MTK_EINT_FUNCTION(0, 59),
705 		DRV_GRP4,
706 		MTK_FUNCTION(0, "GPIO59"),
707 		MTK_FUNCTION(1, "KPCOL0"),
708 		MTK_FUNCTION(7, "DBG_MON_B27")
709 	),
710 	MTK_PIN(
711 		60, "GPIO60",
712 		MTK_EINT_FUNCTION(0, 60),
713 		DRV_GRP4,
714 		MTK_FUNCTION(0, "GPIO60"),
715 		MTK_FUNCTION(1, "KPCOL1"),
716 		MTK_FUNCTION(2, "PWM_2"),
717 		MTK_FUNCTION(3, "UCTS1"),
718 		MTK_FUNCTION(4, "CLKM2"),
719 		MTK_FUNCTION(5, "USB_DRVVBUS"),
720 		MTK_FUNCTION(7, "MBISTWRITEEN_TRIGGER")
721 	),
722 	MTK_PIN(
723 		61, "GPIO61",
724 		MTK_EINT_FUNCTION(0, 61),
725 		DRV_GRP4,
726 		MTK_FUNCTION(0, "GPIO61"),
727 		MTK_FUNCTION(1, "SCL1"),
728 		MTK_FUNCTION(2, "SCP_SCL0"),
729 		MTK_FUNCTION(3, "SCP_SCL1")
730 	),
731 	MTK_PIN(
732 		62, "GPIO62",
733 		MTK_EINT_FUNCTION(0, 62),
734 		DRV_GRP4,
735 		MTK_FUNCTION(0, "GPIO62"),
736 		MTK_FUNCTION(1, "SDA1"),
737 		MTK_FUNCTION(2, "SCP_SDA0"),
738 		MTK_FUNCTION(3, "SCP_SDA1")
739 	),
740 	MTK_PIN(
741 		63, "GPIO63",
742 		MTK_EINT_FUNCTION(0, 63),
743 		DRV_GRP4,
744 		MTK_FUNCTION(0, "GPIO63"),
745 		MTK_FUNCTION(1, "SPI2_MI"),
746 		MTK_FUNCTION(2, "SCP_SPI2_MI"),
747 		MTK_FUNCTION(3, "KPCOL2"),
748 		MTK_FUNCTION(4, "MRG_DI"),
749 		MTK_FUNCTION(5, "MD_URXD0"),
750 		MTK_FUNCTION(6, "CONN_UART0_RXD"),
751 		MTK_FUNCTION(7, "DBG_MON_B26")
752 	),
753 	MTK_PIN(
754 		64, "GPIO64",
755 		MTK_EINT_FUNCTION(0, 64),
756 		DRV_GRP4,
757 		MTK_FUNCTION(0, "GPIO64"),
758 		MTK_FUNCTION(1, "SPI2_CSB"),
759 		MTK_FUNCTION(2, "SCP_SPI2_CS"),
760 		MTK_FUNCTION(3, "KPROW2"),
761 		MTK_FUNCTION(4, "MRG_SYNC"),
762 		MTK_FUNCTION(5, "MD_UTXD0"),
763 		MTK_FUNCTION(6, "CONN_UART0_TXD"),
764 		MTK_FUNCTION(7, "DBG_MON_B25")
765 	),
766 	MTK_PIN(
767 		65, "GPIO65",
768 		MTK_EINT_FUNCTION(0, 65),
769 		DRV_GRP4,
770 		MTK_FUNCTION(0, "GPIO65"),
771 		MTK_FUNCTION(1, "SPI2_MO"),
772 		MTK_FUNCTION(2, "SCP_SPI2_MO"),
773 		MTK_FUNCTION(3, "SCP_SDA1"),
774 		MTK_FUNCTION(4, "MRG_DO"),
775 		MTK_FUNCTION(5, "MD_URXD1"),
776 		MTK_FUNCTION(6, "PWM_3")
777 	),
778 	MTK_PIN(
779 		66, "GPIO66",
780 		MTK_EINT_FUNCTION(0, 66),
781 		DRV_GRP4,
782 		MTK_FUNCTION(0, "GPIO66"),
783 		MTK_FUNCTION(1, "SPI2_CLK"),
784 		MTK_FUNCTION(2, "SCP_SPI2_CK"),
785 		MTK_FUNCTION(3, "SCP_SCL1"),
786 		MTK_FUNCTION(4, "MRG_CLK"),
787 		MTK_FUNCTION(5, "MD_UTXD1"),
788 		MTK_FUNCTION(6, "WIFI_TXD")
789 	),
790 	MTK_PIN(
791 		67, "GPIO67",
792 		MTK_EINT_FUNCTION(0, 67),
793 		DRV_GRP4,
794 		MTK_FUNCTION(0, "GPIO67"),
795 		MTK_FUNCTION(1, "I2S3_LRCK"),
796 		MTK_FUNCTION(2, "I2S1_LRCK"),
797 		MTK_FUNCTION(3, "URXD1"),
798 		MTK_FUNCTION(4, "PCM0_SYNC"),
799 		MTK_FUNCTION(5, "I2S5_LRCK"),
800 		MTK_FUNCTION(6, "ANT_SEL9"),
801 		MTK_FUNCTION(7, "DBG_MON_B10")
802 	),
803 	MTK_PIN(
804 		68, "GPIO68",
805 		MTK_EINT_FUNCTION(0, 68),
806 		DRV_GRP4,
807 		MTK_FUNCTION(0, "GPIO68"),
808 		MTK_FUNCTION(1, "I2S3_DO"),
809 		MTK_FUNCTION(2, "I2S1_DO"),
810 		MTK_FUNCTION(3, "UTXD1"),
811 		MTK_FUNCTION(4, "PCM0_DO"),
812 		MTK_FUNCTION(5, "I2S5_DO"),
813 		MTK_FUNCTION(6, "ANT_SEL10"),
814 		MTK_FUNCTION(7, "DBG_MON_B9")
815 	),
816 	MTK_PIN(
817 		69, "GPIO69",
818 		MTK_EINT_FUNCTION(0, 69),
819 		DRV_GRP4,
820 		MTK_FUNCTION(0, "GPIO69"),
821 		MTK_FUNCTION(1, "I2S3_MCK"),
822 		MTK_FUNCTION(2, "I2S1_MCK"),
823 		MTK_FUNCTION(3, "URTS1"),
824 		MTK_FUNCTION(4, "AGPS_SYNC"),
825 		MTK_FUNCTION(5, "I2S5_MCK"),
826 		MTK_FUNCTION(6, "DVFSRC_EXT_REQ"),
827 		MTK_FUNCTION(7, "DBG_MON_B8")
828 	),
829 	MTK_PIN(
830 		70, "GPIO70",
831 		MTK_EINT_FUNCTION(0, 70),
832 		DRV_GRP4,
833 		MTK_FUNCTION(0, "GPIO70"),
834 		MTK_FUNCTION(1, "I2S0_DI"),
835 		MTK_FUNCTION(2, "I2S2_DI"),
836 		MTK_FUNCTION(3, "KPCOL2"),
837 		MTK_FUNCTION(4, "PCM0_DI"),
838 		MTK_FUNCTION(5, "I2S2_DI2"),
839 		MTK_FUNCTION(6, "ANT_SEL11"),
840 		MTK_FUNCTION(7, "DBG_MON_B7")
841 	),
842 	MTK_PIN(
843 		71, "GPIO71",
844 		MTK_EINT_FUNCTION(0, 71),
845 		DRV_GRP4,
846 		MTK_FUNCTION(0, "GPIO71"),
847 		MTK_FUNCTION(1, "I2S3_BCK"),
848 		MTK_FUNCTION(2, "I2S1_BCK"),
849 		MTK_FUNCTION(3, "KPROW2"),
850 		MTK_FUNCTION(4, "PCM0_CLK"),
851 		MTK_FUNCTION(5, "I2S5_BCK"),
852 		MTK_FUNCTION(6, "ANT_SEL12"),
853 		MTK_FUNCTION(7, "DBG_MON_B6")
854 	),
855 	MTK_PIN(
856 		72, "GPIO72",
857 		MTK_EINT_FUNCTION(0, 72),
858 		DRV_GRP4,
859 		MTK_FUNCTION(0, "GPIO72"),
860 		MTK_FUNCTION(1, "BPI_BUS19_OLAT0"),
861 		MTK_FUNCTION(2, "CONN_BPI_BUS19_OLAT0")
862 	),
863 	MTK_PIN(
864 		73, "GPIO73",
865 		MTK_EINT_FUNCTION(0, 73),
866 		DRV_GRP4,
867 		MTK_FUNCTION(0, "GPIO73"),
868 		MTK_FUNCTION(1, "BPI_BUS18_PA_VM1"),
869 		MTK_FUNCTION(2, "CONN_MIPI5_SCLK"),
870 		MTK_FUNCTION(3, "MIPI5_SCLK")
871 	),
872 	MTK_PIN(
873 		74, "GPIO74",
874 		MTK_EINT_FUNCTION(0, 74),
875 		DRV_GRP4,
876 		MTK_FUNCTION(0, "GPIO74"),
877 		MTK_FUNCTION(1, "BPI_BUS17_PA_VM0"),
878 		MTK_FUNCTION(2, "CONN_MIPI5_SDATA"),
879 		MTK_FUNCTION(3, "MIPI5_SDATA")
880 	),
881 	MTK_PIN(
882 		75, "GPIO75",
883 		MTK_EINT_FUNCTION(0, 75),
884 		DRV_GRP4,
885 		MTK_FUNCTION(0, "GPIO75"),
886 		MTK_FUNCTION(1, "BPI_BUS20_OLAT1"),
887 		MTK_FUNCTION(2, "CONN_BPI_BUS20_OLAT1"),
888 		MTK_FUNCTION(3, "RFIC0_BSI_D2")
889 	),
890 	MTK_PIN(
891 		76, "GPIO76",
892 		MTK_EINT_FUNCTION(0, 76),
893 		DRV_GRP4,
894 		MTK_FUNCTION(0, "GPIO76"),
895 		MTK_FUNCTION(1, "RFIC0_BSI_D1")
896 	),
897 	MTK_PIN(
898 		77, "GPIO77",
899 		MTK_EINT_FUNCTION(0, 77),
900 		DRV_GRP4,
901 		MTK_FUNCTION(0, "GPIO77"),
902 		MTK_FUNCTION(1, "RFIC0_BSI_D0")
903 	),
904 	MTK_PIN(
905 		78, "GPIO78",
906 		MTK_EINT_FUNCTION(0, 78),
907 		DRV_GRP4,
908 		MTK_FUNCTION(0, "GPIO78"),
909 		MTK_FUNCTION(1, "BPI_BUS7"),
910 		MTK_FUNCTION(7, "DBG_MON_B24")
911 	),
912 	MTK_PIN(
913 		79, "GPIO79",
914 		MTK_EINT_FUNCTION(0, 79),
915 		DRV_GRP4,
916 		MTK_FUNCTION(0, "GPIO79"),
917 		MTK_FUNCTION(1, "BPI_BUS6"),
918 		MTK_FUNCTION(7, "DBG_MON_B23")
919 	),
920 	MTK_PIN(
921 		80, "GPIO80",
922 		MTK_EINT_FUNCTION(0, 80),
923 		DRV_GRP4,
924 		MTK_FUNCTION(0, "GPIO80"),
925 		MTK_FUNCTION(1, "BPI_BUS8"),
926 		MTK_FUNCTION(7, "DBG_MON_B22")
927 	),
928 	MTK_PIN(
929 		81, "GPIO81",
930 		MTK_EINT_FUNCTION(0, 81),
931 		DRV_GRP4,
932 		MTK_FUNCTION(0, "GPIO81"),
933 		MTK_FUNCTION(1, "BPI_BUS9"),
934 		MTK_FUNCTION(7, "DBG_MON_B21")
935 	),
936 	MTK_PIN(
937 		82, "GPIO82",
938 		MTK_EINT_FUNCTION(0, 82),
939 		DRV_GRP4,
940 		MTK_FUNCTION(0, "GPIO82"),
941 		MTK_FUNCTION(1, "BPI_BUS10"),
942 		MTK_FUNCTION(7, "DBG_MON_B20")
943 	),
944 	MTK_PIN(
945 		83, "GPIO83",
946 		MTK_EINT_FUNCTION(0, 83),
947 		DRV_GRP4,
948 		MTK_FUNCTION(0, "GPIO83"),
949 		MTK_FUNCTION(1, "BPI_BUS11"),
950 		MTK_FUNCTION(7, "DBG_MON_B19")
951 	),
952 	MTK_PIN(
953 		84, "GPIO84",
954 		MTK_EINT_FUNCTION(0, 84),
955 		DRV_GRP4,
956 		MTK_FUNCTION(0, "GPIO84"),
957 		MTK_FUNCTION(1, "BPI_BUS12"),
958 		MTK_FUNCTION(2, "CONN_BPI_BUS12")
959 	),
960 	MTK_PIN(
961 		85, "GPIO85",
962 		MTK_EINT_FUNCTION(0, 85),
963 		DRV_GRP4,
964 		MTK_FUNCTION(0, "GPIO85"),
965 		MTK_FUNCTION(1, "BPI_BUS13"),
966 		MTK_FUNCTION(2, "CONN_BPI_BUS13")
967 	),
968 	MTK_PIN(
969 		86, "GPIO86",
970 		MTK_EINT_FUNCTION(0, 86),
971 		DRV_GRP4,
972 		MTK_FUNCTION(0, "GPIO86"),
973 		MTK_FUNCTION(1, "BPI_BUS14"),
974 		MTK_FUNCTION(2, "CONN_BPI_BUS14")
975 	),
976 	MTK_PIN(
977 		87, "GPIO87",
978 		MTK_EINT_FUNCTION(0, 87),
979 		DRV_GRP4,
980 		MTK_FUNCTION(0, "GPIO87"),
981 		MTK_FUNCTION(1, "BPI_BUS15"),
982 		MTK_FUNCTION(2, "CONN_BPI_BUS15")
983 	),
984 	MTK_PIN(
985 		88, "GPIO88",
986 		MTK_EINT_FUNCTION(0, 88),
987 		DRV_GRP4,
988 		MTK_FUNCTION(0, "GPIO88"),
989 		MTK_FUNCTION(1, "BPI_BUS16"),
990 		MTK_FUNCTION(2, "CONN_BPI_BUS16")
991 	),
992 	MTK_PIN(
993 		89, "GPIO89",
994 		MTK_EINT_FUNCTION(0, 89),
995 		DRV_GRP4,
996 		MTK_FUNCTION(0, "GPIO89"),
997 		MTK_FUNCTION(1, "BPI_BUS5"),
998 		MTK_FUNCTION(7, "DBG_MON_B18")
999 	),
1000 	MTK_PIN(
1001 		90, "GPIO90",
1002 		MTK_EINT_FUNCTION(0, 90),
1003 		DRV_GRP4,
1004 		MTK_FUNCTION(0, "GPIO90"),
1005 		MTK_FUNCTION(1, "BPI_BUS4"),
1006 		MTK_FUNCTION(7, "DBG_MON_B17")
1007 	),
1008 	MTK_PIN(
1009 		91, "GPIO91",
1010 		MTK_EINT_FUNCTION(0, 91),
1011 		DRV_GRP4,
1012 		MTK_FUNCTION(0, "GPIO91"),
1013 		MTK_FUNCTION(1, "BPI_BUS3")
1014 	),
1015 	MTK_PIN(
1016 		92, "GPIO92",
1017 		MTK_EINT_FUNCTION(0, 92),
1018 		DRV_GRP4,
1019 		MTK_FUNCTION(0, "GPIO92"),
1020 		MTK_FUNCTION(1, "BPI_BUS2"),
1021 		MTK_FUNCTION(7, "DBG_MON_B16")
1022 	),
1023 	MTK_PIN(
1024 		93, "GPIO93",
1025 		MTK_EINT_FUNCTION(0, 93),
1026 		DRV_GRP4,
1027 		MTK_FUNCTION(0, "GPIO93"),
1028 		MTK_FUNCTION(1, "BPI_BUS1")
1029 	),
1030 	MTK_PIN(
1031 		94, "GPIO94",
1032 		MTK_EINT_FUNCTION(0, 94),
1033 		DRV_GRP4,
1034 		MTK_FUNCTION(0, "GPIO94"),
1035 		MTK_FUNCTION(1, "BPI_BUS0"),
1036 		MTK_FUNCTION(7, "DBG_MON_B15")
1037 	),
1038 	MTK_PIN(
1039 		95, "GPIO95",
1040 		MTK_EINT_FUNCTION(0, 95),
1041 		DRV_GRP4,
1042 		MTK_FUNCTION(0, "GPIO95"),
1043 		MTK_FUNCTION(1, "MIPI0_SDATA")
1044 	),
1045 	MTK_PIN(
1046 		96, "GPIO96",
1047 		MTK_EINT_FUNCTION(0, 96),
1048 		DRV_GRP4,
1049 		MTK_FUNCTION(0, "GPIO96"),
1050 		MTK_FUNCTION(1, "MIPI0_SCLK")
1051 	),
1052 	MTK_PIN(
1053 		97, "GPIO97",
1054 		MTK_EINT_FUNCTION(0, 97),
1055 		DRV_GRP4,
1056 		MTK_FUNCTION(0, "GPIO97"),
1057 		MTK_FUNCTION(1, "MIPI1_SDATA")
1058 	),
1059 	MTK_PIN(
1060 		98, "GPIO98",
1061 		MTK_EINT_FUNCTION(0, 98),
1062 		DRV_GRP4,
1063 		MTK_FUNCTION(0, "GPIO98"),
1064 		MTK_FUNCTION(1, "MIPI1_SCLK")
1065 	),
1066 	MTK_PIN(
1067 		99, "GPIO99",
1068 		MTK_EINT_FUNCTION(0, 99),
1069 		DRV_GRP4,
1070 		MTK_FUNCTION(0, "GPIO99"),
1071 		MTK_FUNCTION(1, "MIPI2_SCLK"),
1072 		MTK_FUNCTION(7, "DBG_MON_B14")
1073 	),
1074 	MTK_PIN(
1075 		100, "GPIO100",
1076 		MTK_EINT_FUNCTION(0, 100),
1077 		DRV_GRP4,
1078 		MTK_FUNCTION(0, "GPIO100"),
1079 		MTK_FUNCTION(1, "MIPI2_SDATA"),
1080 		MTK_FUNCTION(7, "DBG_MON_B13")
1081 	),
1082 	MTK_PIN(
1083 		101, "GPIO101",
1084 		MTK_EINT_FUNCTION(0, 101),
1085 		DRV_GRP4,
1086 		MTK_FUNCTION(0, "GPIO101"),
1087 		MTK_FUNCTION(1, "MIPI3_SCLK"),
1088 		MTK_FUNCTION(7, "DBG_MON_B12")
1089 	),
1090 	MTK_PIN(
1091 		102, "GPIO102",
1092 		MTK_EINT_FUNCTION(0, 102),
1093 		DRV_GRP4,
1094 		MTK_FUNCTION(0, "GPIO102"),
1095 		MTK_FUNCTION(1, "MIPI3_SDATA"),
1096 		MTK_FUNCTION(7, "DBG_MON_B11")
1097 	),
1098 	MTK_PIN(
1099 		103, "GPIO103",
1100 		MTK_EINT_FUNCTION(0, 103),
1101 		DRV_GRP4,
1102 		MTK_FUNCTION(0, "GPIO103"),
1103 		MTK_FUNCTION(1, "MIPI4_SCLK"),
1104 		MTK_FUNCTION(2, "CONN_MIPI4_SCLK")
1105 	),
1106 	MTK_PIN(
1107 		104, "GPIO104",
1108 		MTK_EINT_FUNCTION(0, 104),
1109 		DRV_GRP4,
1110 		MTK_FUNCTION(0, "GPIO104"),
1111 		MTK_FUNCTION(1, "MIPI4_SDATA"),
1112 		MTK_FUNCTION(2, "CONN_MIPI4_SDATA")
1113 	),
1114 	MTK_PIN(
1115 		105, "GPIO105",
1116 		MTK_EINT_FUNCTION(0, 105),
1117 		DRV_GRP4,
1118 		MTK_FUNCTION(0, "GPIO105"),
1119 		MTK_FUNCTION(1, "BPI_BUS22_OLAT3"),
1120 		MTK_FUNCTION(2, "CONN_BPI_BUS22_OLAT3")
1121 	),
1122 	MTK_PIN(
1123 		106, "GPIO106",
1124 		MTK_EINT_FUNCTION(0, 106),
1125 		DRV_GRP4,
1126 		MTK_FUNCTION(0, "GPIO106"),
1127 		MTK_FUNCTION(1, "BPI_BUS21_OLAT2"),
1128 		MTK_FUNCTION(2, "CONN_BPI_BUS21_OLAT2")
1129 	),
1130 	MTK_PIN(
1131 		107, "GPIO107",
1132 		MTK_EINT_FUNCTION(0, 107),
1133 		DRV_GRP4,
1134 		MTK_FUNCTION(0, "GPIO107"),
1135 		MTK_FUNCTION(1, "BPI_BUS24_ANT1"),
1136 		MTK_FUNCTION(2, "CONN_BPI_BUS24_ANT1")
1137 	),
1138 	MTK_PIN(
1139 		108, "GPIO108",
1140 		MTK_EINT_FUNCTION(0, 108),
1141 		DRV_GRP4,
1142 		MTK_FUNCTION(0, "GPIO108"),
1143 		MTK_FUNCTION(1, "BPI_BUS25_ANT2"),
1144 		MTK_FUNCTION(2, "CONN_BPI_BUS25_ANT2")
1145 	),
1146 	MTK_PIN(
1147 		109, "GPIO109",
1148 		MTK_EINT_FUNCTION(0, 109),
1149 		DRV_GRP4,
1150 		MTK_FUNCTION(0, "GPIO109"),
1151 		MTK_FUNCTION(1, "BPI_BUS23_ANT0"),
1152 		MTK_FUNCTION(2, "CONN_BPI_BUS23_ANT0")
1153 	),
1154 	MTK_PIN(
1155 		110, "GPIO110",
1156 		MTK_EINT_FUNCTION(0, 110),
1157 		DRV_GRP4,
1158 		MTK_FUNCTION(0, "GPIO110"),
1159 		MTK_FUNCTION(1, "SCL4")
1160 	),
1161 	MTK_PIN(
1162 		111, "GPIO111",
1163 		MTK_EINT_FUNCTION(0, 111),
1164 		DRV_GRP4,
1165 		MTK_FUNCTION(0, "GPIO111"),
1166 		MTK_FUNCTION(1, "SDA4")
1167 	),
1168 	MTK_PIN(
1169 		112, "GPIO112",
1170 		MTK_EINT_FUNCTION(0, 112),
1171 		DRV_GRP4,
1172 		MTK_FUNCTION(0, "GPIO112"),
1173 		MTK_FUNCTION(1, "SCL2")
1174 	),
1175 	MTK_PIN(
1176 		113, "GPIO113",
1177 		MTK_EINT_FUNCTION(0, 113),
1178 		DRV_GRP4,
1179 		MTK_FUNCTION(0, "GPIO113"),
1180 		MTK_FUNCTION(1, "SDA2")
1181 	),
1182 	MTK_PIN(
1183 		114, "GPIO114",
1184 		MTK_EINT_FUNCTION(0, 114),
1185 		DRV_GRP4,
1186 		MTK_FUNCTION(0, "GPIO114"),
1187 		MTK_FUNCTION(1, "CLKM0"),
1188 		MTK_FUNCTION(2, "SPI3_MI"),
1189 		MTK_FUNCTION(7, "DBG_MON_B5")
1190 	),
1191 	MTK_PIN(
1192 		115, "GPIO115",
1193 		MTK_EINT_FUNCTION(0, 115),
1194 		DRV_GRP4,
1195 		MTK_FUNCTION(0, "GPIO115"),
1196 		MTK_FUNCTION(1, "CLKM1"),
1197 		MTK_FUNCTION(2, "SPI3_CSB"),
1198 		MTK_FUNCTION(7, "DBG_MON_B4")
1199 	),
1200 	MTK_PIN(
1201 		116, "GPIO116",
1202 		MTK_EINT_FUNCTION(0, 116),
1203 		DRV_GRP4,
1204 		MTK_FUNCTION(0, "GPIO116"),
1205 		MTK_FUNCTION(1, "CMMCLK0"),
1206 		MTK_FUNCTION(7, "DBG_MON_B3")
1207 	),
1208 	MTK_PIN(
1209 		117, "GPIO117",
1210 		MTK_EINT_FUNCTION(0, 117),
1211 		DRV_GRP4,
1212 		MTK_FUNCTION(0, "GPIO117"),
1213 		MTK_FUNCTION(1, "CMMCLK1"),
1214 		MTK_FUNCTION(2, "DVFSRC_EXT_REQ"),
1215 		MTK_FUNCTION(7, "DBG_MON_B2")
1216 	),
1217 	MTK_PIN(
1218 		118, "GPIO118",
1219 		MTK_EINT_FUNCTION(0, 118),
1220 		DRV_GRP4,
1221 		MTK_FUNCTION(0, "GPIO118"),
1222 		MTK_FUNCTION(1, "CLKM2"),
1223 		MTK_FUNCTION(2, "SPI3_MO"),
1224 		MTK_FUNCTION(7, "DBG_MON_B1")
1225 	),
1226 	MTK_PIN(
1227 		119, "GPIO119",
1228 		MTK_EINT_FUNCTION(0, 119),
1229 		DRV_GRP4,
1230 		MTK_FUNCTION(0, "GPIO119"),
1231 		MTK_FUNCTION(1, "CLKM3"),
1232 		MTK_FUNCTION(2, "SPI3_CLK"),
1233 		MTK_FUNCTION(7, "DBG_MON_B0")
1234 	),
1235 	MTK_PIN(
1236 		120, "GPIO120",
1237 		MTK_EINT_FUNCTION(0, 120),
1238 		DRV_GRP4,
1239 		MTK_FUNCTION(0, "GPIO120"),
1240 		MTK_FUNCTION(1, "CMMCLK2"),
1241 		MTK_FUNCTION(2, "CLKM2"),
1242 		MTK_FUNCTION(6, "ANT_SEL12"),
1243 		MTK_FUNCTION(7, "TP_UCTS2_AO")
1244 	),
1245 	MTK_PIN(
1246 		121, "GPIO121",
1247 		MTK_EINT_FUNCTION(0, 121),
1248 		DRV_GRP4,
1249 		MTK_FUNCTION(0, "GPIO121"),
1250 		MTK_FUNCTION(1, "CMMCLK3"),
1251 		MTK_FUNCTION(2, "CLKM3"),
1252 		MTK_FUNCTION(3, "DVFSRC_EXT_REQ"),
1253 		MTK_FUNCTION(6, "ANT_SEL11"),
1254 		MTK_FUNCTION(7, "TP_URTS2_AO")
1255 	),
1256 	MTK_PIN(
1257 		122, "GPIO122",
1258 		MTK_EINT_FUNCTION(0, 122),
1259 		DRV_GRP4,
1260 		MTK_FUNCTION(0, "GPIO122"),
1261 		MTK_FUNCTION(1, "CMVREF1"),
1262 		MTK_FUNCTION(2, "PCM0_SYNC"),
1263 		MTK_FUNCTION(3, "SRCLKENAI1"),
1264 		MTK_FUNCTION(4, "AGPS_SYNC"),
1265 		MTK_FUNCTION(5, "PWM_1"),
1266 		MTK_FUNCTION(6, "ANT_SEL9"),
1267 		MTK_FUNCTION(7, "TP_UCTS1_AO")
1268 	),
1269 	MTK_PIN(
1270 		123, "GPIO123",
1271 		MTK_EINT_FUNCTION(0, 123),
1272 		DRV_GRP4,
1273 		MTK_FUNCTION(0, "GPIO123"),
1274 		MTK_FUNCTION(2, "PCM0_DI"),
1275 		MTK_FUNCTION(3, "ADSP_JTAG_TRSTN"),
1276 		MTK_FUNCTION(4, "VPU_UDI_NTRST"),
1277 		MTK_FUNCTION(5, "SPM_JTAG_TRSTN"),
1278 		MTK_FUNCTION(6, "SSPM_JTAG_TRSTN")
1279 	),
1280 	MTK_PIN(
1281 		124, "GPIO124",
1282 		MTK_EINT_FUNCTION(0, 124),
1283 		DRV_GRP4,
1284 		MTK_FUNCTION(0, "GPIO124"),
1285 		MTK_FUNCTION(1, "CMVREF2"),
1286 		MTK_FUNCTION(2, "PCM0_CLK"),
1287 		MTK_FUNCTION(3, "MD_INT0"),
1288 		MTK_FUNCTION(4, "EXT_FRAME_SYNC"),
1289 		MTK_FUNCTION(5, "PWM_2"),
1290 		MTK_FUNCTION(6, "ANT_SEL10"),
1291 		MTK_FUNCTION(7, "TP_URTS1_AO")
1292 	),
1293 	MTK_PIN(
1294 		125, "GPIO125",
1295 		MTK_EINT_FUNCTION(0, 125),
1296 		DRV_GRP4,
1297 		MTK_FUNCTION(0, "GPIO125"),
1298 		MTK_FUNCTION(1, "CMVREF3"),
1299 		MTK_FUNCTION(2, "PCM0_DO"),
1300 		MTK_FUNCTION(3, "ADSP_JTAG_TMS"),
1301 		MTK_FUNCTION(4, "VPU_UDI_TMS"),
1302 		MTK_FUNCTION(5, "SPM_JTAG_TMS"),
1303 		MTK_FUNCTION(6, "SSPM_JTAG_TMS")
1304 	),
1305 	MTK_PIN(
1306 		126, "GPIO126",
1307 		MTK_EINT_FUNCTION(0, 126),
1308 		DRV_GRP4,
1309 		MTK_FUNCTION(0, "GPIO126"),
1310 		MTK_FUNCTION(1, "CMVREF4"),
1311 		MTK_FUNCTION(2, "CMFLASH0"),
1312 		MTK_FUNCTION(6, "CONN_MCU_AICE_TMSC")
1313 	),
1314 	MTK_PIN(
1315 		127, "GPIO127",
1316 		MTK_EINT_FUNCTION(0, 127),
1317 		DRV_GRP4,
1318 		MTK_FUNCTION(0, "GPIO127"),
1319 		MTK_FUNCTION(1, "CMVREF0"),
1320 		MTK_FUNCTION(2, "CMFLASH1"),
1321 		MTK_FUNCTION(6, "CONN_MCU_AICE_TCKC")
1322 	),
1323 	MTK_PIN(
1324 		128, "GPIO128",
1325 		MTK_EINT_FUNCTION(0, 128),
1326 		DRV_GRP0,
1327 		MTK_FUNCTION(0, "GPIO128"),
1328 		MTK_FUNCTION(1, "MD1_SIM1_SIO"),
1329 		MTK_FUNCTION(2, "MD1_SIM2_SIO"),
1330 		MTK_FUNCTION(3, "CCU_JTAG_TRST"),
1331 		MTK_FUNCTION(4, "CONN_DSP_JINTP"),
1332 		MTK_FUNCTION(5, "SCP_JTAG_TRSTN"),
1333 		MTK_FUNCTION(6, "LVTS_FOUT"),
1334 		MTK_FUNCTION(7, "DBG_MON_A3")
1335 	),
1336 	MTK_PIN(
1337 		129, "GPIO129",
1338 		MTK_EINT_FUNCTION(0, 129),
1339 		DRV_GRP0,
1340 		MTK_FUNCTION(0, "GPIO129"),
1341 		MTK_FUNCTION(1, "MD1_SIM1_SRST"),
1342 		MTK_FUNCTION(2, "MD1_SIM2_SRST"),
1343 		MTK_FUNCTION(3, "CCU_JTAG_TCK"),
1344 		MTK_FUNCTION(4, "CONN_DSP_JCK"),
1345 		MTK_FUNCTION(5, "SCP_JTAG_TCK"),
1346 		MTK_FUNCTION(6, "LVTS_SDO"),
1347 		MTK_FUNCTION(7, "DBG_MON_A4")
1348 	),
1349 	MTK_PIN(
1350 		130, "GPIO130",
1351 		MTK_EINT_FUNCTION(0, 130),
1352 		DRV_GRP0,
1353 		MTK_FUNCTION(0, "GPIO130"),
1354 		MTK_FUNCTION(1, "MD1_SIM1_SCLK"),
1355 		MTK_FUNCTION(2, "MD1_SIM2_SCLK"),
1356 		MTK_FUNCTION(6, "LVTS_26M"),
1357 		MTK_FUNCTION(7, "DBG_MON_A5")
1358 	),
1359 	MTK_PIN(
1360 		131, "GPIO131",
1361 		MTK_EINT_FUNCTION(0, 131),
1362 		DRV_GRP0,
1363 		MTK_FUNCTION(0, "GPIO131"),
1364 		MTK_FUNCTION(1, "MD1_SIM2_SCLK"),
1365 		MTK_FUNCTION(2, "MD1_SIM1_SCLK"),
1366 		MTK_FUNCTION(3, "CCU_JTAG_TDI"),
1367 		MTK_FUNCTION(4, "CONN_DSP_JDI"),
1368 		MTK_FUNCTION(5, "SCP_JTAG_TDI"),
1369 		MTK_FUNCTION(6, "LVTS_SCK"),
1370 		MTK_FUNCTION(7, "DBG_MON_A0")
1371 	),
1372 	MTK_PIN(
1373 		132, "GPIO132",
1374 		MTK_EINT_FUNCTION(0, 132),
1375 		DRV_GRP0,
1376 		MTK_FUNCTION(0, "GPIO132"),
1377 		MTK_FUNCTION(1, "MD1_SIM2_SRST"),
1378 		MTK_FUNCTION(2, "MD1_SIM1_SRST"),
1379 		MTK_FUNCTION(3, "CCU_JTAG_TMS"),
1380 		MTK_FUNCTION(4, "CONN_DSP_JMS"),
1381 		MTK_FUNCTION(5, "SCP_JTAG_TMS"),
1382 		MTK_FUNCTION(6, "LVTS_SDI"),
1383 		MTK_FUNCTION(7, "DBG_MON_A1")
1384 	),
1385 	MTK_PIN(
1386 		133, "GPIO133",
1387 		MTK_EINT_FUNCTION(0, 133),
1388 		DRV_GRP0,
1389 		MTK_FUNCTION(0, "GPIO133"),
1390 		MTK_FUNCTION(1, "MD1_SIM2_SIO"),
1391 		MTK_FUNCTION(2, "MD1_SIM1_SIO"),
1392 		MTK_FUNCTION(3, "CCU_JTAG_TDO"),
1393 		MTK_FUNCTION(4, "CONN_DSP_JDO"),
1394 		MTK_FUNCTION(5, "SCP_JTAG_TDO"),
1395 		MTK_FUNCTION(6, "LVTS_SCF"),
1396 		MTK_FUNCTION(7, "DBG_MON_A2")
1397 	),
1398 	MTK_PIN(
1399 		134, "GPIO134",
1400 		MTK_EINT_FUNCTION(0, 134),
1401 		DRV_GRP4,
1402 		MTK_FUNCTION(0, "GPIO134"),
1403 		MTK_FUNCTION(1, "MSDC1_CLK"),
1404 		MTK_FUNCTION(2, "PCM1_CLK"),
1405 		MTK_FUNCTION(3, "SPI5_B_MI"),
1406 		MTK_FUNCTION(4, "UDI_TCK"),
1407 		MTK_FUNCTION(5, "CONN_DSP_JCK"),
1408 		MTK_FUNCTION(6, "IPU_JTAG_TCK"),
1409 		MTK_FUNCTION(7, "JTCK_SEL3")
1410 	),
1411 	MTK_PIN(
1412 		135, "GPIO135",
1413 		MTK_EINT_FUNCTION(0, 135),
1414 		DRV_GRP4,
1415 		MTK_FUNCTION(0, "GPIO135"),
1416 		MTK_FUNCTION(1, "MSDC1_CMD"),
1417 		MTK_FUNCTION(2, "PCM1_SYNC"),
1418 		MTK_FUNCTION(3, "SPI5_B_CSB"),
1419 		MTK_FUNCTION(4, "UDI_TMS"),
1420 		MTK_FUNCTION(5, "CONN_DSP_JMS"),
1421 		MTK_FUNCTION(6, "IPU_JTAG_TMS"),
1422 		MTK_FUNCTION(7, "JTMS_SEL3")
1423 	),
1424 	MTK_PIN(
1425 		136, "GPIO136",
1426 		MTK_EINT_FUNCTION(0, 136),
1427 		DRV_GRP4,
1428 		MTK_FUNCTION(0, "GPIO136"),
1429 		MTK_FUNCTION(1, "MSDC1_DAT3"),
1430 		MTK_FUNCTION(2, "PCM1_DI"),
1431 		MTK_FUNCTION(3, "SPI5_B_MO"),
1432 		MTK_FUNCTION(4, "CONN_TCXOENA_REQ"),
1433 		MTK_FUNCTION(5, "CONN_DSP_JINTP"),
1434 		MTK_FUNCTION(6, "CONN_MCU_AICE_TMSC")
1435 	),
1436 	MTK_PIN(
1437 		137, "GPIO137",
1438 		MTK_EINT_FUNCTION(0, 137),
1439 		DRV_GRP4,
1440 		MTK_FUNCTION(0, "GPIO137"),
1441 		MTK_FUNCTION(1, "MSDC1_DAT0"),
1442 		MTK_FUNCTION(2, "PCM1_DO0"),
1443 		MTK_FUNCTION(3, "SPI5_B_CLK"),
1444 		MTK_FUNCTION(4, "UDI_TDI"),
1445 		MTK_FUNCTION(5, "CONN_DSP_JDI"),
1446 		MTK_FUNCTION(6, "IPU_JTAG_TDI"),
1447 		MTK_FUNCTION(7, "JTDI_SEL3")
1448 	),
1449 	MTK_PIN(
1450 		138, "GPIO138",
1451 		MTK_EINT_FUNCTION(0, 138),
1452 		DRV_GRP4,
1453 		MTK_FUNCTION(0, "GPIO138"),
1454 		MTK_FUNCTION(1, "MSDC1_DAT2"),
1455 		MTK_FUNCTION(2, "PCM1_DO2"),
1456 		MTK_FUNCTION(3, "ANT_SEL11"),
1457 		MTK_FUNCTION(4, "UDI_NTRST"),
1458 		MTK_FUNCTION(5, "CONN_MCU_AICE_TCKC"),
1459 		MTK_FUNCTION(6, "IPU_JTAG_TRST"),
1460 		MTK_FUNCTION(7, "JTRSTN_SEL3")
1461 	),
1462 	MTK_PIN(
1463 		139, "GPIO139",
1464 		MTK_EINT_FUNCTION(0, 139),
1465 		DRV_GRP4,
1466 		MTK_FUNCTION(0, "GPIO139"),
1467 		MTK_FUNCTION(1, "MSDC1_DAT1"),
1468 		MTK_FUNCTION(2, "PCM1_DO1"),
1469 		MTK_FUNCTION(3, "ANT_SEL12"),
1470 		MTK_FUNCTION(4, "UDI_TDO"),
1471 		MTK_FUNCTION(5, "CONN_DSP_JDO"),
1472 		MTK_FUNCTION(6, "IPU_JTAG_TDO"),
1473 		MTK_FUNCTION(7, "JTDO_SEL3")
1474 	),
1475 	MTK_PIN(
1476 		140, "GPIO140",
1477 		MTK_EINT_FUNCTION(0, 140),
1478 		DRV_GRP4,
1479 		MTK_FUNCTION(0, "GPIO140"),
1480 		MTK_FUNCTION(1, "MD_INT1_C2K_UIM0_HOT_PLUG"),
1481 		MTK_FUNCTION(2, "MD_INT2_C2K_UIM1_HOT_PLUG"),
1482 		MTK_FUNCTION(3, "ADSP_URXD0"),
1483 		MTK_FUNCTION(4, "SCL_6306"),
1484 		MTK_FUNCTION(5, "PTA_RXD"),
1485 		MTK_FUNCTION(6, "SSPM_URXD_AO")
1486 	),
1487 	MTK_PIN(
1488 		141, "GPIO141",
1489 		MTK_EINT_FUNCTION(0, 141),
1490 		DRV_GRP4,
1491 		MTK_FUNCTION(0, "GPIO141"),
1492 		MTK_FUNCTION(1, "MD_INT2_C2K_UIM1_HOT_PLUG"),
1493 		MTK_FUNCTION(2, "MD_INT1_C2K_UIM0_HOT_PLUG"),
1494 		MTK_FUNCTION(3, "ADSP_UTXD0"),
1495 		MTK_FUNCTION(4, "SDA_6306"),
1496 		MTK_FUNCTION(5, "PTA_TXD"),
1497 		MTK_FUNCTION(6, "SSPM_UTXD_AO")
1498 	),
1499 	MTK_PIN(
1500 		142, "GPIO142",
1501 		MTK_EINT_FUNCTION(0, 142),
1502 		DRV_GRP4,
1503 		MTK_FUNCTION(0, "GPIO142"),
1504 		MTK_FUNCTION(1, "SCP_VREQ_VAO"),
1505 		MTK_FUNCTION(2, "DVFSRC_EXT_REQ")
1506 	),
1507 	MTK_PIN(
1508 		143, "GPIO143",
1509 		MTK_EINT_FUNCTION(0, 143),
1510 		DRV_GRP4,
1511 		MTK_FUNCTION(0, "GPIO143"),
1512 		MTK_FUNCTION(1, "AUD_DAT_MOSI2"),
1513 		MTK_FUNCTION(7, "DBG_MON_A9")
1514 	),
1515 	MTK_PIN(
1516 		144, "GPIO144",
1517 		MTK_EINT_FUNCTION(0, 144),
1518 		DRV_GRP4,
1519 		MTK_FUNCTION(0, "GPIO144"),
1520 		MTK_FUNCTION(1, "AUD_NLE_MOSI1"),
1521 		MTK_FUNCTION(2, "AUD_CLK_MISO"),
1522 		MTK_FUNCTION(3, "I2S2_MCK"),
1523 		MTK_FUNCTION(5, "UDI_TCK"),
1524 		MTK_FUNCTION(6, "UFS_UNIPRO_SDA"),
1525 		MTK_FUNCTION(7, "DBG_MON_A10")
1526 	),
1527 	MTK_PIN(
1528 		145, "GPIO145",
1529 		MTK_EINT_FUNCTION(0, 145),
1530 		DRV_GRP4,
1531 		MTK_FUNCTION(0, "GPIO145"),
1532 		MTK_FUNCTION(1, "AUD_NLE_MOSI0"),
1533 		MTK_FUNCTION(2, "AUD_SYNC_MISO"),
1534 		MTK_FUNCTION(3, "I2S2_BCK"),
1535 		MTK_FUNCTION(5, "UDI_TMS"),
1536 		MTK_FUNCTION(7, "DBG_MON_A11")
1537 	),
1538 	MTK_PIN(
1539 		146, "GPIO146",
1540 		MTK_EINT_FUNCTION(0, 146),
1541 		DRV_GRP4,
1542 		MTK_FUNCTION(0, "GPIO146"),
1543 		MTK_FUNCTION(1, "AUD_DAT_MISO2"),
1544 		MTK_FUNCTION(3, "I2S2_DI2"),
1545 		MTK_FUNCTION(5, "UDI_TDO"),
1546 		MTK_FUNCTION(7, "DBG_MON_A14")
1547 	),
1548 	MTK_PIN(
1549 		147, "GPIO147",
1550 		MTK_EINT_FUNCTION(0, 147),
1551 		DRV_GRP4,
1552 		MTK_FUNCTION(0, "GPIO147"),
1553 		MTK_FUNCTION(1, "ANT_SEL0"),
1554 		MTK_FUNCTION(2, "PWM_3")
1555 	),
1556 	MTK_PIN(
1557 		148, "GPIO148",
1558 		MTK_EINT_FUNCTION(0, 148),
1559 		DRV_GRP4,
1560 		MTK_FUNCTION(0, "GPIO148"),
1561 		MTK_FUNCTION(1, "ANT_SEL1"),
1562 		MTK_FUNCTION(2, "SPI0_B_MI"),
1563 		MTK_FUNCTION(3, "SSPM_URXD_AO"),
1564 		MTK_FUNCTION(5, "TP_UCTS2_AO"),
1565 		MTK_FUNCTION(6, "CLKM0")
1566 	),
1567 	MTK_PIN(
1568 		149, "GPIO149",
1569 		MTK_EINT_FUNCTION(0, 149),
1570 		DRV_GRP4,
1571 		MTK_FUNCTION(0, "GPIO149"),
1572 		MTK_FUNCTION(1, "ANT_SEL2"),
1573 		MTK_FUNCTION(2, "SPI0_B_CSB"),
1574 		MTK_FUNCTION(3, "SSPM_UTXD_AO"),
1575 		MTK_FUNCTION(5, "TP_URTS2_AO"),
1576 		MTK_FUNCTION(6, "CONN_TCXOENA_REQ")
1577 	),
1578 	MTK_PIN(
1579 		150, "GPIO150",
1580 		MTK_EINT_FUNCTION(0, 150),
1581 		DRV_GRP4,
1582 		MTK_FUNCTION(0, "GPIO150"),
1583 		MTK_FUNCTION(1, "ANT_SEL3"),
1584 		MTK_FUNCTION(2, "SPI0_B_MO"),
1585 		MTK_FUNCTION(3, "UCTS1"),
1586 		MTK_FUNCTION(5, "TP_UCTS1_AO"),
1587 		MTK_FUNCTION(6, "IDDIG"),
1588 		MTK_FUNCTION(7, "SCL9")
1589 	),
1590 	MTK_PIN(
1591 		151, "GPIO151",
1592 		MTK_EINT_FUNCTION(0, 151),
1593 		DRV_GRP4,
1594 		MTK_FUNCTION(0, "GPIO151"),
1595 		MTK_FUNCTION(1, "ANT_SEL4"),
1596 		MTK_FUNCTION(2, "SPI0_B_CLK"),
1597 		MTK_FUNCTION(3, "URTS1"),
1598 		MTK_FUNCTION(5, "TP_URTS1_AO"),
1599 		MTK_FUNCTION(6, "USB_DRVVBUS"),
1600 		MTK_FUNCTION(7, "SDA9")
1601 	),
1602 	MTK_PIN(
1603 		152, "GPIO152",
1604 		MTK_EINT_FUNCTION(0, 152),
1605 		DRV_GRP4,
1606 		MTK_FUNCTION(0, "GPIO152"),
1607 		MTK_FUNCTION(1, "ANT_SEL5"),
1608 		MTK_FUNCTION(2, "SPI1_B_MI"),
1609 		MTK_FUNCTION(3, "CLKM3"),
1610 		MTK_FUNCTION(5, "TP_URXD1_AO"),
1611 		MTK_FUNCTION(6, "SCP_SPI1_B_MI"),
1612 		MTK_FUNCTION(7, "SCL8")
1613 	),
1614 	MTK_PIN(
1615 		153, "GPIO153",
1616 		MTK_EINT_FUNCTION(0, 153),
1617 		DRV_GRP4,
1618 		MTK_FUNCTION(0, "GPIO153"),
1619 		MTK_FUNCTION(1, "ANT_SEL6"),
1620 		MTK_FUNCTION(2, "SPI1_B_CSB"),
1621 		MTK_FUNCTION(3, "SRCLKENAI0"),
1622 		MTK_FUNCTION(4, "PWM_0"),
1623 		MTK_FUNCTION(5, "TP_UTXD1_AO"),
1624 		MTK_FUNCTION(6, "SCP_SPI1_B_CS"),
1625 		MTK_FUNCTION(7, "SDA8")
1626 	),
1627 	MTK_PIN(
1628 		154, "GPIO154",
1629 		MTK_EINT_FUNCTION(0, 154),
1630 		DRV_GRP4,
1631 		MTK_FUNCTION(0, "GPIO154"),
1632 		MTK_FUNCTION(1, "ANT_SEL7"),
1633 		MTK_FUNCTION(2, "SPI1_B_MO"),
1634 		MTK_FUNCTION(3, "SRCLKENAI1"),
1635 		MTK_FUNCTION(5, "TP_URXD2_AO"),
1636 		MTK_FUNCTION(6, "SCP_SPI1_B_MO")
1637 	),
1638 	MTK_PIN(
1639 		155, "GPIO155",
1640 		MTK_EINT_FUNCTION(0, 155),
1641 		DRV_GRP4,
1642 		MTK_FUNCTION(0, "GPIO155"),
1643 		MTK_FUNCTION(1, "ANT_SEL8"),
1644 		MTK_FUNCTION(2, "SPI1_B_CLK"),
1645 		MTK_FUNCTION(3, "MD_INT0"),
1646 		MTK_FUNCTION(5, "TP_UTXD2_AO"),
1647 		MTK_FUNCTION(6, "SCP_SPI1_B_CK"),
1648 		MTK_FUNCTION(7, "DBG_MON_A15")
1649 	),
1650 	MTK_PIN(
1651 		156, "GPIO156",
1652 		MTK_EINT_FUNCTION(0, 156),
1653 		DRV_GRP4,
1654 		MTK_FUNCTION(0, "GPIO156"),
1655 		MTK_FUNCTION(1, "CONN_TOP_CLK"),
1656 		MTK_FUNCTION(2, "AUXIF_CLK0"),
1657 		MTK_FUNCTION(7, "DBG_MON_A16")
1658 	),
1659 	MTK_PIN(
1660 		157, "GPIO157",
1661 		MTK_EINT_FUNCTION(0, 157),
1662 		DRV_GRP4,
1663 		MTK_FUNCTION(0, "GPIO157"),
1664 		MTK_FUNCTION(1, "CONN_TOP_DATA"),
1665 		MTK_FUNCTION(2, "AUXIF_ST0"),
1666 		MTK_FUNCTION(7, "DBG_MON_A17")
1667 	),
1668 	MTK_PIN(
1669 		158, "GPIO158",
1670 		MTK_EINT_FUNCTION(0, 158),
1671 		DRV_GRP4,
1672 		MTK_FUNCTION(0, "GPIO158"),
1673 		MTK_FUNCTION(1, "CONN_HRST_B"),
1674 		MTK_FUNCTION(7, "DBG_MON_A18")
1675 	),
1676 	MTK_PIN(
1677 		159, "GPIO159",
1678 		MTK_EINT_FUNCTION(0, 159),
1679 		DRV_GRP4,
1680 		MTK_FUNCTION(0, "GPIO159"),
1681 		MTK_FUNCTION(1, "CONN_WB_PTA"),
1682 		MTK_FUNCTION(7, "DBG_MON_A19")
1683 	),
1684 	MTK_PIN(
1685 		160, "GPIO160",
1686 		MTK_EINT_FUNCTION(0, 160),
1687 		DRV_GRP4,
1688 		MTK_FUNCTION(0, "GPIO160"),
1689 		MTK_FUNCTION(1, "CONN_BT_CLK"),
1690 		MTK_FUNCTION(2, "AUXIF_CLK1"),
1691 		MTK_FUNCTION(7, "DBG_MON_A20")
1692 	),
1693 	MTK_PIN(
1694 		161, "GPIO161",
1695 		MTK_EINT_FUNCTION(0, 161),
1696 		DRV_GRP4,
1697 		MTK_FUNCTION(0, "GPIO161"),
1698 		MTK_FUNCTION(1, "CONN_BT_DATA"),
1699 		MTK_FUNCTION(2, "AUXIF_ST1"),
1700 		MTK_FUNCTION(7, "DBG_MON_A21")
1701 	),
1702 	MTK_PIN(
1703 		162, "GPIO162",
1704 		MTK_EINT_FUNCTION(0, 162),
1705 		DRV_GRP4,
1706 		MTK_FUNCTION(0, "GPIO162"),
1707 		MTK_FUNCTION(1, "CONN_WF_CTRL0"),
1708 		MTK_FUNCTION(7, "DBG_MON_A22")
1709 	),
1710 	MTK_PIN(
1711 		163, "GPIO163",
1712 		MTK_EINT_FUNCTION(0, 163),
1713 		DRV_GRP4,
1714 		MTK_FUNCTION(0, "GPIO163"),
1715 		MTK_FUNCTION(1, "CONN_WF_CTRL1"),
1716 		MTK_FUNCTION(2, "UFS_MPHY_SCL"),
1717 		MTK_FUNCTION(7, "DBG_MON_A23")
1718 	),
1719 	MTK_PIN(
1720 		164, "GPIO164",
1721 		MTK_EINT_FUNCTION(0, 164),
1722 		DRV_GRP4,
1723 		MTK_FUNCTION(0, "GPIO164"),
1724 		MTK_FUNCTION(1, "CONN_WF_CTRL2"),
1725 		MTK_FUNCTION(2, "UFS_MPHY_SDA"),
1726 		MTK_FUNCTION(7, "DBG_MON_A24")
1727 	),
1728 	MTK_PIN(
1729 		165, "GPIO165",
1730 		MTK_EINT_FUNCTION(0, 165),
1731 		DRV_GRP4,
1732 		MTK_FUNCTION(0, "GPIO165"),
1733 		MTK_FUNCTION(1, "CONN_WF_CTRL3"),
1734 		MTK_FUNCTION(2, "UFS_UNIPRO_SDA"),
1735 		MTK_FUNCTION(7, "DBG_MON_A25")
1736 	),
1737 	MTK_PIN(
1738 		166, "GPIO166",
1739 		MTK_EINT_FUNCTION(0, 166),
1740 		DRV_GRP4,
1741 		MTK_FUNCTION(0, "GPIO166"),
1742 		MTK_FUNCTION(1, "CONN_WF_CTRL4"),
1743 		MTK_FUNCTION(2, "UFS_UNIPRO_SCL"),
1744 		MTK_FUNCTION(7, "DBG_MON_A26")
1745 	),
1746 	MTK_PIN(
1747 		167, "GPIO167",
1748 		MTK_EINT_FUNCTION(0, 167),
1749 		DRV_GRP4,
1750 		MTK_FUNCTION(0, "GPIO167"),
1751 		MTK_FUNCTION(1, "MSDC0_CMD")
1752 	),
1753 	MTK_PIN(
1754 		168, "GPIO168",
1755 		MTK_EINT_FUNCTION(0, 168),
1756 		DRV_GRP4,
1757 		MTK_FUNCTION(0, "GPIO168"),
1758 		MTK_FUNCTION(1, "MSDC0_DAT0")
1759 	),
1760 	MTK_PIN(
1761 		169, "GPIO169",
1762 		MTK_EINT_FUNCTION(0, 169),
1763 		DRV_GRP4,
1764 		MTK_FUNCTION(0, "GPIO169"),
1765 		MTK_FUNCTION(1, "MSDC0_DAT2")
1766 	),
1767 	MTK_PIN(
1768 		170, "GPIO170",
1769 		MTK_EINT_FUNCTION(0, 170),
1770 		DRV_GRP4,
1771 		MTK_FUNCTION(0, "GPIO170"),
1772 		MTK_FUNCTION(1, "MSDC0_DAT4")
1773 	),
1774 	MTK_PIN(
1775 		171, "GPIO171",
1776 		MTK_EINT_FUNCTION(0, 171),
1777 		DRV_GRP4,
1778 		MTK_FUNCTION(0, "GPIO171"),
1779 		MTK_FUNCTION(1, "MSDC0_DAT6")
1780 	),
1781 	MTK_PIN(
1782 		172, "GPIO172",
1783 		MTK_EINT_FUNCTION(0, 172),
1784 		DRV_GRP4,
1785 		MTK_FUNCTION(0, "GPIO172"),
1786 		MTK_FUNCTION(1, "MSDC0_DAT1")
1787 	),
1788 	MTK_PIN(
1789 		173, "GPIO173",
1790 		MTK_EINT_FUNCTION(0, 173),
1791 		DRV_GRP4,
1792 		MTK_FUNCTION(0, "GPIO173"),
1793 		MTK_FUNCTION(1, "MSDC0_DAT5")
1794 	),
1795 	MTK_PIN(
1796 		174, "GPIO174",
1797 		MTK_EINT_FUNCTION(0, 174),
1798 		DRV_GRP4,
1799 		MTK_FUNCTION(0, "GPIO174"),
1800 		MTK_FUNCTION(1, "MSDC0_DAT7")
1801 	),
1802 	MTK_PIN(
1803 		175, "GPIO175",
1804 		MTK_EINT_FUNCTION(0, 175),
1805 		DRV_GRP4,
1806 		MTK_FUNCTION(0, "GPIO175"),
1807 		MTK_FUNCTION(1, "MSDC0_DSL"),
1808 		MTK_FUNCTION(2, "ANT_SEL9")
1809 	),
1810 	MTK_PIN(
1811 		176, "GPIO176",
1812 		MTK_EINT_FUNCTION(0, 176),
1813 		DRV_GRP4,
1814 		MTK_FUNCTION(0, "GPIO176"),
1815 		MTK_FUNCTION(1, "MSDC0_CLK"),
1816 		MTK_FUNCTION(2, "ANT_SEL10")
1817 	),
1818 	MTK_PIN(
1819 		177, "GPIO177",
1820 		MTK_EINT_FUNCTION(0, 177),
1821 		DRV_GRP4,
1822 		MTK_FUNCTION(0, "GPIO177"),
1823 		MTK_FUNCTION(1, "MSDC0_DAT3")
1824 	),
1825 	MTK_PIN(
1826 		178, "GPIO178",
1827 		MTK_EINT_FUNCTION(0, 178),
1828 		DRV_GRP4,
1829 		MTK_FUNCTION(0, "GPIO178"),
1830 		MTK_FUNCTION(1, "MSDC0_RSTB")
1831 	),
1832 	MTK_PIN(
1833 		179, "GPIO179",
1834 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1835 		DRV_GRP4,
1836 		MTK_FUNCTION(0, "GPIO179"),
1837 		MTK_FUNCTION(1, "RFIC0_BSI_EN")
1838 	),
1839 	MTK_PIN(
1840 		180, "GPIO180",
1841 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1842 		DRV_GRP4,
1843 		MTK_FUNCTION(0, "GPIO180"),
1844 		MTK_FUNCTION(1, "RFIC0_BSI_CK")
1845 	),
1846 	MTK_PIN(
1847 		181, "GPIO181",
1848 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1849 		DRV_GRP4,
1850 		MTK_FUNCTION(0, "GPIO181"),
1851 		MTK_FUNCTION(1, "SRCLKENA0")
1852 	),
1853 	MTK_PIN(
1854 		182, "GPIO182",
1855 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1856 		DRV_GRP4,
1857 		MTK_FUNCTION(0, "GPIO182"),
1858 		MTK_FUNCTION(1, "SRCLKENA1")
1859 	),
1860 	MTK_PIN(
1861 		183, "GPIO183",
1862 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1863 		DRV_GRP4,
1864 		MTK_FUNCTION(0, "GPIO183"),
1865 		MTK_FUNCTION(1, "WATCHDOG")
1866 	),
1867 	MTK_PIN(
1868 		184, "GPIO184",
1869 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1870 		DRV_GRP4,
1871 		MTK_FUNCTION(0, "GPIO184"),
1872 		MTK_FUNCTION(1, "PWRAP_SPI0_MI"),
1873 		MTK_FUNCTION(2, "PWRAP_SPI0_MO")
1874 	),
1875 	MTK_PIN(
1876 		185, "GPIO185",
1877 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1878 		DRV_GRP4,
1879 		MTK_FUNCTION(0, "GPIO185"),
1880 		MTK_FUNCTION(1, "PWRAP_SPI0_CSN")
1881 	),
1882 	MTK_PIN(
1883 		186, "GPIO186",
1884 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1885 		DRV_GRP4,
1886 		MTK_FUNCTION(0, "GPIO186"),
1887 		MTK_FUNCTION(1, "PWRAP_SPI0_MO"),
1888 		MTK_FUNCTION(2, "PWRAP_SPI0_MI")
1889 	),
1890 	MTK_PIN(
1891 		187, "GPIO187",
1892 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1893 		DRV_GRP4,
1894 		MTK_FUNCTION(0, "GPIO187"),
1895 		MTK_FUNCTION(1, "PWRAP_SPI0_CK")
1896 	),
1897 	MTK_PIN(
1898 		188, "GPIO188",
1899 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1900 		DRV_GRP4,
1901 		MTK_FUNCTION(0, "GPIO188"),
1902 		MTK_FUNCTION(1, "RTC32K_CK")
1903 	),
1904 	MTK_PIN(
1905 		189, "GPIO189",
1906 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1907 		DRV_GRP4,
1908 		MTK_FUNCTION(0, "GPIO189"),
1909 		MTK_FUNCTION(1, "AUD_CLK_MOSI"),
1910 		MTK_FUNCTION(3, "I2S1_MCK"),
1911 		MTK_FUNCTION(6, "UFS_UNIPRO_SCL")
1912 	),
1913 	MTK_PIN(
1914 		190, "GPIO190",
1915 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1916 		DRV_GRP4,
1917 		MTK_FUNCTION(0, "GPIO190"),
1918 		MTK_FUNCTION(1, "AUD_SYNC_MOSI"),
1919 		MTK_FUNCTION(3, "I2S1_BCK"),
1920 		MTK_FUNCTION(7, "DBG_MON_A6")
1921 	),
1922 	MTK_PIN(
1923 		191, "GPIO191",
1924 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1925 		DRV_GRP4,
1926 		MTK_FUNCTION(0, "GPIO191"),
1927 		MTK_FUNCTION(1, "AUD_DAT_MOSI0"),
1928 		MTK_FUNCTION(3, "I2S1_LRCK"),
1929 		MTK_FUNCTION(7, "DBG_MON_A7")
1930 	),
1931 	MTK_PIN(
1932 		192, "GPIO192",
1933 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1934 		DRV_GRP4,
1935 		MTK_FUNCTION(0, "GPIO192"),
1936 		MTK_FUNCTION(1, "AUD_DAT_MOSI1"),
1937 		MTK_FUNCTION(3, "I2S1_DO"),
1938 		MTK_FUNCTION(6, "UFS_MPHY_SDA"),
1939 		MTK_FUNCTION(7, "DBG_MON_A8")
1940 	),
1941 	MTK_PIN(
1942 		193, "GPIO193",
1943 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1944 		DRV_GRP4,
1945 		MTK_FUNCTION(0, "GPIO193"),
1946 		MTK_FUNCTION(1, "AUD_DAT_MISO0"),
1947 		MTK_FUNCTION(2, "VOW_DAT_MISO"),
1948 		MTK_FUNCTION(3, "I2S2_LRCK"),
1949 		MTK_FUNCTION(5, "UDI_TDI"),
1950 		MTK_FUNCTION(7, "DBG_MON_A12")
1951 	),
1952 	MTK_PIN(
1953 		194, "GPIO194",
1954 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1955 		DRV_GRP4,
1956 		MTK_FUNCTION(0, "GPIO194"),
1957 		MTK_FUNCTION(1, "AUD_DAT_MISO1"),
1958 		MTK_FUNCTION(2, "VOW_CLK_MISO"),
1959 		MTK_FUNCTION(3, "I2S2_DI"),
1960 		MTK_FUNCTION(5, "UDI_NTRST"),
1961 		MTK_FUNCTION(6, "UFS_MPHY_SCL"),
1962 		MTK_FUNCTION(7, "DBG_MON_A13")
1963 	),
1964 	MTK_PIN(
1965 		195, "GPIO195",
1966 		MTK_EINT_FUNCTION(0, 179),
1967 		DRV_GRP4,
1968 		MTK_FUNCTION(0, "GPIO195"),
1969 		MTK_FUNCTION(3, "ADSP_JTAG_TCK"),
1970 		MTK_FUNCTION(4, "VPU_UDI_TCK"),
1971 		MTK_FUNCTION(5, "SPM_JTAG_TCK"),
1972 		MTK_FUNCTION(6, "SSPM_JTAG_TCK")
1973 	),
1974 	MTK_PIN(
1975 		196, "GPIO196",
1976 		MTK_EINT_FUNCTION(0, 180),
1977 		DRV_GRP4,
1978 		MTK_FUNCTION(0, "GPIO196"),
1979 		MTK_FUNCTION(1, "CMMCLK4"),
1980 		MTK_FUNCTION(3, "ADSP_JTAG_TDI"),
1981 		MTK_FUNCTION(4, "VPU_UDI_TDI"),
1982 		MTK_FUNCTION(5, "SPM_JTAG_TDI"),
1983 		MTK_FUNCTION(6, "SSPM_JTAG_TDI")
1984 	),
1985 	MTK_PIN(
1986 		197, "GPIO197",
1987 		MTK_EINT_FUNCTION(0, 181),
1988 		DRV_GRP4,
1989 		MTK_FUNCTION(0, "GPIO197"),
1990 		MTK_FUNCTION(3, "ADSP_JTAG_TDO"),
1991 		MTK_FUNCTION(4, "VPU_UDI_TDO"),
1992 		MTK_FUNCTION(5, "SPM_JTAG_TDO"),
1993 		MTK_FUNCTION(6, "SSPM_JTAG_TDO")
1994 	),
1995 	MTK_PIN(
1996 		198, "GPIO198",
1997 		MTK_EINT_FUNCTION(0, 182),
1998 		DRV_GRP4,
1999 		MTK_FUNCTION(0, "GPIO198"),
2000 		MTK_FUNCTION(1, "SCL7")
2001 	),
2002 	MTK_PIN(
2003 		199, "GPIO199",
2004 		MTK_EINT_FUNCTION(0, 183),
2005 		DRV_GRP4,
2006 		MTK_FUNCTION(0, "GPIO199"),
2007 		MTK_FUNCTION(1, "SDA7")
2008 	),
2009 	MTK_PIN(
2010 		200, "GPIO200",
2011 		MTK_EINT_FUNCTION(0, 184),
2012 		DRV_GRP4,
2013 		MTK_FUNCTION(0, "GPIO200"),
2014 		MTK_FUNCTION(1, "URXD1"),
2015 		MTK_FUNCTION(2, "ADSP_URXD0"),
2016 		MTK_FUNCTION(3, "TP_URXD1_AO"),
2017 		MTK_FUNCTION(4, "SSPM_URXD_AO"),
2018 		MTK_FUNCTION(5, "TP_URXD2_AO"),
2019 		MTK_FUNCTION(6, "MBISTREADEN_TRIGGER")
2020 	),
2021 	MTK_PIN(
2022 		201, "GPIO201",
2023 		MTK_EINT_FUNCTION(0, 185),
2024 		DRV_GRP4,
2025 		MTK_FUNCTION(0, "GPIO201"),
2026 		MTK_FUNCTION(1, "UTXD1"),
2027 		MTK_FUNCTION(2, "ADSP_UTXD0"),
2028 		MTK_FUNCTION(3, "TP_UTXD1_AO"),
2029 		MTK_FUNCTION(4, "SSPM_UTXD_AO"),
2030 		MTK_FUNCTION(5, "TP_UTXD2_AO"),
2031 		MTK_FUNCTION(6, "MBISTWRITEEN_TRIGGER")
2032 	),
2033 	MTK_PIN(
2034 		202, "GPIO202",
2035 		MTK_EINT_FUNCTION(0, 186),
2036 		DRV_GRP4,
2037 		MTK_FUNCTION(0, "GPIO202"),
2038 		MTK_FUNCTION(1, "PWM_3"),
2039 		MTK_FUNCTION(2, "CLKM3")
2040 	),
2041 	MTK_PIN(
2042 		203, "GPIO203",
2043 		MTK_EINT_FUNCTION(0, 187),
2044 		DRV_GRP4,
2045 		MTK_FUNCTION(0, NULL)
2046 	),
2047 	MTK_PIN(
2048 		204, "GPIO204",
2049 		MTK_EINT_FUNCTION(0, 188),
2050 		DRV_GRP4,
2051 		MTK_FUNCTION(0, NULL)
2052 	),
2053 	MTK_PIN(
2054 		205, "GPIO205",
2055 		MTK_EINT_FUNCTION(0, 189),
2056 		DRV_GRP4,
2057 		MTK_FUNCTION(0, NULL)
2058 	),
2059 	MTK_PIN(
2060 		206, "GPIO206",
2061 		MTK_EINT_FUNCTION(0, 190),
2062 		DRV_GRP4,
2063 		MTK_FUNCTION(0, NULL)
2064 	),
2065 	MTK_PIN(
2066 		207, "GPIO207",
2067 		MTK_EINT_FUNCTION(0, 191),
2068 		DRV_GRP4,
2069 		MTK_FUNCTION(0, NULL)
2070 	),
2071 	MTK_PIN(
2072 		208, "GPIO208",
2073 		MTK_EINT_FUNCTION(0, 193),
2074 		DRV_GRP4,
2075 		MTK_FUNCTION(0, NULL)
2076 	),
2077 	MTK_PIN(
2078 		209, "GPIO209",
2079 		MTK_EINT_FUNCTION(0, 194),
2080 		DRV_GRP4,
2081 		MTK_FUNCTION(0, NULL)
2082 	),
2083 };
2084 
2085 #endif /* __PINCTRL-MTK-MT6779_H */
2086