1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Copyright (C) 2018 MediaTek Inc.
4  * Author: Zhiyong Tao <zhiyong.tao@mediatek.com>
5  *
6  */
7 #ifndef PINCTRL_MTK_MT2712_H
8 #define PINCTRL_MTK_MT2712_H
9 
10 #include <linux/pinctrl/pinctrl.h>
11 #include "pinctrl-mtk-common.h"
12 
13 static const struct mtk_desc_pin mtk_pins_mt2712[] = {
14 	MTK_PIN(PINCTRL_PIN(0, "EINT0"),
15 		NULL, "mt2712",
16 		MTK_EINT_FUNCTION(0, 6),
17 		MTK_FUNCTION(0, "GPIO0"),
18 		MTK_FUNCTION(1, "EINT0"),
19 		MTK_FUNCTION(2, "MBIST_DIAG_SCANOUT"),
20 		MTK_FUNCTION(3, "DSIA_TE"),
21 		MTK_FUNCTION(4, "DSIC_TE"),
22 		MTK_FUNCTION(5, "DIN_D3"),
23 		MTK_FUNCTION(6, "PURE_HW_PROTECT")
24 	),
25 	MTK_PIN(PINCTRL_PIN(1, "EINT1"),
26 		NULL, "mt2712",
27 		MTK_EINT_FUNCTION(0, 7),
28 		MTK_FUNCTION(0, "GPIO1"),
29 		MTK_FUNCTION(1, "EINT1"),
30 		MTK_FUNCTION(2, "IR_IN"),
31 		MTK_FUNCTION(3, "DSIB_TE"),
32 		MTK_FUNCTION(4, "DSID_TE"),
33 		MTK_FUNCTION(5, "DIN_D4")
34 	),
35 	MTK_PIN(PINCTRL_PIN(2, "EINT2"),
36 		NULL, "mt2712",
37 		MTK_EINT_FUNCTION(0, 8),
38 		MTK_FUNCTION(0, "GPIO2"),
39 		MTK_FUNCTION(1, "EINT2"),
40 		MTK_FUNCTION(2, "IR_IN"),
41 		MTK_FUNCTION(3, "LCM_RST1"),
42 		MTK_FUNCTION(5, "DIN_D5")
43 	),
44 	MTK_PIN(PINCTRL_PIN(3, "EINT3"),
45 		NULL, "mt2712",
46 		MTK_EINT_FUNCTION(0, 9),
47 		MTK_FUNCTION(0, "GPIO3"),
48 		MTK_FUNCTION(1, "EINT3"),
49 		MTK_FUNCTION(2, "IR_IN"),
50 		MTK_FUNCTION(3, "LCM_RST0"),
51 		MTK_FUNCTION(5, "DIN_D6")
52 	),
53 	MTK_PIN(PINCTRL_PIN(4, "PWM0"),
54 		NULL, "mt2712",
55 		MTK_EINT_FUNCTION(0, 10),
56 		MTK_FUNCTION(0, "GPIO4"),
57 		MTK_FUNCTION(1, "PWM0"),
58 		MTK_FUNCTION(2, "DISP0_PWM"),
59 		MTK_FUNCTION(3, "DISP1_PWM"),
60 		MTK_FUNCTION(5, "DIN_CLK")
61 	),
62 	MTK_PIN(PINCTRL_PIN(5, "PWM1"),
63 		NULL, "mt2712",
64 		MTK_EINT_FUNCTION(0, 11),
65 		MTK_FUNCTION(0, "GPIO5"),
66 		MTK_FUNCTION(1, "PWM1"),
67 		MTK_FUNCTION(2, "DISP1_PWM"),
68 		MTK_FUNCTION(3, "DISP0_PWM"),
69 		MTK_FUNCTION(5, "DIN_VSYNC")
70 	),
71 	MTK_PIN(PINCTRL_PIN(6, "PWM2"),
72 		NULL, "mt2712",
73 		MTK_EINT_FUNCTION(0, 12),
74 		MTK_FUNCTION(0, "GPIO6"),
75 		MTK_FUNCTION(1, "PWM2"),
76 		MTK_FUNCTION(2, "DISP0_PWM"),
77 		MTK_FUNCTION(3, "DISP1_PWM"),
78 		MTK_FUNCTION(4, "DISP2_PWM"),
79 		MTK_FUNCTION(5, "DIN_HSYNC")
80 	),
81 	MTK_PIN(PINCTRL_PIN(7, "PWM3"),
82 		NULL, "mt2712",
83 		MTK_EINT_FUNCTION(0, 13),
84 		MTK_FUNCTION(0, "GPIO7"),
85 		MTK_FUNCTION(1, "PWM3"),
86 		MTK_FUNCTION(2, "DISP1_PWM"),
87 		MTK_FUNCTION(3, "DISP0_PWM"),
88 		MTK_FUNCTION(4, "LCM_RST2"),
89 		MTK_FUNCTION(5, "DIN_D0")
90 	),
91 	MTK_PIN(PINCTRL_PIN(8, "PWM4"),
92 		NULL, "mt2712",
93 		MTK_EINT_FUNCTION(0, 14),
94 		MTK_FUNCTION(0, "GPIO8"),
95 		MTK_FUNCTION(1, "PWM4"),
96 		MTK_FUNCTION(2, "DISP0_PWM"),
97 		MTK_FUNCTION(3, "DISP1_PWM"),
98 		MTK_FUNCTION(4, "DSIA_TE"),
99 		MTK_FUNCTION(5, "DIN_D1")
100 	),
101 	MTK_PIN(PINCTRL_PIN(9, "PWM5"),
102 		NULL, "mt2712",
103 		MTK_EINT_FUNCTION(0, 15),
104 		MTK_FUNCTION(0, "GPIO9"),
105 		MTK_FUNCTION(1, "PWM5"),
106 		MTK_FUNCTION(2, "DISP1_PWM"),
107 		MTK_FUNCTION(3, "DISP0_PWM"),
108 		MTK_FUNCTION(4, "DSIB_TE"),
109 		MTK_FUNCTION(5, "DIN_D2")
110 	),
111 	MTK_PIN(PINCTRL_PIN(10, "PWM6"),
112 		NULL, "mt2712",
113 		MTK_EINT_FUNCTION(0, 16),
114 		MTK_FUNCTION(0, "GPIO10"),
115 		MTK_FUNCTION(1, "PWM6"),
116 		MTK_FUNCTION(2, "DISP0_PWM"),
117 		MTK_FUNCTION(3, "DISP1_PWM"),
118 		MTK_FUNCTION(4, "LCM_RST0")
119 	),
120 	MTK_PIN(PINCTRL_PIN(11, "PWM7"),
121 		NULL, "mt2712",
122 		MTK_EINT_FUNCTION(0, 17),
123 		MTK_FUNCTION(0, "GPIO11"),
124 		MTK_FUNCTION(1, "PWM7"),
125 		MTK_FUNCTION(2, "DISP1_PWM"),
126 		MTK_FUNCTION(3, "DISP0_PWM"),
127 		MTK_FUNCTION(4, "LCM_RST1")
128 	),
129 	MTK_PIN(PINCTRL_PIN(12, "IDDIG_P0"),
130 		NULL, "mt2712",
131 		MTK_EINT_FUNCTION(1, 22),
132 		MTK_FUNCTION(0, "GPIO12"),
133 		MTK_FUNCTION(1, "IDDIG_A"),
134 		MTK_FUNCTION(5, "DIN_D7")
135 	),
136 	MTK_PIN(PINCTRL_PIN(13, "DRV_VBUS_P0"),
137 		NULL, "mt2712",
138 		MTK_EINT_FUNCTION(0, 43),
139 		MTK_FUNCTION(0, "GPIO13"),
140 		MTK_FUNCTION(1, "DRV_VBUS_A")
141 	),
142 	MTK_PIN(PINCTRL_PIN(14, "IDDIG_P1"),
143 		NULL, "mt2712",
144 		MTK_EINT_FUNCTION(1, 44),
145 		MTK_FUNCTION(0, "GPIO14"),
146 		MTK_FUNCTION(1, "IDDIG_B")
147 	),
148 	MTK_PIN(PINCTRL_PIN(15, "DRV_VBUS_P1"),
149 		NULL, "mt2712",
150 		MTK_EINT_FUNCTION(0, 45),
151 		MTK_FUNCTION(0, "GPIO15"),
152 		MTK_FUNCTION(1, "DRV_VBUS_B")
153 	),
154 	MTK_PIN(PINCTRL_PIN(16, "DRV_VBUS_P2"),
155 		NULL, "mt2712",
156 		MTK_EINT_FUNCTION(0, 46),
157 		MTK_FUNCTION(0, "GPIO16"),
158 		MTK_FUNCTION(1, "DRV_VBUS_C")
159 	),
160 	MTK_PIN(PINCTRL_PIN(17, "DRV_VBUS_P3"),
161 		NULL, "mt2712",
162 		MTK_EINT_FUNCTION(0, 47),
163 		MTK_FUNCTION(0, "GPIO17"),
164 		MTK_FUNCTION(1, "DRV_VBUS_D")
165 	),
166 	MTK_PIN(PINCTRL_PIN(18, "KPROW0"),
167 		NULL, "mt2712",
168 		MTK_EINT_FUNCTION(0, 18),
169 		MTK_FUNCTION(0, "GPIO18"),
170 		MTK_FUNCTION(1, "KROW0")
171 	),
172 	MTK_PIN(PINCTRL_PIN(19, "KPCOL0"),
173 		NULL, "mt2712",
174 		MTK_EINT_FUNCTION(0, 19),
175 		MTK_FUNCTION(0, "GPIO19"),
176 		MTK_FUNCTION(1, "KCOL0")
177 	),
178 	MTK_PIN(PINCTRL_PIN(20, "KPROW1"),
179 		NULL, "mt2712",
180 		MTK_EINT_FUNCTION(0, 48),
181 		MTK_FUNCTION(0, "GPIO20"),
182 		MTK_FUNCTION(1, "KROW1")
183 	),
184 	MTK_PIN(PINCTRL_PIN(21, "KPCOL1"),
185 		NULL, "mt2712",
186 		MTK_EINT_FUNCTION(0, 49),
187 		MTK_FUNCTION(0, "GPIO21"),
188 		MTK_FUNCTION(1, "KCOL1")
189 	),
190 	MTK_PIN(PINCTRL_PIN(22, "KPROW2"),
191 		NULL, "mt2712",
192 		MTK_EINT_FUNCTION(0, 50),
193 		MTK_FUNCTION(0, "GPIO22"),
194 		MTK_FUNCTION(1, "KROW2"),
195 		MTK_FUNCTION(2, "DISP1_PWM")
196 	),
197 	MTK_PIN(PINCTRL_PIN(23, "KPCOL2"),
198 		NULL, "mt2712",
199 		MTK_EINT_FUNCTION(0, 51),
200 		MTK_FUNCTION(0, "GPIO23"),
201 		MTK_FUNCTION(1, "KCOL2"),
202 		MTK_FUNCTION(2, "DISP0_PWM")
203 	),
204 	MTK_PIN(PINCTRL_PIN(24, "CMMCLK"),
205 		NULL, "mt2712",
206 		MTK_EINT_FUNCTION(0, 52),
207 		MTK_FUNCTION(0, "GPIO24"),
208 		MTK_FUNCTION(1, "CMMCLK"),
209 		MTK_FUNCTION(7, "DBG_MON_A_1_")
210 	),
211 	MTK_PIN(PINCTRL_PIN(25, "CM2MCLK"),
212 		NULL, "mt2712",
213 		MTK_EINT_FUNCTION(0, 53),
214 		MTK_FUNCTION(0, "GPIO25"),
215 		MTK_FUNCTION(1, "CM2MCLK"),
216 		MTK_FUNCTION(7, "DBG_MON_A_2_")
217 	),
218 	MTK_PIN(PINCTRL_PIN(26, "PCM_TX"),
219 		NULL, "mt2712",
220 		MTK_EINT_FUNCTION(0, 54),
221 		MTK_FUNCTION(0, "GPIO26"),
222 		MTK_FUNCTION(1, "PCM1_DO"),
223 		MTK_FUNCTION(2, "MRG_TX"),
224 		MTK_FUNCTION(3, "DAI_TX"),
225 		MTK_FUNCTION(4, "MRG_RX"),
226 		MTK_FUNCTION(5, "DAI_RX"),
227 		MTK_FUNCTION(6, "PCM1_DI"),
228 		MTK_FUNCTION(7, "DBG_MON_A_3_")
229 	),
230 	MTK_PIN(PINCTRL_PIN(27, "PCM_CLK"),
231 		NULL, "mt2712",
232 		MTK_EINT_FUNCTION(0, 55),
233 		MTK_FUNCTION(0, "GPIO27"),
234 		MTK_FUNCTION(1, "PCM1_CLK"),
235 		MTK_FUNCTION(2, "MRG_CLK"),
236 		MTK_FUNCTION(3, "DAI_CLK"),
237 		MTK_FUNCTION(7, "DBG_MON_A_4_")
238 	),
239 	MTK_PIN(PINCTRL_PIN(28, "PCM_RX"),
240 		NULL, "mt2712",
241 		MTK_EINT_FUNCTION(0, 56),
242 		MTK_FUNCTION(0, "GPIO28"),
243 		MTK_FUNCTION(1, "PCM1_DI"),
244 		MTK_FUNCTION(2, "MRG_RX"),
245 		MTK_FUNCTION(3, "DAI_RX"),
246 		MTK_FUNCTION(4, "MRG_TX"),
247 		MTK_FUNCTION(5, "DAI_TX"),
248 		MTK_FUNCTION(6, "PCM1_DO"),
249 		MTK_FUNCTION(7, "DBG_MON_A_5_")
250 	),
251 	MTK_PIN(PINCTRL_PIN(29, "PCM_SYNC"),
252 		NULL, "mt2712",
253 		MTK_EINT_FUNCTION(0, 57),
254 		MTK_FUNCTION(0, "GPIO29"),
255 		MTK_FUNCTION(1, "PCM1_SYNC"),
256 		MTK_FUNCTION(2, "MRG_SYNC"),
257 		MTK_FUNCTION(3, "DAI_SYNC"),
258 		MTK_FUNCTION(7, "DBG_MON_A_6_")
259 	),
260 	MTK_PIN(PINCTRL_PIN(30, "NCEB0"),
261 		NULL, "mt2712",
262 		MTK_EINT_FUNCTION(0, 58),
263 		MTK_FUNCTION(0, "GPIO30"),
264 		MTK_FUNCTION(1, "NCEB0"),
265 		MTK_FUNCTION(2, "USB0_FT_SDA"),
266 		MTK_FUNCTION(7, "DBG_MON_A_7_")
267 	),
268 	MTK_PIN(PINCTRL_PIN(31, "NCEB1"),
269 		NULL, "mt2712",
270 		MTK_EINT_FUNCTION(0, 59),
271 		MTK_FUNCTION(0, "GPIO31"),
272 		MTK_FUNCTION(1, "NCEB1"),
273 		MTK_FUNCTION(2, "USB1_FT_SCL"),
274 		MTK_FUNCTION(7, "DBG_MON_A_8_")
275 	),
276 	MTK_PIN(PINCTRL_PIN(32, "NF_DQS"),
277 		NULL, "mt2712",
278 		MTK_EINT_FUNCTION(0, 60),
279 		MTK_FUNCTION(0, "GPIO32"),
280 		MTK_FUNCTION(1, "NF_DQS"),
281 		MTK_FUNCTION(2, "USB1_FT_SDA"),
282 		MTK_FUNCTION(7, "DBG_MON_A_9_")
283 	),
284 	MTK_PIN(PINCTRL_PIN(33, "NWEB"),
285 		NULL, "mt2712",
286 		MTK_EINT_FUNCTION(0, 61),
287 		MTK_FUNCTION(0, "GPIO33"),
288 		MTK_FUNCTION(1, "NWEB"),
289 		MTK_FUNCTION(2, "USB2_FT_SCL"),
290 		MTK_FUNCTION(7, "DBG_MON_A_10_")
291 	),
292 	MTK_PIN(PINCTRL_PIN(34, "NREB"),
293 		NULL, "mt2712",
294 		MTK_EINT_FUNCTION(0, 62),
295 		MTK_FUNCTION(0, "GPIO34"),
296 		MTK_FUNCTION(1, "NREB"),
297 		MTK_FUNCTION(2, "USB2_FT_SDA"),
298 		MTK_FUNCTION(7, "DBG_MON_A_11_")
299 	),
300 	MTK_PIN(PINCTRL_PIN(35, "NCLE"),
301 		NULL, "mt2712",
302 		MTK_EINT_FUNCTION(0, 63),
303 		MTK_FUNCTION(0, "GPIO35"),
304 		MTK_FUNCTION(1, "NCLE"),
305 		MTK_FUNCTION(2, "USB3_FT_SCL"),
306 		MTK_FUNCTION(7, "DBG_MON_A_12_")
307 	),
308 	MTK_PIN(PINCTRL_PIN(36, "NALE"),
309 		NULL, "mt2712",
310 		MTK_EINT_FUNCTION(0, 64),
311 		MTK_FUNCTION(0, "GPIO36"),
312 		MTK_FUNCTION(1, "NALE"),
313 		MTK_FUNCTION(2, "USB3_FT_SDA"),
314 		MTK_FUNCTION(7, "DBG_MON_A_13_")
315 	),
316 	MTK_PIN(PINCTRL_PIN(37, "MSDC0E_CLK"),
317 		NULL, "mt2712",
318 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
319 		MTK_FUNCTION(0, "GPIO37"),
320 		MTK_FUNCTION(1, "MSDC0_CLK"),
321 		MTK_FUNCTION(2, "USB0_FT_SCL"),
322 		MTK_FUNCTION(7, "DBG_MON_A_0_")
323 	),
324 	MTK_PIN(PINCTRL_PIN(38, "MSDC0E_DAT7"),
325 		NULL, "mt2712",
326 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
327 		MTK_FUNCTION(0, "GPIO38"),
328 		MTK_FUNCTION(1, "MSDC0_DAT7"),
329 		MTK_FUNCTION(2, "NAND_ND7"),
330 		MTK_FUNCTION(7, "DBG_MON_A_14_")
331 	),
332 	MTK_PIN(PINCTRL_PIN(39, "MSDC0E_DAT6"),
333 		NULL, "mt2712",
334 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
335 		MTK_FUNCTION(0, "GPIO39"),
336 		MTK_FUNCTION(1, "MSDC0_DAT6"),
337 		MTK_FUNCTION(2, "NAND_ND6"),
338 		MTK_FUNCTION(7, "DBG_MON_A_15_")
339 	),
340 	MTK_PIN(PINCTRL_PIN(40, "MSDC0E_DAT5"),
341 		NULL, "mt2712",
342 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
343 		MTK_FUNCTION(0, "GPIO40"),
344 		MTK_FUNCTION(1, "MSDC0_DAT5"),
345 		MTK_FUNCTION(2, "NAND_ND5"),
346 		MTK_FUNCTION(7, "DBG_MON_A_16_")
347 	),
348 	MTK_PIN(PINCTRL_PIN(41, "MSDC0E_DAT4"),
349 		NULL, "mt2712",
350 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
351 		MTK_FUNCTION(0, "GPIO41"),
352 		MTK_FUNCTION(1, "MSDC0_DAT4"),
353 		MTK_FUNCTION(2, "NAND_ND4"),
354 		MTK_FUNCTION(7, "DBG_MON_A_17_")
355 	),
356 	MTK_PIN(PINCTRL_PIN(42, "MSDC0E_DAT3"),
357 		NULL, "mt2712",
358 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
359 		MTK_FUNCTION(0, "GPIO42"),
360 		MTK_FUNCTION(1, "MSDC0_DAT3"),
361 		MTK_FUNCTION(2, "NAND_ND3"),
362 		MTK_FUNCTION(7, "DBG_MON_A_18_")
363 	),
364 	MTK_PIN(PINCTRL_PIN(43, "MSDC0E_DAT2"),
365 		NULL, "mt2712",
366 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
367 		MTK_FUNCTION(0, "GPIO43"),
368 		MTK_FUNCTION(1, "MSDC0_DAT2"),
369 		MTK_FUNCTION(2, "NAND_ND2"),
370 		MTK_FUNCTION(7, "DBG_MON_A_19_")
371 	),
372 	MTK_PIN(PINCTRL_PIN(44, "MSDC0E_DAT1"),
373 		NULL, "mt2712",
374 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
375 		MTK_FUNCTION(0, "GPIO44"),
376 		MTK_FUNCTION(1, "MSDC0_DAT1"),
377 		MTK_FUNCTION(2, "NAND_ND1"),
378 		MTK_FUNCTION(7, "DBG_MON_A_20_")
379 	),
380 	MTK_PIN(PINCTRL_PIN(45, "MSDC0E_DAT0"),
381 		NULL, "mt2712",
382 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
383 		MTK_FUNCTION(0, "GPIO45"),
384 		MTK_FUNCTION(1, "MSDC0_DAT0"),
385 		MTK_FUNCTION(2, "NAND_ND0"),
386 		MTK_FUNCTION(7, "DBG_MON_A_21_")
387 	),
388 	MTK_PIN(PINCTRL_PIN(46, "MSDC0E_CMD"),
389 		NULL, "mt2712",
390 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
391 		MTK_FUNCTION(0, "GPIO46"),
392 		MTK_FUNCTION(1, "MSDC0_CMD"),
393 		MTK_FUNCTION(2, "NAND_NRNB"),
394 		MTK_FUNCTION(7, "DBG_MON_A_22_")
395 	),
396 	MTK_PIN(PINCTRL_PIN(47, "MSDC0E_DSL"),
397 		NULL, "mt2712",
398 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
399 		MTK_FUNCTION(0, "GPIO47"),
400 		MTK_FUNCTION(1, "MSDC0_DSL"),
401 		MTK_FUNCTION(7, "DBG_MON_A_23_")
402 	),
403 	MTK_PIN(PINCTRL_PIN(48, "MSDC0E_RSTB"),
404 		NULL, "mt2712",
405 		MTK_EINT_FUNCTION(0, 142),
406 		MTK_FUNCTION(0, "GPIO48"),
407 		MTK_FUNCTION(1, "MSDC0_RSTB"),
408 		MTK_FUNCTION(7, "DBG_MON_A_24_")
409 	),
410 	MTK_PIN(PINCTRL_PIN(49, "MSDC3_DAT3"),
411 		NULL, "mt2712",
412 		MTK_EINT_FUNCTION(0, 65),
413 		MTK_FUNCTION(0, "GPIO49"),
414 		MTK_FUNCTION(1, "MSDC3_DAT3"),
415 		MTK_FUNCTION(7, "DBG_MON_A_25_")
416 	),
417 	MTK_PIN(PINCTRL_PIN(50, "MSDC3_DAT2"),
418 		NULL, "mt2712",
419 		MTK_EINT_FUNCTION(0, 66),
420 		MTK_FUNCTION(0, "GPIO50"),
421 		MTK_FUNCTION(1, "MSDC3_DAT2"),
422 		MTK_FUNCTION(7, "DBG_MON_A_26_")
423 	),
424 	MTK_PIN(PINCTRL_PIN(51, "MSDC3_DAT1"),
425 		NULL, "mt2712",
426 		MTK_EINT_FUNCTION(0, 67),
427 		MTK_FUNCTION(0, "GPIO51"),
428 		MTK_FUNCTION(1, "MSDC3_DAT1"),
429 		MTK_FUNCTION(7, "DBG_MON_A_27_")
430 	),
431 	MTK_PIN(PINCTRL_PIN(52, "MSDC3_DAT0"),
432 		NULL, "mt2712",
433 		MTK_EINT_FUNCTION(0, 68),
434 		MTK_FUNCTION(0, "GPIO52"),
435 		MTK_FUNCTION(1, "MSDC3_DAT0"),
436 		MTK_FUNCTION(7, "DBG_MON_A_28_")
437 	),
438 	MTK_PIN(PINCTRL_PIN(53, "MSDC3_CMD"),
439 		NULL, "mt2712",
440 		MTK_EINT_FUNCTION(0, 69),
441 		MTK_FUNCTION(0, "GPIO53"),
442 		MTK_FUNCTION(1, "MSDC3_CMD"),
443 		MTK_FUNCTION(7, "DBG_MON_A_29_")
444 	),
445 	MTK_PIN(PINCTRL_PIN(54, "MSDC3_INS"),
446 		NULL, "mt2712",
447 		MTK_EINT_FUNCTION(0, 20),
448 		MTK_FUNCTION(0, "GPIO54"),
449 		MTK_FUNCTION(1, "MSDC3_INS"),
450 		MTK_FUNCTION(7, "DBG_MON_A_30_")
451 	),
452 	MTK_PIN(PINCTRL_PIN(55, "MSDC3_DSL"),
453 		NULL, "mt2712",
454 		MTK_EINT_FUNCTION(0, 70),
455 		MTK_FUNCTION(0, "GPIO55"),
456 		MTK_FUNCTION(1, "MSDC3_DSL"),
457 		MTK_FUNCTION(7, "DBG_MON_A_31_")
458 	),
459 	MTK_PIN(PINCTRL_PIN(56, "MSDC3_CLK"),
460 		NULL, "mt2712",
461 		MTK_EINT_FUNCTION(0, 71),
462 		MTK_FUNCTION(0, "GPIO56"),
463 		MTK_FUNCTION(1, "MSDC3_CLK"),
464 		MTK_FUNCTION(7, "DBG_MON_A_32_")
465 	),
466 	MTK_PIN(PINCTRL_PIN(57, "NOR_CS"),
467 		NULL, "mt2712",
468 		MTK_EINT_FUNCTION(0, 72),
469 		MTK_FUNCTION(0, "GPIO57"),
470 		MTK_FUNCTION(1, "NOR_CS")
471 	),
472 	MTK_PIN(PINCTRL_PIN(58, "NOR_CK"),
473 		NULL, "mt2712",
474 		MTK_EINT_FUNCTION(0, 73),
475 		MTK_FUNCTION(0, "GPIO58"),
476 		MTK_FUNCTION(1, "NOR_CK")
477 	),
478 	MTK_PIN(PINCTRL_PIN(59, "NOR_IO0"),
479 		NULL, "mt2712",
480 		MTK_EINT_FUNCTION(0, 74),
481 		MTK_FUNCTION(0, "GPIO59"),
482 		MTK_FUNCTION(1, "NOR_IO0")
483 	),
484 	MTK_PIN(PINCTRL_PIN(60, "NOR_IO1"),
485 		NULL, "mt2712",
486 		MTK_EINT_FUNCTION(0, 75),
487 		MTK_FUNCTION(0, "GPIO60"),
488 		MTK_FUNCTION(1, "NOR_IO1")
489 	),
490 	MTK_PIN(PINCTRL_PIN(61, "NOR_IO2"),
491 		NULL, "mt2712",
492 		MTK_EINT_FUNCTION(0, 76),
493 		MTK_FUNCTION(0, "GPIO61"),
494 		MTK_FUNCTION(1, "NOR_IO2")
495 	),
496 	MTK_PIN(PINCTRL_PIN(62, "NOR_IO3"),
497 		NULL, "mt2712",
498 		MTK_EINT_FUNCTION(0, 77),
499 		MTK_FUNCTION(0, "GPIO62"),
500 		MTK_FUNCTION(1, "NOR_IO3")
501 	),
502 	MTK_PIN(PINCTRL_PIN(63, "MSDC1_CLK"),
503 		NULL, "mt2712",
504 		MTK_EINT_FUNCTION(0, 78),
505 		MTK_FUNCTION(0, "GPIO63"),
506 		MTK_FUNCTION(1, "MSDC1_CLK"),
507 		MTK_FUNCTION(2, "UDI_TCK")
508 	),
509 	MTK_PIN(PINCTRL_PIN(64, "MSDC1_DAT3"),
510 		NULL, "mt2712",
511 		MTK_EINT_FUNCTION(0, 79),
512 		MTK_FUNCTION(0, "GPIO64"),
513 		MTK_FUNCTION(1, "MSDC1_DAT3"),
514 		MTK_FUNCTION(2, "UDI_TDI")
515 	),
516 	MTK_PIN(PINCTRL_PIN(65, "MSDC1_DAT1"),
517 		NULL, "mt2712",
518 		MTK_EINT_FUNCTION(0, 80),
519 		MTK_FUNCTION(0, "GPIO65"),
520 		MTK_FUNCTION(1, "MSDC1_DAT1"),
521 		MTK_FUNCTION(2, "UDI_TMS")
522 	),
523 	MTK_PIN(PINCTRL_PIN(66, "MSDC1_DAT2"),
524 		NULL, "mt2712",
525 		MTK_EINT_FUNCTION(0, 81),
526 		MTK_FUNCTION(0, "GPIO66"),
527 		MTK_FUNCTION(1, "MSDC1_DAT2"),
528 		MTK_FUNCTION(2, "UDI_TDO")
529 	),
530 	MTK_PIN(PINCTRL_PIN(67, "MSDC1_PSW"),
531 		NULL, "mt2712",
532 		MTK_EINT_FUNCTION(0, 82),
533 		MTK_FUNCTION(0, "GPIO67"),
534 		MTK_FUNCTION(2, "UDI_NTRST")
535 	),
536 	MTK_PIN(PINCTRL_PIN(68, "MSDC1_DAT0"),
537 		NULL, "mt2712",
538 		MTK_EINT_FUNCTION(0, 83),
539 		MTK_FUNCTION(0, "GPIO68"),
540 		MTK_FUNCTION(1, "MSDC1_DAT0")
541 	),
542 	MTK_PIN(PINCTRL_PIN(69, "MSDC1_CMD"),
543 		NULL, "mt2712",
544 		MTK_EINT_FUNCTION(0, 84),
545 		MTK_FUNCTION(0, "GPIO69"),
546 		MTK_FUNCTION(1, "MSDC1_CMD")
547 	),
548 	MTK_PIN(PINCTRL_PIN(70, "MSDC1_INS"),
549 		NULL, "mt2712",
550 		MTK_EINT_FUNCTION(0, 85),
551 		MTK_FUNCTION(0, "GPIO70")
552 	),
553 	MTK_PIN(PINCTRL_PIN(71, "GBE_TXD3"),
554 		NULL, "mt2712",
555 		MTK_EINT_FUNCTION(0, 86),
556 		MTK_FUNCTION(0, "GPIO71"),
557 		MTK_FUNCTION(1, "GBE_TXD3"),
558 		MTK_FUNCTION(7, "DBG_MON_B_0_")
559 	),
560 	MTK_PIN(PINCTRL_PIN(72, "GBE_TXD2"),
561 		NULL, "mt2712",
562 		MTK_EINT_FUNCTION(0, 87),
563 		MTK_FUNCTION(0, "GPIO72"),
564 		MTK_FUNCTION(1, "GBE_TXD2"),
565 		MTK_FUNCTION(7, "DBG_MON_B_1_")
566 	),
567 	MTK_PIN(PINCTRL_PIN(73, "GBE_TXD1"),
568 		NULL, "mt2712",
569 		MTK_EINT_FUNCTION(0, 88),
570 		MTK_FUNCTION(0, "GPIO73"),
571 		MTK_FUNCTION(1, "GBE_TXD1"),
572 		MTK_FUNCTION(7, "DBG_MON_B_2_")
573 	),
574 	MTK_PIN(PINCTRL_PIN(74, "GBE_TXD0"),
575 		NULL, "mt2712",
576 		MTK_EINT_FUNCTION(0, 89),
577 		MTK_FUNCTION(0, "GPIO74"),
578 		MTK_FUNCTION(1, "GBE_TXD0"),
579 		MTK_FUNCTION(7, "DBG_MON_B_3_")
580 	),
581 	MTK_PIN(PINCTRL_PIN(75, "GBE_TXC"),
582 		NULL, "mt2712",
583 		MTK_EINT_FUNCTION(0, 90),
584 		MTK_FUNCTION(0, "GPIO75"),
585 		MTK_FUNCTION(1, "GBE_TXC"),
586 		MTK_FUNCTION(7, "DBG_MON_B_4_")
587 	),
588 	MTK_PIN(PINCTRL_PIN(76, "GBE_TXEN"),
589 		NULL, "mt2712",
590 		MTK_EINT_FUNCTION(0, 91),
591 		MTK_FUNCTION(0, "GPIO76"),
592 		MTK_FUNCTION(1, "GBE_TXEN"),
593 		MTK_FUNCTION(7, "DBG_MON_B_5_")
594 	),
595 	MTK_PIN(PINCTRL_PIN(77, "GBE_TXER"),
596 		NULL, "mt2712",
597 		MTK_EINT_FUNCTION(0, 92),
598 		MTK_FUNCTION(0, "GPIO77"),
599 		MTK_FUNCTION(1, "GBE_TXER"),
600 		MTK_FUNCTION(7, "DBG_MON_B_6_")
601 	),
602 	MTK_PIN(PINCTRL_PIN(78, "GBE_RXD3"),
603 		NULL, "mt2712",
604 		MTK_EINT_FUNCTION(0, 93),
605 		MTK_FUNCTION(0, "GPIO78"),
606 		MTK_FUNCTION(1, "GBE_RXD3"),
607 		MTK_FUNCTION(7, "DBG_MON_B_7_")
608 	),
609 	MTK_PIN(PINCTRL_PIN(79, "GBE_RXD2"),
610 		NULL, "mt2712",
611 		MTK_EINT_FUNCTION(0, 94),
612 		MTK_FUNCTION(0, "GPIO79"),
613 		MTK_FUNCTION(1, "GBE_RXD2"),
614 		MTK_FUNCTION(7, "DBG_MON_B_8_")
615 	),
616 	MTK_PIN(PINCTRL_PIN(80, "GBE_RXD1"),
617 		NULL, "mt2712",
618 		MTK_EINT_FUNCTION(0, 95),
619 		MTK_FUNCTION(0, "GPIO80"),
620 		MTK_FUNCTION(1, "GBE_RXD1"),
621 		MTK_FUNCTION(7, "DBG_MON_B_9_")
622 	),
623 	MTK_PIN(PINCTRL_PIN(81, "GBE_RXD0"),
624 		NULL, "mt2712",
625 		MTK_EINT_FUNCTION(0, 96),
626 		MTK_FUNCTION(0, "GPIO81"),
627 		MTK_FUNCTION(1, "GBE_RXD0"),
628 		MTK_FUNCTION(7, "DBG_MON_B_10_")
629 	),
630 	MTK_PIN(PINCTRL_PIN(82, "GBE_RXDV"),
631 		NULL, "mt2712",
632 		MTK_EINT_FUNCTION(0, 97),
633 		MTK_FUNCTION(0, "GPIO82"),
634 		MTK_FUNCTION(1, "GBE_RXDV"),
635 		MTK_FUNCTION(7, "DBG_MON_B_11_")
636 	),
637 	MTK_PIN(PINCTRL_PIN(83, "GBE_RXER"),
638 		NULL, "mt2712",
639 		MTK_EINT_FUNCTION(0, 98),
640 		MTK_FUNCTION(0, "GPIO83"),
641 		MTK_FUNCTION(1, "GBE_RXER"),
642 		MTK_FUNCTION(7, "DBG_MON_B_12_")
643 	),
644 	MTK_PIN(PINCTRL_PIN(84, "GBE_RXC"),
645 		NULL, "mt2712",
646 		MTK_EINT_FUNCTION(0, 99),
647 		MTK_FUNCTION(0, "GPIO84"),
648 		MTK_FUNCTION(1, "GBE_RXC"),
649 		MTK_FUNCTION(7, "DBG_MON_B_13_")
650 	),
651 	MTK_PIN(PINCTRL_PIN(85, "GBE_MDC"),
652 		NULL, "mt2712",
653 		MTK_EINT_FUNCTION(0, 100),
654 		MTK_FUNCTION(0, "GPIO85"),
655 		MTK_FUNCTION(1, "GBE_MDC"),
656 		MTK_FUNCTION(7, "DBG_MON_B_14_")
657 	),
658 	MTK_PIN(PINCTRL_PIN(86, "GBE_MDIO"),
659 		NULL, "mt2712",
660 		MTK_EINT_FUNCTION(0, 101),
661 		MTK_FUNCTION(0, "GPIO86"),
662 		MTK_FUNCTION(1, "GBE_MDIO"),
663 		MTK_FUNCTION(7, "DBG_MON_B_15_")
664 	),
665 	MTK_PIN(PINCTRL_PIN(87, "GBE_COL"),
666 		NULL, "mt2712",
667 		MTK_EINT_FUNCTION(0, 102),
668 		MTK_FUNCTION(0, "GPIO87"),
669 		MTK_FUNCTION(1, "GBE_COL"),
670 		MTK_FUNCTION(7, "DBG_MON_B_16_")
671 	),
672 	MTK_PIN(PINCTRL_PIN(88, "GBE_INTR"),
673 		NULL, "mt2712",
674 		MTK_EINT_FUNCTION(0, 21),
675 		MTK_FUNCTION(0, "GPIO88"),
676 		MTK_FUNCTION(1, "GBE_INTR"),
677 		MTK_FUNCTION(2, "GBE_CRS"),
678 		MTK_FUNCTION(7, "DBG_MON_B_17_")
679 	),
680 	MTK_PIN(PINCTRL_PIN(89, "MSDC2_CLK"),
681 		NULL, "mt2712",
682 		MTK_EINT_FUNCTION(0, 103),
683 		MTK_FUNCTION(0, "GPIO89"),
684 		MTK_FUNCTION(1, "MSDC2_CLK"),
685 		MTK_FUNCTION(7, "DBG_MON_B_18_")
686 	),
687 	MTK_PIN(PINCTRL_PIN(90, "MSDC2_DAT3"),
688 		NULL, "mt2712",
689 		MTK_EINT_FUNCTION(0, 104),
690 		MTK_FUNCTION(0, "GPIO90"),
691 		MTK_FUNCTION(1, "MSDC2_DAT3"),
692 		MTK_FUNCTION(7, "DBG_MON_B_19_")
693 	),
694 	MTK_PIN(PINCTRL_PIN(91, "MSDC2_DAT2"),
695 		NULL, "mt2712",
696 		MTK_EINT_FUNCTION(0, 105),
697 		MTK_FUNCTION(0, "GPIO91"),
698 		MTK_FUNCTION(1, "MSDC2_DAT2"),
699 		MTK_FUNCTION(7, "DBG_MON_B_20_")
700 	),
701 	MTK_PIN(PINCTRL_PIN(92, "MSDC2_DAT1"),
702 		NULL, "mt2712",
703 		MTK_EINT_FUNCTION(0, 106),
704 		MTK_FUNCTION(0, "GPIO92"),
705 		MTK_FUNCTION(1, "MSDC2_DAT1"),
706 		MTK_FUNCTION(7, "DBG_MON_B_21_")
707 	),
708 	MTK_PIN(PINCTRL_PIN(93, "MSDC2_DAT0"),
709 		NULL, "mt2712",
710 		MTK_EINT_FUNCTION(0, 107),
711 		MTK_FUNCTION(0, "GPIO93"),
712 		MTK_FUNCTION(1, "MSDC2_DAT0"),
713 		MTK_FUNCTION(7, "DBG_MON_B_22_")
714 	),
715 	MTK_PIN(PINCTRL_PIN(94, "MSDC2_INS"),
716 		NULL, "mt2712",
717 		MTK_EINT_FUNCTION(0, 108),
718 		MTK_FUNCTION(0, "GPIO94"),
719 		MTK_FUNCTION(7, "DBG_MON_B_23_")
720 	),
721 	MTK_PIN(PINCTRL_PIN(95, "MSDC2_CMD"),
722 		NULL, "mt2712",
723 		MTK_EINT_FUNCTION(0, 109),
724 		MTK_FUNCTION(0, "GPIO95"),
725 		MTK_FUNCTION(1, "MSDC2_CMD"),
726 		MTK_FUNCTION(7, "DBG_MON_B_24_")
727 	),
728 	MTK_PIN(PINCTRL_PIN(96, "MSDC2_PSW"),
729 		NULL, "mt2712",
730 		MTK_EINT_FUNCTION(0, 110),
731 		MTK_FUNCTION(0, "GPIO96"),
732 		MTK_FUNCTION(7, "DBG_MON_B_25_")
733 	),
734 	MTK_PIN(PINCTRL_PIN(97, "URXD4"),
735 		NULL, "mt2712",
736 		MTK_EINT_FUNCTION(0, 111),
737 		MTK_FUNCTION(0, "GPIO97"),
738 		MTK_FUNCTION(1, "URXD4"),
739 		MTK_FUNCTION(2, "UTXD4"),
740 		MTK_FUNCTION(3, "MRG_CLK"),
741 		MTK_FUNCTION(4, "PCM1_CLK"),
742 		MTK_FUNCTION(5, "I2S_IQ2_SDQB"),
743 		MTK_FUNCTION(6, "I2SO1_WS"),
744 		MTK_FUNCTION(7, "DBG_MON_B_26_")
745 	),
746 	MTK_PIN(PINCTRL_PIN(98, "URTS4"),
747 		NULL, "mt2712",
748 		MTK_EINT_FUNCTION(0, 112),
749 		MTK_FUNCTION(0, "GPIO98"),
750 		MTK_FUNCTION(1, "URTS4"),
751 		MTK_FUNCTION(2, "UCTS4"),
752 		MTK_FUNCTION(3, "MRG_RX"),
753 		MTK_FUNCTION(4, "PCM1_DI"),
754 		MTK_FUNCTION(5, "I2S_IQ1_SDIB"),
755 		MTK_FUNCTION(6, "I2SO1_MCK"),
756 		MTK_FUNCTION(7, "DBG_MON_B_27_")
757 	),
758 	MTK_PIN(PINCTRL_PIN(99, "UTXD4"),
759 		NULL, "mt2712",
760 		MTK_EINT_FUNCTION(0, 113),
761 		MTK_FUNCTION(0, "GPIO99"),
762 		MTK_FUNCTION(1, "UTXD4"),
763 		MTK_FUNCTION(2, "URXD4"),
764 		MTK_FUNCTION(3, "MRG_SYNC"),
765 		MTK_FUNCTION(4, "PCM1_SYNC"),
766 		MTK_FUNCTION(5, "I2S_IQ0_SDQB"),
767 		MTK_FUNCTION(6, "I2SO1_BCK"),
768 		MTK_FUNCTION(7, "DBG_MON_B_28_")
769 	),
770 	MTK_PIN(PINCTRL_PIN(100, "UCTS4"),
771 		NULL, "mt2712",
772 		MTK_EINT_FUNCTION(0, 114),
773 		MTK_FUNCTION(0, "GPIO100"),
774 		MTK_FUNCTION(1, "UCTS4"),
775 		MTK_FUNCTION(2, "URTS4"),
776 		MTK_FUNCTION(3, "MRG_TX"),
777 		MTK_FUNCTION(4, "PCM1_DO"),
778 		MTK_FUNCTION(5, "I2S_IQ0_SDIB"),
779 		MTK_FUNCTION(6, "I2SO1_DO"),
780 		MTK_FUNCTION(7, "DBG_MON_B_29_")
781 	),
782 	MTK_PIN(PINCTRL_PIN(101, "URXD5"),
783 		NULL, "mt2712",
784 		MTK_EINT_FUNCTION(0, 30),
785 		MTK_FUNCTION(0, "GPIO101"),
786 		MTK_FUNCTION(1, "URXD5"),
787 		MTK_FUNCTION(2, "UTXD5"),
788 		MTK_FUNCTION(3, "I2SO3_WS"),
789 		MTK_FUNCTION(4, "TDMIN_LRCK"),
790 		MTK_FUNCTION(6, "I2SO0_WS"),
791 		MTK_FUNCTION(7, "DBG_MON_B_30_")
792 	),
793 	MTK_PIN(PINCTRL_PIN(102, "URTS5"),
794 		NULL, "mt2712",
795 		MTK_EINT_FUNCTION(0, 31),
796 		MTK_FUNCTION(0, "GPIO102"),
797 		MTK_FUNCTION(1, "URTS5"),
798 		MTK_FUNCTION(2, "UCTS5"),
799 		MTK_FUNCTION(3, "I2SO3_MCK"),
800 		MTK_FUNCTION(4, "TDMIN_MCLK"),
801 		MTK_FUNCTION(5, "IR_IN"),
802 		MTK_FUNCTION(6, "I2SO0_MCK"),
803 		MTK_FUNCTION(7, "DBG_MON_B_31_")
804 	),
805 	MTK_PIN(PINCTRL_PIN(103, "UTXD5"),
806 		NULL, "mt2712",
807 		MTK_EINT_FUNCTION(0, 32),
808 		MTK_FUNCTION(0, "GPIO103"),
809 		MTK_FUNCTION(1, "UTXD5"),
810 		MTK_FUNCTION(2, "URXD5"),
811 		MTK_FUNCTION(3, "I2SO3_BCK"),
812 		MTK_FUNCTION(4, "TDMIN_BCK"),
813 		MTK_FUNCTION(6, "I2SO0_BCK"),
814 		MTK_FUNCTION(7, "DBG_MON_B_32_")
815 	),
816 	MTK_PIN(PINCTRL_PIN(104, "UCTS5"),
817 		NULL, "mt2712",
818 		MTK_EINT_FUNCTION(0, 33),
819 		MTK_FUNCTION(0, "GPIO104"),
820 		MTK_FUNCTION(1, "UCTS5"),
821 		MTK_FUNCTION(2, "URTS5"),
822 		MTK_FUNCTION(3, "I2SO0_DO1"),
823 		MTK_FUNCTION(4, "TDMIN_DI"),
824 		MTK_FUNCTION(5, "IR_IN"),
825 		MTK_FUNCTION(6, "I2SO0_DO0")
826 	),
827 	MTK_PIN(PINCTRL_PIN(105, "I2C_SDA0"),
828 		NULL, "mt2712",
829 		MTK_EINT_FUNCTION(0, 115),
830 		MTK_FUNCTION(0, "GPIO105"),
831 		MTK_FUNCTION(1, "SDA0")
832 	),
833 	MTK_PIN(PINCTRL_PIN(106, "I2C_SDA1"),
834 		NULL, "mt2712",
835 		MTK_EINT_FUNCTION(0, 116),
836 		MTK_FUNCTION(0, "GPIO106"),
837 		MTK_FUNCTION(1, "SDA1")
838 	),
839 	MTK_PIN(PINCTRL_PIN(107, "I2C_SDA2"),
840 		NULL, "mt2712",
841 		MTK_EINT_FUNCTION(0, 117),
842 		MTK_FUNCTION(0, "GPIO107"),
843 		MTK_FUNCTION(1, "SDA2")
844 	),
845 	MTK_PIN(PINCTRL_PIN(108, "I2C_SDA3"),
846 		NULL, "mt2712",
847 		MTK_EINT_FUNCTION(0, 118),
848 		MTK_FUNCTION(0, "GPIO108"),
849 		MTK_FUNCTION(1, "SDA3")
850 	),
851 	MTK_PIN(PINCTRL_PIN(109, "I2C_SDA4"),
852 		NULL, "mt2712",
853 		MTK_EINT_FUNCTION(0, 119),
854 		MTK_FUNCTION(0, "GPIO109"),
855 		MTK_FUNCTION(1, "SDA4")
856 	),
857 	MTK_PIN(PINCTRL_PIN(110, "I2C_SDA5"),
858 		NULL, "mt2712",
859 		MTK_EINT_FUNCTION(0, 34),
860 		MTK_FUNCTION(0, "GPIO110"),
861 		MTK_FUNCTION(1, "SDA5")
862 	),
863 	MTK_PIN(PINCTRL_PIN(111, "I2C_SCL0"),
864 		NULL, "mt2712",
865 		MTK_EINT_FUNCTION(0, 120),
866 		MTK_FUNCTION(0, "GPIO111"),
867 		MTK_FUNCTION(1, "SCL0")
868 	),
869 	MTK_PIN(PINCTRL_PIN(112, "I2C_SCL1"),
870 		NULL, "mt2712",
871 		MTK_EINT_FUNCTION(0, 121),
872 		MTK_FUNCTION(0, "GPIO112"),
873 		MTK_FUNCTION(1, "SCL1")
874 	),
875 	MTK_PIN(PINCTRL_PIN(113, "I2C_SCL2"),
876 		NULL, "mt2712",
877 		MTK_EINT_FUNCTION(0, 122),
878 		MTK_FUNCTION(0, "GPIO113"),
879 		MTK_FUNCTION(1, "SCL2")
880 	),
881 	MTK_PIN(PINCTRL_PIN(114, "I2C_SCL3"),
882 		NULL, "mt2712",
883 		MTK_EINT_FUNCTION(0, 123),
884 		MTK_FUNCTION(0, "GPIO114"),
885 		MTK_FUNCTION(1, "SCL3")
886 	),
887 	MTK_PIN(PINCTRL_PIN(115, "I2C_SCL4"),
888 		NULL, "mt2712",
889 		MTK_EINT_FUNCTION(0, 124),
890 		MTK_FUNCTION(0, "GPIO115"),
891 		MTK_FUNCTION(1, "SCL4")
892 	),
893 	MTK_PIN(PINCTRL_PIN(116, "I2C_SCL5"),
894 		NULL, "mt2712",
895 		MTK_EINT_FUNCTION(0, 35),
896 		MTK_FUNCTION(0, "GPIO116"),
897 		MTK_FUNCTION(1, "SCL5")
898 	),
899 	MTK_PIN(PINCTRL_PIN(117, "URXD0"),
900 		NULL, "mt2712",
901 		MTK_EINT_FUNCTION(0, 125),
902 		MTK_FUNCTION(0, "GPIO117"),
903 		MTK_FUNCTION(1, "URXD0"),
904 		MTK_FUNCTION(2, "UTXD0")
905 	),
906 	MTK_PIN(PINCTRL_PIN(118, "URXD1"),
907 		NULL, "mt2712",
908 		MTK_EINT_FUNCTION(0, 126),
909 		MTK_FUNCTION(0, "GPIO118"),
910 		MTK_FUNCTION(1, "URXD1"),
911 		MTK_FUNCTION(2, "UTXD1")
912 	),
913 	MTK_PIN(PINCTRL_PIN(119, "URXD2"),
914 		NULL, "mt2712",
915 		MTK_EINT_FUNCTION(0, 127),
916 		MTK_FUNCTION(0, "GPIO119"),
917 		MTK_FUNCTION(1, "URXD2"),
918 		MTK_FUNCTION(2, "UTXD2")
919 	),
920 	MTK_PIN(PINCTRL_PIN(120, "UTXD0"),
921 		NULL, "mt2712",
922 		MTK_EINT_FUNCTION(0, 128),
923 		MTK_FUNCTION(0, "GPIO120"),
924 		MTK_FUNCTION(1, "UTXD0"),
925 		MTK_FUNCTION(2, "URXD0")
926 	),
927 	MTK_PIN(PINCTRL_PIN(121, "UTXD1"),
928 		NULL, "mt2712",
929 		MTK_EINT_FUNCTION(0, 129),
930 		MTK_FUNCTION(0, "GPIO121"),
931 		MTK_FUNCTION(1, "UTXD1"),
932 		MTK_FUNCTION(2, "URXD1")
933 	),
934 	MTK_PIN(PINCTRL_PIN(122, "UTXD2"),
935 		NULL, "mt2712",
936 		MTK_EINT_FUNCTION(0, 130),
937 		MTK_FUNCTION(0, "GPIO122"),
938 		MTK_FUNCTION(1, "UTXD2"),
939 		MTK_FUNCTION(2, "URXD2")
940 	),
941 	MTK_PIN(PINCTRL_PIN(123, "URXD3"),
942 		NULL, "mt2712",
943 		MTK_EINT_FUNCTION(0, 131),
944 		MTK_FUNCTION(0, "GPIO123"),
945 		MTK_FUNCTION(1, "URXD3"),
946 		MTK_FUNCTION(2, "UTXD3"),
947 		MTK_FUNCTION(3, "PURE_HW_PROTECT")
948 	),
949 	MTK_PIN(PINCTRL_PIN(124, "UTXD3"),
950 		NULL, "mt2712",
951 		MTK_EINT_FUNCTION(0, 132),
952 		MTK_FUNCTION(0, "GPIO124"),
953 		MTK_FUNCTION(1, "UTXD3"),
954 		MTK_FUNCTION(2, "URXD3"),
955 		MTK_FUNCTION(3, "PURE_HW_PROTECT")
956 	),
957 	MTK_PIN(PINCTRL_PIN(125, "URTS3"),
958 		NULL, "mt2712",
959 		MTK_EINT_FUNCTION(0, 133),
960 		MTK_FUNCTION(0, "GPIO125"),
961 		MTK_FUNCTION(1, "URTS3"),
962 		MTK_FUNCTION(2, "UCTS3"),
963 		MTK_FUNCTION(3, "WATCH_DOG")
964 	),
965 	MTK_PIN(PINCTRL_PIN(126, "UCTS3"),
966 		NULL, "mt2712",
967 		MTK_EINT_FUNCTION(0, 134),
968 		MTK_FUNCTION(0, "GPIO126"),
969 		MTK_FUNCTION(1, "UCTS3"),
970 		MTK_FUNCTION(2, "URTS3"),
971 		MTK_FUNCTION(3, "SRCLKENA0")
972 	),
973 	MTK_PIN(PINCTRL_PIN(127, "SPI2_CSN"),
974 		NULL, "mt2712",
975 		MTK_EINT_FUNCTION(0, 135),
976 		MTK_FUNCTION(0, "GPIO127"),
977 		MTK_FUNCTION(1, "SPI_CS_2_"),
978 		MTK_FUNCTION(2, "SPI_CS_1_")
979 	),
980 	MTK_PIN(PINCTRL_PIN(128, "SPI2_MO"),
981 		NULL, "mt2712",
982 		MTK_EINT_FUNCTION(0, 136),
983 		MTK_FUNCTION(0, "GPIO128"),
984 		MTK_FUNCTION(1, "SPI_MO_2_"),
985 		MTK_FUNCTION(2, "SPI_SO_1_")
986 	),
987 	MTK_PIN(PINCTRL_PIN(129, "SPI2_MI"),
988 		NULL, "mt2712",
989 		MTK_EINT_FUNCTION(0, 137),
990 		MTK_FUNCTION(0, "GPIO129"),
991 		MTK_FUNCTION(1, "SPI_MI_2_"),
992 		MTK_FUNCTION(2, "SPI_SI_1_")
993 	),
994 	MTK_PIN(PINCTRL_PIN(130, "SPI2_CK"),
995 		NULL, "mt2712",
996 		MTK_EINT_FUNCTION(0, 138),
997 		MTK_FUNCTION(0, "GPIO130"),
998 		MTK_FUNCTION(1, "SPI_CK_2_"),
999 		MTK_FUNCTION(2, "SPI_CK_1_")
1000 	),
1001 	MTK_PIN(PINCTRL_PIN(131, "SPI3_CSN"),
1002 		NULL, "mt2712",
1003 		MTK_EINT_FUNCTION(0, 139),
1004 		MTK_FUNCTION(0, "GPIO131"),
1005 		MTK_FUNCTION(1, "SPI_CS_3_")
1006 	),
1007 	MTK_PIN(PINCTRL_PIN(132, "SPI3_MO"),
1008 		NULL, "mt2712",
1009 		MTK_EINT_FUNCTION(0, 143),
1010 		MTK_FUNCTION(0, "GPIO132"),
1011 		MTK_FUNCTION(1, "SPI_MO_3_")
1012 	),
1013 	MTK_PIN(PINCTRL_PIN(133, "SPI3_MI"),
1014 		NULL, "mt2712",
1015 		MTK_EINT_FUNCTION(0, 144),
1016 		MTK_FUNCTION(0, "GPIO133"),
1017 		MTK_FUNCTION(1, "SPI_MI_3_")
1018 	),
1019 	MTK_PIN(PINCTRL_PIN(134, "SPI3_CK"),
1020 		NULL, "mt2712",
1021 		MTK_EINT_FUNCTION(0, 145),
1022 		MTK_FUNCTION(0, "GPIO134"),
1023 		MTK_FUNCTION(1, "SPI_CK_3_")
1024 	),
1025 	MTK_PIN(PINCTRL_PIN(135, "KPROW3"),
1026 		NULL, "mt2712",
1027 		MTK_EINT_FUNCTION(0, 146),
1028 		MTK_FUNCTION(0, "GPIO135"),
1029 		MTK_FUNCTION(1, "KROW3"),
1030 		MTK_FUNCTION(2, "DSIC_TE")
1031 	),
1032 	MTK_PIN(PINCTRL_PIN(136, "KPROW4"),
1033 		NULL, "mt2712",
1034 		MTK_EINT_FUNCTION(0, 36),
1035 		MTK_FUNCTION(0, "GPIO136"),
1036 		MTK_FUNCTION(1, "KROW4"),
1037 		MTK_FUNCTION(2, "DSID_TE")
1038 	),
1039 	MTK_PIN(PINCTRL_PIN(137, "KPCOL3"),
1040 		NULL, "mt2712",
1041 		MTK_EINT_FUNCTION(0, 147),
1042 		MTK_FUNCTION(0, "GPIO137"),
1043 		MTK_FUNCTION(1, "KCOL3"),
1044 		MTK_FUNCTION(2, "DISP2_PWM")
1045 	),
1046 	MTK_PIN(PINCTRL_PIN(138, "KPCOL4"),
1047 		NULL, "mt2712",
1048 		MTK_EINT_FUNCTION(0, 37),
1049 		MTK_FUNCTION(0, "GPIO138"),
1050 		MTK_FUNCTION(1, "KCOL4"),
1051 		MTK_FUNCTION(2, "LCM_RST2")
1052 	),
1053 	MTK_PIN(PINCTRL_PIN(139, "KPCOL5"),
1054 		NULL, "mt2712",
1055 		MTK_EINT_FUNCTION(0, 38),
1056 		MTK_FUNCTION(0, "GPIO139"),
1057 		MTK_FUNCTION(1, "KCOL5"),
1058 		MTK_FUNCTION(3, "DSIA_TE"),
1059 		MTK_FUNCTION(4, "PURE_HW_PROTECT")
1060 	),
1061 	MTK_PIN(PINCTRL_PIN(140, "KPCOL6"),
1062 		NULL, "mt2712",
1063 		MTK_EINT_FUNCTION(0, 39),
1064 		MTK_FUNCTION(0, "GPIO140"),
1065 		MTK_FUNCTION(1, "KCOL6"),
1066 		MTK_FUNCTION(2, "WATCH_DOG"),
1067 		MTK_FUNCTION(3, "LCM_RST1")
1068 	),
1069 	MTK_PIN(PINCTRL_PIN(141, "KPROW5"),
1070 		NULL, "mt2712",
1071 		MTK_EINT_FUNCTION(0, 40),
1072 		MTK_FUNCTION(0, "GPIO141"),
1073 		MTK_FUNCTION(1, "KROW5"),
1074 		MTK_FUNCTION(3, "LCM_RST0"),
1075 		MTK_FUNCTION(4, "PURE_HW_PROTECT")
1076 	),
1077 	MTK_PIN(PINCTRL_PIN(142, "KPROW6"),
1078 		NULL, "mt2712",
1079 		MTK_EINT_FUNCTION(0, 41),
1080 		MTK_FUNCTION(0, "GPIO142"),
1081 		MTK_FUNCTION(1, "KROW6"),
1082 		MTK_FUNCTION(2, "SRCLKENA0"),
1083 		MTK_FUNCTION(3, "DSIB_TE")
1084 	),
1085 	MTK_PIN(PINCTRL_PIN(143, "JTDO_ICE"),
1086 		NULL, "mt2712",
1087 		MTK_EINT_FUNCTION(0, 148),
1088 		MTK_FUNCTION(0, "GPIO143"),
1089 		MTK_FUNCTION(1, "JTDO_ICE"),
1090 		MTK_FUNCTION(3, "DFD_TDO")
1091 	),
1092 	MTK_PIN(PINCTRL_PIN(144, "JTCK_ICE"),
1093 		NULL, "mt2712",
1094 		MTK_EINT_FUNCTION(0, 149),
1095 		MTK_FUNCTION(0, "GPIO144"),
1096 		MTK_FUNCTION(1, "JTCK_ICE"),
1097 		MTK_FUNCTION(3, "DFD_TCK")
1098 	),
1099 	MTK_PIN(PINCTRL_PIN(145, "JTDI_ICE"),
1100 		NULL, "mt2712",
1101 		MTK_EINT_FUNCTION(0, 150),
1102 		MTK_FUNCTION(0, "GPIO145"),
1103 		MTK_FUNCTION(1, "JTDI_ICE"),
1104 		MTK_FUNCTION(3, "DFD_TDI")
1105 	),
1106 	MTK_PIN(PINCTRL_PIN(146, "JTMS_ICE"),
1107 		NULL, "mt2712",
1108 		MTK_EINT_FUNCTION(0, 151),
1109 		MTK_FUNCTION(0, "GPIO146"),
1110 		MTK_FUNCTION(1, "JTMS_ICE"),
1111 		MTK_FUNCTION(3, "DFD_TMS")
1112 	),
1113 	MTK_PIN(PINCTRL_PIN(147, "JTRSTB_ICE"),
1114 		NULL, "mt2712",
1115 		MTK_EINT_FUNCTION(0, 152),
1116 		MTK_FUNCTION(0, "GPIO147"),
1117 		MTK_FUNCTION(1, "JTRST_B_ICE"),
1118 		MTK_FUNCTION(3, "DFD_NTRST")
1119 	),
1120 	MTK_PIN(PINCTRL_PIN(148, "GPIO148"),
1121 		NULL, "mt2712",
1122 		MTK_EINT_FUNCTION(0, 153),
1123 		MTK_FUNCTION(0, "GPIO148"),
1124 		MTK_FUNCTION(1, "JTRSTB_CM4"),
1125 		MTK_FUNCTION(3, "DFD_NTRST")
1126 	),
1127 	MTK_PIN(PINCTRL_PIN(149, "GPIO149"),
1128 		NULL, "mt2712",
1129 		MTK_EINT_FUNCTION(0, 154),
1130 		MTK_FUNCTION(0, "GPIO149"),
1131 		MTK_FUNCTION(1, "JTCK_CM4"),
1132 		MTK_FUNCTION(3, "DFD_TCK")
1133 	),
1134 	MTK_PIN(PINCTRL_PIN(150, "GPIO150"),
1135 		NULL, "mt2712",
1136 		MTK_EINT_FUNCTION(0, 155),
1137 		MTK_FUNCTION(0, "GPIO150"),
1138 		MTK_FUNCTION(1, "JTMS_CM4"),
1139 		MTK_FUNCTION(3, "DFD_TMS")
1140 	),
1141 	MTK_PIN(PINCTRL_PIN(151, "GPIO151"),
1142 		NULL, "mt2712",
1143 		MTK_EINT_FUNCTION(0, 156),
1144 		MTK_FUNCTION(0, "GPIO151"),
1145 		MTK_FUNCTION(1, "JTDI_CM4"),
1146 		MTK_FUNCTION(3, "DFD_TDI")
1147 	),
1148 	MTK_PIN(PINCTRL_PIN(152, "GPIO152"),
1149 		NULL, "mt2712",
1150 		MTK_EINT_FUNCTION(0, 157),
1151 		MTK_FUNCTION(0, "GPIO152"),
1152 		MTK_FUNCTION(1, "JTDO_CM4"),
1153 		MTK_FUNCTION(3, "DFD_TDO")
1154 	),
1155 	MTK_PIN(PINCTRL_PIN(153, "SPI0_CSN"),
1156 		NULL, "mt2712",
1157 		MTK_EINT_FUNCTION(0, 158),
1158 		MTK_FUNCTION(0, "GPIO153"),
1159 		MTK_FUNCTION(1, "SPI_CS_0_"),
1160 		MTK_FUNCTION(2, "SRCLKENA0"),
1161 		MTK_FUNCTION(3, "UTXD0"),
1162 		MTK_FUNCTION(4, "I2SO0_DO1"),
1163 		MTK_FUNCTION(6, "TDMO0_DATA1"),
1164 		MTK_FUNCTION(7, "I2S_IQ2_SDQB")
1165 	),
1166 	MTK_PIN(PINCTRL_PIN(154, "SPI0_MI"),
1167 		NULL, "mt2712",
1168 		MTK_EINT_FUNCTION(0, 159),
1169 		MTK_FUNCTION(0, "GPIO154"),
1170 		MTK_FUNCTION(1, "SPI_MI_0_"),
1171 		MTK_FUNCTION(2, "SRCLKENA0"),
1172 		MTK_FUNCTION(3, "URXD0"),
1173 		MTK_FUNCTION(4, "I2SO0_DO0"),
1174 		MTK_FUNCTION(5, "I2SO1_DO"),
1175 		MTK_FUNCTION(6, "TDMO0_DATA"),
1176 		MTK_FUNCTION(7, "I2S_IQ1_SDIB")
1177 	),
1178 	MTK_PIN(PINCTRL_PIN(155, "SPI0_CK"),
1179 		NULL, "mt2712",
1180 		MTK_EINT_FUNCTION(0, 160),
1181 		MTK_FUNCTION(0, "GPIO155"),
1182 		MTK_FUNCTION(1, "SPI_CK_0_"),
1183 		MTK_FUNCTION(2, "SC_APBIAS_OFF"),
1184 		MTK_FUNCTION(3, "UTXD1"),
1185 		MTK_FUNCTION(4, "I2SO0_BCK"),
1186 		MTK_FUNCTION(5, "I2SO1_BCK"),
1187 		MTK_FUNCTION(6, "TDMO0_BCK"),
1188 		MTK_FUNCTION(7, "I2S_IQ0_SDQB")
1189 	),
1190 	MTK_PIN(PINCTRL_PIN(156, "SPI0_MO"),
1191 		NULL, "mt2712",
1192 		MTK_EINT_FUNCTION(0, 161),
1193 		MTK_FUNCTION(0, "GPIO156"),
1194 		MTK_FUNCTION(1, "SPI_MO_0_"),
1195 		MTK_FUNCTION(2, "SC_APBIAS_OFF"),
1196 		MTK_FUNCTION(3, "URXD1"),
1197 		MTK_FUNCTION(4, "I2SO0_WS"),
1198 		MTK_FUNCTION(5, "I2SO1_WS"),
1199 		MTK_FUNCTION(6, "TDMO0_LRCK"),
1200 		MTK_FUNCTION(7, "I2S_IQ0_SDIB")
1201 	),
1202 	MTK_PIN(PINCTRL_PIN(157, "SPI5_CSN"),
1203 		NULL, "mt2712",
1204 		MTK_EINT_FUNCTION(0, 162),
1205 		MTK_FUNCTION(0, "GPIO157"),
1206 		MTK_FUNCTION(1, "SPI_CS_5_"),
1207 		MTK_FUNCTION(2, "LCM_RST0"),
1208 		MTK_FUNCTION(3, "UTXD2"),
1209 		MTK_FUNCTION(4, "I2SO0_MCK"),
1210 		MTK_FUNCTION(5, "I2SO1_MCK"),
1211 		MTK_FUNCTION(6, "TDMO0_MCLK")
1212 	),
1213 	MTK_PIN(PINCTRL_PIN(158, "SPI5_MI"),
1214 		NULL, "mt2712",
1215 		MTK_EINT_FUNCTION(0, 163),
1216 		MTK_FUNCTION(0, "GPIO158"),
1217 		MTK_FUNCTION(1, "SPI_MI_5_"),
1218 		MTK_FUNCTION(2, "DSIA_TE"),
1219 		MTK_FUNCTION(3, "URXD2")
1220 	),
1221 	MTK_PIN(PINCTRL_PIN(159, "SPI5_MO"),
1222 		NULL, "mt2712",
1223 		MTK_EINT_FUNCTION(0, 164),
1224 		MTK_FUNCTION(0, "GPIO159"),
1225 		MTK_FUNCTION(1, "SPI_MO_5_"),
1226 		MTK_FUNCTION(2, "DSIB_TE"),
1227 		MTK_FUNCTION(3, "UTXD3")
1228 	),
1229 	MTK_PIN(PINCTRL_PIN(160, "SPI5_CK"),
1230 		NULL, "mt2712",
1231 		MTK_EINT_FUNCTION(0, 165),
1232 		MTK_FUNCTION(0, "GPIO160"),
1233 		MTK_FUNCTION(1, "SPI_CK_5_"),
1234 		MTK_FUNCTION(2, "LCM_RST1"),
1235 		MTK_FUNCTION(3, "URXD3")
1236 	),
1237 	MTK_PIN(PINCTRL_PIN(161, "SPI1_CSN"),
1238 		NULL, "mt2712",
1239 		MTK_EINT_FUNCTION(0, 166),
1240 		MTK_FUNCTION(0, "GPIO161"),
1241 		MTK_FUNCTION(1, "SPI_CS_1_"),
1242 		MTK_FUNCTION(2, "SPI_CS_4_"),
1243 		MTK_FUNCTION(4, "I2S_IQ2_SDQB"),
1244 		MTK_FUNCTION(5, "I2SO2_DO"),
1245 		MTK_FUNCTION(6, "TDMO0_DATA1"),
1246 		MTK_FUNCTION(7, "I2SO0_DO1")
1247 	),
1248 	MTK_PIN(PINCTRL_PIN(162, "SPI1_SI"),
1249 		NULL, "mt2712",
1250 		MTK_EINT_FUNCTION(0, 167),
1251 		MTK_FUNCTION(0, "GPIO162"),
1252 		MTK_FUNCTION(1, "SPI_SI_1_"),
1253 		MTK_FUNCTION(2, "SPI_MI_4_"),
1254 		MTK_FUNCTION(4, "I2S_IQ1_SDIB"),
1255 		MTK_FUNCTION(5, "I2SO2_BCK"),
1256 		MTK_FUNCTION(6, "TDMO0_DATA"),
1257 		MTK_FUNCTION(7, "I2SO0_DO0")
1258 	),
1259 	MTK_PIN(PINCTRL_PIN(163, "SPI1_CK"),
1260 		NULL, "mt2712",
1261 		MTK_EINT_FUNCTION(0, 168),
1262 		MTK_FUNCTION(0, "GPIO163"),
1263 		MTK_FUNCTION(1, "SPI_CK_1_"),
1264 		MTK_FUNCTION(2, "SPI_CK_4_"),
1265 		MTK_FUNCTION(4, "I2S_IQ0_SDQB"),
1266 		MTK_FUNCTION(5, "I2SO2_WS"),
1267 		MTK_FUNCTION(6, "TDMO0_BCK"),
1268 		MTK_FUNCTION(7, "I2SO0_BCK")
1269 	),
1270 	MTK_PIN(PINCTRL_PIN(164, "SPI1_SO"),
1271 		NULL, "mt2712",
1272 		MTK_EINT_FUNCTION(0, 169),
1273 		MTK_FUNCTION(0, "GPIO164"),
1274 		MTK_FUNCTION(1, "SPI_SO_1_"),
1275 		MTK_FUNCTION(2, "SPI_MO_4_"),
1276 		MTK_FUNCTION(4, "I2S_IQ0_SDIB"),
1277 		MTK_FUNCTION(5, "I2SO2_MCK"),
1278 		MTK_FUNCTION(6, "TDMO0_LRCK"),
1279 		MTK_FUNCTION(7, "I2SO0_WS")
1280 	),
1281 	MTK_PIN(PINCTRL_PIN(165, "SPI4_CSN"),
1282 		NULL, "mt2712",
1283 		MTK_EINT_FUNCTION(0, 170),
1284 		MTK_FUNCTION(0, "GPIO165"),
1285 		MTK_FUNCTION(1, "SPI_CS_4_"),
1286 		MTK_FUNCTION(2, "LCM_RST0"),
1287 		MTK_FUNCTION(3, "SPI_CS_1_"),
1288 		MTK_FUNCTION(4, "UTXD4"),
1289 		MTK_FUNCTION(5, "I2SO1_DO"),
1290 		MTK_FUNCTION(6, "TDMO0_MCLK"),
1291 		MTK_FUNCTION(7, "I2SO0_MCK")
1292 	),
1293 	MTK_PIN(PINCTRL_PIN(166, "SPI4_MI"),
1294 		NULL, "mt2712",
1295 		MTK_EINT_FUNCTION(0, 171),
1296 		MTK_FUNCTION(0, "GPIO166"),
1297 		MTK_FUNCTION(1, "SPI_MI_4_"),
1298 		MTK_FUNCTION(2, "DSIA_TE"),
1299 		MTK_FUNCTION(3, "SPI_SI_1_"),
1300 		MTK_FUNCTION(4, "URXD4"),
1301 		MTK_FUNCTION(5, "I2SO1_BCK")
1302 	),
1303 	MTK_PIN(PINCTRL_PIN(167, "SPI4_MO"),
1304 		NULL, "mt2712",
1305 		MTK_EINT_FUNCTION(0, 172),
1306 		MTK_FUNCTION(0, "GPIO167"),
1307 		MTK_FUNCTION(1, "SPI_MO_4_"),
1308 		MTK_FUNCTION(2, "DSIB_TE"),
1309 		MTK_FUNCTION(3, "SPI_SO_1_"),
1310 		MTK_FUNCTION(4, "UTXD5"),
1311 		MTK_FUNCTION(5, "I2SO1_WS")
1312 	),
1313 	MTK_PIN(PINCTRL_PIN(168, "SPI4_CK"),
1314 		NULL, "mt2712",
1315 		MTK_EINT_FUNCTION(0, 173),
1316 		MTK_FUNCTION(0, "GPIO168"),
1317 		MTK_FUNCTION(1, "SPI_CK_4_"),
1318 		MTK_FUNCTION(2, "LCM_RST1"),
1319 		MTK_FUNCTION(3, "SPI_CK_1_"),
1320 		MTK_FUNCTION(4, "URXD5"),
1321 		MTK_FUNCTION(5, "I2SO1_MCK")
1322 	),
1323 	MTK_PIN(PINCTRL_PIN(169, "I2SI0_DATA"),
1324 		NULL, "mt2712",
1325 		MTK_EINT_FUNCTION(0, 174),
1326 		MTK_FUNCTION(0, "GPIO169"),
1327 		MTK_FUNCTION(1, "I2SI0_DI"),
1328 		MTK_FUNCTION(2, "I2SI1_DI"),
1329 		MTK_FUNCTION(3, "I2SI2_DI"),
1330 		MTK_FUNCTION(4, "TDMIN_DI")
1331 	),
1332 	MTK_PIN(PINCTRL_PIN(170, "I2SI0_LRCK"),
1333 		NULL, "mt2712",
1334 		MTK_EINT_FUNCTION(0, 175),
1335 		MTK_FUNCTION(0, "GPIO170"),
1336 		MTK_FUNCTION(1, "I2SI0_WS"),
1337 		MTK_FUNCTION(2, "I2SI1_WS"),
1338 		MTK_FUNCTION(3, "I2SI2_WS"),
1339 		MTK_FUNCTION(4, "TDMIN_LRCK"),
1340 		MTK_FUNCTION(5, "TDMO0_DATA3"),
1341 		MTK_FUNCTION(6, "TDMO1_DATA3")
1342 	),
1343 	MTK_PIN(PINCTRL_PIN(171, "I2SI0_MCLK"),
1344 		NULL, "mt2712",
1345 		MTK_EINT_FUNCTION(0, 176),
1346 		MTK_FUNCTION(0, "GPIO171"),
1347 		MTK_FUNCTION(1, "I2SI0_MCK"),
1348 		MTK_FUNCTION(2, "I2SI1_MCK"),
1349 		MTK_FUNCTION(3, "I2SI2_MCK"),
1350 		MTK_FUNCTION(4, "TDMIN_MCLK"),
1351 		MTK_FUNCTION(5, "TDMO0_DATA2"),
1352 		MTK_FUNCTION(6, "TDMO1_DATA2")
1353 	),
1354 	MTK_PIN(PINCTRL_PIN(172, "I2SI0_BCK"),
1355 		NULL, "mt2712",
1356 		MTK_EINT_FUNCTION(0, 177),
1357 		MTK_FUNCTION(0, "GPIO172"),
1358 		MTK_FUNCTION(1, "I2SI0_BCK"),
1359 		MTK_FUNCTION(2, "I2SI1_BCK"),
1360 		MTK_FUNCTION(3, "I2SI2_BCK"),
1361 		MTK_FUNCTION(4, "TDMIN_BCK"),
1362 		MTK_FUNCTION(5, "TDMO0_DATA1"),
1363 		MTK_FUNCTION(6, "TDMO1_DATA1")
1364 	),
1365 	MTK_PIN(PINCTRL_PIN(173, "I2SI2_DATA"),
1366 		NULL, "mt2712",
1367 		MTK_EINT_FUNCTION(0, 178),
1368 		MTK_FUNCTION(0, "GPIO173"),
1369 		MTK_FUNCTION(1, "I2SI2_DI"),
1370 		MTK_FUNCTION(2, "I2SI0_DI"),
1371 		MTK_FUNCTION(3, "I2SI1_DI"),
1372 		MTK_FUNCTION(4, "PCM1_DI"),
1373 		MTK_FUNCTION(5, "TDMIN_DI"),
1374 		MTK_FUNCTION(6, "PCM1_DO")
1375 	),
1376 	MTK_PIN(PINCTRL_PIN(174, "I2SI2_MCLK"),
1377 		NULL, "mt2712",
1378 		MTK_EINT_FUNCTION(0, 179),
1379 		MTK_FUNCTION(0, "GPIO174"),
1380 		MTK_FUNCTION(1, "I2SI2_MCK"),
1381 		MTK_FUNCTION(2, "I2SI0_MCK"),
1382 		MTK_FUNCTION(3, "I2SI1_MCK"),
1383 		MTK_FUNCTION(4, "PCM1_DO"),
1384 		MTK_FUNCTION(5, "TDMIN_MCLK"),
1385 		MTK_FUNCTION(6, "PCM1_DI"),
1386 		MTK_FUNCTION(7, "I2S_IQ2_SDQB")
1387 	),
1388 	MTK_PIN(PINCTRL_PIN(175, "I2SI2_BCK"),
1389 		NULL, "mt2712",
1390 		MTK_EINT_FUNCTION(0, 180),
1391 		MTK_FUNCTION(0, "GPIO175"),
1392 		MTK_FUNCTION(1, "I2SI2_BCK"),
1393 		MTK_FUNCTION(2, "I2SI0_BCK"),
1394 		MTK_FUNCTION(3, "I2SI1_BCK"),
1395 		MTK_FUNCTION(4, "PCM1_CLK"),
1396 		MTK_FUNCTION(5, "TDMIN_BCK")
1397 	),
1398 	MTK_PIN(PINCTRL_PIN(176, "I2SI2_LRCK"),
1399 		NULL, "mt2712",
1400 		MTK_EINT_FUNCTION(0, 181),
1401 		MTK_FUNCTION(0, "GPIO176"),
1402 		MTK_FUNCTION(1, "I2SI2_WS"),
1403 		MTK_FUNCTION(2, "I2SI0_WS"),
1404 		MTK_FUNCTION(3, "I2SI1_WS"),
1405 		MTK_FUNCTION(4, "PCM1_SYNC"),
1406 		MTK_FUNCTION(5, "TDMIN_LRCK")
1407 	),
1408 	MTK_PIN(PINCTRL_PIN(177, "I2SI1_DATA"),
1409 		NULL, "mt2712",
1410 		MTK_EINT_FUNCTION(0, 182),
1411 		MTK_FUNCTION(0, "GPIO177"),
1412 		MTK_FUNCTION(1, "I2SI1_DI"),
1413 		MTK_FUNCTION(2, "I2SI0_DI"),
1414 		MTK_FUNCTION(3, "I2SI2_DI"),
1415 		MTK_FUNCTION(4, "TDMIN_DI")
1416 	),
1417 	MTK_PIN(PINCTRL_PIN(178, "I2SI1_BCK"),
1418 		NULL, "mt2712",
1419 		MTK_EINT_FUNCTION(0, 183),
1420 		MTK_FUNCTION(0, "GPIO178"),
1421 		MTK_FUNCTION(1, "I2SI1_BCK"),
1422 		MTK_FUNCTION(2, "I2SI0_BCK"),
1423 		MTK_FUNCTION(3, "I2SI2_BCK"),
1424 		MTK_FUNCTION(4, "TDMIN_BCK"),
1425 		MTK_FUNCTION(5, "TDMO0_DATA3"),
1426 		MTK_FUNCTION(6, "TDMO1_DATA3")
1427 	),
1428 	MTK_PIN(PINCTRL_PIN(179, "I2SI1_LRCK"),
1429 		NULL, "mt2712",
1430 		MTK_EINT_FUNCTION(0, 184),
1431 		MTK_FUNCTION(0, "GPIO179"),
1432 		MTK_FUNCTION(1, "I2SI1_WS"),
1433 		MTK_FUNCTION(2, "I2SI0_WS"),
1434 		MTK_FUNCTION(3, "I2SI2_WS"),
1435 		MTK_FUNCTION(4, "TDMIN_LRCK"),
1436 		MTK_FUNCTION(5, "TDMO0_DATA2"),
1437 		MTK_FUNCTION(6, "TDMO1_DATA2")
1438 	),
1439 	MTK_PIN(PINCTRL_PIN(180, "I2SI1_MCLK"),
1440 		NULL, "mt2712",
1441 		MTK_EINT_FUNCTION(0, 185),
1442 		MTK_FUNCTION(0, "GPIO180"),
1443 		MTK_FUNCTION(1, "I2SI1_MCK"),
1444 		MTK_FUNCTION(2, "I2SI0_MCK"),
1445 		MTK_FUNCTION(3, "I2SI2_MCK"),
1446 		MTK_FUNCTION(4, "TDMIN_MCLK"),
1447 		MTK_FUNCTION(5, "TDMO0_DATA1"),
1448 		MTK_FUNCTION(6, "TDMO1_DATA1"),
1449 		MTK_FUNCTION(7, "I2S_IQ2_SDIB")
1450 	),
1451 	MTK_PIN(PINCTRL_PIN(181, "I2SO1_DATA0"),
1452 		NULL, "mt2712",
1453 		MTK_EINT_FUNCTION(0, 186),
1454 		MTK_FUNCTION(0, "GPIO181"),
1455 		MTK_FUNCTION(1, "I2SO1_DO"),
1456 		MTK_FUNCTION(2, "I2SO0_DO0"),
1457 		MTK_FUNCTION(3, "I2SO2_DO"),
1458 		MTK_FUNCTION(4, "DAI_TX"),
1459 		MTK_FUNCTION(5, "TDMIN_MCLK"),
1460 		MTK_FUNCTION(7, "I2S_IQ2_SDIA")
1461 	),
1462 	MTK_PIN(PINCTRL_PIN(182, "I2SO1_BCK"),
1463 		NULL, "mt2712",
1464 		MTK_EINT_FUNCTION(0, 187),
1465 		MTK_FUNCTION(0, "GPIO182"),
1466 		MTK_FUNCTION(1, "I2SO1_BCK"),
1467 		MTK_FUNCTION(2, "I2SO0_BCK"),
1468 		MTK_FUNCTION(3, "I2SO2_BCK"),
1469 		MTK_FUNCTION(4, "DAI_SYNC"),
1470 		MTK_FUNCTION(5, "TDMIN_BCK"),
1471 		MTK_FUNCTION(6, "TDMO0_DATA3"),
1472 		MTK_FUNCTION(7, "I2S_IQ2_BCK")
1473 	),
1474 	MTK_PIN(PINCTRL_PIN(183, "I2SO1_LRCK"),
1475 		NULL, "mt2712",
1476 		MTK_EINT_FUNCTION(0, 188),
1477 		MTK_FUNCTION(0, "GPIO183"),
1478 		MTK_FUNCTION(1, "I2SO1_WS"),
1479 		MTK_FUNCTION(2, "I2SO0_WS"),
1480 		MTK_FUNCTION(3, "I2SO2_WS"),
1481 		MTK_FUNCTION(4, "DAI_CLK"),
1482 		MTK_FUNCTION(5, "TDMIN_DI"),
1483 		MTK_FUNCTION(6, "TDMO0_DATA2"),
1484 		MTK_FUNCTION(7, "I2S_IQ2_WS")
1485 	),
1486 	MTK_PIN(PINCTRL_PIN(184, "I2SO1_MCLK"),
1487 		NULL, "mt2712",
1488 		MTK_EINT_FUNCTION(0, 189),
1489 		MTK_FUNCTION(0, "GPIO184"),
1490 		MTK_FUNCTION(1, "I2SO1_MCK"),
1491 		MTK_FUNCTION(2, "I2SO0_MCK"),
1492 		MTK_FUNCTION(3, "I2SO2_MCK"),
1493 		MTK_FUNCTION(4, "DAI_RX"),
1494 		MTK_FUNCTION(5, "TDMIN_LRCK"),
1495 		MTK_FUNCTION(6, "TDMO0_DATA1"),
1496 		MTK_FUNCTION(7, "I2S_IQ2_SDQA")
1497 	),
1498 	MTK_PIN(PINCTRL_PIN(185, "AUD_EXT_CK2"),
1499 		NULL, "mt2712",
1500 		MTK_EINT_FUNCTION(0, 190),
1501 		MTK_FUNCTION(0, "GPIO185"),
1502 		MTK_FUNCTION(1, "AUD_EXT_CK2"),
1503 		MTK_FUNCTION(2, "AUD_EXT_CK1"),
1504 		MTK_FUNCTION(3, "I2SO1_DO"),
1505 		MTK_FUNCTION(4, "I2SI2_DI"),
1506 		MTK_FUNCTION(5, "MRG_RX"),
1507 		MTK_FUNCTION(6, "PCM1_DI"),
1508 		MTK_FUNCTION(7, "I2S_IQ0_SDQB")
1509 	),
1510 	MTK_PIN(PINCTRL_PIN(186, "AUD_EXT_CK1"),
1511 		NULL, "mt2712",
1512 		MTK_EINT_FUNCTION(0, 191),
1513 		MTK_FUNCTION(0, "GPIO186"),
1514 		MTK_FUNCTION(1, "AUD_EXT_CK1"),
1515 		MTK_FUNCTION(2, "AUD_EXT_CK2"),
1516 		MTK_FUNCTION(3, "I2SO0_DO1"),
1517 		MTK_FUNCTION(4, "I2SI1_DI"),
1518 		MTK_FUNCTION(5, "MRG_TX"),
1519 		MTK_FUNCTION(6, "PCM1_DO"),
1520 		MTK_FUNCTION(7, "I2S_IQ0_SDIB")
1521 	),
1522 	MTK_PIN(PINCTRL_PIN(187, "I2SO2_BCK"),
1523 		NULL, "mt2712",
1524 		MTK_EINT_FUNCTION(0, 192),
1525 		MTK_FUNCTION(0, "GPIO187"),
1526 		MTK_FUNCTION(1, "I2SO2_BCK"),
1527 		MTK_FUNCTION(2, "I2SO0_BCK"),
1528 		MTK_FUNCTION(3, "I2SO1_BCK"),
1529 		MTK_FUNCTION(4, "PCM1_CLK"),
1530 		MTK_FUNCTION(5, "MRG_SYNC"),
1531 		MTK_FUNCTION(6, "TDMO1_DATA3"),
1532 		MTK_FUNCTION(7, "I2S_IQ0_BCK")
1533 	),
1534 	MTK_PIN(PINCTRL_PIN(188, "I2SO2_LRCK"),
1535 		NULL, "mt2712",
1536 		MTK_EINT_FUNCTION(0, 193),
1537 		MTK_FUNCTION(0, "GPIO188"),
1538 		MTK_FUNCTION(1, "I2SO2_WS"),
1539 		MTK_FUNCTION(2, "I2SO0_WS"),
1540 		MTK_FUNCTION(3, "I2SO1_WS"),
1541 		MTK_FUNCTION(4, "PCM1_SYNC"),
1542 		MTK_FUNCTION(5, "MRG_CLK"),
1543 		MTK_FUNCTION(6, "TDMO1_DATA2"),
1544 		MTK_FUNCTION(7, "I2S_IQ0_WS")
1545 	),
1546 	MTK_PIN(PINCTRL_PIN(189, "I2SO2_MCLK"),
1547 		NULL, "mt2712",
1548 		MTK_EINT_FUNCTION(0, 194),
1549 		MTK_FUNCTION(0, "GPIO189"),
1550 		MTK_FUNCTION(1, "I2SO2_MCK"),
1551 		MTK_FUNCTION(2, "I2SO0_MCK"),
1552 		MTK_FUNCTION(3, "I2SO1_MCK"),
1553 		MTK_FUNCTION(4, "PCM1_DO"),
1554 		MTK_FUNCTION(5, "MRG_RX"),
1555 		MTK_FUNCTION(6, "TDMO1_DATA1"),
1556 		MTK_FUNCTION(7, "I2S_IQ0_SDQA")
1557 	),
1558 	MTK_PIN(PINCTRL_PIN(190, "I2SO2_DATA0"),
1559 		NULL, "mt2712",
1560 		MTK_EINT_FUNCTION(0, 195),
1561 		MTK_FUNCTION(0, "GPIO190"),
1562 		MTK_FUNCTION(1, "I2SO2_DO"),
1563 		MTK_FUNCTION(2, "I2SO0_DO0"),
1564 		MTK_FUNCTION(3, "I2SO1_DO"),
1565 		MTK_FUNCTION(4, "PCM1_DI"),
1566 		MTK_FUNCTION(5, "MRG_TX"),
1567 		MTK_FUNCTION(6, "PCM1_DO"),
1568 		MTK_FUNCTION(7, "I2S_IQ0_SDIA")
1569 	),
1570 	MTK_PIN(PINCTRL_PIN(191, "I2SO0_DATA1"),
1571 		NULL, "mt2712",
1572 		MTK_EINT_FUNCTION(0, 196),
1573 		MTK_FUNCTION(0, "GPIO191"),
1574 		MTK_FUNCTION(1, "I2SO0_DO1"),
1575 		MTK_FUNCTION(2, "I2SI0_DI"),
1576 		MTK_FUNCTION(3, "I2SI1_DI"),
1577 		MTK_FUNCTION(4, "I2SI2_DI"),
1578 		MTK_FUNCTION(5, "DAI_TX"),
1579 		MTK_FUNCTION(6, "I2S_IQ0_SDQB"),
1580 		MTK_FUNCTION(7, "I2S_IQ1_SDQB")
1581 	),
1582 	MTK_PIN(PINCTRL_PIN(192, "I2SO0_MCLK"),
1583 		NULL, "mt2712",
1584 		MTK_EINT_FUNCTION(0, 197),
1585 		MTK_FUNCTION(0, "GPIO192"),
1586 		MTK_FUNCTION(1, "I2SO0_MCK"),
1587 		MTK_FUNCTION(2, "I2SO1_MCK"),
1588 		MTK_FUNCTION(3, "I2SO2_MCK"),
1589 		MTK_FUNCTION(4, "USB4_FT_SCL"),
1590 		MTK_FUNCTION(5, "TDMO1_DATA3"),
1591 		MTK_FUNCTION(6, "I2S_IQ0_SDIB"),
1592 		MTK_FUNCTION(7, "I2S_IQ1_SDQA")
1593 	),
1594 	MTK_PIN(PINCTRL_PIN(193, "I2SO0_DATA0"),
1595 		NULL, "mt2712",
1596 		MTK_EINT_FUNCTION(0, 198),
1597 		MTK_FUNCTION(0, "GPIO193"),
1598 		MTK_FUNCTION(1, "I2SO0_DO0"),
1599 		MTK_FUNCTION(2, "I2SO1_DO"),
1600 		MTK_FUNCTION(3, "I2SO2_DO"),
1601 		MTK_FUNCTION(4, "USB4_FT_SDA"),
1602 		MTK_FUNCTION(7, "I2S_IQ1_SDIA")
1603 	),
1604 	MTK_PIN(PINCTRL_PIN(194, "I2SO0_LRCK"),
1605 		NULL, "mt2712",
1606 		MTK_EINT_FUNCTION(0, 199),
1607 		MTK_FUNCTION(0, "GPIO194"),
1608 		MTK_FUNCTION(1, "I2SO0_WS"),
1609 		MTK_FUNCTION(2, "I2SO1_WS"),
1610 		MTK_FUNCTION(3, "I2SO2_WS"),
1611 		MTK_FUNCTION(4, "USB5_FT_SCL"),
1612 		MTK_FUNCTION(5, "TDMO1_DATA2"),
1613 		MTK_FUNCTION(7, "I2S_IQ1_WS")
1614 	),
1615 	MTK_PIN(PINCTRL_PIN(195, "I2SO0_BCK"),
1616 		NULL, "mt2712",
1617 		MTK_EINT_FUNCTION(0, 200),
1618 		MTK_FUNCTION(0, "GPIO195"),
1619 		MTK_FUNCTION(1, "I2SO0_BCK"),
1620 		MTK_FUNCTION(2, "I2SO1_BCK"),
1621 		MTK_FUNCTION(3, "I2SO2_BCK"),
1622 		MTK_FUNCTION(4, "USB5_FT_SDA"),
1623 		MTK_FUNCTION(5, "TDMO1_DATA1"),
1624 		MTK_FUNCTION(7, "I2S_IQ1_BCK")
1625 	),
1626 	MTK_PIN(PINCTRL_PIN(196, "TDMO1_MCLK"),
1627 		NULL, "mt2712",
1628 		MTK_EINT_FUNCTION(0, 201),
1629 		MTK_FUNCTION(0, "GPIO196"),
1630 		MTK_FUNCTION(1, "TDMO1_MCLK"),
1631 		MTK_FUNCTION(2, "TDMO0_MCLK"),
1632 		MTK_FUNCTION(3, "TDMIN_MCLK"),
1633 		MTK_FUNCTION(6, "I2SO0_DO1"),
1634 		MTK_FUNCTION(7, "I2S_IQ1_SDIB")
1635 	),
1636 	MTK_PIN(PINCTRL_PIN(197, "TDMO1_LRCK"),
1637 		NULL, "mt2712",
1638 		MTK_EINT_FUNCTION(0, 202),
1639 		MTK_FUNCTION(0, "GPIO197"),
1640 		MTK_FUNCTION(1, "TDMO1_LRCK"),
1641 		MTK_FUNCTION(2, "TDMO0_LRCK"),
1642 		MTK_FUNCTION(3, "TDMIN_LRCK"),
1643 		MTK_FUNCTION(4, "TDMO0_DATA3"),
1644 		MTK_FUNCTION(5, "TDMO1_DATA3"),
1645 		MTK_FUNCTION(6, "I2SO3_MCK"),
1646 		MTK_FUNCTION(7, "TDMO1_DATA2")
1647 	),
1648 	MTK_PIN(PINCTRL_PIN(198, "TDMO1_BCK"),
1649 		NULL, "mt2712",
1650 		MTK_EINT_FUNCTION(0, 203),
1651 		MTK_FUNCTION(0, "GPIO198"),
1652 		MTK_FUNCTION(1, "TDMO1_BCK"),
1653 		MTK_FUNCTION(2, "TDMO0_BCK"),
1654 		MTK_FUNCTION(3, "TDMIN_BCK"),
1655 		MTK_FUNCTION(4, "TDMO0_DATA2"),
1656 		MTK_FUNCTION(5, "TDMO1_DATA2"),
1657 		MTK_FUNCTION(6, "I2SO3_BCK"),
1658 		MTK_FUNCTION(7, "TDMO1_DATA1")
1659 	),
1660 	MTK_PIN(PINCTRL_PIN(199, "TDMO1_DATA"),
1661 		NULL, "mt2712",
1662 		MTK_EINT_FUNCTION(0, 204),
1663 		MTK_FUNCTION(0, "GPIO199"),
1664 		MTK_FUNCTION(1, "TDMO1_DATA"),
1665 		MTK_FUNCTION(2, "TDMO0_DATA"),
1666 		MTK_FUNCTION(3, "TDMIN_DI"),
1667 		MTK_FUNCTION(4, "TDMO0_DATA1"),
1668 		MTK_FUNCTION(5, "TDMO1_DATA1"),
1669 		MTK_FUNCTION(6, "I2SO3_WS")
1670 	),
1671 	MTK_PIN(PINCTRL_PIN(200, "TDMO0_MCLK"),
1672 		NULL, "mt2712",
1673 		MTK_EINT_FUNCTION(0, 205),
1674 		MTK_FUNCTION(0, "GPIO200"),
1675 		MTK_FUNCTION(1, "TDMO0_MCLK"),
1676 		MTK_FUNCTION(2, "TDMO1_MCLK"),
1677 		MTK_FUNCTION(3, "PCM1_DI"),
1678 		MTK_FUNCTION(4, "TDMO0_MCLK"),
1679 		MTK_FUNCTION(5, "TDMO1_MCLK"),
1680 		MTK_FUNCTION(6, "MRG_TX"),
1681 		MTK_FUNCTION(7, "I2SO2_MCK")
1682 	),
1683 	MTK_PIN(PINCTRL_PIN(201, "TDMO0_LRCK"),
1684 		NULL, "mt2712",
1685 		MTK_EINT_FUNCTION(0, 206),
1686 		MTK_FUNCTION(0, "GPIO201"),
1687 		MTK_FUNCTION(1, "TDMO0_LRCK"),
1688 		MTK_FUNCTION(2, "TDMO1_LRCK"),
1689 		MTK_FUNCTION(3, "PCM1_SYNC"),
1690 		MTK_FUNCTION(4, "TDMO0_LRCK"),
1691 		MTK_FUNCTION(5, "TDMO1_LRCK"),
1692 		MTK_FUNCTION(6, "MRG_RX"),
1693 		MTK_FUNCTION(7, "I2SO2_WS")
1694 	),
1695 	MTK_PIN(PINCTRL_PIN(202, "TDMO0_BCK"),
1696 		NULL, "mt2712",
1697 		MTK_EINT_FUNCTION(0, 207),
1698 		MTK_FUNCTION(0, "GPIO202"),
1699 		MTK_FUNCTION(1, "TDMO0_BCK"),
1700 		MTK_FUNCTION(2, "TDMO1_BCK"),
1701 		MTK_FUNCTION(3, "PCM1_CLK"),
1702 		MTK_FUNCTION(4, "TDMO0_BCK"),
1703 		MTK_FUNCTION(5, "TDMO1_BCK"),
1704 		MTK_FUNCTION(6, "MRG_SYNC"),
1705 		MTK_FUNCTION(7, "I2SO2_BCK")
1706 	),
1707 	MTK_PIN(PINCTRL_PIN(203, "TDMO0_DATA"),
1708 		NULL, "mt2712",
1709 		MTK_EINT_FUNCTION(0, 208),
1710 		MTK_FUNCTION(0, "GPIO203"),
1711 		MTK_FUNCTION(1, "TDMO0_DATA"),
1712 		MTK_FUNCTION(2, "TDMO1_DATA"),
1713 		MTK_FUNCTION(3, "PCM1_DO"),
1714 		MTK_FUNCTION(4, "TDMO0_DATA"),
1715 		MTK_FUNCTION(5, "TDMO1_DATA"),
1716 		MTK_FUNCTION(6, "MRG_CLK"),
1717 		MTK_FUNCTION(7, "I2SO2_DO")
1718 	),
1719 	MTK_PIN(PINCTRL_PIN(204, "PERSTB_P0"),
1720 		NULL, "mt2712",
1721 		MTK_EINT_FUNCTION(0, 209),
1722 		MTK_FUNCTION(0, "GPIO204"),
1723 		MTK_FUNCTION(1, "PERST_B_P0")
1724 	),
1725 	MTK_PIN(PINCTRL_PIN(205, "CLKREQN_P0"),
1726 		NULL, "mt2712",
1727 		MTK_EINT_FUNCTION(0, 210),
1728 		MTK_FUNCTION(0, "GPIO205"),
1729 		MTK_FUNCTION(1, "CLKREQ_N_P0")
1730 	),
1731 	MTK_PIN(PINCTRL_PIN(206, "WAKEEN_P0"),
1732 		NULL, "mt2712",
1733 		MTK_EINT_FUNCTION(0, 211),
1734 		MTK_FUNCTION(0, "GPIO206"),
1735 		MTK_FUNCTION(1, "WAKE_EN_P0")
1736 	),
1737 	MTK_PIN(PINCTRL_PIN(207, "PERSTB_P1"),
1738 		NULL, "mt2712",
1739 		MTK_EINT_FUNCTION(0, 212),
1740 		MTK_FUNCTION(0, "GPIO207"),
1741 		MTK_FUNCTION(1, "PERST_B_P1")
1742 	),
1743 	MTK_PIN(PINCTRL_PIN(208, "CLKREQN_P1"),
1744 		NULL, "mt2712",
1745 		MTK_EINT_FUNCTION(0, 213),
1746 		MTK_FUNCTION(0, "GPIO208"),
1747 		MTK_FUNCTION(1, "CLKREQ_N_P1")
1748 	),
1749 	MTK_PIN(PINCTRL_PIN(209, "WAKEEN_P1"),
1750 		NULL, "mt2712",
1751 		MTK_EINT_FUNCTION(0, 214),
1752 		MTK_FUNCTION(0, "GPIO209"),
1753 		MTK_FUNCTION(1, "WAKE_EN_P1")
1754 	),
1755 };
1756 
1757 #endif /* __PINCTRL_MTK_MT2712_H */
1758