xref: /linux/drivers/pinctrl/mediatek/pinctrl-mtk-mt8188.h (revision 249ebf3f65f8530beb2cbfb91bff1d83ba88d23c)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Copyright (C) 2022 MediaTek Inc.
4  * Author: Hui Liu <hui.liu@mediatek.com>
5  *
6  */
7 
8 #ifndef __PINCTRL_MTK_MT8188_H
9 #define __PINCTRL_MTK_MT8188_H
10 
11 #include "pinctrl-paris.h"
12 
13 static const struct mtk_pin_desc mtk_pins_mt8188[] = {
14 	MTK_PIN(
15 		0, "GPIO0",
16 		MTK_EINT_FUNCTION(0, 0),
17 		DRV_GRP4,
18 		MTK_FUNCTION(0, "B_GPIO0"),
19 		MTK_FUNCTION(1, "B0_TP_GPIO0_AO"),
20 		MTK_FUNCTION(2, "O_SPIM5_CSB"),
21 		MTK_FUNCTION(3, "O_UTXD1"),
22 		MTK_FUNCTION(4, "O_DMIC3_CLK"),
23 		MTK_FUNCTION(5, "B0_I2SIN_MCK"),
24 		MTK_FUNCTION(6, "O_I2SO2_MCK"),
25 		MTK_FUNCTION(7, "B0_DBG_MON_A0")
26 	),
27 
28 	MTK_PIN(
29 		1, "GPIO1",
30 		MTK_EINT_FUNCTION(0, 1),
31 		DRV_GRP4,
32 		MTK_FUNCTION(0, "B_GPIO1"),
33 		MTK_FUNCTION(1, "B0_TP_GPIO1_AO"),
34 		MTK_FUNCTION(2, "O_SPIM5_CLK"),
35 		MTK_FUNCTION(3, "I1_URXD1"),
36 		MTK_FUNCTION(4, "I0_DMIC3_DAT"),
37 		MTK_FUNCTION(5, "B0_I2SIN_BCK"),
38 		MTK_FUNCTION(6, "B0_I2SO2_BCK"),
39 		MTK_FUNCTION(7, "B0_DBG_MON_A1")
40 	),
41 
42 	MTK_PIN(
43 		2, "GPIO2",
44 		MTK_EINT_FUNCTION(0, 2),
45 		DRV_GRP4,
46 		MTK_FUNCTION(0, "B_GPIO2"),
47 		MTK_FUNCTION(1, "B0_TP_GPIO2_AO"),
48 		MTK_FUNCTION(2, "B0_SPIM5_MOSI"),
49 		MTK_FUNCTION(3, "O_URTS1"),
50 		MTK_FUNCTION(4, "I0_DMIC3_DAT_R"),
51 		MTK_FUNCTION(5, "B0_I2SIN_WS"),
52 		MTK_FUNCTION(6, "B0_I2SO2_WS"),
53 		MTK_FUNCTION(7, "B0_DBG_MON_A2")
54 	),
55 
56 	MTK_PIN(
57 		3, "GPIO3",
58 		MTK_EINT_FUNCTION(0, 3),
59 		DRV_GRP4,
60 		MTK_FUNCTION(0, "B_GPIO3"),
61 		MTK_FUNCTION(1, "B0_TP_GPIO3_AO"),
62 		MTK_FUNCTION(2, "B0_SPIM5_MISO"),
63 		MTK_FUNCTION(3, "I1_UCTS1"),
64 		MTK_FUNCTION(4, "O_DMIC4_CLK"),
65 		MTK_FUNCTION(5, "I0_I2SIN_D0"),
66 		MTK_FUNCTION(6, "O_I2SO2_D0"),
67 		MTK_FUNCTION(7, "B0_DBG_MON_A3")
68 	),
69 
70 	MTK_PIN(
71 		4, "GPIO4",
72 		MTK_EINT_FUNCTION(0, 4),
73 		DRV_GRP4,
74 		MTK_FUNCTION(0, "B_GPIO4"),
75 		MTK_FUNCTION(1, "B0_TP_GPIO4_AO"),
76 		MTK_FUNCTION(2, "I0_SPDIF_IN2"),
77 		MTK_FUNCTION(3, "O_I2SO1_MCK"),
78 		MTK_FUNCTION(4, "I0_DMIC4_DAT"),
79 		MTK_FUNCTION(5, "I0_I2SIN_D1"),
80 		MTK_FUNCTION(6, "O_I2SO2_D1"),
81 		MTK_FUNCTION(7, "B0_DBG_MON_A4")
82 	),
83 
84 	MTK_PIN(
85 		5, "GPIO5",
86 		MTK_EINT_FUNCTION(0, 5),
87 		DRV_GRP4,
88 		MTK_FUNCTION(0, "B_GPIO5"),
89 		MTK_FUNCTION(1, "B0_TP_GPIO5_AO"),
90 		MTK_FUNCTION(2, "I0_SPDIF_IN1"),
91 		MTK_FUNCTION(3, "O_I2SO1_BCK"),
92 		MTK_FUNCTION(4, "I0_DMIC4_DAT_R"),
93 		MTK_FUNCTION(5, "I0_I2SIN_D2"),
94 		MTK_FUNCTION(6, "O_I2SO2_D2"),
95 		MTK_FUNCTION(7, "B0_DBG_MON_A5")
96 	),
97 
98 	MTK_PIN(
99 		6, "GPIO6",
100 		MTK_EINT_FUNCTION(0, 6),
101 		DRV_GRP4,
102 		MTK_FUNCTION(0, "B_GPIO6"),
103 		MTK_FUNCTION(1, "B0_TP_GPIO6_AO"),
104 		MTK_FUNCTION(2, "I0_SPDIF_IN0"),
105 		MTK_FUNCTION(3, "O_I2SO1_WS"),
106 		MTK_FUNCTION(4, "O_DMIC1_CLK"),
107 		MTK_FUNCTION(5, "I0_I2SIN_D3"),
108 		MTK_FUNCTION(6, "O_I2SO2_D3"),
109 		MTK_FUNCTION(7, "B0_MD32_0_GPIO0")
110 	),
111 
112 	MTK_PIN(
113 		7, "GPIO7",
114 		MTK_EINT_FUNCTION(0, 7),
115 		DRV_GRP4,
116 		MTK_FUNCTION(0, "B_GPIO7"),
117 		MTK_FUNCTION(1, "B0_TP_GPIO7_AO"),
118 		MTK_FUNCTION(2, "O_SPIM3_CSB"),
119 		MTK_FUNCTION(3, "B0_TDMIN_MCK"),
120 		MTK_FUNCTION(4, "I0_DMIC1_DAT"),
121 		MTK_FUNCTION(5, "O_CMVREF0"),
122 		MTK_FUNCTION(6, "O_CLKM0"),
123 		MTK_FUNCTION(7, "B0_DBG_MON_A6")
124 	),
125 
126 	MTK_PIN(
127 		8, "GPIO8",
128 		MTK_EINT_FUNCTION(0, 8),
129 		DRV_GRP4,
130 		MTK_FUNCTION(0, "B_GPIO8"),
131 		MTK_FUNCTION(1, "B0_TP_GPIO0_AO"),
132 		MTK_FUNCTION(2, "O_SPIM3_CLK"),
133 		MTK_FUNCTION(3, "B0_TDMIN_BCK"),
134 		MTK_FUNCTION(4, "I0_DMIC1_DAT_R"),
135 		MTK_FUNCTION(5, "O_CMVREF1"),
136 		MTK_FUNCTION(6, "O_CLKM1"),
137 		MTK_FUNCTION(7, "B0_DBG_MON_A7")
138 	),
139 
140 	MTK_PIN(
141 		9, "GPIO9",
142 		MTK_EINT_FUNCTION(0, 9),
143 		DRV_GRP4,
144 		MTK_FUNCTION(0, "B_GPIO9"),
145 		MTK_FUNCTION(1, "B0_TP_GPIO1_AO"),
146 		MTK_FUNCTION(2, "B0_SPIM3_MOSI"),
147 		MTK_FUNCTION(3, "B0_TDMIN_LRCK"),
148 		MTK_FUNCTION(4, "O_DMIC2_CLK"),
149 		MTK_FUNCTION(5, "O_CMFLASH0"),
150 		MTK_FUNCTION(6, "O_PWM_0"),
151 		MTK_FUNCTION(7, "B0_DBG_MON_A8")
152 	),
153 
154 	MTK_PIN(
155 		10, "GPIO10",
156 		MTK_EINT_FUNCTION(0, 10),
157 		DRV_GRP4,
158 		MTK_FUNCTION(0, "B_GPIO10"),
159 		MTK_FUNCTION(1, "B0_TP_GPIO2_AO"),
160 		MTK_FUNCTION(2, "B0_SPIM3_MISO"),
161 		MTK_FUNCTION(3, "I0_TDMIN_DI"),
162 		MTK_FUNCTION(4, "I0_DMIC2_DAT"),
163 		MTK_FUNCTION(5, "O_CMFLASH1"),
164 		MTK_FUNCTION(6, "O_PWM_1"),
165 		MTK_FUNCTION(7, "B0_DBG_MON_A9")
166 	),
167 
168 	MTK_PIN(
169 		11, "GPIO11",
170 		MTK_EINT_FUNCTION(0, 11),
171 		DRV_GRP4,
172 		MTK_FUNCTION(0, "B_GPIO11"),
173 		MTK_FUNCTION(1, "B0_TP_GPIO3_AO"),
174 		MTK_FUNCTION(2, "O_SPDIF_OUT"),
175 		MTK_FUNCTION(3, "O_I2SO1_D0"),
176 		MTK_FUNCTION(4, "I0_DMIC2_DAT_R"),
177 		MTK_FUNCTION(5, "I0_DVFSRC_EXT_REQ"),
178 		MTK_FUNCTION(6, "O_CMVREF6"),
179 		MTK_FUNCTION(7, "B0_DBG_MON_A10")
180 	),
181 
182 	MTK_PIN(
183 		12, "GPIO12",
184 		MTK_EINT_FUNCTION(0, 12),
185 		DRV_GRP4,
186 		MTK_FUNCTION(0, "B_GPIO12"),
187 		MTK_FUNCTION(1, "B0_TP_GPIO4_AO"),
188 		MTK_FUNCTION(2, "O_SPIM4_CSB"),
189 		MTK_FUNCTION(3, "B1_JTMS_SEL3"),
190 		MTK_FUNCTION(4, "B1_APU_JTAG_TMS"),
191 		MTK_FUNCTION(5, "I0_VPU_UDI_TMS"),
192 		MTK_FUNCTION(6, "I0_IPU_JTAG_TMS"),
193 		MTK_FUNCTION(7, "I0_HDMITX20_HTPLG")
194 	),
195 
196 	MTK_PIN(
197 		13, "GPIO13",
198 		MTK_EINT_FUNCTION(0, 13),
199 		DRV_GRP4,
200 		MTK_FUNCTION(0, "B_GPIO13"),
201 		MTK_FUNCTION(1, "B0_TP_GPIO5_AO"),
202 		MTK_FUNCTION(2, "O_SPIM4_CLK"),
203 		MTK_FUNCTION(3, "I0_JTCK_SEL3"),
204 		MTK_FUNCTION(4, "I0_APU_JTAG_TCK"),
205 		MTK_FUNCTION(5, "I0_VPU_UDI_TCK"),
206 		MTK_FUNCTION(6, "I0_IPU_JTAG_TCK"),
207 		MTK_FUNCTION(7, "B1_HDMITX20_CEC")
208 	),
209 
210 	MTK_PIN(
211 		14, "GPIO14",
212 		MTK_EINT_FUNCTION(0, 14),
213 		DRV_GRP4,
214 		MTK_FUNCTION(0, "B_GPIO14"),
215 		MTK_FUNCTION(1, "B0_TP_GPIO6_AO"),
216 		MTK_FUNCTION(2, "B0_SPIM4_MOSI"),
217 		MTK_FUNCTION(3, "I1_JTDI_SEL3"),
218 		MTK_FUNCTION(4, "I1_APU_JTAG_TDI"),
219 		MTK_FUNCTION(5, "I0_VPU_UDI_TDI"),
220 		MTK_FUNCTION(6, "I0_IPU_JTAG_TDI"),
221 		MTK_FUNCTION(7, "B1_HDMITX20_SCL")
222 	),
223 
224 	MTK_PIN(
225 		15, "GPIO15",
226 		MTK_EINT_FUNCTION(0, 15),
227 		DRV_GRP4,
228 		MTK_FUNCTION(0, "B_GPIO15"),
229 		MTK_FUNCTION(1, "B0_TP_GPIO7_AO"),
230 		MTK_FUNCTION(2, "B0_SPIM4_MISO"),
231 		MTK_FUNCTION(3, "O_JTDO_SEL3"),
232 		MTK_FUNCTION(4, "O_APU_JTAG_TDO"),
233 		MTK_FUNCTION(5, "O_VPU_UDI_TDO"),
234 		MTK_FUNCTION(6, "O_IPU_JTAG_TDO"),
235 		MTK_FUNCTION(7, "B1_HDMITX20_SDA")
236 	),
237 
238 	MTK_PIN(
239 		16, "GPIO16",
240 		MTK_EINT_FUNCTION(0, 16),
241 		DRV_GRP4,
242 		MTK_FUNCTION(0, "B_GPIO16"),
243 		MTK_FUNCTION(1, "B0_TP_GPIO0_AO"),
244 		MTK_FUNCTION(2, "O_UTXD3"),
245 		MTK_FUNCTION(3, "I1_JTRSTn_SEL3"),
246 		MTK_FUNCTION(4, "I0_APU_JTAG_TRST"),
247 		MTK_FUNCTION(5, "I0_VPU_UDI_NTRST"),
248 		MTK_FUNCTION(6, "I0_IPU_JTAG_TRST"),
249 		MTK_FUNCTION(7, "O_HDMITX20_PWR5V")
250 	),
251 
252 	MTK_PIN(
253 		17, "GPIO17",
254 		MTK_EINT_FUNCTION(0, 17),
255 		DRV_GRP4,
256 		MTK_FUNCTION(0, "B_GPIO17"),
257 		MTK_FUNCTION(1, "B0_TP_GPIO1_AO"),
258 		MTK_FUNCTION(2, "I1_URXD3"),
259 		MTK_FUNCTION(3, "O_CMFLASH2"),
260 		MTK_FUNCTION(4, "I0_EDP_TX_HPD"),
261 		MTK_FUNCTION(5, "I0_DVFSRC_EXT_REQ"),
262 		MTK_FUNCTION(6, "O_CMVREF7"),
263 		MTK_FUNCTION(7, "B0_MD32_0_GPIO1")
264 	),
265 
266 	MTK_PIN(
267 		18, "GPIO18",
268 		MTK_EINT_FUNCTION(0, 18),
269 		DRV_GRP4,
270 		MTK_FUNCTION(0, "B_GPIO18"),
271 		MTK_FUNCTION(1, "B0_TP_GPIO2_AO"),
272 		MTK_FUNCTION(2, "O_CMFLASH0"),
273 		MTK_FUNCTION(3, "O_CMVREF4"),
274 		MTK_FUNCTION(4, "B0_TDMIN_MCK"),
275 		MTK_FUNCTION(5, "O_UTXD1"),
276 		MTK_FUNCTION(6, "O_TP_UTXD1_AO"),
277 		MTK_FUNCTION(7, "B0_DBG_MON_A11")
278 	),
279 
280 	MTK_PIN(
281 		19, "GPIO19",
282 		MTK_EINT_FUNCTION(0, 19),
283 		DRV_GRP4,
284 		MTK_FUNCTION(0, "B_GPIO19"),
285 		MTK_FUNCTION(1, "B0_TP_GPIO3_AO"),
286 		MTK_FUNCTION(2, "O_CMFLASH1"),
287 		MTK_FUNCTION(3, "O_CMVREF5"),
288 		MTK_FUNCTION(4, "B0_TDMIN_BCK"),
289 		MTK_FUNCTION(5, "I1_URXD1"),
290 		MTK_FUNCTION(6, "I1_TP_URXD1_AO"),
291 		MTK_FUNCTION(7, "B0_DBG_MON_A12")
292 	),
293 
294 	MTK_PIN(
295 		20, "GPIO20",
296 		MTK_EINT_FUNCTION(0, 20),
297 		DRV_GRP4,
298 		MTK_FUNCTION(0, "B_GPIO20"),
299 		MTK_FUNCTION(1, "B0_TP_GPIO4_AO"),
300 		MTK_FUNCTION(2, "O_CMFLASH2"),
301 		MTK_FUNCTION(3, "O_CLKM2"),
302 		MTK_FUNCTION(4, "B0_TDMIN_LRCK"),
303 		MTK_FUNCTION(5, "O_URTS1"),
304 		MTK_FUNCTION(6, "O_TP_URTS1_AO"),
305 		MTK_FUNCTION(7, "B0_DBG_MON_A13")
306 	),
307 
308 	MTK_PIN(
309 		21, "GPIO21",
310 		MTK_EINT_FUNCTION(0, 21),
311 		DRV_GRP4,
312 		MTK_FUNCTION(0, "B_GPIO21"),
313 		MTK_FUNCTION(1, "B0_TP_GPIO5_AO"),
314 		MTK_FUNCTION(2, "O_CMFLASH3"),
315 		MTK_FUNCTION(3, "O_CLKM3"),
316 		MTK_FUNCTION(4, "I0_TDMIN_DI"),
317 		MTK_FUNCTION(5, "I1_UCTS1"),
318 		MTK_FUNCTION(6, "I1_TP_UCTS1_AO"),
319 		MTK_FUNCTION(7, "B0_DBG_MON_A14")
320 	),
321 
322 	MTK_PIN(
323 		22, "GPIO22",
324 		MTK_EINT_FUNCTION(0, 22),
325 		DRV_GRP4,
326 		MTK_FUNCTION(0, "B_GPIO22"),
327 		MTK_FUNCTION(1, "O_CMMCLK0"),
328 		MTK_FUNCTION(5, "B0_TP_GPIO6_AO"),
329 		MTK_FUNCTION(7, "B0_DBG_MON_A15")
330 	),
331 
332 	MTK_PIN(
333 		23, "GPIO23",
334 		MTK_EINT_FUNCTION(0, 23),
335 		DRV_GRP4,
336 		MTK_FUNCTION(0, "B_GPIO23"),
337 		MTK_FUNCTION(1, "O_CMMCLK1"),
338 		MTK_FUNCTION(3, "O_PWM_2"),
339 		MTK_FUNCTION(4, "B1_PCIE_PHY_I2C_SCL"),
340 		MTK_FUNCTION(5, "B0_TP_GPIO7_AO"),
341 		MTK_FUNCTION(6, "I0_DP_TX_HPD"),
342 		MTK_FUNCTION(7, "B0_DBG_MON_A16")
343 	),
344 
345 	MTK_PIN(
346 		24, "GPIO24",
347 		MTK_EINT_FUNCTION(0, 24),
348 		DRV_GRP4,
349 		MTK_FUNCTION(0, "B_GPIO24"),
350 		MTK_FUNCTION(1, "O_CMMCLK2"),
351 		MTK_FUNCTION(3, "O_PWM_3"),
352 		MTK_FUNCTION(4, "B1_PCIE_PHY_I2C_SDA"),
353 		MTK_FUNCTION(5, "I0_DVFSRC_EXT_REQ"),
354 		MTK_FUNCTION(6, "I0_EDP_TX_HPD"),
355 		MTK_FUNCTION(7, "B0_MD32_0_GPIO2")
356 	),
357 
358 	MTK_PIN(
359 		25, "GPIO25",
360 		MTK_EINT_FUNCTION(0, 25),
361 		DRV_GRP4,
362 		MTK_FUNCTION(0, "B_GPIO25"),
363 		MTK_FUNCTION(1, "O_LCM_RST"),
364 		MTK_FUNCTION(2, "O_LCM1_RST"),
365 		MTK_FUNCTION(3, "I0_DP_TX_HPD")
366 	),
367 
368 	MTK_PIN(
369 		26, "GPIO26",
370 		MTK_EINT_FUNCTION(0, 26),
371 		DRV_GRP4,
372 		MTK_FUNCTION(0, "B_GPIO26"),
373 		MTK_FUNCTION(1, "I0_DSI_TE"),
374 		MTK_FUNCTION(2, "I0_DSI1_TE"),
375 		MTK_FUNCTION(3, "I0_EDP_TX_HPD")
376 	),
377 
378 	MTK_PIN(
379 		27, "GPIO27",
380 		MTK_EINT_FUNCTION(0, 27),
381 		DRV_GRP4,
382 		MTK_FUNCTION(0, "B_GPIO27"),
383 		MTK_FUNCTION(1, "O_LCM1_RST"),
384 		MTK_FUNCTION(2, "O_LCM_RST"),
385 		MTK_FUNCTION(3, "I0_DP_TX_HPD"),
386 		MTK_FUNCTION(4, "O_CMVREF2"),
387 		MTK_FUNCTION(5, "O_mbistwriteen_trigger"),
388 		MTK_FUNCTION(6, "O_PWM_2"),
389 		MTK_FUNCTION(7, "B0_DBG_MON_A17")
390 	),
391 
392 	MTK_PIN(
393 		28, "GPIO28",
394 		MTK_EINT_FUNCTION(0, 28),
395 		DRV_GRP4,
396 		MTK_FUNCTION(0, "B_GPIO28"),
397 		MTK_FUNCTION(1, "I0_DSI1_TE"),
398 		MTK_FUNCTION(2, "I0_DSI_TE"),
399 		MTK_FUNCTION(3, "I0_EDP_TX_HPD"),
400 		MTK_FUNCTION(4, "O_CMVREF3"),
401 		MTK_FUNCTION(5, "O_mbistreaden_trigger"),
402 		MTK_FUNCTION(6, "O_PWM_3"),
403 		MTK_FUNCTION(7, "B0_DBG_MON_A18")
404 	),
405 
406 	MTK_PIN(
407 		29, "GPIO29",
408 		MTK_EINT_FUNCTION(0, 29),
409 		DRV_GRP4,
410 		MTK_FUNCTION(0, "B_GPIO29"),
411 		MTK_FUNCTION(1, "O_DISP_PWM0"),
412 		MTK_FUNCTION(2, "O_DISP_PWM1")
413 	),
414 
415 	MTK_PIN(
416 		30, "GPIO30",
417 		MTK_EINT_FUNCTION(0, 30),
418 		DRV_GRP4,
419 		MTK_FUNCTION(0, "B_GPIO30"),
420 		MTK_FUNCTION(1, "O_DISP_PWM1"),
421 		MTK_FUNCTION(2, "O_DISP_PWM0"),
422 		MTK_FUNCTION(3, "O_CMFLASH3"),
423 		MTK_FUNCTION(4, "O_PWM_1"),
424 		MTK_FUNCTION(7, "B0_DBG_MON_A19")
425 	),
426 
427 	MTK_PIN(
428 		31, "GPIO31",
429 		MTK_EINT_FUNCTION(0, 31),
430 		DRV_GRP4,
431 		MTK_FUNCTION(0, "B_GPIO31"),
432 		MTK_FUNCTION(1, "O_UTXD0"),
433 		MTK_FUNCTION(2, "O_TP_UTXD1_AO"),
434 		MTK_FUNCTION(3, "O_ADSP_UTXD0"),
435 		MTK_FUNCTION(4, "O_TP_UTXD2_AO"),
436 		MTK_FUNCTION(5, "O_MD32_0_TXD"),
437 		MTK_FUNCTION(6, "O_MD32_1_TXD"),
438 		MTK_FUNCTION(7, "O_SSPM_UTXD_AO")
439 	),
440 
441 	MTK_PIN(
442 		32, "GPIO32",
443 		MTK_EINT_FUNCTION(0, 32),
444 		DRV_GRP4,
445 		MTK_FUNCTION(0, "B_GPIO32"),
446 		MTK_FUNCTION(1, "I1_URXD0"),
447 		MTK_FUNCTION(2, "I1_TP_URXD1_AO"),
448 		MTK_FUNCTION(3, "I1_ADSP_URXD0"),
449 		MTK_FUNCTION(4, "I1_TP_URXD2_AO"),
450 		MTK_FUNCTION(5, "I1_MD32_0_RXD"),
451 		MTK_FUNCTION(6, "I1_MD32_1_RXD"),
452 		MTK_FUNCTION(7, "I1_SSPM_URXD_AO")
453 	),
454 
455 	MTK_PIN(
456 		33, "GPIO33",
457 		MTK_EINT_FUNCTION(0, 33),
458 		DRV_GRP4,
459 		MTK_FUNCTION(0, "B_GPIO33"),
460 		MTK_FUNCTION(1, "O_UTXD1"),
461 		MTK_FUNCTION(2, "O_URTS2"),
462 		MTK_FUNCTION(3, "O_ADSP_UTXD0"),
463 		MTK_FUNCTION(4, "O_TP_UTXD1_AO"),
464 		MTK_FUNCTION(5, "O_mbistwriteen_trigger"),
465 		MTK_FUNCTION(6, "O_MD32_0_TXD"),
466 		MTK_FUNCTION(7, "O_SSPM_UTXD_AO")
467 	),
468 
469 	MTK_PIN(
470 		34, "GPIO34",
471 		MTK_EINT_FUNCTION(0, 34),
472 		DRV_GRP4,
473 		MTK_FUNCTION(0, "B_GPIO34"),
474 		MTK_FUNCTION(1, "I1_URXD1"),
475 		MTK_FUNCTION(2, "I1_UCTS2"),
476 		MTK_FUNCTION(3, "I1_ADSP_URXD0"),
477 		MTK_FUNCTION(4, "I1_TP_URXD1_AO"),
478 		MTK_FUNCTION(5, "O_mbistreaden_trigger"),
479 		MTK_FUNCTION(6, "I1_MD32_0_RXD"),
480 		MTK_FUNCTION(7, "I1_SSPM_URXD_AO")
481 	),
482 
483 	MTK_PIN(
484 		35, "GPIO35",
485 		MTK_EINT_FUNCTION(0, 35),
486 		DRV_GRP4,
487 		MTK_FUNCTION(0, "B_GPIO35"),
488 		MTK_FUNCTION(1, "O_UTXD2"),
489 		MTK_FUNCTION(2, "O_URTS1"),
490 		MTK_FUNCTION(3, "O_ADSP_UTXD0"),
491 		MTK_FUNCTION(4, "O_TP_URTS1_AO"),
492 		MTK_FUNCTION(5, "O_TP_UTXD2_AO"),
493 		MTK_FUNCTION(6, "O_MD32_1_TXD"),
494 		MTK_FUNCTION(7, "B0_DBG_MON_A20")
495 	),
496 
497 	MTK_PIN(
498 		36, "GPIO36",
499 		MTK_EINT_FUNCTION(0, 36),
500 		DRV_GRP4,
501 		MTK_FUNCTION(0, "B_GPIO36"),
502 		MTK_FUNCTION(1, "I1_URXD2"),
503 		MTK_FUNCTION(2, "I1_UCTS1"),
504 		MTK_FUNCTION(3, "I1_ADSP_URXD0"),
505 		MTK_FUNCTION(4, "I1_TP_UCTS1_AO"),
506 		MTK_FUNCTION(5, "I1_TP_URXD2_AO"),
507 		MTK_FUNCTION(6, "I1_MD32_1_RXD"),
508 		MTK_FUNCTION(7, "B0_DBG_MON_A21")
509 	),
510 
511 	MTK_PIN(
512 		37, "GPIO37",
513 		MTK_EINT_FUNCTION(0, 37),
514 		DRV_GRP4,
515 		MTK_FUNCTION(0, "B_GPIO37"),
516 		MTK_FUNCTION(1, "B1_JTMS_SEL1"),
517 		MTK_FUNCTION(2, "I0_UDI_TMS"),
518 		MTK_FUNCTION(3, "I1_SPM_JTAG_TMS"),
519 		MTK_FUNCTION(4, "I1_ADSP_JTAG0_TMS"),
520 		MTK_FUNCTION(5, "I1_SCP_JTAG0_TMS"),
521 		MTK_FUNCTION(6, "I1_CCU0_JTAG_TMS"),
522 		MTK_FUNCTION(7, "I1_MCUPM_JTAG_TMS")
523 	),
524 
525 	MTK_PIN(
526 		38, "GPIO38",
527 		MTK_EINT_FUNCTION(0, 38),
528 		DRV_GRP4,
529 		MTK_FUNCTION(0, "B_GPIO38"),
530 		MTK_FUNCTION(1, "I0_JTCK_SEL1"),
531 		MTK_FUNCTION(2, "I0_UDI_TCK"),
532 		MTK_FUNCTION(3, "I1_SPM_JTAG_TCK"),
533 		MTK_FUNCTION(4, "I0_ADSP_JTAG0_TCK"),
534 		MTK_FUNCTION(5, "I1_SCP_JTAG0_TCK"),
535 		MTK_FUNCTION(6, "I1_CCU0_JTAG_TCK"),
536 		MTK_FUNCTION(7, "I1_MCUPM_JTAG_TCK")
537 	),
538 
539 	MTK_PIN(
540 		39, "GPIO39",
541 		MTK_EINT_FUNCTION(0, 39),
542 		DRV_GRP4,
543 		MTK_FUNCTION(0, "B_GPIO39"),
544 		MTK_FUNCTION(1, "I1_JTDI_SEL1"),
545 		MTK_FUNCTION(2, "I0_UDI_TDI"),
546 		MTK_FUNCTION(3, "I1_SPM_JTAG_TDI"),
547 		MTK_FUNCTION(4, "I1_ADSP_JTAG0_TDI"),
548 		MTK_FUNCTION(5, "I1_SCP_JTAG0_TDI"),
549 		MTK_FUNCTION(6, "I1_CCU0_JTAG_TDI"),
550 		MTK_FUNCTION(7, "I1_MCUPM_JTAG_TDI")
551 	),
552 
553 	MTK_PIN(
554 		40, "GPIO40",
555 		MTK_EINT_FUNCTION(0, 40),
556 		DRV_GRP4,
557 		MTK_FUNCTION(0, "B_GPIO40"),
558 		MTK_FUNCTION(1, "O_JTDO_SEL1"),
559 		MTK_FUNCTION(2, "O_UDI_TDO"),
560 		MTK_FUNCTION(3, "O_SPM_JTAG_TDO"),
561 		MTK_FUNCTION(4, "O_ADSP_JTAG0_TDO"),
562 		MTK_FUNCTION(5, "O_SCP_JTAG0_TDO"),
563 		MTK_FUNCTION(6, "O_CCU0_JTAG_TDO"),
564 		MTK_FUNCTION(7, "O_MCUPM_JTAG_TDO")
565 	),
566 
567 	MTK_PIN(
568 		41, "GPIO41",
569 		MTK_EINT_FUNCTION(0, 41),
570 		DRV_GRP4,
571 		MTK_FUNCTION(0, "B_GPIO41"),
572 		MTK_FUNCTION(1, "I1_JTRSTn_SEL1"),
573 		MTK_FUNCTION(2, "I0_UDI_NTRST"),
574 		MTK_FUNCTION(3, "I0_SPM_JTAG_TRSTN"),
575 		MTK_FUNCTION(4, "I1_ADSP_JTAG0_TRSTN"),
576 		MTK_FUNCTION(5, "I0_SCP_JTAG0_TRSTN"),
577 		MTK_FUNCTION(6, "I1_CCU0_JTAG_TRST"),
578 		MTK_FUNCTION(7, "I0_MCUPM_JTAG_TRSTN")
579 	),
580 
581 	MTK_PIN(
582 		42, "GPIO42",
583 		MTK_EINT_FUNCTION(0, 42),
584 		DRV_GRP4,
585 		MTK_FUNCTION(0, "B_GPIO42"),
586 		MTK_FUNCTION(1, "B1_KPCOL0")
587 	),
588 
589 	MTK_PIN(
590 		43, "GPIO43",
591 		MTK_EINT_FUNCTION(0, 43),
592 		DRV_GRP4,
593 		MTK_FUNCTION(0, "B_GPIO43"),
594 		MTK_FUNCTION(1, "B1_KPCOL1"),
595 		MTK_FUNCTION(2, "I0_DP_TX_HPD"),
596 		MTK_FUNCTION(3, "O_CMFLASH2"),
597 		MTK_FUNCTION(4, "I0_DVFSRC_EXT_REQ"),
598 		MTK_FUNCTION(7, "O_mbistwriteen_trigger")
599 	),
600 
601 	MTK_PIN(
602 		44, "GPIO44",
603 		MTK_EINT_FUNCTION(0, 44),
604 		DRV_GRP4,
605 		MTK_FUNCTION(0, "B_GPIO44"),
606 		MTK_FUNCTION(1, "B1_KPROW0")
607 	),
608 
609 	MTK_PIN(
610 		45, "GPIO45",
611 		MTK_EINT_FUNCTION(0, 45),
612 		DRV_GRP4,
613 		MTK_FUNCTION(0, "B_GPIO45"),
614 		MTK_FUNCTION(1, "B1_KPROW1"),
615 		MTK_FUNCTION(2, "I0_EDP_TX_HPD"),
616 		MTK_FUNCTION(3, "O_CMFLASH3"),
617 		MTK_FUNCTION(4, "B0_I2SIN_MCK"),
618 		MTK_FUNCTION(7, "O_mbistreaden_trigger")
619 	),
620 
621 	MTK_PIN(
622 		46, "GPIO46",
623 		MTK_EINT_FUNCTION(0, 46),
624 		DRV_GRP4,
625 		MTK_FUNCTION(0, "B_GPIO46"),
626 		MTK_FUNCTION(1, "I0_DP_TX_HPD"),
627 		MTK_FUNCTION(2, "O_PWM_0"),
628 		MTK_FUNCTION(3, "I0_VBUSVALID_2P"),
629 		MTK_FUNCTION(7, "B0_DBG_MON_A22")
630 	),
631 
632 	MTK_PIN(
633 		47, "GPIO47",
634 		MTK_EINT_FUNCTION(0, 47),
635 		DRV_GRP4,
636 		MTK_FUNCTION(0, "B_GPIO47"),
637 		MTK_FUNCTION(1, "I1_WAKEN"),
638 		MTK_FUNCTION(6, "O_GDU_TROOPS_DET0")
639 	),
640 
641 	MTK_PIN(
642 		48, "GPIO48",
643 		MTK_EINT_FUNCTION(0, 48),
644 		DRV_GRP4,
645 		MTK_FUNCTION(0, "B_GPIO48"),
646 		MTK_FUNCTION(1, "O_PERSTN"),
647 		MTK_FUNCTION(6, "O_GDU_TROOPS_DET1")
648 	),
649 
650 	MTK_PIN(
651 		49, "GPIO49",
652 		MTK_EINT_FUNCTION(0, 49),
653 		DRV_GRP4,
654 		MTK_FUNCTION(0, "B_GPIO49"),
655 		MTK_FUNCTION(1, "B1_CLKREQN"),
656 		MTK_FUNCTION(6, "O_GDU_TROOPS_DET2")
657 	),
658 
659 	MTK_PIN(
660 		50, "GPIO50",
661 		MTK_EINT_FUNCTION(0, 50),
662 		DRV_GRP4,
663 		MTK_FUNCTION(0, "B_GPIO50"),
664 		MTK_FUNCTION(1, "O_HDMITX20_PWR5V"),
665 		MTK_FUNCTION(3, "I1_IDDIG_1P"),
666 		MTK_FUNCTION(4, "I1_SCP_JTAG1_TMS"),
667 		MTK_FUNCTION(5, "I1_SSPM_JTAG_TMS"),
668 		MTK_FUNCTION(6, "I1_MD32_0_JTAG_TMS"),
669 		MTK_FUNCTION(7, "I1_MD32_1_JTAG_TMS")
670 	),
671 
672 	MTK_PIN(
673 		51, "GPIO51",
674 		MTK_EINT_FUNCTION(0, 51),
675 		DRV_GRP4,
676 		MTK_FUNCTION(0, "B_GPIO51"),
677 		MTK_FUNCTION(1, "I0_HDMITX20_HTPLG"),
678 		MTK_FUNCTION(2, "I0_EDP_TX_HPD"),
679 		MTK_FUNCTION(3, "O_USB_DRVVBUS_1P"),
680 		MTK_FUNCTION(4, "I1_SCP_JTAG1_TCK"),
681 		MTK_FUNCTION(5, "I1_SSPM_JTAG_TCK"),
682 		MTK_FUNCTION(6, "I1_MD32_0_JTAG_TCK"),
683 		MTK_FUNCTION(7, "I1_MD32_1_JTAG_TCK")
684 	),
685 
686 	MTK_PIN(
687 		52, "GPIO52",
688 		MTK_EINT_FUNCTION(0, 52),
689 		DRV_GRP4,
690 		MTK_FUNCTION(0, "B_GPIO52"),
691 		MTK_FUNCTION(1, "B1_HDMITX20_CEC"),
692 		MTK_FUNCTION(3, "I0_VBUSVALID_1P"),
693 		MTK_FUNCTION(4, "I1_SCP_JTAG1_TDI"),
694 		MTK_FUNCTION(5, "I1_SSPM_JTAG_TDI"),
695 		MTK_FUNCTION(6, "I1_MD32_0_JTAG_TDI"),
696 		MTK_FUNCTION(7, "I1_MD32_1_JTAG_TDI")
697 	),
698 
699 	MTK_PIN(
700 		53, "GPIO53",
701 		MTK_EINT_FUNCTION(0, 53),
702 		DRV_GRP4,
703 		MTK_FUNCTION(0, "B_GPIO53"),
704 		MTK_FUNCTION(1, "B1_HDMITX20_SCL"),
705 		MTK_FUNCTION(3, "I1_IDDIG_2P"),
706 		MTK_FUNCTION(4, "O_SCP_JTAG1_TDO"),
707 		MTK_FUNCTION(5, "O_SSPM_JTAG_TDO"),
708 		MTK_FUNCTION(6, "O_MD32_0_JTAG_TDO"),
709 		MTK_FUNCTION(7, "O_MD32_1_JTAG_TDO")
710 	),
711 
712 	MTK_PIN(
713 		54, "GPIO54",
714 		MTK_EINT_FUNCTION(0, 54),
715 		DRV_GRP4,
716 		MTK_FUNCTION(0, "B_GPIO54"),
717 		MTK_FUNCTION(1, "B1_HDMITX20_SDA"),
718 		MTK_FUNCTION(3, "O_USB_DRVVBUS_2P"),
719 		MTK_FUNCTION(4, "I0_SCP_JTAG1_TRSTN"),
720 		MTK_FUNCTION(5, "I0_SSPM_JTAG_TRSTN"),
721 		MTK_FUNCTION(6, "I1_MD32_0_JTAG_TRST"),
722 		MTK_FUNCTION(7, "I1_MD32_1_JTAG_TRST")
723 	),
724 
725 	MTK_PIN(
726 		55, "GPIO55",
727 		MTK_EINT_FUNCTION(0, 55),
728 		DRV_GRP4,
729 		MTK_FUNCTION(0, "B_GPIO55"),
730 		MTK_FUNCTION(1, "B1_SCL0"),
731 		MTK_FUNCTION(2, "B1_SCP_SCL0"),
732 		MTK_FUNCTION(3, "B1_SCP_SCL1"),
733 		MTK_FUNCTION(4, "B1_PCIE_PHY_I2C_SCL")
734 	),
735 
736 	MTK_PIN(
737 		56, "GPIO56",
738 		MTK_EINT_FUNCTION(0, 56),
739 		DRV_GRP4,
740 		MTK_FUNCTION(0, "B_GPIO56"),
741 		MTK_FUNCTION(1, "B1_SDA0"),
742 		MTK_FUNCTION(2, "B1_SCP_SDA0"),
743 		MTK_FUNCTION(3, "B1_SCP_SDA1"),
744 		MTK_FUNCTION(4, "B1_PCIE_PHY_I2C_SDA")
745 	),
746 
747 	MTK_PIN(
748 		57, "GPIO57",
749 		MTK_EINT_FUNCTION(0, 57),
750 		DRV_GRP4,
751 		MTK_FUNCTION(0, "B_GPIO57"),
752 		MTK_FUNCTION(1, "B1_SCL1")
753 	),
754 
755 	MTK_PIN(
756 		58, "GPIO58",
757 		MTK_EINT_FUNCTION(0, 58),
758 		DRV_GRP4,
759 		MTK_FUNCTION(0, "B_GPIO58"),
760 		MTK_FUNCTION(1, "B1_SDA1")
761 	),
762 
763 	MTK_PIN(
764 		59, "GPIO59",
765 		MTK_EINT_FUNCTION(0, 59),
766 		DRV_GRP4,
767 		MTK_FUNCTION(0, "B_GPIO59"),
768 		MTK_FUNCTION(1, "B1_SCL2"),
769 		MTK_FUNCTION(2, "B1_SCP_SCL0"),
770 		MTK_FUNCTION(3, "B1_SCP_SCL1")
771 	),
772 
773 	MTK_PIN(
774 		60, "GPIO60",
775 		MTK_EINT_FUNCTION(0, 60),
776 		DRV_GRP4,
777 		MTK_FUNCTION(0, "B_GPIO60"),
778 		MTK_FUNCTION(1, "B1_SDA2"),
779 		MTK_FUNCTION(2, "B1_SCP_SDA0"),
780 		MTK_FUNCTION(3, "B1_SCP_SDA1")
781 	),
782 
783 	MTK_PIN(
784 		61, "GPIO61",
785 		MTK_EINT_FUNCTION(0, 61),
786 		DRV_GRP4,
787 		MTK_FUNCTION(0, "B_GPIO61"),
788 		MTK_FUNCTION(1, "B1_SCL3"),
789 		MTK_FUNCTION(2, "B1_SCP_SCL0"),
790 		MTK_FUNCTION(3, "B1_SCP_SCL1"),
791 		MTK_FUNCTION(4, "B1_PCIE_PHY_I2C_SCL")
792 	),
793 
794 	MTK_PIN(
795 		62, "GPIO62",
796 		MTK_EINT_FUNCTION(0, 62),
797 		DRV_GRP4,
798 		MTK_FUNCTION(0, "B_GPIO62"),
799 		MTK_FUNCTION(1, "B1_SDA3"),
800 		MTK_FUNCTION(2, "B1_SCP_SDA0"),
801 		MTK_FUNCTION(3, "B1_SCP_SDA1"),
802 		MTK_FUNCTION(4, "B1_PCIE_PHY_I2C_SDA")
803 	),
804 
805 	MTK_PIN(
806 		63, "GPIO63",
807 		MTK_EINT_FUNCTION(0, 63),
808 		DRV_GRP4,
809 		MTK_FUNCTION(0, "B_GPIO63"),
810 		MTK_FUNCTION(1, "B1_SCL4")
811 	),
812 
813 	MTK_PIN(
814 		64, "GPIO64",
815 		MTK_EINT_FUNCTION(0, 64),
816 		DRV_GRP4,
817 		MTK_FUNCTION(0, "B_GPIO64"),
818 		MTK_FUNCTION(1, "B1_SDA4")
819 	),
820 
821 	MTK_PIN(
822 		65, "GPIO65",
823 		MTK_EINT_FUNCTION(0, 65),
824 		DRV_GRP4,
825 		MTK_FUNCTION(0, "B_GPIO65"),
826 		MTK_FUNCTION(1, "B1_SCL5"),
827 		MTK_FUNCTION(2, "B1_SCP_SCL0"),
828 		MTK_FUNCTION(3, "B1_SCP_SCL1")
829 	),
830 
831 	MTK_PIN(
832 		66, "GPIO66",
833 		MTK_EINT_FUNCTION(0, 66),
834 		DRV_GRP4,
835 		MTK_FUNCTION(0, "B_GPIO66"),
836 		MTK_FUNCTION(1, "B1_SDA5"),
837 		MTK_FUNCTION(2, "B1_SCP_SDA0"),
838 		MTK_FUNCTION(3, "B1_SCP_SDA1")
839 	),
840 
841 	MTK_PIN(
842 		67, "GPIO67",
843 		MTK_EINT_FUNCTION(0, 67),
844 		DRV_GRP4,
845 		MTK_FUNCTION(0, "B_GPIO67"),
846 		MTK_FUNCTION(1, "B1_SCL6"),
847 		MTK_FUNCTION(2, "B1_SCP_SCL0"),
848 		MTK_FUNCTION(3, "B1_SCP_SCL1"),
849 		MTK_FUNCTION(4, "B1_PCIE_PHY_I2C_SCL")
850 	),
851 
852 	MTK_PIN(
853 		68, "GPIO68",
854 		MTK_EINT_FUNCTION(0, 68),
855 		DRV_GRP4,
856 		MTK_FUNCTION(0, "B_GPIO68"),
857 		MTK_FUNCTION(1, "B1_SDA6"),
858 		MTK_FUNCTION(2, "B1_SCP_SDA0"),
859 		MTK_FUNCTION(3, "B1_SCP_SDA1"),
860 		MTK_FUNCTION(4, "B1_PCIE_PHY_I2C_SDA")
861 	),
862 
863 	MTK_PIN(
864 		69, "GPIO69",
865 		MTK_EINT_FUNCTION(0, 69),
866 		DRV_GRP4,
867 		MTK_FUNCTION(0, "B_GPIO69"),
868 		MTK_FUNCTION(1, "O_SPIM0_CSB"),
869 		MTK_FUNCTION(2, "O_SCP_SPI0_CS"),
870 		MTK_FUNCTION(3, "O_DMIC3_CLK"),
871 		MTK_FUNCTION(4, "B0_MD32_1_GPIO0"),
872 		MTK_FUNCTION(5, "O_CMVREF0"),
873 		MTK_FUNCTION(6, "O_GDU_SUM_TROOP0_0"),
874 		MTK_FUNCTION(7, "B0_DBG_MON_A23")
875 	),
876 
877 	MTK_PIN(
878 		70, "GPIO70",
879 		MTK_EINT_FUNCTION(0, 70),
880 		DRV_GRP4,
881 		MTK_FUNCTION(0, "B_GPIO70"),
882 		MTK_FUNCTION(1, "O_SPIM0_CLK"),
883 		MTK_FUNCTION(2, "O_SCP_SPI0_CK"),
884 		MTK_FUNCTION(3, "I0_DMIC3_DAT"),
885 		MTK_FUNCTION(4, "B0_MD32_1_GPIO1"),
886 		MTK_FUNCTION(5, "O_CMVREF1"),
887 		MTK_FUNCTION(6, "O_GDU_SUM_TROOP0_1"),
888 		MTK_FUNCTION(7, "B0_DBG_MON_A24")
889 	),
890 
891 	MTK_PIN(
892 		71, "GPIO71",
893 		MTK_EINT_FUNCTION(0, 71),
894 		DRV_GRP4,
895 		MTK_FUNCTION(0, "B_GPIO71"),
896 		MTK_FUNCTION(1, "B0_SPIM0_MOSI"),
897 		MTK_FUNCTION(2, "O_SCP_SPI0_MO"),
898 		MTK_FUNCTION(3, "I0_DMIC3_DAT_R"),
899 		MTK_FUNCTION(4, "B0_MD32_1_GPIO2"),
900 		MTK_FUNCTION(5, "O_CMVREF2"),
901 		MTK_FUNCTION(6, "O_GDU_SUM_TROOP0_2"),
902 		MTK_FUNCTION(7, "B0_DBG_MON_A25")
903 	),
904 
905 	MTK_PIN(
906 		72, "GPIO72",
907 		MTK_EINT_FUNCTION(0, 72),
908 		DRV_GRP4,
909 		MTK_FUNCTION(0, "B_GPIO72"),
910 		MTK_FUNCTION(1, "B0_SPIM0_MISO"),
911 		MTK_FUNCTION(2, "I0_SCP_SPI0_MI"),
912 		MTK_FUNCTION(3, "O_DMIC4_CLK"),
913 		MTK_FUNCTION(5, "O_CMVREF3"),
914 		MTK_FUNCTION(6, "O_GDU_SUM_TROOP1_0"),
915 		MTK_FUNCTION(7, "B0_DBG_MON_A26")
916 	),
917 
918 	MTK_PIN(
919 		73, "GPIO73",
920 		MTK_EINT_FUNCTION(0, 73),
921 		DRV_GRP4,
922 		MTK_FUNCTION(0, "B_GPIO73"),
923 		MTK_FUNCTION(1, "B0_SPIM0_MIO2"),
924 		MTK_FUNCTION(2, "O_UTXD3"),
925 		MTK_FUNCTION(3, "I0_DMIC4_DAT"),
926 		MTK_FUNCTION(4, "O_CLKM0"),
927 		MTK_FUNCTION(5, "O_CMVREF4"),
928 		MTK_FUNCTION(6, "O_GDU_SUM_TROOP1_1"),
929 		MTK_FUNCTION(7, "B0_DBG_MON_A27")
930 	),
931 
932 	MTK_PIN(
933 		74, "GPIO74",
934 		MTK_EINT_FUNCTION(0, 74),
935 		DRV_GRP4,
936 		MTK_FUNCTION(0, "B_GPIO74"),
937 		MTK_FUNCTION(1, "B0_SPIM0_MIO3"),
938 		MTK_FUNCTION(2, "I1_URXD3"),
939 		MTK_FUNCTION(3, "I0_DMIC4_DAT_R"),
940 		MTK_FUNCTION(4, "O_CLKM1"),
941 		MTK_FUNCTION(5, "O_CMVREF5"),
942 		MTK_FUNCTION(6, "O_GDU_SUM_TROOP1_2"),
943 		MTK_FUNCTION(7, "B0_DBG_MON_A28")
944 	),
945 
946 	MTK_PIN(
947 		75, "GPIO75",
948 		MTK_EINT_FUNCTION(0, 75),
949 		DRV_GRP4,
950 		MTK_FUNCTION(0, "B_GPIO75"),
951 		MTK_FUNCTION(1, "O_SPIM1_CSB"),
952 		MTK_FUNCTION(2, "O_SCP_SPI1_A_CS"),
953 		MTK_FUNCTION(3, "B0_TDMIN_MCK"),
954 		MTK_FUNCTION(4, "B1_SCP_SCL0"),
955 		MTK_FUNCTION(5, "O_CMVREF6"),
956 		MTK_FUNCTION(6, "O_GDU_SUM_TROOP2_0"),
957 		MTK_FUNCTION(7, "B0_DBG_MON_A29")
958 	),
959 
960 	MTK_PIN(
961 		76, "GPIO76",
962 		MTK_EINT_FUNCTION(0, 76),
963 		DRV_GRP4,
964 		MTK_FUNCTION(0, "B_GPIO76"),
965 		MTK_FUNCTION(1, "O_SPIM1_CLK"),
966 		MTK_FUNCTION(2, "O_SCP_SPI1_A_CK"),
967 		MTK_FUNCTION(3, "B0_TDMIN_BCK"),
968 		MTK_FUNCTION(4, "B1_SCP_SDA0"),
969 		MTK_FUNCTION(5, "O_CMVREF7"),
970 		MTK_FUNCTION(6, "O_GDU_SUM_TROOP2_1"),
971 		MTK_FUNCTION(7, "B0_DBG_MON_A30")
972 	),
973 
974 	MTK_PIN(
975 		77, "GPIO77",
976 		MTK_EINT_FUNCTION(0, 77),
977 		DRV_GRP4,
978 		MTK_FUNCTION(0, "B_GPIO77"),
979 		MTK_FUNCTION(1, "B0_SPIM1_MOSI"),
980 		MTK_FUNCTION(2, "O_SCP_SPI1_A_MO"),
981 		MTK_FUNCTION(3, "B0_TDMIN_LRCK"),
982 		MTK_FUNCTION(4, "B1_SCP_SCL1"),
983 		MTK_FUNCTION(6, "O_GDU_SUM_TROOP2_2"),
984 		MTK_FUNCTION(7, "B0_DBG_MON_A31")
985 	),
986 
987 	MTK_PIN(
988 		78, "GPIO78",
989 		MTK_EINT_FUNCTION(0, 78),
990 		DRV_GRP4,
991 		MTK_FUNCTION(0, "B_GPIO78"),
992 		MTK_FUNCTION(1, "B0_SPIM1_MISO"),
993 		MTK_FUNCTION(2, "I0_SCP_SPI1_A_MI"),
994 		MTK_FUNCTION(3, "I0_TDMIN_DI"),
995 		MTK_FUNCTION(4, "B1_SCP_SDA1"),
996 		MTK_FUNCTION(7, "B0_DBG_MON_A32")
997 	),
998 
999 	MTK_PIN(
1000 		79, "GPIO79",
1001 		MTK_EINT_FUNCTION(0, 79),
1002 		DRV_GRP4,
1003 		MTK_FUNCTION(0, "B_GPIO79"),
1004 		MTK_FUNCTION(1, "O_SPIM2_CSB"),
1005 		MTK_FUNCTION(2, "O_SCP_SPI2_CS"),
1006 		MTK_FUNCTION(3, "O_I2SO1_MCK"),
1007 		MTK_FUNCTION(4, "O_UTXD2"),
1008 		MTK_FUNCTION(5, "O_TP_UTXD2_AO"),
1009 		MTK_FUNCTION(6, "B0_PCM_SYNC"),
1010 		MTK_FUNCTION(7, "B0_DBG_MON_B0")
1011 	),
1012 
1013 	MTK_PIN(
1014 		80, "GPIO80",
1015 		MTK_EINT_FUNCTION(0, 80),
1016 		DRV_GRP4,
1017 		MTK_FUNCTION(0, "B_GPIO80"),
1018 		MTK_FUNCTION(1, "O_SPIM2_CLK"),
1019 		MTK_FUNCTION(2, "O_SCP_SPI2_CK"),
1020 		MTK_FUNCTION(3, "O_I2SO1_BCK"),
1021 		MTK_FUNCTION(4, "I1_URXD2"),
1022 		MTK_FUNCTION(5, "I1_TP_URXD2_AO"),
1023 		MTK_FUNCTION(6, "B0_PCM_CLK"),
1024 		MTK_FUNCTION(7, "B0_DBG_MON_B1")
1025 	),
1026 
1027 	MTK_PIN(
1028 		81, "GPIO81",
1029 		MTK_EINT_FUNCTION(0, 81),
1030 		DRV_GRP4,
1031 		MTK_FUNCTION(0, "B_GPIO81"),
1032 		MTK_FUNCTION(1, "B0_SPIM2_MOSI"),
1033 		MTK_FUNCTION(2, "O_SCP_SPI2_MO"),
1034 		MTK_FUNCTION(3, "O_I2SO1_WS"),
1035 		MTK_FUNCTION(4, "O_URTS2"),
1036 		MTK_FUNCTION(5, "O_TP_URTS2_AO"),
1037 		MTK_FUNCTION(6, "O_PCM_DO"),
1038 		MTK_FUNCTION(7, "B0_DBG_MON_B2")
1039 	),
1040 
1041 	MTK_PIN(
1042 		82, "GPIO82",
1043 		MTK_EINT_FUNCTION(0, 82),
1044 		DRV_GRP4,
1045 		MTK_FUNCTION(0, "B_GPIO82"),
1046 		MTK_FUNCTION(1, "B0_SPIM2_MISO"),
1047 		MTK_FUNCTION(2, "I0_SCP_SPI2_MI"),
1048 		MTK_FUNCTION(3, "O_I2SO1_D0"),
1049 		MTK_FUNCTION(4, "I1_UCTS2"),
1050 		MTK_FUNCTION(5, "I1_TP_UCTS2_AO"),
1051 		MTK_FUNCTION(6, "I0_PCM_DI"),
1052 		MTK_FUNCTION(7, "B0_DBG_MON_B3")
1053 	),
1054 
1055 	MTK_PIN(
1056 		83, "GPIO83",
1057 		MTK_EINT_FUNCTION(0, 83),
1058 		DRV_GRP4,
1059 		MTK_FUNCTION(0, "B_GPIO83"),
1060 		MTK_FUNCTION(1, "I1_IDDIG")
1061 	),
1062 
1063 	MTK_PIN(
1064 		84, "GPIO84",
1065 		MTK_EINT_FUNCTION(0, 84),
1066 		DRV_GRP4,
1067 		MTK_FUNCTION(0, "B_GPIO84"),
1068 		MTK_FUNCTION(1, "O_USB_DRVVBUS")
1069 	),
1070 
1071 	MTK_PIN(
1072 		85, "GPIO85",
1073 		MTK_EINT_FUNCTION(0, 85),
1074 		DRV_GRP4,
1075 		MTK_FUNCTION(0, "B_GPIO85"),
1076 		MTK_FUNCTION(1, "I0_VBUSVALID")
1077 	),
1078 
1079 	MTK_PIN(
1080 		86, "GPIO86",
1081 		MTK_EINT_FUNCTION(0, 86),
1082 		DRV_GRP4,
1083 		MTK_FUNCTION(0, "B_GPIO86"),
1084 		MTK_FUNCTION(1, "I1_IDDIG_1P"),
1085 		MTK_FUNCTION(2, "O_UTXD1"),
1086 		MTK_FUNCTION(3, "O_URTS2"),
1087 		MTK_FUNCTION(4, "O_PWM_2"),
1088 		MTK_FUNCTION(5, "B0_TP_GPIO4_AO"),
1089 		MTK_FUNCTION(6, "O_AUXIF_ST0"),
1090 		MTK_FUNCTION(7, "B0_DBG_MON_B4")
1091 	),
1092 
1093 	MTK_PIN(
1094 		87, "GPIO87",
1095 		MTK_EINT_FUNCTION(0, 87),
1096 		DRV_GRP4,
1097 		MTK_FUNCTION(0, "B_GPIO87"),
1098 		MTK_FUNCTION(1, "O_USB_DRVVBUS_1P"),
1099 		MTK_FUNCTION(2, "I1_URXD1"),
1100 		MTK_FUNCTION(3, "I1_UCTS2"),
1101 		MTK_FUNCTION(4, "O_PWM_3"),
1102 		MTK_FUNCTION(5, "B0_TP_GPIO5_AO"),
1103 		MTK_FUNCTION(6, "O_AUXIF_CLK0"),
1104 		MTK_FUNCTION(7, "B0_DBG_MON_B5")
1105 	),
1106 
1107 	MTK_PIN(
1108 		88, "GPIO88",
1109 		MTK_EINT_FUNCTION(0, 88),
1110 		DRV_GRP4,
1111 		MTK_FUNCTION(0, "B_GPIO88"),
1112 		MTK_FUNCTION(1, "I0_VBUSVALID_1P"),
1113 		MTK_FUNCTION(2, "O_UTXD2"),
1114 		MTK_FUNCTION(3, "O_URTS1"),
1115 		MTK_FUNCTION(4, "O_CLKM2"),
1116 		MTK_FUNCTION(5, "B0_TP_GPIO6_AO"),
1117 		MTK_FUNCTION(6, "O_AUXIF_ST1"),
1118 		MTK_FUNCTION(7, "B0_DBG_MON_B6")
1119 	),
1120 
1121 	MTK_PIN(
1122 		89, "GPIO89",
1123 		MTK_EINT_FUNCTION(0, 89),
1124 		DRV_GRP4,
1125 		MTK_FUNCTION(0, "B_GPIO89"),
1126 		MTK_FUNCTION(1, "I1_IDDIG_2P"),
1127 		MTK_FUNCTION(2, "I1_URXD2"),
1128 		MTK_FUNCTION(3, "I1_UCTS1"),
1129 		MTK_FUNCTION(4, "O_CLKM3"),
1130 		MTK_FUNCTION(5, "B0_TP_GPIO7_AO"),
1131 		MTK_FUNCTION(6, "O_AUXIF_CLK1"),
1132 		MTK_FUNCTION(7, "B0_DBG_MON_B7")
1133 	),
1134 
1135 	MTK_PIN(
1136 		90, "GPIO90",
1137 		MTK_EINT_FUNCTION(0, 90),
1138 		DRV_GRP4,
1139 		MTK_FUNCTION(0, "B_GPIO90"),
1140 		MTK_FUNCTION(1, "O_USB_DRVVBUS_2P"),
1141 		MTK_FUNCTION(2, "O_UTXD3"),
1142 		MTK_FUNCTION(3, "O_ADSP_UTXD0"),
1143 		MTK_FUNCTION(4, "O_SSPM_UTXD_AO"),
1144 		MTK_FUNCTION(5, "O_MD32_0_TXD"),
1145 		MTK_FUNCTION(6, "O_MD32_1_TXD"),
1146 		MTK_FUNCTION(7, "B0_DBG_MON_B8")
1147 	),
1148 
1149 	MTK_PIN(
1150 		91, "GPIO91",
1151 		MTK_EINT_FUNCTION(0, 91),
1152 		DRV_GRP4,
1153 		MTK_FUNCTION(0, "B_GPIO91"),
1154 		MTK_FUNCTION(1, "I0_VBUSVALID_2P"),
1155 		MTK_FUNCTION(2, "I1_URXD3"),
1156 		MTK_FUNCTION(3, "I1_ADSP_URXD0"),
1157 		MTK_FUNCTION(4, "I1_SSPM_URXD_AO"),
1158 		MTK_FUNCTION(5, "I1_MD32_0_RXD"),
1159 		MTK_FUNCTION(6, "I1_MD32_1_RXD"),
1160 		MTK_FUNCTION(7, "B0_DBG_MON_B9")
1161 	),
1162 
1163 	MTK_PIN(
1164 		92, "GPIO92",
1165 		MTK_EINT_FUNCTION(0, 92),
1166 		DRV_GRP4,
1167 		MTK_FUNCTION(0, "B_GPIO92"),
1168 		MTK_FUNCTION(1, "O_PWRAP_SPI0_CSN")
1169 	),
1170 
1171 	MTK_PIN(
1172 		93, "GPIO93",
1173 		MTK_EINT_FUNCTION(0, 93),
1174 		DRV_GRP4,
1175 		MTK_FUNCTION(0, "B_GPIO93"),
1176 		MTK_FUNCTION(1, "O_PWRAP_SPI0_CK")
1177 	),
1178 
1179 	MTK_PIN(
1180 		94, "GPIO94",
1181 		MTK_EINT_FUNCTION(0, 94),
1182 		DRV_GRP4,
1183 		MTK_FUNCTION(0, "B_GPIO94"),
1184 		MTK_FUNCTION(1, "B0_PWRAP_SPI0_MO"),
1185 		MTK_FUNCTION(2, "B0_PWRAP_SPI0_MI")
1186 	),
1187 
1188 	MTK_PIN(
1189 		95, "GPIO95",
1190 		MTK_EINT_FUNCTION(0, 95),
1191 		DRV_GRP4,
1192 		MTK_FUNCTION(0, "B_GPIO95"),
1193 		MTK_FUNCTION(1, "B0_PWRAP_SPI0_MI"),
1194 		MTK_FUNCTION(2, "B0_PWRAP_SPI0_MO")
1195 	),
1196 
1197 	MTK_PIN(
1198 		96, "GPIO96",
1199 		MTK_EINT_FUNCTION(0, 96),
1200 		DRV_GRP4,
1201 		MTK_FUNCTION(0, "B_GPIO96"),
1202 		MTK_FUNCTION(1, "O_SRCLKENA0")
1203 	),
1204 
1205 	MTK_PIN(
1206 		97, "GPIO97",
1207 		MTK_EINT_FUNCTION(0, 97),
1208 		DRV_GRP4,
1209 		MTK_FUNCTION(0, "B_GPIO97"),
1210 		MTK_FUNCTION(1, "O_SRCLKENA1")
1211 	),
1212 
1213 	MTK_PIN(
1214 		98, "GPIO98",
1215 		MTK_EINT_FUNCTION(0, 98),
1216 		DRV_GRP4,
1217 		MTK_FUNCTION(0, "B_GPIO98"),
1218 		MTK_FUNCTION(1, "O_SCP_VREQ_VAO"),
1219 		MTK_FUNCTION(2, "I0_DVFSRC_EXT_REQ")
1220 	),
1221 
1222 	MTK_PIN(
1223 		99, "GPIO99",
1224 		MTK_EINT_FUNCTION(0, 99),
1225 		DRV_GRP4,
1226 		MTK_FUNCTION(0, "B_GPIO99"),
1227 		MTK_FUNCTION(1, "I0_RTC32K_CK")
1228 	),
1229 
1230 	MTK_PIN(
1231 		100, "GPIO100",
1232 		MTK_EINT_FUNCTION(0, 100),
1233 		DRV_GRP4,
1234 		MTK_FUNCTION(0, "B_GPIO100"),
1235 		MTK_FUNCTION(1, "O_WATCHDOG")
1236 	),
1237 
1238 	MTK_PIN(
1239 		101, "GPIO101",
1240 		MTK_EINT_FUNCTION(0, 101),
1241 		DRV_GRP4,
1242 		MTK_FUNCTION(0, "B_GPIO101"),
1243 		MTK_FUNCTION(1, "O_AUD_CLK_MOSI"),
1244 		MTK_FUNCTION(2, "O_I2SO1_MCK"),
1245 		MTK_FUNCTION(3, "B0_I2SIN_BCK")
1246 	),
1247 
1248 	MTK_PIN(
1249 		102, "GPIO102",
1250 		MTK_EINT_FUNCTION(0, 102),
1251 		DRV_GRP4,
1252 		MTK_FUNCTION(0, "B_GPIO102"),
1253 		MTK_FUNCTION(1, "O_AUD_SYNC_MOSI"),
1254 		MTK_FUNCTION(2, "O_I2SO1_BCK"),
1255 		MTK_FUNCTION(3, "B0_I2SIN_WS")
1256 	),
1257 
1258 	MTK_PIN(
1259 		103, "GPIO103",
1260 		MTK_EINT_FUNCTION(0, 103),
1261 		DRV_GRP4,
1262 		MTK_FUNCTION(0, "B_GPIO103"),
1263 		MTK_FUNCTION(1, "O_AUD_DAT_MOSI0"),
1264 		MTK_FUNCTION(2, "O_I2SO1_WS"),
1265 		MTK_FUNCTION(3, "I0_I2SIN_D0")
1266 	),
1267 
1268 	MTK_PIN(
1269 		104, "GPIO104",
1270 		MTK_EINT_FUNCTION(0, 104),
1271 		DRV_GRP4,
1272 		MTK_FUNCTION(0, "B_GPIO104"),
1273 		MTK_FUNCTION(1, "O_AUD_DAT_MOSI1"),
1274 		MTK_FUNCTION(2, "O_I2SO1_D0"),
1275 		MTK_FUNCTION(3, "I0_I2SIN_D1")
1276 	),
1277 
1278 	MTK_PIN(
1279 		105, "GPIO105",
1280 		MTK_EINT_FUNCTION(0, 105),
1281 		DRV_GRP4,
1282 		MTK_FUNCTION(0, "B_GPIO105"),
1283 		MTK_FUNCTION(1, "I0_AUD_DAT_MISO0"),
1284 		MTK_FUNCTION(2, "I0_VOW_DAT_MISO"),
1285 		MTK_FUNCTION(3, "I0_I2SIN_D2")
1286 	),
1287 
1288 	MTK_PIN(
1289 		106, "GPIO106",
1290 		MTK_EINT_FUNCTION(0, 106),
1291 		DRV_GRP4,
1292 		MTK_FUNCTION(0, "B_GPIO106"),
1293 		MTK_FUNCTION(1, "I0_AUD_DAT_MISO1"),
1294 		MTK_FUNCTION(2, "I0_VOW_CLK_MISO"),
1295 		MTK_FUNCTION(3, "I0_I2SIN_D3")
1296 	),
1297 
1298 	MTK_PIN(
1299 		107, "GPIO107",
1300 		MTK_EINT_FUNCTION(0, 107),
1301 		DRV_GRP4,
1302 		MTK_FUNCTION(0, "B_GPIO107"),
1303 		MTK_FUNCTION(1, "B0_I2SIN_MCK"),
1304 		MTK_FUNCTION(2, "I0_SPLIN_MCK"),
1305 		MTK_FUNCTION(3, "I0_SPDIF_IN0"),
1306 		MTK_FUNCTION(4, "O_CMVREF4"),
1307 		MTK_FUNCTION(5, "O_AUXIF_ST0"),
1308 		MTK_FUNCTION(6, "O_PGD_LV_LSC_PWR0")
1309 	),
1310 
1311 	MTK_PIN(
1312 		108, "GPIO108",
1313 		MTK_EINT_FUNCTION(0, 108),
1314 		DRV_GRP4,
1315 		MTK_FUNCTION(0, "B_GPIO108"),
1316 		MTK_FUNCTION(1, "B0_I2SIN_BCK"),
1317 		MTK_FUNCTION(2, "I0_SPLIN_LRCK"),
1318 		MTK_FUNCTION(3, "O_DMIC4_CLK"),
1319 		MTK_FUNCTION(4, "O_CMVREF5"),
1320 		MTK_FUNCTION(5, "O_AUXIF_CLK0"),
1321 		MTK_FUNCTION(6, "O_PGD_LV_LSC_PWR1"),
1322 		MTK_FUNCTION(7, "B0_DBG_MON_B10")
1323 	),
1324 
1325 	MTK_PIN(
1326 		109, "GPIO109",
1327 		MTK_EINT_FUNCTION(0, 109),
1328 		DRV_GRP4,
1329 		MTK_FUNCTION(0, "B_GPIO109"),
1330 		MTK_FUNCTION(1, "B0_I2SIN_WS"),
1331 		MTK_FUNCTION(2, "I0_SPLIN_BCK"),
1332 		MTK_FUNCTION(3, "I0_DMIC4_DAT"),
1333 		MTK_FUNCTION(4, "O_CMVREF6"),
1334 		MTK_FUNCTION(5, "O_AUXIF_ST1"),
1335 		MTK_FUNCTION(6, "O_PGD_LV_LSC_PWR2"),
1336 		MTK_FUNCTION(7, "B0_DBG_MON_B11")
1337 	),
1338 
1339 	MTK_PIN(
1340 		110, "GPIO110",
1341 		MTK_EINT_FUNCTION(0, 110),
1342 		DRV_GRP4,
1343 		MTK_FUNCTION(0, "B_GPIO110"),
1344 		MTK_FUNCTION(1, "I0_I2SIN_D0"),
1345 		MTK_FUNCTION(2, "I0_SPLIN_D0"),
1346 		MTK_FUNCTION(3, "I0_DMIC4_DAT_R"),
1347 		MTK_FUNCTION(4, "O_CMVREF7"),
1348 		MTK_FUNCTION(5, "O_AUXIF_CLK1"),
1349 		MTK_FUNCTION(6, "O_PGD_LV_LSC_PWR3"),
1350 		MTK_FUNCTION(7, "B0_DBG_MON_B12")
1351 	),
1352 
1353 	MTK_PIN(
1354 		111, "GPIO111",
1355 		MTK_EINT_FUNCTION(0, 111),
1356 		DRV_GRP4,
1357 		MTK_FUNCTION(0, "B_GPIO111"),
1358 		MTK_FUNCTION(1, "I0_I2SIN_D1"),
1359 		MTK_FUNCTION(2, "I0_SPLIN_D1"),
1360 		MTK_FUNCTION(3, "O_DMIC3_CLK"),
1361 		MTK_FUNCTION(4, "O_SPDIF_OUT"),
1362 		MTK_FUNCTION(6, "O_PGD_LV_LSC_PWR4"),
1363 		MTK_FUNCTION(7, "B0_DBG_MON_B13")
1364 	),
1365 
1366 	MTK_PIN(
1367 		112, "GPIO112",
1368 		MTK_EINT_FUNCTION(0, 112),
1369 		DRV_GRP4,
1370 		MTK_FUNCTION(0, "B_GPIO112"),
1371 		MTK_FUNCTION(1, "I0_I2SIN_D2"),
1372 		MTK_FUNCTION(2, "I0_SPLIN_D2"),
1373 		MTK_FUNCTION(3, "I0_DMIC3_DAT"),
1374 		MTK_FUNCTION(4, "B0_TDMIN_MCK"),
1375 		MTK_FUNCTION(5, "O_I2SO1_WS"),
1376 		MTK_FUNCTION(6, "O_PGD_LV_LSC_PWR5"),
1377 		MTK_FUNCTION(7, "B0_DBG_MON_B14")
1378 	),
1379 
1380 	MTK_PIN(
1381 		113, "GPIO113",
1382 		MTK_EINT_FUNCTION(0, 113),
1383 		DRV_GRP4,
1384 		MTK_FUNCTION(0, "B_GPIO113"),
1385 		MTK_FUNCTION(1, "I0_I2SIN_D3"),
1386 		MTK_FUNCTION(2, "I0_SPLIN_D3"),
1387 		MTK_FUNCTION(3, "I0_DMIC3_DAT_R"),
1388 		MTK_FUNCTION(4, "B0_TDMIN_BCK"),
1389 		MTK_FUNCTION(5, "O_I2SO1_D0"),
1390 		MTK_FUNCTION(7, "B0_DBG_MON_B15")
1391 	),
1392 
1393 	MTK_PIN(
1394 		114, "GPIO114",
1395 		MTK_EINT_FUNCTION(0, 114),
1396 		DRV_GRP4,
1397 		MTK_FUNCTION(0, "B_GPIO114"),
1398 		MTK_FUNCTION(1, "O_I2SO2_MCK"),
1399 		MTK_FUNCTION(2, "B0_I2SIN_MCK"),
1400 		MTK_FUNCTION(3, "I1_MCUPM_JTAG_TMS"),
1401 		MTK_FUNCTION(4, "B1_APU_JTAG_TMS"),
1402 		MTK_FUNCTION(5, "I1_SCP_JTAG1_TMS"),
1403 		MTK_FUNCTION(6, "I1_SPM_JTAG_TMS"),
1404 		MTK_FUNCTION(7, "B0_DBG_MON_B16")
1405 	),
1406 
1407 	MTK_PIN(
1408 		115, "GPIO115",
1409 		MTK_EINT_FUNCTION(0, 115),
1410 		DRV_GRP4,
1411 		MTK_FUNCTION(0, "B_GPIO115"),
1412 		MTK_FUNCTION(1, "B0_I2SO2_BCK"),
1413 		MTK_FUNCTION(2, "B0_I2SIN_BCK"),
1414 		MTK_FUNCTION(3, "I1_MCUPM_JTAG_TCK"),
1415 		MTK_FUNCTION(4, "I0_APU_JTAG_TCK"),
1416 		MTK_FUNCTION(5, "I1_SCP_JTAG1_TCK"),
1417 		MTK_FUNCTION(6, "I1_SPM_JTAG_TCK"),
1418 		MTK_FUNCTION(7, "B0_DBG_MON_B17")
1419 	),
1420 
1421 	MTK_PIN(
1422 		116, "GPIO116",
1423 		MTK_EINT_FUNCTION(0, 116),
1424 		DRV_GRP4,
1425 		MTK_FUNCTION(0, "B_GPIO116"),
1426 		MTK_FUNCTION(1, "B0_I2SO2_WS"),
1427 		MTK_FUNCTION(2, "B0_I2SIN_WS"),
1428 		MTK_FUNCTION(3, "I1_MCUPM_JTAG_TDI"),
1429 		MTK_FUNCTION(4, "I1_APU_JTAG_TDI"),
1430 		MTK_FUNCTION(5, "I1_SCP_JTAG1_TDI"),
1431 		MTK_FUNCTION(6, "I1_SPM_JTAG_TDI"),
1432 		MTK_FUNCTION(7, "B0_DBG_MON_B18")
1433 	),
1434 
1435 	MTK_PIN(
1436 		117, "GPIO117",
1437 		MTK_EINT_FUNCTION(0, 117),
1438 		DRV_GRP4,
1439 		MTK_FUNCTION(0, "B_GPIO117"),
1440 		MTK_FUNCTION(1, "O_I2SO2_D0"),
1441 		MTK_FUNCTION(2, "I0_I2SIN_D0"),
1442 		MTK_FUNCTION(3, "O_MCUPM_JTAG_TDO"),
1443 		MTK_FUNCTION(4, "O_APU_JTAG_TDO"),
1444 		MTK_FUNCTION(5, "O_SCP_JTAG1_TDO"),
1445 		MTK_FUNCTION(6, "O_SPM_JTAG_TDO"),
1446 		MTK_FUNCTION(7, "B0_DBG_MON_B19")
1447 	),
1448 
1449 	MTK_PIN(
1450 		118, "GPIO118",
1451 		MTK_EINT_FUNCTION(0, 118),
1452 		DRV_GRP4,
1453 		MTK_FUNCTION(0, "B_GPIO118"),
1454 		MTK_FUNCTION(1, "O_I2SO2_D1"),
1455 		MTK_FUNCTION(2, "I0_I2SIN_D1"),
1456 		MTK_FUNCTION(3, "I0_MCUPM_JTAG_TRSTN"),
1457 		MTK_FUNCTION(4, "I0_APU_JTAG_TRST"),
1458 		MTK_FUNCTION(5, "I0_SCP_JTAG1_TRSTN"),
1459 		MTK_FUNCTION(6, "I0_SPM_JTAG_TRSTN"),
1460 		MTK_FUNCTION(7, "B0_DBG_MON_B20")
1461 	),
1462 
1463 	MTK_PIN(
1464 		119, "GPIO119",
1465 		MTK_EINT_FUNCTION(0, 119),
1466 		DRV_GRP4,
1467 		MTK_FUNCTION(0, "B_GPIO119"),
1468 		MTK_FUNCTION(1, "O_I2SO2_D2"),
1469 		MTK_FUNCTION(2, "I0_I2SIN_D2"),
1470 		MTK_FUNCTION(3, "O_UTXD3"),
1471 		MTK_FUNCTION(4, "B0_TDMIN_LRCK"),
1472 		MTK_FUNCTION(5, "O_I2SO1_MCK"),
1473 		MTK_FUNCTION(6, "O_SSPM_UTXD_AO"),
1474 		MTK_FUNCTION(7, "B0_DBG_MON_B21")
1475 	),
1476 
1477 	MTK_PIN(
1478 		120, "GPIO120",
1479 		MTK_EINT_FUNCTION(0, 120),
1480 		DRV_GRP4,
1481 		MTK_FUNCTION(0, "B_GPIO120"),
1482 		MTK_FUNCTION(1, "O_I2SO2_D3"),
1483 		MTK_FUNCTION(2, "I0_I2SIN_D3"),
1484 		MTK_FUNCTION(3, "I1_URXD3"),
1485 		MTK_FUNCTION(4, "I0_TDMIN_DI"),
1486 		MTK_FUNCTION(5, "O_I2SO1_BCK"),
1487 		MTK_FUNCTION(6, "I1_SSPM_URXD_AO"),
1488 		MTK_FUNCTION(7, "B0_DBG_MON_B22")
1489 	),
1490 
1491 	MTK_PIN(
1492 		121, "GPIO121",
1493 		MTK_EINT_FUNCTION(0, 121),
1494 		DRV_GRP4,
1495 		MTK_FUNCTION(0, "B_GPIO121"),
1496 		MTK_FUNCTION(1, "B0_PCM_CLK"),
1497 		MTK_FUNCTION(2, "O_SPIM4_CSB"),
1498 		MTK_FUNCTION(3, "O_SCP_SPI1_B_CS"),
1499 		MTK_FUNCTION(4, "O_TP_UTXD2_AO"),
1500 		MTK_FUNCTION(5, "O_AUXIF_ST0"),
1501 		MTK_FUNCTION(6, "O_PGD_DA_EFUSE_RDY"),
1502 		MTK_FUNCTION(7, "B0_DBG_MON_B23")
1503 	),
1504 
1505 	MTK_PIN(
1506 		122, "GPIO122",
1507 		MTK_EINT_FUNCTION(0, 122),
1508 		DRV_GRP4,
1509 		MTK_FUNCTION(0, "B_GPIO122"),
1510 		MTK_FUNCTION(1, "B0_PCM_SYNC"),
1511 		MTK_FUNCTION(2, "O_SPIM4_CLK"),
1512 		MTK_FUNCTION(3, "O_SCP_SPI1_B_CK"),
1513 		MTK_FUNCTION(4, "I1_TP_URXD2_AO"),
1514 		MTK_FUNCTION(5, "O_AUXIF_CLK0"),
1515 		MTK_FUNCTION(6, "O_PGD_DA_EFUSE_RDY_PRE"),
1516 		MTK_FUNCTION(7, "B0_DBG_MON_B24")
1517 	),
1518 
1519 	MTK_PIN(
1520 		123, "GPIO123",
1521 		MTK_EINT_FUNCTION(0, 123),
1522 		DRV_GRP4,
1523 		MTK_FUNCTION(0, "B_GPIO123"),
1524 		MTK_FUNCTION(1, "O_PCM_DO"),
1525 		MTK_FUNCTION(2, "B0_SPIM4_MOSI"),
1526 		MTK_FUNCTION(3, "O_SCP_SPI1_B_MO"),
1527 		MTK_FUNCTION(4, "O_TP_URTS2_AO"),
1528 		MTK_FUNCTION(5, "O_AUXIF_ST1"),
1529 		MTK_FUNCTION(6, "O_PGD_DA_PWRGD_RESET"),
1530 		MTK_FUNCTION(7, "B0_DBG_MON_B25")
1531 	),
1532 
1533 	MTK_PIN(
1534 		124, "GPIO124",
1535 		MTK_EINT_FUNCTION(0, 124),
1536 		DRV_GRP4,
1537 		MTK_FUNCTION(0, "B_GPIO124"),
1538 		MTK_FUNCTION(1, "I0_PCM_DI"),
1539 		MTK_FUNCTION(2, "B0_SPIM4_MISO"),
1540 		MTK_FUNCTION(3, "I0_SCP_SPI1_B_MI"),
1541 		MTK_FUNCTION(4, "I1_TP_UCTS2_AO"),
1542 		MTK_FUNCTION(5, "O_AUXIF_CLK1"),
1543 		MTK_FUNCTION(6, "O_PGD_DA_PWRGD_ENB"),
1544 		MTK_FUNCTION(7, "B0_DBG_MON_B26")
1545 	),
1546 
1547 	MTK_PIN(
1548 		125, "GPIO125",
1549 		MTK_EINT_FUNCTION(0, 125),
1550 		DRV_GRP4,
1551 		MTK_FUNCTION(0, "B_GPIO125"),
1552 		MTK_FUNCTION(1, "O_DMIC1_CLK"),
1553 		MTK_FUNCTION(2, "O_SPINOR_CK"),
1554 		MTK_FUNCTION(3, "B0_TDMIN_MCK"),
1555 		MTK_FUNCTION(6, "O_LVTS_FOUT"),
1556 		MTK_FUNCTION(7, "B0_DBG_MON_B27")
1557 	),
1558 
1559 	MTK_PIN(
1560 		126, "GPIO126",
1561 		MTK_EINT_FUNCTION(0, 126),
1562 		DRV_GRP4,
1563 		MTK_FUNCTION(0, "B_GPIO126"),
1564 		MTK_FUNCTION(1, "I0_DMIC1_DAT"),
1565 		MTK_FUNCTION(2, "O_SPINOR_CS"),
1566 		MTK_FUNCTION(3, "B0_TDMIN_BCK"),
1567 		MTK_FUNCTION(6, "O_LVTS_SDO"),
1568 		MTK_FUNCTION(7, "B0_DBG_MON_B28")
1569 	),
1570 
1571 	MTK_PIN(
1572 		127, "GPIO127",
1573 		MTK_EINT_FUNCTION(0, 127),
1574 		DRV_GRP4,
1575 		MTK_FUNCTION(0, "B_GPIO127"),
1576 		MTK_FUNCTION(1, "I0_DMIC1_DAT_R"),
1577 		MTK_FUNCTION(2, "B0_SPINOR_IO0"),
1578 		MTK_FUNCTION(3, "B0_TDMIN_LRCK"),
1579 		MTK_FUNCTION(6, "I0_LVTS_26M"),
1580 		MTK_FUNCTION(7, "B0_DBG_MON_B29")
1581 	),
1582 
1583 	MTK_PIN(
1584 		128, "GPIO128",
1585 		MTK_EINT_FUNCTION(0, 128),
1586 		DRV_GRP4,
1587 		MTK_FUNCTION(0, "B_GPIO128"),
1588 		MTK_FUNCTION(1, "O_DMIC2_CLK"),
1589 		MTK_FUNCTION(2, "B0_SPINOR_IO1"),
1590 		MTK_FUNCTION(3, "I0_TDMIN_DI"),
1591 		MTK_FUNCTION(6, "I0_LVTS_SCF"),
1592 		MTK_FUNCTION(7, "B0_DBG_MON_B30")
1593 	),
1594 
1595 	MTK_PIN(
1596 		129, "GPIO129",
1597 		MTK_EINT_FUNCTION(0, 129),
1598 		DRV_GRP4,
1599 		MTK_FUNCTION(0, "B_GPIO129"),
1600 		MTK_FUNCTION(1, "I0_DMIC2_DAT"),
1601 		MTK_FUNCTION(2, "B0_SPINOR_IO2"),
1602 		MTK_FUNCTION(3, "I0_SPDIF_IN1"),
1603 		MTK_FUNCTION(6, "I0_LVTS_SCK"),
1604 		MTK_FUNCTION(7, "B0_DBG_MON_B31")
1605 	),
1606 
1607 	MTK_PIN(
1608 		130, "GPIO130",
1609 		MTK_EINT_FUNCTION(0, 130),
1610 		DRV_GRP4,
1611 		MTK_FUNCTION(0, "B_GPIO130"),
1612 		MTK_FUNCTION(1, "I0_DMIC2_DAT_R"),
1613 		MTK_FUNCTION(2, "B0_SPINOR_IO3"),
1614 		MTK_FUNCTION(3, "I0_SPDIF_IN2"),
1615 		MTK_FUNCTION(6, "I0_LVTS_SDI"),
1616 		MTK_FUNCTION(7, "B0_DBG_MON_B32")
1617 	),
1618 
1619 	MTK_PIN(
1620 		131, "GPIO131",
1621 		MTK_EINT_FUNCTION(0, 131),
1622 		DRV_GRP4,
1623 		MTK_FUNCTION(0, "B_GPIO131"),
1624 		MTK_FUNCTION(1, "O_DPI_D0"),
1625 		MTK_FUNCTION(2, "O_GBE_TXD3"),
1626 		MTK_FUNCTION(3, "O_DMIC1_CLK"),
1627 		MTK_FUNCTION(4, "O_I2SO2_MCK"),
1628 		MTK_FUNCTION(5, "B0_TP_GPIO0_AO"),
1629 		MTK_FUNCTION(6, "O_SPIM5_CSB"),
1630 		MTK_FUNCTION(7, "O_PGD_LV_HSC_PWR0")
1631 	),
1632 
1633 	MTK_PIN(
1634 		132, "GPIO132",
1635 		MTK_EINT_FUNCTION(0, 132),
1636 		DRV_GRP4,
1637 		MTK_FUNCTION(0, "B_GPIO132"),
1638 		MTK_FUNCTION(1, "O_DPI_D1"),
1639 		MTK_FUNCTION(2, "O_GBE_TXD2"),
1640 		MTK_FUNCTION(3, "I0_DMIC1_DAT"),
1641 		MTK_FUNCTION(4, "B0_I2SO2_BCK"),
1642 		MTK_FUNCTION(5, "B0_TP_GPIO1_AO"),
1643 		MTK_FUNCTION(6, "O_SPIM5_CLK"),
1644 		MTK_FUNCTION(7, "O_PGD_LV_HSC_PWR1")
1645 	),
1646 
1647 	MTK_PIN(
1648 		133, "GPIO133",
1649 		MTK_EINT_FUNCTION(0, 133),
1650 		DRV_GRP4,
1651 		MTK_FUNCTION(0, "B_GPIO133"),
1652 		MTK_FUNCTION(1, "O_DPI_D2"),
1653 		MTK_FUNCTION(2, "O_GBE_TXD1"),
1654 		MTK_FUNCTION(3, "I0_DMIC1_DAT_R"),
1655 		MTK_FUNCTION(4, "B0_I2SO2_WS"),
1656 		MTK_FUNCTION(5, "B0_TP_GPIO2_AO"),
1657 		MTK_FUNCTION(6, "B0_SPIM5_MOSI"),
1658 		MTK_FUNCTION(7, "O_PGD_LV_HSC_PWR2")
1659 	),
1660 
1661 	MTK_PIN(
1662 		134, "GPIO134",
1663 		MTK_EINT_FUNCTION(0, 134),
1664 		DRV_GRP4,
1665 		MTK_FUNCTION(0, "B_GPIO134"),
1666 		MTK_FUNCTION(1, "O_DPI_D3"),
1667 		MTK_FUNCTION(2, "O_GBE_TXD0"),
1668 		MTK_FUNCTION(3, "O_DMIC2_CLK"),
1669 		MTK_FUNCTION(4, "O_I2SO2_D0"),
1670 		MTK_FUNCTION(5, "B0_TP_GPIO3_AO"),
1671 		MTK_FUNCTION(6, "B0_SPIM5_MISO"),
1672 		MTK_FUNCTION(7, "O_PGD_LV_HSC_PWR3")
1673 	),
1674 
1675 	MTK_PIN(
1676 		135, "GPIO135",
1677 		MTK_EINT_FUNCTION(0, 135),
1678 		DRV_GRP4,
1679 		MTK_FUNCTION(0, "B_GPIO135"),
1680 		MTK_FUNCTION(1, "O_DPI_D4"),
1681 		MTK_FUNCTION(2, "I0_GBE_RXD3"),
1682 		MTK_FUNCTION(3, "I0_DMIC2_DAT"),
1683 		MTK_FUNCTION(4, "O_I2SO2_D1"),
1684 		MTK_FUNCTION(5, "B0_TP_GPIO4_AO"),
1685 		MTK_FUNCTION(6, "I1_WAKEN"),
1686 		MTK_FUNCTION(7, "O_PGD_LV_HSC_PWR4")
1687 	),
1688 
1689 	MTK_PIN(
1690 		136, "GPIO136",
1691 		MTK_EINT_FUNCTION(0, 136),
1692 		DRV_GRP4,
1693 		MTK_FUNCTION(0, "B_GPIO136"),
1694 		MTK_FUNCTION(1, "O_DPI_D5"),
1695 		MTK_FUNCTION(2, "I0_GBE_RXD2"),
1696 		MTK_FUNCTION(3, "I0_DMIC2_DAT_R"),
1697 		MTK_FUNCTION(4, "O_I2SO2_D2"),
1698 		MTK_FUNCTION(5, "B0_TP_GPIO5_AO"),
1699 		MTK_FUNCTION(6, "O_PERSTN"),
1700 		MTK_FUNCTION(7, "O_PGD_LV_HSC_PWR5")
1701 	),
1702 
1703 	MTK_PIN(
1704 		137, "GPIO137",
1705 		MTK_EINT_FUNCTION(0, 137),
1706 		DRV_GRP4,
1707 		MTK_FUNCTION(0, "B_GPIO137"),
1708 		MTK_FUNCTION(1, "O_DPI_D6"),
1709 		MTK_FUNCTION(2, "I0_GBE_RXD1"),
1710 		MTK_FUNCTION(3, "O_DMIC3_CLK"),
1711 		MTK_FUNCTION(4, "O_I2SO2_D3"),
1712 		MTK_FUNCTION(5, "B0_TP_GPIO6_AO"),
1713 		MTK_FUNCTION(6, "B1_CLKREQN"),
1714 		MTK_FUNCTION(7, "O_PWM_0")
1715 	),
1716 
1717 	MTK_PIN(
1718 		138, "GPIO138",
1719 		MTK_EINT_FUNCTION(0, 138),
1720 		DRV_GRP4,
1721 		MTK_FUNCTION(0, "B_GPIO138"),
1722 		MTK_FUNCTION(1, "O_DPI_D7"),
1723 		MTK_FUNCTION(2, "I0_GBE_RXD0"),
1724 		MTK_FUNCTION(3, "I0_DMIC3_DAT"),
1725 		MTK_FUNCTION(4, "O_CLKM2"),
1726 		MTK_FUNCTION(5, "B0_TP_GPIO7_AO"),
1727 		MTK_FUNCTION(7, "B0_MD32_0_GPIO0")
1728 	),
1729 
1730 	MTK_PIN(
1731 		139, "GPIO139",
1732 		MTK_EINT_FUNCTION(0, 139),
1733 		DRV_GRP4,
1734 		MTK_FUNCTION(0, "B_GPIO139"),
1735 		MTK_FUNCTION(1, "O_DPI_D8"),
1736 		MTK_FUNCTION(2, "B0_GBE_TXC"),
1737 		MTK_FUNCTION(3, "I0_DMIC3_DAT_R"),
1738 		MTK_FUNCTION(4, "O_CLKM3"),
1739 		MTK_FUNCTION(5, "O_TP_UTXD2_AO"),
1740 		MTK_FUNCTION(6, "O_UTXD2"),
1741 		MTK_FUNCTION(7, "B0_MD32_0_GPIO1")
1742 	),
1743 
1744 	MTK_PIN(
1745 		140, "GPIO140",
1746 		MTK_EINT_FUNCTION(0, 140),
1747 		DRV_GRP4,
1748 		MTK_FUNCTION(0, "B_GPIO140"),
1749 		MTK_FUNCTION(1, "O_DPI_D9"),
1750 		MTK_FUNCTION(2, "I0_GBE_RXC"),
1751 		MTK_FUNCTION(3, "O_DMIC4_CLK"),
1752 		MTK_FUNCTION(4, "O_PWM_2"),
1753 		MTK_FUNCTION(5, "I1_TP_URXD2_AO"),
1754 		MTK_FUNCTION(6, "I1_URXD2"),
1755 		MTK_FUNCTION(7, "B0_MD32_0_GPIO2")
1756 	),
1757 
1758 	MTK_PIN(
1759 		141, "GPIO141",
1760 		MTK_EINT_FUNCTION(0, 141),
1761 		DRV_GRP4,
1762 		MTK_FUNCTION(0, "B_GPIO141"),
1763 		MTK_FUNCTION(1, "O_DPI_D10"),
1764 		MTK_FUNCTION(2, "I0_GBE_RXDV"),
1765 		MTK_FUNCTION(3, "I0_DMIC4_DAT"),
1766 		MTK_FUNCTION(4, "O_PWM_3"),
1767 		MTK_FUNCTION(5, "O_TP_URTS2_AO"),
1768 		MTK_FUNCTION(6, "O_URTS2"),
1769 		MTK_FUNCTION(7, "B0_MD32_1_GPIO0")
1770 	),
1771 
1772 	MTK_PIN(
1773 		142, "GPIO142",
1774 		MTK_EINT_FUNCTION(0, 142),
1775 		DRV_GRP4,
1776 		MTK_FUNCTION(0, "B_GPIO142"),
1777 		MTK_FUNCTION(1, "O_DPI_D11"),
1778 		MTK_FUNCTION(2, "O_GBE_TXEN"),
1779 		MTK_FUNCTION(3, "I0_DMIC4_DAT_R"),
1780 		MTK_FUNCTION(4, "O_PWM_1"),
1781 		MTK_FUNCTION(5, "I1_TP_UCTS2_AO"),
1782 		MTK_FUNCTION(6, "I1_UCTS2"),
1783 		MTK_FUNCTION(7, "B0_MD32_1_GPIO1")
1784 	),
1785 
1786 	MTK_PIN(
1787 		143, "GPIO143",
1788 		MTK_EINT_FUNCTION(0, 143),
1789 		DRV_GRP4,
1790 		MTK_FUNCTION(0, "B_GPIO143"),
1791 		MTK_FUNCTION(1, "O_DPI_D12"),
1792 		MTK_FUNCTION(2, "O_GBE_MDC"),
1793 		MTK_FUNCTION(3, "B0_MD32_0_GPIO0"),
1794 		MTK_FUNCTION(4, "O_CLKM0"),
1795 		MTK_FUNCTION(5, "O_SPIM3_CSB"),
1796 		MTK_FUNCTION(6, "O_UTXD1"),
1797 		MTK_FUNCTION(7, "B0_MD32_1_GPIO2")
1798 	),
1799 
1800 	MTK_PIN(
1801 		144, "GPIO144",
1802 		MTK_EINT_FUNCTION(0, 144),
1803 		DRV_GRP4,
1804 		MTK_FUNCTION(0, "B_GPIO144"),
1805 		MTK_FUNCTION(1, "O_DPI_D13"),
1806 		MTK_FUNCTION(2, "B1_GBE_MDIO"),
1807 		MTK_FUNCTION(3, "B0_MD32_0_GPIO1"),
1808 		MTK_FUNCTION(4, "O_CLKM1"),
1809 		MTK_FUNCTION(5, "O_SPIM3_CLK"),
1810 		MTK_FUNCTION(6, "I1_URXD1"),
1811 		MTK_FUNCTION(7, "O_PGD_HV_HSC_PWR0")
1812 	),
1813 
1814 	MTK_PIN(
1815 		145, "GPIO145",
1816 		MTK_EINT_FUNCTION(0, 145),
1817 		DRV_GRP4,
1818 		MTK_FUNCTION(0, "B_GPIO145"),
1819 		MTK_FUNCTION(1, "O_DPI_D14"),
1820 		MTK_FUNCTION(2, "O_GBE_TXER"),
1821 		MTK_FUNCTION(3, "B0_MD32_1_GPIO0"),
1822 		MTK_FUNCTION(4, "O_CMFLASH0"),
1823 		MTK_FUNCTION(5, "B0_SPIM3_MOSI"),
1824 		MTK_FUNCTION(6, "B0_GBE_AUX_PPS2"),
1825 		MTK_FUNCTION(7, "O_PGD_HV_HSC_PWR1")
1826 	),
1827 
1828 	MTK_PIN(
1829 		146, "GPIO146",
1830 		MTK_EINT_FUNCTION(0, 146),
1831 		DRV_GRP4,
1832 		MTK_FUNCTION(0, "B_GPIO146"),
1833 		MTK_FUNCTION(1, "O_DPI_D15"),
1834 		MTK_FUNCTION(2, "I0_GBE_RXER"),
1835 		MTK_FUNCTION(3, "B0_MD32_1_GPIO1"),
1836 		MTK_FUNCTION(4, "O_CMFLASH1"),
1837 		MTK_FUNCTION(5, "B0_SPIM3_MISO"),
1838 		MTK_FUNCTION(6, "B0_GBE_AUX_PPS3"),
1839 		MTK_FUNCTION(7, "O_PGD_HV_HSC_PWR2")
1840 	),
1841 
1842 	MTK_PIN(
1843 		147, "GPIO147",
1844 		MTK_EINT_FUNCTION(0, 147),
1845 		DRV_GRP4,
1846 		MTK_FUNCTION(0, "B_GPIO147"),
1847 		MTK_FUNCTION(1, "O_DPI_HSYNC"),
1848 		MTK_FUNCTION(2, "I0_GBE_COL"),
1849 		MTK_FUNCTION(3, "O_I2SO1_MCK"),
1850 		MTK_FUNCTION(4, "O_CMVREF0"),
1851 		MTK_FUNCTION(5, "O_SPDIF_OUT"),
1852 		MTK_FUNCTION(6, "O_URTS1"),
1853 		MTK_FUNCTION(7, "O_PGD_HV_HSC_PWR3")
1854 	),
1855 
1856 	MTK_PIN(
1857 		148, "GPIO148",
1858 		MTK_EINT_FUNCTION(0, 148),
1859 		DRV_GRP4,
1860 		MTK_FUNCTION(0, "B_GPIO148"),
1861 		MTK_FUNCTION(1, "O_DPI_VSYNC"),
1862 		MTK_FUNCTION(2, "I0_GBE_INTR"),
1863 		MTK_FUNCTION(3, "O_I2SO1_BCK"),
1864 		MTK_FUNCTION(4, "O_CMVREF1"),
1865 		MTK_FUNCTION(5, "I0_SPDIF_IN0"),
1866 		MTK_FUNCTION(6, "I1_UCTS1"),
1867 		MTK_FUNCTION(7, "O_PGD_HV_HSC_PWR4")
1868 	),
1869 
1870 	MTK_PIN(
1871 		149, "GPIO149",
1872 		MTK_EINT_FUNCTION(0, 149),
1873 		DRV_GRP4,
1874 		MTK_FUNCTION(0, "B_GPIO149"),
1875 		MTK_FUNCTION(1, "O_DPI_DE"),
1876 		MTK_FUNCTION(2, "B0_GBE_AUX_PPS0"),
1877 		MTK_FUNCTION(3, "O_I2SO1_WS"),
1878 		MTK_FUNCTION(4, "O_CMVREF2"),
1879 		MTK_FUNCTION(5, "I0_SPDIF_IN1"),
1880 		MTK_FUNCTION(6, "O_UTXD3"),
1881 		MTK_FUNCTION(7, "O_PGD_HV_HSC_PWR5")
1882 	),
1883 
1884 	MTK_PIN(
1885 		150, "GPIO150",
1886 		MTK_EINT_FUNCTION(0, 150),
1887 		DRV_GRP4,
1888 		MTK_FUNCTION(0, "B_GPIO150"),
1889 		MTK_FUNCTION(1, "O_DPI_CK"),
1890 		MTK_FUNCTION(2, "B0_GBE_AUX_PPS1"),
1891 		MTK_FUNCTION(3, "O_I2SO1_D0"),
1892 		MTK_FUNCTION(4, "O_CMVREF3"),
1893 		MTK_FUNCTION(5, "I0_SPDIF_IN2"),
1894 		MTK_FUNCTION(6, "I1_URXD3")
1895 	),
1896 
1897 	MTK_PIN(
1898 		151, "GPIO151",
1899 		MTK_EINT_FUNCTION(0, 151),
1900 		DRV_GRP4,
1901 		MTK_FUNCTION(0, "B_GPIO151"),
1902 		MTK_FUNCTION(1, "B1_MSDC0_DAT7")
1903 	),
1904 
1905 	MTK_PIN(
1906 		152, "GPIO152",
1907 		MTK_EINT_FUNCTION(0, 152),
1908 		DRV_GRP4,
1909 		MTK_FUNCTION(0, "B_GPIO152"),
1910 		MTK_FUNCTION(1, "B1_MSDC0_DAT6")
1911 	),
1912 
1913 	MTK_PIN(
1914 		153, "GPIO153",
1915 		MTK_EINT_FUNCTION(0, 153),
1916 		DRV_GRP4,
1917 		MTK_FUNCTION(0, "B_GPIO153"),
1918 		MTK_FUNCTION(1, "B1_MSDC0_DAT5")
1919 	),
1920 
1921 	MTK_PIN(
1922 		154, "GPIO154",
1923 		MTK_EINT_FUNCTION(0, 154),
1924 		DRV_GRP4,
1925 		MTK_FUNCTION(0, "B_GPIO154"),
1926 		MTK_FUNCTION(1, "B1_MSDC0_DAT4")
1927 	),
1928 
1929 	MTK_PIN(
1930 		155, "GPIO155",
1931 		MTK_EINT_FUNCTION(0, 155),
1932 		DRV_GRP4,
1933 		MTK_FUNCTION(0, "B_GPIO155"),
1934 		MTK_FUNCTION(1, "O_MSDC0_RSTB")
1935 	),
1936 
1937 	MTK_PIN(
1938 		156, "GPIO156",
1939 		MTK_EINT_FUNCTION(0, 156),
1940 		DRV_GRP4,
1941 		MTK_FUNCTION(0, "B_GPIO156"),
1942 		MTK_FUNCTION(1, "B1_MSDC0_CMD")
1943 	),
1944 
1945 	MTK_PIN(
1946 		157, "GPIO157",
1947 		MTK_EINT_FUNCTION(0, 157),
1948 		DRV_GRP4,
1949 		MTK_FUNCTION(0, "B_GPIO157"),
1950 		MTK_FUNCTION(1, "B1_MSDC0_CLK")
1951 	),
1952 
1953 	MTK_PIN(
1954 		158, "GPIO158",
1955 		MTK_EINT_FUNCTION(0, 158),
1956 		DRV_GRP4,
1957 		MTK_FUNCTION(0, "B_GPIO158"),
1958 		MTK_FUNCTION(1, "B1_MSDC0_DAT3")
1959 	),
1960 
1961 	MTK_PIN(
1962 		159, "GPIO159",
1963 		MTK_EINT_FUNCTION(0, 159),
1964 		DRV_GRP4,
1965 		MTK_FUNCTION(0, "B_GPIO159"),
1966 		MTK_FUNCTION(1, "B1_MSDC0_DAT2")
1967 	),
1968 
1969 	MTK_PIN(
1970 		160, "GPIO160",
1971 		MTK_EINT_FUNCTION(0, 160),
1972 		DRV_GRP4,
1973 		MTK_FUNCTION(0, "B_GPIO160"),
1974 		MTK_FUNCTION(1, "B1_MSDC0_DAT1")
1975 	),
1976 
1977 	MTK_PIN(
1978 		161, "GPIO161",
1979 		MTK_EINT_FUNCTION(0, 161),
1980 		DRV_GRP4,
1981 		MTK_FUNCTION(0, "B_GPIO161"),
1982 		MTK_FUNCTION(1, "B1_MSDC0_DAT0")
1983 	),
1984 
1985 	MTK_PIN(
1986 		162, "GPIO162",
1987 		MTK_EINT_FUNCTION(0, 162),
1988 		DRV_GRP4,
1989 		MTK_FUNCTION(0, "B_GPIO162"),
1990 		MTK_FUNCTION(1, "B0_MSDC0_DSL")
1991 	),
1992 
1993 	MTK_PIN(
1994 		163, "GPIO163",
1995 		MTK_EINT_FUNCTION(0, 163),
1996 		DRV_GRP4,
1997 		MTK_FUNCTION(0, "B_GPIO163"),
1998 		MTK_FUNCTION(1, "B1_MSDC1_CMD"),
1999 		MTK_FUNCTION(2, "O_SPDIF_OUT"),
2000 		MTK_FUNCTION(3, "I1_MD32_0_JTAG_TMS"),
2001 		MTK_FUNCTION(4, "I1_ADSP_JTAG0_TMS"),
2002 		MTK_FUNCTION(5, "I1_SCP_JTAG0_TMS"),
2003 		MTK_FUNCTION(6, "I1_CCU0_JTAG_TMS"),
2004 		MTK_FUNCTION(7, "I0_IPU_JTAG_TMS")
2005 	),
2006 
2007 	MTK_PIN(
2008 		164, "GPIO164",
2009 		MTK_EINT_FUNCTION(0, 164),
2010 		DRV_GRP4,
2011 		MTK_FUNCTION(0, "B_GPIO164"),
2012 		MTK_FUNCTION(1, "B1_MSDC1_CLK"),
2013 		MTK_FUNCTION(2, "I0_SPDIF_IN0"),
2014 		MTK_FUNCTION(3, "I1_MD32_0_JTAG_TCK"),
2015 		MTK_FUNCTION(4, "I0_ADSP_JTAG0_TCK"),
2016 		MTK_FUNCTION(5, "I1_SCP_JTAG0_TCK"),
2017 		MTK_FUNCTION(6, "I1_CCU0_JTAG_TCK"),
2018 		MTK_FUNCTION(7, "I0_IPU_JTAG_TCK")
2019 	),
2020 
2021 	MTK_PIN(
2022 		165, "GPIO165",
2023 		MTK_EINT_FUNCTION(0, 165),
2024 		DRV_GRP4,
2025 		MTK_FUNCTION(0, "B_GPIO165"),
2026 		MTK_FUNCTION(1, "B1_MSDC1_DAT0"),
2027 		MTK_FUNCTION(2, "I0_SPDIF_IN1"),
2028 		MTK_FUNCTION(3, "I1_MD32_0_JTAG_TDI"),
2029 		MTK_FUNCTION(4, "I1_ADSP_JTAG0_TDI"),
2030 		MTK_FUNCTION(5, "I1_SCP_JTAG0_TDI"),
2031 		MTK_FUNCTION(6, "I1_CCU0_JTAG_TDI"),
2032 		MTK_FUNCTION(7, "I0_IPU_JTAG_TDI")
2033 	),
2034 
2035 	MTK_PIN(
2036 		166, "GPIO166",
2037 		MTK_EINT_FUNCTION(0, 166),
2038 		DRV_GRP4,
2039 		MTK_FUNCTION(0, "B_GPIO166"),
2040 		MTK_FUNCTION(1, "B1_MSDC1_DAT1"),
2041 		MTK_FUNCTION(2, "I0_SPDIF_IN2"),
2042 		MTK_FUNCTION(3, "O_MD32_0_JTAG_TDO"),
2043 		MTK_FUNCTION(4, "O_ADSP_JTAG0_TDO"),
2044 		MTK_FUNCTION(5, "O_SCP_JTAG0_TDO"),
2045 		MTK_FUNCTION(6, "O_CCU0_JTAG_TDO"),
2046 		MTK_FUNCTION(7, "O_IPU_JTAG_TDO")
2047 	),
2048 
2049 	MTK_PIN(
2050 		167, "GPIO167",
2051 		MTK_EINT_FUNCTION(0, 167),
2052 		DRV_GRP4,
2053 		MTK_FUNCTION(0, "B_GPIO167"),
2054 		MTK_FUNCTION(1, "B1_MSDC1_DAT2"),
2055 		MTK_FUNCTION(2, "O_PWM_0"),
2056 		MTK_FUNCTION(3, "I1_MD32_0_JTAG_TRST"),
2057 		MTK_FUNCTION(4, "I1_ADSP_JTAG0_TRSTN"),
2058 		MTK_FUNCTION(5, "I0_SCP_JTAG0_TRSTN"),
2059 		MTK_FUNCTION(6, "I1_CCU0_JTAG_TRST"),
2060 		MTK_FUNCTION(7, "I0_IPU_JTAG_TRST")
2061 	),
2062 
2063 	MTK_PIN(
2064 		168, "GPIO168",
2065 		MTK_EINT_FUNCTION(0, 168),
2066 		DRV_GRP4,
2067 		MTK_FUNCTION(0, "B_GPIO168"),
2068 		MTK_FUNCTION(1, "B1_MSDC1_DAT3"),
2069 		MTK_FUNCTION(2, "O_PWM_1"),
2070 		MTK_FUNCTION(3, "O_CLKM0")
2071 	),
2072 
2073 	MTK_PIN(
2074 		169, "GPIO169",
2075 		MTK_EINT_FUNCTION(0, 169),
2076 		DRV_GRP4,
2077 		MTK_FUNCTION(0, "B_GPIO169"),
2078 		MTK_FUNCTION(1, "B1_MSDC2_CMD"),
2079 		MTK_FUNCTION(2, "O_LVTS_FOUT"),
2080 		MTK_FUNCTION(3, "I1_MD32_1_JTAG_TMS"),
2081 		MTK_FUNCTION(4, "I0_UDI_TMS"),
2082 		MTK_FUNCTION(5, "I0_VPU_UDI_TMS"),
2083 		MTK_FUNCTION(6, "B0_TDMIN_MCK"),
2084 		MTK_FUNCTION(7, "I1_SSPM_JTAG_TMS")
2085 	),
2086 
2087 	MTK_PIN(
2088 		170, "GPIO170",
2089 		MTK_EINT_FUNCTION(0, 170),
2090 		DRV_GRP4,
2091 		MTK_FUNCTION(0, "B_GPIO170"),
2092 		MTK_FUNCTION(1, "B1_MSDC2_CLK"),
2093 		MTK_FUNCTION(2, "O_LVTS_SDO"),
2094 		MTK_FUNCTION(3, "I1_MD32_1_JTAG_TCK"),
2095 		MTK_FUNCTION(4, "I0_UDI_TCK"),
2096 		MTK_FUNCTION(5, "I0_VPU_UDI_TCK"),
2097 		MTK_FUNCTION(6, "B0_TDMIN_BCK"),
2098 		MTK_FUNCTION(7, "I1_SSPM_JTAG_TCK")
2099 	),
2100 
2101 	MTK_PIN(
2102 		171, "GPIO171",
2103 		MTK_EINT_FUNCTION(0, 171),
2104 		DRV_GRP4,
2105 		MTK_FUNCTION(0, "B_GPIO171"),
2106 		MTK_FUNCTION(1, "B1_MSDC2_DAT0"),
2107 		MTK_FUNCTION(2, "I0_LVTS_26M"),
2108 		MTK_FUNCTION(3, "I1_MD32_1_JTAG_TDI"),
2109 		MTK_FUNCTION(4, "I0_UDI_TDI"),
2110 		MTK_FUNCTION(5, "I0_VPU_UDI_TDI"),
2111 		MTK_FUNCTION(6, "B0_TDMIN_LRCK"),
2112 		MTK_FUNCTION(7, "I1_SSPM_JTAG_TDI")
2113 	),
2114 
2115 	MTK_PIN(
2116 		172, "GPIO172",
2117 		MTK_EINT_FUNCTION(0, 172),
2118 		DRV_GRP4,
2119 		MTK_FUNCTION(0, "B_GPIO172"),
2120 		MTK_FUNCTION(1, "B1_MSDC2_DAT1"),
2121 		MTK_FUNCTION(2, "I0_LVTS_SCF"),
2122 		MTK_FUNCTION(3, "O_MD32_1_JTAG_TDO"),
2123 		MTK_FUNCTION(4, "O_UDI_TDO"),
2124 		MTK_FUNCTION(5, "O_VPU_UDI_TDO"),
2125 		MTK_FUNCTION(6, "I0_TDMIN_DI"),
2126 		MTK_FUNCTION(7, "O_SSPM_JTAG_TDO")
2127 	),
2128 
2129 	MTK_PIN(
2130 		173, "GPIO173",
2131 		MTK_EINT_FUNCTION(0, 173),
2132 		DRV_GRP4,
2133 		MTK_FUNCTION(0, "B_GPIO173"),
2134 		MTK_FUNCTION(1, "B1_MSDC2_DAT2"),
2135 		MTK_FUNCTION(2, "I0_LVTS_SCK"),
2136 		MTK_FUNCTION(3, "I1_MD32_1_JTAG_TRST"),
2137 		MTK_FUNCTION(4, "I0_UDI_NTRST"),
2138 		MTK_FUNCTION(5, "I0_VPU_UDI_NTRST"),
2139 		MTK_FUNCTION(7, "I0_SSPM_JTAG_TRSTN")
2140 	),
2141 
2142 	MTK_PIN(
2143 		174, "GPIO174",
2144 		MTK_EINT_FUNCTION(0, 174),
2145 		DRV_GRP4,
2146 		MTK_FUNCTION(0, "B_GPIO174"),
2147 		MTK_FUNCTION(1, "B1_MSDC2_DAT3"),
2148 		MTK_FUNCTION(2, "I0_LVTS_SDI")
2149 	),
2150 
2151 	MTK_PIN(
2152 		175, "GPIO175",
2153 		MTK_EINT_FUNCTION(0, 175),
2154 		DRV_GRP4,
2155 		MTK_FUNCTION(0, "B_GPIO175"),
2156 		MTK_FUNCTION(1, "B0_SPMI_M_SCL")
2157 	),
2158 
2159 	MTK_PIN(
2160 		176, "GPIO176",
2161 		MTK_EINT_FUNCTION(0, 176),
2162 		DRV_GRP4,
2163 		MTK_FUNCTION(0, "B_GPIO176"),
2164 		MTK_FUNCTION(1, "B0_SPMI_M_SDA")
2165 	),
2166 
2167 	MTK_PIN(
2168 		177, "GPIO177",
2169 		MTK_EINT_FUNCTION(0, 212),
2170 		DRV_FIXED,
2171 		MTK_FUNCTION(0, NULL)
2172 	),
2173 
2174 	MTK_PIN(
2175 		178, "GPIO178",
2176 		MTK_EINT_FUNCTION(0, 213),
2177 		DRV_FIXED,
2178 		MTK_FUNCTION(0, NULL)
2179 	),
2180 
2181 	MTK_PIN(
2182 		179, "GPIO179",
2183 		MTK_EINT_FUNCTION(0, 214),
2184 		DRV_FIXED,
2185 		MTK_FUNCTION(0, NULL)
2186 	),
2187 
2188 	MTK_PIN(
2189 		180, "GPIO180",
2190 		MTK_EINT_FUNCTION(0, 215),
2191 		DRV_FIXED,
2192 		MTK_FUNCTION(0, NULL)
2193 	),
2194 
2195 	MTK_PIN(
2196 		181, "GPIO181",
2197 		MTK_EINT_FUNCTION(0, 216),
2198 		DRV_FIXED,
2199 		MTK_FUNCTION(0, NULL)
2200 	),
2201 
2202 	MTK_PIN(
2203 		182, "GPIO182",
2204 		MTK_EINT_FUNCTION(0, 217),
2205 		DRV_FIXED,
2206 		MTK_FUNCTION(0, NULL)
2207 	),
2208 
2209 	MTK_PIN(
2210 		183, "GPIO183",
2211 		MTK_EINT_FUNCTION(0, 218),
2212 		DRV_FIXED,
2213 		MTK_FUNCTION(0, NULL)
2214 	),
2215 
2216 	MTK_PIN(
2217 		184, "GPIO184",
2218 		MTK_EINT_FUNCTION(0, 219),
2219 		DRV_FIXED,
2220 		MTK_FUNCTION(0, NULL)
2221 	),
2222 
2223 	MTK_PIN(
2224 		185, "GPIO185",
2225 		MTK_EINT_FUNCTION(0, 220),
2226 		DRV_FIXED,
2227 		MTK_FUNCTION(0, NULL)
2228 	),
2229 
2230 	MTK_PIN(
2231 		186, "GPIO186",
2232 		MTK_EINT_FUNCTION(0, 221),
2233 		DRV_FIXED,
2234 		MTK_FUNCTION(0, NULL)
2235 	),
2236 
2237 	MTK_PIN(
2238 		187, "GPIO187",
2239 		MTK_EINT_FUNCTION(0, 222),
2240 		DRV_FIXED,
2241 		MTK_FUNCTION(0, NULL)
2242 	),
2243 
2244 	MTK_PIN(
2245 		188, "GPIO188",
2246 		MTK_EINT_FUNCTION(0, 223),
2247 		DRV_FIXED,
2248 		MTK_FUNCTION(0, NULL)
2249 	),
2250 
2251 	MTK_PIN(
2252 		189, "GPIO189",
2253 		MTK_EINT_FUNCTION(0, 224),
2254 		DRV_FIXED,
2255 		MTK_FUNCTION(0, NULL)
2256 	)
2257 };
2258 
2259 #endif /* __PINCTRL__MTK_MT8188_H */
2260