xref: /linux/drivers/pinctrl/mediatek/pinctrl-mtk-mt8135.h (revision 547f574fd9d5e3925d47fd44decbf6ab6df94b0e)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * Copyright (c) 2014 MediaTek Inc.
4  * Author: Hongzhou.Yang <hongzhou.yang@mediatek.com>
5  */
6 
7 #ifndef __PINCTRL_MTK_MT8135_H
8 #define __PINCTRL_MTK_MT8135_H
9 
10 #include <linux/pinctrl/pinctrl.h>
11 #include "pinctrl-mtk-common.h"
12 
13 static const struct mtk_desc_pin mtk_pins_mt8135[] = {
14 	MTK_PIN(PINCTRL_PIN(0, "MSDC0_DAT7"),
15 		"D21", "mt8135",
16 		MTK_EINT_FUNCTION(2, 49),
17 		MTK_FUNCTION(0, "GPIO0"),
18 		MTK_FUNCTION(1, "MSDC0_DAT7"),
19 		MTK_FUNCTION(2, "EINT49"),
20 		MTK_FUNCTION(3, "I2SOUT_DAT"),
21 		MTK_FUNCTION(4, "DAC_DAT_OUT"),
22 		MTK_FUNCTION(5, "PCM1_DO"),
23 		MTK_FUNCTION(6, "SPI1_MO"),
24 		MTK_FUNCTION(7, "NALE")
25 	),
26 	MTK_PIN(PINCTRL_PIN(1, "MSDC0_DAT6"),
27 		"D22", "mt8135",
28 		MTK_EINT_FUNCTION(2, 48),
29 		MTK_FUNCTION(0, "GPIO1"),
30 		MTK_FUNCTION(1, "MSDC0_DAT6"),
31 		MTK_FUNCTION(2, "EINT48"),
32 		MTK_FUNCTION(3, "I2SIN_WS"),
33 		MTK_FUNCTION(4, "DAC_WS"),
34 		MTK_FUNCTION(5, "PCM1_WS"),
35 		MTK_FUNCTION(6, "SPI1_CSN"),
36 		MTK_FUNCTION(7, "NCLE")
37 	),
38 	MTK_PIN(PINCTRL_PIN(2, "MSDC0_DAT5"),
39 		"E22", "mt8135",
40 		MTK_EINT_FUNCTION(2, 47),
41 		MTK_FUNCTION(0, "GPIO2"),
42 		MTK_FUNCTION(1, "MSDC0_DAT5"),
43 		MTK_FUNCTION(2, "EINT47"),
44 		MTK_FUNCTION(3, "I2SIN_CK"),
45 		MTK_FUNCTION(4, "DAC_CK"),
46 		MTK_FUNCTION(5, "PCM1_CK"),
47 		MTK_FUNCTION(6, "SPI1_CLK"),
48 		MTK_FUNCTION(7, "NLD4")
49 	),
50 	MTK_PIN(PINCTRL_PIN(3, "MSDC0_DAT4"),
51 		"F21", "mt8135",
52 		MTK_EINT_FUNCTION(2, 46),
53 		MTK_FUNCTION(0, "GPIO3"),
54 		MTK_FUNCTION(1, "MSDC0_DAT4"),
55 		MTK_FUNCTION(2, "EINT46"),
56 		MTK_FUNCTION(3, "A_FUNC_CK"),
57 		MTK_FUNCTION(6, "LSCE1B_2X"),
58 		MTK_FUNCTION(7, "NLD5")
59 	),
60 	MTK_PIN(PINCTRL_PIN(4, "MSDC0_CMD"),
61 		"F20", "mt8135",
62 		MTK_EINT_FUNCTION(2, 41),
63 		MTK_FUNCTION(0, "GPIO4"),
64 		MTK_FUNCTION(1, "MSDC0_CMD"),
65 		MTK_FUNCTION(2, "EINT41"),
66 		MTK_FUNCTION(3, "A_FUNC_DOUT[0]"),
67 		MTK_FUNCTION(5, "USB_TEST_IO[0]"),
68 		MTK_FUNCTION(6, "LRSTB_2X"),
69 		MTK_FUNCTION(7, "NRNB")
70 	),
71 	MTK_PIN(PINCTRL_PIN(5, "MSDC0_CLK"),
72 		"G18", "mt8135",
73 		MTK_EINT_FUNCTION(2, 40),
74 		MTK_FUNCTION(0, "GPIO5"),
75 		MTK_FUNCTION(1, "MSDC0_CLK"),
76 		MTK_FUNCTION(2, "EINT40"),
77 		MTK_FUNCTION(3, "A_FUNC_DOUT[1]"),
78 		MTK_FUNCTION(5, "USB_TEST_IO[1]"),
79 		MTK_FUNCTION(6, "LPTE"),
80 		MTK_FUNCTION(7, "NREB")
81 	),
82 	MTK_PIN(PINCTRL_PIN(6, "MSDC0_DAT3"),
83 		"G21", "mt8135",
84 		MTK_EINT_FUNCTION(2, 45),
85 		MTK_FUNCTION(0, "GPIO6"),
86 		MTK_FUNCTION(1, "MSDC0_DAT3"),
87 		MTK_FUNCTION(2, "EINT45"),
88 		MTK_FUNCTION(3, "A_FUNC_DOUT[2]"),
89 		MTK_FUNCTION(5, "USB_TEST_IO[2]"),
90 		MTK_FUNCTION(6, "LSCE0B_2X"),
91 		MTK_FUNCTION(7, "NLD7")
92 	),
93 	MTK_PIN(PINCTRL_PIN(7, "MSDC0_DAT2"),
94 		"E21", "mt8135",
95 		MTK_EINT_FUNCTION(2, 44),
96 		MTK_FUNCTION(0, "GPIO7"),
97 		MTK_FUNCTION(1, "MSDC0_DAT2"),
98 		MTK_FUNCTION(2, "EINT44"),
99 		MTK_FUNCTION(3, "A_FUNC_DOUT[3]"),
100 		MTK_FUNCTION(5, "USB_TEST_IO[3]"),
101 		MTK_FUNCTION(6, "LSA0_2X"),
102 		MTK_FUNCTION(7, "NLD14")
103 	),
104 	MTK_PIN(PINCTRL_PIN(8, "MSDC0_DAT1"),
105 		"E23", "mt8135",
106 		MTK_EINT_FUNCTION(2, 43),
107 		MTK_FUNCTION(0, "GPIO8"),
108 		MTK_FUNCTION(1, "MSDC0_DAT1"),
109 		MTK_FUNCTION(2, "EINT43"),
110 		MTK_FUNCTION(5, "USB_TEST_IO[4]"),
111 		MTK_FUNCTION(6, "LSCK_2X"),
112 		MTK_FUNCTION(7, "NLD11")
113 	),
114 	MTK_PIN(PINCTRL_PIN(9, "MSDC0_DAT0"),
115 		"F22", "mt8135",
116 		MTK_EINT_FUNCTION(2, 42),
117 		MTK_FUNCTION(0, "GPIO9"),
118 		MTK_FUNCTION(1, "MSDC0_DAT0"),
119 		MTK_FUNCTION(2, "EINT42"),
120 		MTK_FUNCTION(5, "USB_TEST_IO[5]"),
121 		MTK_FUNCTION(6, "LSDA_2X")
122 	),
123 	MTK_PIN(PINCTRL_PIN(10, "NCEB0"),
124 		"G20", "mt8135",
125 		MTK_EINT_FUNCTION(2, 139),
126 		MTK_FUNCTION(0, "GPIO10"),
127 		MTK_FUNCTION(1, "NCEB0"),
128 		MTK_FUNCTION(2, "EINT139"),
129 		MTK_FUNCTION(7, "TESTA_OUT4")
130 	),
131 	MTK_PIN(PINCTRL_PIN(11, "NCEB1"),
132 		"L17", "mt8135",
133 		MTK_EINT_FUNCTION(2, 140),
134 		MTK_FUNCTION(0, "GPIO11"),
135 		MTK_FUNCTION(1, "NCEB1"),
136 		MTK_FUNCTION(2, "EINT140"),
137 		MTK_FUNCTION(6, "USB_DRVVBUS"),
138 		MTK_FUNCTION(7, "TESTA_OUT5")
139 	),
140 	MTK_PIN(PINCTRL_PIN(12, "NRNB"),
141 		"G19", "mt8135",
142 		MTK_EINT_FUNCTION(2, 141),
143 		MTK_FUNCTION(0, "GPIO12"),
144 		MTK_FUNCTION(1, "NRNB"),
145 		MTK_FUNCTION(2, "EINT141"),
146 		MTK_FUNCTION(3, "A_FUNC_DOUT[4]"),
147 		MTK_FUNCTION(7, "TESTA_OUT6")
148 	),
149 	MTK_PIN(PINCTRL_PIN(13, "NCLE"),
150 		"J18", "mt8135",
151 		MTK_EINT_FUNCTION(2, 142),
152 		MTK_FUNCTION(0, "GPIO13"),
153 		MTK_FUNCTION(1, "NCLE"),
154 		MTK_FUNCTION(2, "EINT142"),
155 		MTK_FUNCTION(3, "A_FUNC_DOUT[5]"),
156 		MTK_FUNCTION(4, "CM2PDN_1X"),
157 		MTK_FUNCTION(6, "NALE"),
158 		MTK_FUNCTION(7, "TESTA_OUT7")
159 	),
160 	MTK_PIN(PINCTRL_PIN(14, "NALE"),
161 		"J19", "mt8135",
162 		MTK_EINT_FUNCTION(2, 143),
163 		MTK_FUNCTION(0, "GPIO14"),
164 		MTK_FUNCTION(1, "NALE"),
165 		MTK_FUNCTION(2, "EINT143"),
166 		MTK_FUNCTION(3, "A_FUNC_DOUT[6]"),
167 		MTK_FUNCTION(4, "CM2MCLK_1X"),
168 		MTK_FUNCTION(5, "IRDA_RXD"),
169 		MTK_FUNCTION(6, "NCLE"),
170 		MTK_FUNCTION(7, "TESTA_OUT8")
171 	),
172 	MTK_PIN(PINCTRL_PIN(15, "NREB"),
173 		"L18", "mt8135",
174 		MTK_EINT_FUNCTION(2, 144),
175 		MTK_FUNCTION(0, "GPIO15"),
176 		MTK_FUNCTION(1, "NREB"),
177 		MTK_FUNCTION(2, "EINT144"),
178 		MTK_FUNCTION(3, "A_FUNC_DOUT[7]"),
179 		MTK_FUNCTION(4, "CM2RST_1X"),
180 		MTK_FUNCTION(5, "IRDA_TXD"),
181 		MTK_FUNCTION(7, "TESTA_OUT9")
182 	),
183 	MTK_PIN(PINCTRL_PIN(16, "NWEB"),
184 		"J20", "mt8135",
185 		MTK_EINT_FUNCTION(2, 145),
186 		MTK_FUNCTION(0, "GPIO16"),
187 		MTK_FUNCTION(1, "NWEB"),
188 		MTK_FUNCTION(2, "EINT145"),
189 		MTK_FUNCTION(3, "A_FUNC_DIN[0]"),
190 		MTK_FUNCTION(4, "CM2PCLK_1X"),
191 		MTK_FUNCTION(5, "IRDA_PDN"),
192 		MTK_FUNCTION(7, "TESTA_OUT10")
193 	),
194 	MTK_PIN(PINCTRL_PIN(17, "NLD0"),
195 		"K21", "mt8135",
196 		MTK_EINT_FUNCTION(2, 146),
197 		MTK_FUNCTION(0, "GPIO17"),
198 		MTK_FUNCTION(1, "NLD0"),
199 		MTK_FUNCTION(2, "EINT146"),
200 		MTK_FUNCTION(3, "A_FUNC_DIN[1]"),
201 		MTK_FUNCTION(4, "CM2DAT_1X[0]"),
202 		MTK_FUNCTION(5, "I2SIN_CK"),
203 		MTK_FUNCTION(6, "DAC_CK"),
204 		MTK_FUNCTION(7, "TESTA_OUT11")
205 	),
206 	MTK_PIN(PINCTRL_PIN(18, "NLD1"),
207 		"K22", "mt8135",
208 		MTK_EINT_FUNCTION(2, 147),
209 		MTK_FUNCTION(0, "GPIO18"),
210 		MTK_FUNCTION(1, "NLD1"),
211 		MTK_FUNCTION(2, "EINT147"),
212 		MTK_FUNCTION(3, "A_FUNC_DIN[2]"),
213 		MTK_FUNCTION(4, "CM2DAT_1X[1]"),
214 		MTK_FUNCTION(5, "I2SIN_WS"),
215 		MTK_FUNCTION(6, "DAC_WS"),
216 		MTK_FUNCTION(7, "TESTA_OUT12")
217 	),
218 	MTK_PIN(PINCTRL_PIN(19, "NLD2"),
219 		"J21", "mt8135",
220 		MTK_EINT_FUNCTION(2, 148),
221 		MTK_FUNCTION(0, "GPIO19"),
222 		MTK_FUNCTION(1, "NLD2"),
223 		MTK_FUNCTION(2, "EINT148"),
224 		MTK_FUNCTION(3, "A_FUNC_DIN[3]"),
225 		MTK_FUNCTION(4, "CM2DAT_1X[2]"),
226 		MTK_FUNCTION(5, "I2SOUT_DAT"),
227 		MTK_FUNCTION(6, "DAC_DAT_OUT"),
228 		MTK_FUNCTION(7, "TESTA_OUT13")
229 	),
230 	MTK_PIN(PINCTRL_PIN(20, "NLD3"),
231 		"J23", "mt8135",
232 		MTK_EINT_FUNCTION(2, 149),
233 		MTK_FUNCTION(0, "GPIO20"),
234 		MTK_FUNCTION(1, "NLD3"),
235 		MTK_FUNCTION(2, "EINT149"),
236 		MTK_FUNCTION(3, "A_FUNC_DIN[4]"),
237 		MTK_FUNCTION(4, "CM2DAT_1X[3]"),
238 		MTK_FUNCTION(7, "TESTA_OUT14")
239 	),
240 	MTK_PIN(PINCTRL_PIN(21, "NLD4"),
241 		"J22", "mt8135",
242 		MTK_EINT_FUNCTION(2, 150),
243 		MTK_FUNCTION(0, "GPIO21"),
244 		MTK_FUNCTION(1, "NLD4"),
245 		MTK_FUNCTION(2, "EINT150"),
246 		MTK_FUNCTION(3, "A_FUNC_DIN[5]"),
247 		MTK_FUNCTION(4, "CM2DAT_1X[4]"),
248 		MTK_FUNCTION(7, "TESTA_OUT15")
249 	),
250 	MTK_PIN(PINCTRL_PIN(22, "NLD5"),
251 		"H21", "mt8135",
252 		MTK_EINT_FUNCTION(2, 151),
253 		MTK_FUNCTION(0, "GPIO22"),
254 		MTK_FUNCTION(1, "NLD5"),
255 		MTK_FUNCTION(2, "EINT151"),
256 		MTK_FUNCTION(3, "A_FUNC_DIN[6]"),
257 		MTK_FUNCTION(4, "CM2DAT_1X[5]"),
258 		MTK_FUNCTION(7, "TESTA_OUT16")
259 	),
260 	MTK_PIN(PINCTRL_PIN(23, "NLD6"),
261 		"H22", "mt8135",
262 		MTK_EINT_FUNCTION(2, 152),
263 		MTK_FUNCTION(0, "GPIO23"),
264 		MTK_FUNCTION(1, "NLD6"),
265 		MTK_FUNCTION(2, "EINT152"),
266 		MTK_FUNCTION(3, "A_FUNC_DIN[7]"),
267 		MTK_FUNCTION(4, "CM2DAT_1X[6]"),
268 		MTK_FUNCTION(7, "TESTA_OUT17")
269 	),
270 	MTK_PIN(PINCTRL_PIN(24, "NLD7"),
271 		"H20", "mt8135",
272 		MTK_EINT_FUNCTION(2, 153),
273 		MTK_FUNCTION(0, "GPIO24"),
274 		MTK_FUNCTION(1, "NLD7"),
275 		MTK_FUNCTION(2, "EINT153"),
276 		MTK_FUNCTION(3, "A_FUNC_DIN[8]"),
277 		MTK_FUNCTION(4, "CM2DAT_1X[7]"),
278 		MTK_FUNCTION(7, "TESTA_OUT18")
279 	),
280 	MTK_PIN(PINCTRL_PIN(25, "NLD8"),
281 		NULL, "mt8135",
282 		MTK_EINT_FUNCTION(2, 154),
283 		MTK_FUNCTION(0, "GPIO25"),
284 		MTK_FUNCTION(1, "NLD8"),
285 		MTK_FUNCTION(2, "EINT154"),
286 		MTK_FUNCTION(4, "CM2DAT_1X[8]")
287 	),
288 	MTK_PIN(PINCTRL_PIN(26, "NLD9"),
289 		NULL, "mt8135",
290 		MTK_EINT_FUNCTION(2, 155),
291 		MTK_FUNCTION(0, "GPIO26"),
292 		MTK_FUNCTION(1, "NLD9"),
293 		MTK_FUNCTION(2, "EINT155"),
294 		MTK_FUNCTION(4, "CM2DAT_1X[9]"),
295 		MTK_FUNCTION(5, "PWM1")
296 	),
297 	MTK_PIN(PINCTRL_PIN(27, "NLD10"),
298 		NULL, "mt8135",
299 		MTK_EINT_FUNCTION(2, 156),
300 		MTK_FUNCTION(0, "GPIO27"),
301 		MTK_FUNCTION(1, "NLD10"),
302 		MTK_FUNCTION(2, "EINT156"),
303 		MTK_FUNCTION(4, "CM2VSYNC_1X"),
304 		MTK_FUNCTION(5, "PWM2")
305 	),
306 	MTK_PIN(PINCTRL_PIN(28, "NLD11"),
307 		NULL, "mt8135",
308 		MTK_EINT_FUNCTION(2, 157),
309 		MTK_FUNCTION(0, "GPIO28"),
310 		MTK_FUNCTION(1, "NLD11"),
311 		MTK_FUNCTION(2, "EINT157"),
312 		MTK_FUNCTION(4, "CM2HSYNC_1X"),
313 		MTK_FUNCTION(5, "PWM3")
314 	),
315 	MTK_PIN(PINCTRL_PIN(29, "NLD12"),
316 		NULL, "mt8135",
317 		MTK_EINT_FUNCTION(2, 158),
318 		MTK_FUNCTION(0, "GPIO29"),
319 		MTK_FUNCTION(1, "NLD12"),
320 		MTK_FUNCTION(2, "EINT158"),
321 		MTK_FUNCTION(3, "I2SIN_CK"),
322 		MTK_FUNCTION(4, "DAC_CK"),
323 		MTK_FUNCTION(5, "PCM1_CK")
324 	),
325 	MTK_PIN(PINCTRL_PIN(30, "NLD13"),
326 		NULL, "mt8135",
327 		MTK_EINT_FUNCTION(2, 159),
328 		MTK_FUNCTION(0, "GPIO30"),
329 		MTK_FUNCTION(1, "NLD13"),
330 		MTK_FUNCTION(2, "EINT159"),
331 		MTK_FUNCTION(3, "I2SIN_WS"),
332 		MTK_FUNCTION(4, "DAC_WS"),
333 		MTK_FUNCTION(5, "PCM1_WS")
334 	),
335 	MTK_PIN(PINCTRL_PIN(31, "NLD14"),
336 		NULL, "mt8135",
337 		MTK_EINT_FUNCTION(2, 160),
338 		MTK_FUNCTION(0, "GPIO31"),
339 		MTK_FUNCTION(1, "NLD14"),
340 		MTK_FUNCTION(2, "EINT160"),
341 		MTK_FUNCTION(3, "I2SOUT_DAT"),
342 		MTK_FUNCTION(4, "DAC_DAT_OUT"),
343 		MTK_FUNCTION(5, "PCM1_DO")
344 	),
345 	MTK_PIN(PINCTRL_PIN(32, "NLD15"),
346 		NULL, "mt8135",
347 		MTK_EINT_FUNCTION(2, 161),
348 		MTK_FUNCTION(0, "GPIO32"),
349 		MTK_FUNCTION(1, "NLD15"),
350 		MTK_FUNCTION(2, "EINT161"),
351 		MTK_FUNCTION(3, "DISP_PWM"),
352 		MTK_FUNCTION(4, "PWM4"),
353 		MTK_FUNCTION(5, "PCM1_DI")
354 	),
355 	MTK_PIN(PINCTRL_PIN(33, "MSDC0_RSTB"),
356 		"G22", "mt8135",
357 		MTK_EINT_FUNCTION(2, 50),
358 		MTK_FUNCTION(0, "GPIO33"),
359 		MTK_FUNCTION(1, "MSDC0_RSTB"),
360 		MTK_FUNCTION(2, "EINT50"),
361 		MTK_FUNCTION(3, "I2SIN_DAT"),
362 		MTK_FUNCTION(5, "PCM1_DI"),
363 		MTK_FUNCTION(6, "SPI1_MI"),
364 		MTK_FUNCTION(7, "NLD10")
365 	),
366 	MTK_PIN(PINCTRL_PIN(34, "IDDIG"),
367 		"N17", "mt8135",
368 		MTK_EINT_FUNCTION(2, 34),
369 		MTK_FUNCTION(0, "GPIO34"),
370 		MTK_FUNCTION(1, "IDDIG"),
371 		MTK_FUNCTION(2, "EINT34")
372 	),
373 	MTK_PIN(PINCTRL_PIN(35, "SCL3"),
374 		"L19", "mt8135",
375 		MTK_EINT_FUNCTION(2, 96),
376 		MTK_FUNCTION(0, "GPIO35"),
377 		MTK_FUNCTION(1, "SCL3"),
378 		MTK_FUNCTION(2, "EINT96"),
379 		MTK_FUNCTION(3, "CLKM6"),
380 		MTK_FUNCTION(4, "PWM6")
381 	),
382 	MTK_PIN(PINCTRL_PIN(36, "SDA3"),
383 		"L20", "mt8135",
384 		MTK_EINT_FUNCTION(2, 97),
385 		MTK_FUNCTION(0, "GPIO36"),
386 		MTK_FUNCTION(1, "SDA3"),
387 		MTK_FUNCTION(2, "EINT97")
388 	),
389 	MTK_PIN(PINCTRL_PIN(37, "AUD_CLK_MOSI"),
390 		"L21", "mt8135",
391 		MTK_EINT_FUNCTION(4, 19),
392 		MTK_FUNCTION(0, "GPIO37"),
393 		MTK_FUNCTION(1, "AUD_CLK"),
394 		MTK_FUNCTION(2, "ADC_CK"),
395 		MTK_FUNCTION(3, " HDMI_SDATA0"),
396 		MTK_FUNCTION(4, "EINT19"),
397 		MTK_FUNCTION(5, "USB_TEST_IO[6]"),
398 		MTK_FUNCTION(7, "TESTA_OUT19")
399 	),
400 	MTK_PIN(PINCTRL_PIN(38, "AUD_DAT_MOSI"),
401 		"L23", "mt8135",
402 		MTK_EINT_FUNCTION(4, 21),
403 		MTK_FUNCTION(0, "GPIO38"),
404 		MTK_FUNCTION(1, "AUD_DAT_MOSI"),
405 		MTK_FUNCTION(2, "ADC_WS"),
406 		MTK_FUNCTION(3, "AUD_DAT_MISO"),
407 		MTK_FUNCTION(4, "EINT21"),
408 		MTK_FUNCTION(5, "USB_TEST_IO[7]"),
409 		MTK_FUNCTION(7, "TESTA_OUT20")
410 	),
411 	MTK_PIN(PINCTRL_PIN(39, "AUD_DAT_MISO"),
412 		"L22", "mt8135",
413 		MTK_EINT_FUNCTION(4, 20),
414 		MTK_FUNCTION(0, "GPIO39"),
415 		MTK_FUNCTION(1, "AUD_DAT_MISO"),
416 		MTK_FUNCTION(2, "ADC_DAT_IN"),
417 		MTK_FUNCTION(3, "AUD_DAT_MOSI"),
418 		MTK_FUNCTION(4, "EINT20"),
419 		MTK_FUNCTION(5, "USB_TEST_IO[8]"),
420 		MTK_FUNCTION(7, "TESTA_OUT21")
421 	),
422 	MTK_PIN(PINCTRL_PIN(40, "DAC_CLK"),
423 		"P21", "mt8135",
424 		MTK_EINT_FUNCTION(2, 22),
425 		MTK_FUNCTION(0, "GPIO40"),
426 		MTK_FUNCTION(1, "DAC_CK"),
427 		MTK_FUNCTION(2, "EINT22"),
428 		MTK_FUNCTION(3, " HDMI_SDATA1"),
429 		MTK_FUNCTION(5, "USB_TEST_IO[9]"),
430 		MTK_FUNCTION(7, "TESTA_OUT22")
431 	),
432 	MTK_PIN(PINCTRL_PIN(41, "DAC_WS"),
433 		"N18", "mt8135",
434 		MTK_EINT_FUNCTION(2, 24),
435 		MTK_FUNCTION(0, "GPIO41"),
436 		MTK_FUNCTION(1, "DAC_WS"),
437 		MTK_FUNCTION(2, "EINT24"),
438 		MTK_FUNCTION(3, " HDMI_SDATA2"),
439 		MTK_FUNCTION(5, "USB_TEST_IO[10]"),
440 		MTK_FUNCTION(7, "TESTA_OUT23")
441 	),
442 	MTK_PIN(PINCTRL_PIN(42, "DAC_DAT_OUT"),
443 		"N22", "mt8135",
444 		MTK_EINT_FUNCTION(2, 23),
445 		MTK_FUNCTION(0, "GPIO42"),
446 		MTK_FUNCTION(1, "DAC_DAT_OUT"),
447 		MTK_FUNCTION(2, "EINT23"),
448 		MTK_FUNCTION(3, " HDMI_SDATA3"),
449 		MTK_FUNCTION(5, "USB_TEST_IO[11]"),
450 		MTK_FUNCTION(7, "TESTA_OUT24")
451 	),
452 	MTK_PIN(PINCTRL_PIN(43, "PWRAP_SPI0_MO"),
453 		"M22", "mt8135",
454 		MTK_EINT_FUNCTION(2, 29),
455 		MTK_FUNCTION(0, "GPIO43"),
456 		MTK_FUNCTION(1, "PWRAP_SPIDI"),
457 		MTK_FUNCTION(2, "EINT29")
458 	),
459 	MTK_PIN(PINCTRL_PIN(44, "PWRAP_SPI0_MI"),
460 		"P23", "mt8135",
461 		MTK_EINT_FUNCTION(2, 28),
462 		MTK_FUNCTION(0, "GPIO44"),
463 		MTK_FUNCTION(1, "PWRAP_SPIDO"),
464 		MTK_FUNCTION(2, "EINT28")
465 	),
466 	MTK_PIN(PINCTRL_PIN(45, "PWRAP_SPI0_CSN"),
467 		"M21", "mt8135",
468 		MTK_EINT_FUNCTION(2, 27),
469 		MTK_FUNCTION(0, "GPIO45"),
470 		MTK_FUNCTION(1, "PWRAP_SPICS_B_I"),
471 		MTK_FUNCTION(2, "EINT27")
472 	),
473 	MTK_PIN(PINCTRL_PIN(46, "PWRAP_SPI0_CLK"),
474 		"P22", "mt8135",
475 		MTK_EINT_FUNCTION(2, 26),
476 		MTK_FUNCTION(0, "GPIO46"),
477 		MTK_FUNCTION(1, "PWRAP_SPICK_I"),
478 		MTK_FUNCTION(2, "EINT26")
479 	),
480 	MTK_PIN(PINCTRL_PIN(47, "PWRAP_EVENT"),
481 		"M23", "mt8135",
482 		MTK_EINT_FUNCTION(2, 25),
483 		MTK_FUNCTION(0, "GPIO47"),
484 		MTK_FUNCTION(1, "PWRAP_EVENT_IN"),
485 		MTK_FUNCTION(2, "EINT25"),
486 		MTK_FUNCTION(7, "TESTA_OUT2")
487 	),
488 	MTK_PIN(PINCTRL_PIN(48, "RTC32K_CK"),
489 		"N20", "mt8135",
490 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
491 		MTK_FUNCTION(0, "GPIO48"),
492 		MTK_FUNCTION(1, "RTC32K_CK")
493 	),
494 	MTK_PIN(PINCTRL_PIN(49, "WATCHDOG"),
495 		"R22", "mt8135",
496 		MTK_EINT_FUNCTION(2, 36),
497 		MTK_FUNCTION(0, "GPIO49"),
498 		MTK_FUNCTION(1, "WATCHDOG"),
499 		MTK_FUNCTION(2, "EINT36")
500 	),
501 	MTK_PIN(PINCTRL_PIN(50, "SRCLKENA"),
502 		"T22", "mt8135",
503 		MTK_EINT_FUNCTION(2, 38),
504 		MTK_FUNCTION(0, "GPIO50"),
505 		MTK_FUNCTION(1, "SRCLKENA"),
506 		MTK_FUNCTION(2, "EINT38")
507 	),
508 	MTK_PIN(PINCTRL_PIN(51, "SRCVOLTEN"),
509 		"T23", "mt8135",
510 		MTK_EINT_FUNCTION(2, 37),
511 		MTK_FUNCTION(0, "GPIO51"),
512 		MTK_FUNCTION(1, "SRCVOLTEN"),
513 		MTK_FUNCTION(2, "EINT37")
514 	),
515 	MTK_PIN(PINCTRL_PIN(52, "EINT0"),
516 		"T21", "mt8135",
517 		MTK_EINT_FUNCTION(1, 0),
518 		MTK_FUNCTION(0, "GPIO52"),
519 		MTK_FUNCTION(1, "EINT0"),
520 		MTK_FUNCTION(2, "PWM1"),
521 		MTK_FUNCTION(3, "CLKM0"),
522 		MTK_FUNCTION(4, " SPDIF_OUT"),
523 		MTK_FUNCTION(5, "USB_TEST_IO[12]"),
524 		MTK_FUNCTION(7, "USB_SCL")
525 	),
526 	MTK_PIN(PINCTRL_PIN(53, "URXD2"),
527 		"R18", "mt8135",
528 		MTK_EINT_FUNCTION(2, 83),
529 		MTK_FUNCTION(0, "GPIO53"),
530 		MTK_FUNCTION(1, "URXD2"),
531 		MTK_FUNCTION(2, "EINT83"),
532 		MTK_FUNCTION(4, " HDMI_LRCK"),
533 		MTK_FUNCTION(5, "CLKM3"),
534 		MTK_FUNCTION(7, "UTXD2")
535 	),
536 	MTK_PIN(PINCTRL_PIN(54, "UTXD2"),
537 		"R17", "mt8135",
538 		MTK_EINT_FUNCTION(2, 82),
539 		MTK_FUNCTION(0, "GPIO54"),
540 		MTK_FUNCTION(1, "UTXD2"),
541 		MTK_FUNCTION(2, "EINT82"),
542 		MTK_FUNCTION(4, " HDMI_BCK_OUT"),
543 		MTK_FUNCTION(5, "CLKM2"),
544 		MTK_FUNCTION(7, "URXD2")
545 	),
546 	MTK_PIN(PINCTRL_PIN(55, "UCTS2"),
547 		"R20", "mt8135",
548 		MTK_EINT_FUNCTION(2, 84),
549 		MTK_FUNCTION(0, "GPIO55"),
550 		MTK_FUNCTION(1, "UCTS2"),
551 		MTK_FUNCTION(2, "EINT84"),
552 		MTK_FUNCTION(5, "PWM1"),
553 		MTK_FUNCTION(7, "URTS2")
554 	),
555 	MTK_PIN(PINCTRL_PIN(56, "URTS2"),
556 		"R19", "mt8135",
557 		MTK_EINT_FUNCTION(2, 85),
558 		MTK_FUNCTION(0, "GPIO56"),
559 		MTK_FUNCTION(1, "URTS2"),
560 		MTK_FUNCTION(2, "EINT85"),
561 		MTK_FUNCTION(5, "PWM2"),
562 		MTK_FUNCTION(7, "UCTS2")
563 	),
564 	MTK_PIN(PINCTRL_PIN(57, "JTCK"),
565 		"V17", "mt8135",
566 		MTK_EINT_FUNCTION(2, 188),
567 		MTK_FUNCTION(0, "GPIO57"),
568 		MTK_FUNCTION(1, "JTCK"),
569 		MTK_FUNCTION(2, "EINT188"),
570 		MTK_FUNCTION(3, "DSP1_ICK")
571 	),
572 	MTK_PIN(PINCTRL_PIN(58, "JTDO"),
573 		"T16", "mt8135",
574 		MTK_EINT_FUNCTION(2, 190),
575 		MTK_FUNCTION(0, "GPIO58"),
576 		MTK_FUNCTION(1, "JTDO"),
577 		MTK_FUNCTION(2, "EINT190"),
578 		MTK_FUNCTION(3, "DSP2_IMS")
579 	),
580 	MTK_PIN(PINCTRL_PIN(59, "JTRST_B"),
581 		"T19", "mt8135",
582 		MTK_EINT_FUNCTION(2, 0),
583 		MTK_FUNCTION(0, "GPIO59"),
584 		MTK_FUNCTION(1, "JTRST_B"),
585 		MTK_FUNCTION(2, "EINT0"),
586 		MTK_FUNCTION(3, "DSP2_ICK")
587 	),
588 	MTK_PIN(PINCTRL_PIN(60, "JTDI"),
589 		"T18", "mt8135",
590 		MTK_EINT_FUNCTION(2, 189),
591 		MTK_FUNCTION(0, "GPIO60"),
592 		MTK_FUNCTION(1, "JTDI"),
593 		MTK_FUNCTION(2, "EINT189"),
594 		MTK_FUNCTION(3, "DSP1_IMS")
595 	),
596 	MTK_PIN(PINCTRL_PIN(61, "JRTCK"),
597 		"T20", "mt8135",
598 		MTK_EINT_FUNCTION(2, 187),
599 		MTK_FUNCTION(0, "GPIO61"),
600 		MTK_FUNCTION(1, "JRTCK"),
601 		MTK_FUNCTION(2, "EINT187"),
602 		MTK_FUNCTION(3, "DSP1_ID")
603 	),
604 	MTK_PIN(PINCTRL_PIN(62, "JTMS"),
605 		"T17", "mt8135",
606 		MTK_EINT_FUNCTION(2, 191),
607 		MTK_FUNCTION(0, "GPIO62"),
608 		MTK_FUNCTION(1, "JTMS"),
609 		MTK_FUNCTION(2, "EINT191"),
610 		MTK_FUNCTION(3, "DSP2_ID")
611 	),
612 	MTK_PIN(PINCTRL_PIN(63, "MSDC1_INSI"),
613 		"V18", "mt8135",
614 		MTK_EINT_FUNCTION(1, 15),
615 		MTK_FUNCTION(0, "GPIO63"),
616 		MTK_FUNCTION(1, "MSDC1_INSI"),
617 		MTK_FUNCTION(3, "SCL5"),
618 		MTK_FUNCTION(4, "PWM6"),
619 		MTK_FUNCTION(5, "CLKM5"),
620 		MTK_FUNCTION(7, "TESTB_OUT6")
621 	),
622 	MTK_PIN(PINCTRL_PIN(64, "MSDC1_SDWPI"),
623 		"W18", "mt8135",
624 		MTK_EINT_FUNCTION(2, 58),
625 		MTK_FUNCTION(0, "GPIO64"),
626 		MTK_FUNCTION(1, "MSDC1_SDWPI"),
627 		MTK_FUNCTION(2, "EINT58"),
628 		MTK_FUNCTION(3, "SDA5"),
629 		MTK_FUNCTION(4, "PWM7"),
630 		MTK_FUNCTION(5, "CLKM6"),
631 		MTK_FUNCTION(7, "TESTB_OUT7")
632 	),
633 	MTK_PIN(PINCTRL_PIN(65, "MSDC2_INSI"),
634 		"U22", "mt8135",
635 		MTK_EINT_FUNCTION(1, 14),
636 		MTK_FUNCTION(0, "GPIO65"),
637 		MTK_FUNCTION(1, "MSDC2_INSI"),
638 		MTK_FUNCTION(5, "USB_TEST_IO[27]"),
639 		MTK_FUNCTION(7, "TESTA_OUT3")
640 	),
641 	MTK_PIN(PINCTRL_PIN(66, "MSDC2_SDWPI"),
642 		"U21", "mt8135",
643 		MTK_EINT_FUNCTION(2, 66),
644 		MTK_FUNCTION(0, "GPIO66"),
645 		MTK_FUNCTION(1, "MSDC2_SDWPI"),
646 		MTK_FUNCTION(2, "EINT66"),
647 		MTK_FUNCTION(5, "USB_TEST_IO[28]")
648 	),
649 	MTK_PIN(PINCTRL_PIN(67, "URXD4"),
650 		"V23", "mt8135",
651 		MTK_EINT_FUNCTION(2, 89),
652 		MTK_FUNCTION(0, "GPIO67"),
653 		MTK_FUNCTION(1, "URXD4"),
654 		MTK_FUNCTION(2, "EINT89"),
655 		MTK_FUNCTION(3, "URXD1"),
656 		MTK_FUNCTION(6, "UTXD4"),
657 		MTK_FUNCTION(7, "TESTB_OUT10")
658 	),
659 	MTK_PIN(PINCTRL_PIN(68, "UTXD4"),
660 		"V22", "mt8135",
661 		MTK_EINT_FUNCTION(2, 88),
662 		MTK_FUNCTION(0, "GPIO68"),
663 		MTK_FUNCTION(1, "UTXD4"),
664 		MTK_FUNCTION(2, "EINT88"),
665 		MTK_FUNCTION(3, "UTXD1"),
666 		MTK_FUNCTION(6, "URXD4"),
667 		MTK_FUNCTION(7, "TESTB_OUT11")
668 	),
669 	MTK_PIN(PINCTRL_PIN(69, "URXD1"),
670 		"W22", "mt8135",
671 		MTK_EINT_FUNCTION(2, 79),
672 		MTK_FUNCTION(0, "GPIO69"),
673 		MTK_FUNCTION(1, "URXD1"),
674 		MTK_FUNCTION(2, "EINT79"),
675 		MTK_FUNCTION(3, "URXD4"),
676 		MTK_FUNCTION(6, "UTXD1"),
677 		MTK_FUNCTION(7, "TESTB_OUT24")
678 	),
679 	MTK_PIN(PINCTRL_PIN(70, "UTXD1"),
680 		"V21", "mt8135",
681 		MTK_EINT_FUNCTION(2, 78),
682 		MTK_FUNCTION(0, "GPIO70"),
683 		MTK_FUNCTION(1, "UTXD1"),
684 		MTK_FUNCTION(2, "EINT78"),
685 		MTK_FUNCTION(3, "UTXD4"),
686 		MTK_FUNCTION(6, "URXD1"),
687 		MTK_FUNCTION(7, "TESTB_OUT25")
688 	),
689 	MTK_PIN(PINCTRL_PIN(71, "UCTS1"),
690 		"V19", "mt8135",
691 		MTK_EINT_FUNCTION(2, 80),
692 		MTK_FUNCTION(0, "GPIO71"),
693 		MTK_FUNCTION(1, "UCTS1"),
694 		MTK_FUNCTION(2, "EINT80"),
695 		MTK_FUNCTION(5, "CLKM0"),
696 		MTK_FUNCTION(6, "URTS1"),
697 		MTK_FUNCTION(7, "TESTB_OUT31")
698 	),
699 	MTK_PIN(PINCTRL_PIN(72, "URTS1"),
700 		"V20", "mt8135",
701 		MTK_EINT_FUNCTION(2, 81),
702 		MTK_FUNCTION(0, "GPIO72"),
703 		MTK_FUNCTION(1, "URTS1"),
704 		MTK_FUNCTION(2, "EINT81"),
705 		MTK_FUNCTION(5, "CLKM1"),
706 		MTK_FUNCTION(6, "UCTS1"),
707 		MTK_FUNCTION(7, "TESTB_OUT21")
708 	),
709 	MTK_PIN(PINCTRL_PIN(73, "PWM1"),
710 		"W17", "mt8135",
711 		MTK_EINT_FUNCTION(2, 73),
712 		MTK_FUNCTION(0, "GPIO73"),
713 		MTK_FUNCTION(1, "PWM1"),
714 		MTK_FUNCTION(2, "EINT73"),
715 		MTK_FUNCTION(5, "USB_DRVVBUS"),
716 		MTK_FUNCTION(6, "DISP_PWM"),
717 		MTK_FUNCTION(7, "TESTB_OUT8")
718 	),
719 	MTK_PIN(PINCTRL_PIN(74, "PWM2"),
720 		"Y17", "mt8135",
721 		MTK_EINT_FUNCTION(2, 74),
722 		MTK_FUNCTION(0, "GPIO74"),
723 		MTK_FUNCTION(1, "PWM2"),
724 		MTK_FUNCTION(2, "EINT74"),
725 		MTK_FUNCTION(3, "DPI33_CK"),
726 		MTK_FUNCTION(4, "PWM5"),
727 		MTK_FUNCTION(5, "URXD2"),
728 		MTK_FUNCTION(6, "DISP_PWM"),
729 		MTK_FUNCTION(7, "TESTB_OUT9")
730 	),
731 	MTK_PIN(PINCTRL_PIN(75, "PWM3"),
732 		"Y19", "mt8135",
733 		MTK_EINT_FUNCTION(2, 75),
734 		MTK_FUNCTION(0, "GPIO75"),
735 		MTK_FUNCTION(1, "PWM3"),
736 		MTK_FUNCTION(2, "EINT75"),
737 		MTK_FUNCTION(3, "DPI33_D0"),
738 		MTK_FUNCTION(4, "PWM6"),
739 		MTK_FUNCTION(5, "UTXD2"),
740 		MTK_FUNCTION(6, "DISP_PWM"),
741 		MTK_FUNCTION(7, "TESTB_OUT12")
742 	),
743 	MTK_PIN(PINCTRL_PIN(76, "PWM4"),
744 		"W19", "mt8135",
745 		MTK_EINT_FUNCTION(2, 76),
746 		MTK_FUNCTION(0, "GPIO76"),
747 		MTK_FUNCTION(1, "PWM4"),
748 		MTK_FUNCTION(2, "EINT76"),
749 		MTK_FUNCTION(3, "DPI33_D1"),
750 		MTK_FUNCTION(4, "PWM7"),
751 		MTK_FUNCTION(6, "DISP_PWM"),
752 		MTK_FUNCTION(7, "TESTB_OUT13")
753 	),
754 	MTK_PIN(PINCTRL_PIN(77, "MSDC2_DAT2"),
755 		"W21", "mt8135",
756 		MTK_EINT_FUNCTION(2, 63),
757 		MTK_FUNCTION(0, "GPIO77"),
758 		MTK_FUNCTION(1, "MSDC2_DAT2"),
759 		MTK_FUNCTION(2, "EINT63"),
760 		MTK_FUNCTION(4, "DSP2_IMS"),
761 		MTK_FUNCTION(6, "DPI33_D6"),
762 		MTK_FUNCTION(7, "TESTA_OUT25")
763 	),
764 	MTK_PIN(PINCTRL_PIN(78, "MSDC2_DAT3"),
765 		"AA23", "mt8135",
766 		MTK_EINT_FUNCTION(2, 64),
767 		MTK_FUNCTION(0, "GPIO78"),
768 		MTK_FUNCTION(1, "MSDC2_DAT3"),
769 		MTK_FUNCTION(2, "EINT64"),
770 		MTK_FUNCTION(4, "DSP2_ID"),
771 		MTK_FUNCTION(6, "DPI33_D7"),
772 		MTK_FUNCTION(7, "TESTA_OUT26")
773 	),
774 	MTK_PIN(PINCTRL_PIN(79, "MSDC2_CMD"),
775 		"Y22", "mt8135",
776 		MTK_EINT_FUNCTION(2, 60),
777 		MTK_FUNCTION(0, "GPIO79"),
778 		MTK_FUNCTION(1, "MSDC2_CMD"),
779 		MTK_FUNCTION(2, "EINT60"),
780 		MTK_FUNCTION(4, "DSP1_IMS"),
781 		MTK_FUNCTION(5, "PCM1_WS"),
782 		MTK_FUNCTION(6, "DPI33_D3"),
783 		MTK_FUNCTION(7, "TESTA_OUT0")
784 	),
785 	MTK_PIN(PINCTRL_PIN(80, "MSDC2_CLK"),
786 		"AA22", "mt8135",
787 		MTK_EINT_FUNCTION(2, 59),
788 		MTK_FUNCTION(0, "GPIO80"),
789 		MTK_FUNCTION(1, "MSDC2_CLK"),
790 		MTK_FUNCTION(2, "EINT59"),
791 		MTK_FUNCTION(4, "DSP1_ICK"),
792 		MTK_FUNCTION(5, "PCM1_CK"),
793 		MTK_FUNCTION(6, "DPI33_D2"),
794 		MTK_FUNCTION(7, "TESTA_OUT1")
795 	),
796 	MTK_PIN(PINCTRL_PIN(81, "MSDC2_DAT1"),
797 		"Y21", "mt8135",
798 		MTK_EINT_FUNCTION(2, 62),
799 		MTK_FUNCTION(0, "GPIO81"),
800 		MTK_FUNCTION(1, "MSDC2_DAT1"),
801 		MTK_FUNCTION(2, "EINT62"),
802 		MTK_FUNCTION(4, "DSP2_ICK"),
803 		MTK_FUNCTION(5, "PCM1_DO"),
804 		MTK_FUNCTION(6, "DPI33_D5")
805 	),
806 	MTK_PIN(PINCTRL_PIN(82, "MSDC2_DAT0"),
807 		"AB22", "mt8135",
808 		MTK_EINT_FUNCTION(2, 61),
809 		MTK_FUNCTION(0, "GPIO82"),
810 		MTK_FUNCTION(1, "MSDC2_DAT0"),
811 		MTK_FUNCTION(2, "EINT61"),
812 		MTK_FUNCTION(4, "DSP1_ID"),
813 		MTK_FUNCTION(5, "PCM1_DI"),
814 		MTK_FUNCTION(6, "DPI33_D4")
815 	),
816 	MTK_PIN(PINCTRL_PIN(83, "MSDC1_DAT0"),
817 		"AC19", "mt8135",
818 		MTK_EINT_FUNCTION(2, 53),
819 		MTK_FUNCTION(0, "GPIO83"),
820 		MTK_FUNCTION(1, "MSDC1_DAT0"),
821 		MTK_FUNCTION(2, "EINT53"),
822 		MTK_FUNCTION(3, "SCL1"),
823 		MTK_FUNCTION(4, "PWM2"),
824 		MTK_FUNCTION(5, "CLKM1"),
825 		MTK_FUNCTION(7, "TESTB_OUT2")
826 	),
827 	MTK_PIN(PINCTRL_PIN(84, "MSDC1_DAT1"),
828 		"AA19", "mt8135",
829 		MTK_EINT_FUNCTION(2, 54),
830 		MTK_FUNCTION(0, "GPIO84"),
831 		MTK_FUNCTION(1, "MSDC1_DAT1"),
832 		MTK_FUNCTION(2, "EINT54"),
833 		MTK_FUNCTION(3, "SDA1"),
834 		MTK_FUNCTION(4, "PWM3"),
835 		MTK_FUNCTION(5, "CLKM2"),
836 		MTK_FUNCTION(7, "TESTB_OUT3")
837 	),
838 	MTK_PIN(PINCTRL_PIN(85, "MSDC1_CMD"),
839 		"AA20", "mt8135",
840 		MTK_EINT_FUNCTION(2, 52),
841 		MTK_FUNCTION(0, "GPIO85"),
842 		MTK_FUNCTION(1, "MSDC1_CMD"),
843 		MTK_FUNCTION(2, "EINT52"),
844 		MTK_FUNCTION(3, "SDA0"),
845 		MTK_FUNCTION(4, "PWM1"),
846 		MTK_FUNCTION(5, "CLKM0"),
847 		MTK_FUNCTION(7, "TESTB_OUT1")
848 	),
849 	MTK_PIN(PINCTRL_PIN(86, "MSDC1_CLK"),
850 		"AB19", "mt8135",
851 		MTK_EINT_FUNCTION(2, 51),
852 		MTK_FUNCTION(0, "GPIO86"),
853 		MTK_FUNCTION(1, "MSDC1_CLK"),
854 		MTK_FUNCTION(2, "EINT51"),
855 		MTK_FUNCTION(3, "SCL0"),
856 		MTK_FUNCTION(4, "DISP_PWM"),
857 		MTK_FUNCTION(7, "TESTB_OUT0")
858 	),
859 	MTK_PIN(PINCTRL_PIN(87, "MSDC1_DAT2"),
860 		"AA21", "mt8135",
861 		MTK_EINT_FUNCTION(2, 55),
862 		MTK_FUNCTION(0, "GPIO87"),
863 		MTK_FUNCTION(1, "MSDC1_DAT2"),
864 		MTK_FUNCTION(2, "EINT55"),
865 		MTK_FUNCTION(3, "SCL4"),
866 		MTK_FUNCTION(4, "PWM4"),
867 		MTK_FUNCTION(5, "CLKM3"),
868 		MTK_FUNCTION(7, "TESTB_OUT4")
869 	),
870 	MTK_PIN(PINCTRL_PIN(88, "MSDC1_DAT3"),
871 		"AB20", "mt8135",
872 		MTK_EINT_FUNCTION(2, 56),
873 		MTK_FUNCTION(0, "GPIO88"),
874 		MTK_FUNCTION(1, "MSDC1_DAT3"),
875 		MTK_FUNCTION(2, "EINT56"),
876 		MTK_FUNCTION(3, "SDA4"),
877 		MTK_FUNCTION(4, "PWM5"),
878 		MTK_FUNCTION(5, "CLKM4"),
879 		MTK_FUNCTION(7, "TESTB_OUT5")
880 	),
881 	MTK_PIN(PINCTRL_PIN(89, "MSDC4_DAT0"),
882 		"AB8", "mt8135",
883 		MTK_EINT_FUNCTION(2, 133),
884 		MTK_FUNCTION(0, "GPIO89"),
885 		MTK_FUNCTION(1, "MSDC4_DAT0"),
886 		MTK_FUNCTION(2, "EINT133"),
887 		MTK_FUNCTION(4, "EXT_FRAME_SYNC"),
888 		MTK_FUNCTION(5, "USB_DRVVBUS"),
889 		MTK_FUNCTION(6, "A_FUNC_DIN[9]"),
890 		MTK_FUNCTION(7, "LPTE")
891 	),
892 	MTK_PIN(PINCTRL_PIN(90, "MSDC4_DAT1"),
893 		"AB7", "mt8135",
894 		MTK_EINT_FUNCTION(2, 134),
895 		MTK_FUNCTION(0, "GPIO90"),
896 		MTK_FUNCTION(1, "MSDC4_DAT1"),
897 		MTK_FUNCTION(2, "EINT134"),
898 		MTK_FUNCTION(6, "A_FUNC_DIN[10]"),
899 		MTK_FUNCTION(7, "LRSTB_1X")
900 	),
901 	MTK_PIN(PINCTRL_PIN(91, "MSDC4_DAT5"),
902 		"AA8", "mt8135",
903 		MTK_EINT_FUNCTION(2, 136),
904 		MTK_FUNCTION(0, "GPIO91"),
905 		MTK_FUNCTION(1, "MSDC4_DAT5"),
906 		MTK_FUNCTION(2, "EINT136"),
907 		MTK_FUNCTION(3, "I2SIN_WS"),
908 		MTK_FUNCTION(4, "DAC_WS"),
909 		MTK_FUNCTION(5, "PCM1_WS"),
910 		MTK_FUNCTION(6, "A_FUNC_DIN[11]"),
911 		MTK_FUNCTION(7, "SPI1_CSN")
912 	),
913 	MTK_PIN(PINCTRL_PIN(92, "MSDC4_DAT6"),
914 		"AC4", "mt8135",
915 		MTK_EINT_FUNCTION(2, 137),
916 		MTK_FUNCTION(0, "GPIO92"),
917 		MTK_FUNCTION(1, "MSDC4_DAT6"),
918 		MTK_FUNCTION(2, "EINT137"),
919 		MTK_FUNCTION(3, "I2SOUT_DAT"),
920 		MTK_FUNCTION(4, "DAC_DAT_OUT"),
921 		MTK_FUNCTION(5, "PCM1_DO"),
922 		MTK_FUNCTION(6, "A_FUNC_DIN[12]"),
923 		MTK_FUNCTION(7, "SPI1_MO")
924 	),
925 	MTK_PIN(PINCTRL_PIN(93, "MSDC4_DAT7"),
926 		"AC6", "mt8135",
927 		MTK_EINT_FUNCTION(2, 138),
928 		MTK_FUNCTION(0, "GPIO93"),
929 		MTK_FUNCTION(1, "MSDC4_DAT7"),
930 		MTK_FUNCTION(2, "EINT138"),
931 		MTK_FUNCTION(3, "I2SIN_DAT"),
932 		MTK_FUNCTION(5, "PCM1_DI"),
933 		MTK_FUNCTION(6, "A_FUNC_DIN[13]"),
934 		MTK_FUNCTION(7, "SPI1_MI")
935 	),
936 	MTK_PIN(PINCTRL_PIN(94, "MSDC4_DAT4"),
937 		"AA7", "mt8135",
938 		MTK_EINT_FUNCTION(2, 135),
939 		MTK_FUNCTION(0, "GPIO94"),
940 		MTK_FUNCTION(1, "MSDC4_DAT4"),
941 		MTK_FUNCTION(2, "EINT135"),
942 		MTK_FUNCTION(3, "I2SIN_CK"),
943 		MTK_FUNCTION(4, "DAC_CK"),
944 		MTK_FUNCTION(5, "PCM1_CK"),
945 		MTK_FUNCTION(6, "A_FUNC_DIN[14]"),
946 		MTK_FUNCTION(7, "SPI1_CLK")
947 	),
948 	MTK_PIN(PINCTRL_PIN(95, "MSDC4_DAT2"),
949 		"AB6", "mt8135",
950 		MTK_EINT_FUNCTION(2, 131),
951 		MTK_FUNCTION(0, "GPIO95"),
952 		MTK_FUNCTION(1, "MSDC4_DAT2"),
953 		MTK_FUNCTION(2, "EINT131"),
954 		MTK_FUNCTION(3, "I2SIN_WS"),
955 		MTK_FUNCTION(4, "CM2PDN_2X"),
956 		MTK_FUNCTION(5, "DAC_WS"),
957 		MTK_FUNCTION(6, "PCM1_WS"),
958 		MTK_FUNCTION(7, "LSCE0B_1X")
959 	),
960 	MTK_PIN(PINCTRL_PIN(96, "MSDC4_CLK"),
961 		"AB5", "mt8135",
962 		MTK_EINT_FUNCTION(2, 129),
963 		MTK_FUNCTION(0, "GPIO96"),
964 		MTK_FUNCTION(1, "MSDC4_CLK"),
965 		MTK_FUNCTION(2, "EINT129"),
966 		MTK_FUNCTION(3, "DPI1_CK_2X"),
967 		MTK_FUNCTION(4, "CM2PCLK_2X"),
968 		MTK_FUNCTION(5, "PWM4"),
969 		MTK_FUNCTION(6, "PCM1_DI"),
970 		MTK_FUNCTION(7, "LSCK_1X")
971 	),
972 	MTK_PIN(PINCTRL_PIN(97, "MSDC4_DAT3"),
973 		"Y8", "mt8135",
974 		MTK_EINT_FUNCTION(2, 132),
975 		MTK_FUNCTION(0, "GPIO97"),
976 		MTK_FUNCTION(1, "MSDC4_DAT3"),
977 		MTK_FUNCTION(2, "EINT132"),
978 		MTK_FUNCTION(3, "I2SOUT_DAT"),
979 		MTK_FUNCTION(4, "CM2RST_2X"),
980 		MTK_FUNCTION(5, "DAC_DAT_OUT"),
981 		MTK_FUNCTION(6, "PCM1_DO"),
982 		MTK_FUNCTION(7, "LSCE1B_1X")
983 	),
984 	MTK_PIN(PINCTRL_PIN(98, "MSDC4_CMD"),
985 		"AC3", "mt8135",
986 		MTK_EINT_FUNCTION(2, 128),
987 		MTK_FUNCTION(0, "GPIO98"),
988 		MTK_FUNCTION(1, "MSDC4_CMD"),
989 		MTK_FUNCTION(2, "EINT128"),
990 		MTK_FUNCTION(3, "DPI1_DE_2X"),
991 		MTK_FUNCTION(5, "PWM3"),
992 		MTK_FUNCTION(7, "LSDA_1X")
993 	),
994 	MTK_PIN(PINCTRL_PIN(99, "MSDC4_RSTB"),
995 		"AB4", "mt8135",
996 		MTK_EINT_FUNCTION(2, 130),
997 		MTK_FUNCTION(0, "GPIO99"),
998 		MTK_FUNCTION(1, "MSDC4_RSTB"),
999 		MTK_FUNCTION(2, "EINT130"),
1000 		MTK_FUNCTION(3, "I2SIN_CK"),
1001 		MTK_FUNCTION(4, "CM2MCLK_2X"),
1002 		MTK_FUNCTION(5, "DAC_CK"),
1003 		MTK_FUNCTION(6, "PCM1_CK"),
1004 		MTK_FUNCTION(7, "LSA0_1X")
1005 	),
1006 	MTK_PIN(PINCTRL_PIN(100, "SDA0"),
1007 		"W9", "mt8135",
1008 		MTK_EINT_FUNCTION(2, 91),
1009 		MTK_FUNCTION(0, "GPIO100"),
1010 		MTK_FUNCTION(1, "SDA0"),
1011 		MTK_FUNCTION(2, "EINT91"),
1012 		MTK_FUNCTION(3, "CLKM1"),
1013 		MTK_FUNCTION(4, "PWM1"),
1014 		MTK_FUNCTION(7, "A_FUNC_DIN[15]")
1015 	),
1016 	MTK_PIN(PINCTRL_PIN(101, "SCL0"),
1017 		"W11", "mt8135",
1018 		MTK_EINT_FUNCTION(2, 90),
1019 		MTK_FUNCTION(0, "GPIO101"),
1020 		MTK_FUNCTION(1, "SCL0"),
1021 		MTK_FUNCTION(2, "EINT90"),
1022 		MTK_FUNCTION(3, "CLKM0"),
1023 		MTK_FUNCTION(4, "DISP_PWM"),
1024 		MTK_FUNCTION(7, "A_FUNC_DIN[16]")
1025 	),
1026 	MTK_PIN(PINCTRL_PIN(102, "EINT10_AUXIN2"),
1027 		"AA3", "mt8135",
1028 		MTK_EINT_FUNCTION(1, 10),
1029 		MTK_FUNCTION(0, "GPIO102"),
1030 		MTK_FUNCTION(1, "EINT10"),
1031 		MTK_FUNCTION(5, "USB_TEST_IO[16]"),
1032 		MTK_FUNCTION(6, "TESTB_OUT16"),
1033 		MTK_FUNCTION(7, "A_FUNC_DIN[17]")
1034 	),
1035 	MTK_PIN(PINCTRL_PIN(103, "EINT11_AUXIN3"),
1036 		"AB2", "mt8135",
1037 		MTK_EINT_FUNCTION(1, 11),
1038 		MTK_FUNCTION(0, "GPIO103"),
1039 		MTK_FUNCTION(1, "EINT11"),
1040 		MTK_FUNCTION(5, "USB_TEST_IO[17]"),
1041 		MTK_FUNCTION(6, "TESTB_OUT17"),
1042 		MTK_FUNCTION(7, "A_FUNC_DIN[18]")
1043 	),
1044 	MTK_PIN(PINCTRL_PIN(104, "EINT16_AUXIN4"),
1045 		"AB3", "mt8135",
1046 		MTK_EINT_FUNCTION(1, 16),
1047 		MTK_FUNCTION(0, "GPIO104"),
1048 		MTK_FUNCTION(1, "EINT16"),
1049 		MTK_FUNCTION(5, "USB_TEST_IO[18]"),
1050 		MTK_FUNCTION(6, "TESTB_OUT18"),
1051 		MTK_FUNCTION(7, "A_FUNC_DIN[19]")
1052 	),
1053 	MTK_PIN(PINCTRL_PIN(105, "I2S_CLK"),
1054 		"W6", "mt8135",
1055 		MTK_EINT_FUNCTION(2, 10),
1056 		MTK_FUNCTION(0, "GPIO105"),
1057 		MTK_FUNCTION(1, "I2SIN_CK"),
1058 		MTK_FUNCTION(2, "EINT10"),
1059 		MTK_FUNCTION(3, "DAC_CK"),
1060 		MTK_FUNCTION(4, "PCM1_CK"),
1061 		MTK_FUNCTION(5, "USB_TEST_IO[19]"),
1062 		MTK_FUNCTION(6, "TESTB_OUT19"),
1063 		MTK_FUNCTION(7, "A_FUNC_DIN[20]")
1064 	),
1065 	MTK_PIN(PINCTRL_PIN(106, "I2S_WS"),
1066 		"AA6", "mt8135",
1067 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1068 		MTK_FUNCTION(0, "GPIO106"),
1069 		MTK_FUNCTION(1, "I2SIN_WS"),
1070 		MTK_FUNCTION(3, "DAC_WS"),
1071 		MTK_FUNCTION(4, "PCM1_WS"),
1072 		MTK_FUNCTION(5, "USB_TEST_IO[20]"),
1073 		MTK_FUNCTION(6, "TESTB_OUT20"),
1074 		MTK_FUNCTION(7, "A_FUNC_DIN[21]")
1075 	),
1076 	MTK_PIN(PINCTRL_PIN(107, "I2S_DATA_IN"),
1077 		"AA5", "mt8135",
1078 		MTK_EINT_FUNCTION(2, 11),
1079 		MTK_FUNCTION(0, "GPIO107"),
1080 		MTK_FUNCTION(1, "I2SIN_DAT"),
1081 		MTK_FUNCTION(2, "EINT11"),
1082 		MTK_FUNCTION(4, "PCM1_DI"),
1083 		MTK_FUNCTION(5, "USB_TEST_IO[21]"),
1084 		MTK_FUNCTION(6, "TESTB_OUT22"),
1085 		MTK_FUNCTION(7, "A_FUNC_DIN[22]")
1086 	),
1087 	MTK_PIN(PINCTRL_PIN(108, "I2S_DATA_OUT"),
1088 		"AA4", "mt8135",
1089 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1090 		MTK_FUNCTION(0, "GPIO108"),
1091 		MTK_FUNCTION(1, "I2SOUT_DAT"),
1092 		MTK_FUNCTION(3, "DAC_DAT_OUT"),
1093 		MTK_FUNCTION(4, "PCM1_DO"),
1094 		MTK_FUNCTION(5, "USB_TEST_IO[22]"),
1095 		MTK_FUNCTION(6, "TESTB_OUT23"),
1096 		MTK_FUNCTION(7, "A_FUNC_DIN[23]")
1097 	),
1098 	MTK_PIN(PINCTRL_PIN(109, "EINT5"),
1099 		"W5", "mt8135",
1100 		MTK_EINT_FUNCTION(1, 5),
1101 		MTK_FUNCTION(0, "GPIO109"),
1102 		MTK_FUNCTION(1, "EINT5"),
1103 		MTK_FUNCTION(2, "PWM5"),
1104 		MTK_FUNCTION(3, "CLKM3"),
1105 		MTK_FUNCTION(4, "GPU_JTRSTB"),
1106 		MTK_FUNCTION(5, "USB_TEST_IO[23]"),
1107 		MTK_FUNCTION(6, "TESTB_OUT26"),
1108 		MTK_FUNCTION(7, "A_FUNC_DIN[24]")
1109 	),
1110 	MTK_PIN(PINCTRL_PIN(110, "EINT6"),
1111 		"V5", "mt8135",
1112 		MTK_EINT_FUNCTION(1, 6),
1113 		MTK_FUNCTION(0, "GPIO110"),
1114 		MTK_FUNCTION(1, "EINT6"),
1115 		MTK_FUNCTION(2, "PWM6"),
1116 		MTK_FUNCTION(3, "CLKM4"),
1117 		MTK_FUNCTION(4, "GPU_JTMS"),
1118 		MTK_FUNCTION(5, "USB_TEST_IO[24]"),
1119 		MTK_FUNCTION(6, "TESTB_OUT27"),
1120 		MTK_FUNCTION(7, "A_FUNC_DIN[25]")
1121 	),
1122 	MTK_PIN(PINCTRL_PIN(111, "EINT7"),
1123 		"W3", "mt8135",
1124 		MTK_EINT_FUNCTION(1, 7),
1125 		MTK_FUNCTION(0, "GPIO111"),
1126 		MTK_FUNCTION(1, "EINT7"),
1127 		MTK_FUNCTION(2, "PWM7"),
1128 		MTK_FUNCTION(3, "CLKM5"),
1129 		MTK_FUNCTION(4, "GPU_JTDO"),
1130 		MTK_FUNCTION(5, "USB_TEST_IO[25]"),
1131 		MTK_FUNCTION(6, "TESTB_OUT28"),
1132 		MTK_FUNCTION(7, "A_FUNC_DIN[26]")
1133 	),
1134 	MTK_PIN(PINCTRL_PIN(112, "EINT8"),
1135 		"V6", "mt8135",
1136 		MTK_EINT_FUNCTION(1, 8),
1137 		MTK_FUNCTION(0, "GPIO112"),
1138 		MTK_FUNCTION(1, "EINT8"),
1139 		MTK_FUNCTION(2, "DISP_PWM"),
1140 		MTK_FUNCTION(3, "CLKM6"),
1141 		MTK_FUNCTION(4, "GPU_JTDI"),
1142 		MTK_FUNCTION(5, "USB_TEST_IO[26]"),
1143 		MTK_FUNCTION(6, "TESTB_OUT29"),
1144 		MTK_FUNCTION(7, "EXT_FRAME_SYNC")
1145 	),
1146 	MTK_PIN(PINCTRL_PIN(113, "EINT9"),
1147 		"W8", "mt8135",
1148 		MTK_EINT_FUNCTION(1, 9),
1149 		MTK_FUNCTION(0, "GPIO113"),
1150 		MTK_FUNCTION(1, "EINT9"),
1151 		MTK_FUNCTION(4, "GPU_JTCK"),
1152 		MTK_FUNCTION(5, "USB_DRVVBUS"),
1153 		MTK_FUNCTION(6, "TESTB_OUT30"),
1154 		MTK_FUNCTION(7, "A_FUNC_DIN[27]")
1155 	),
1156 	MTK_PIN(PINCTRL_PIN(114, "LPCE1B"),
1157 		"W4", "mt8135",
1158 		MTK_EINT_FUNCTION(2, 127),
1159 		MTK_FUNCTION(0, "GPIO114"),
1160 		MTK_FUNCTION(1, "LPCE1B"),
1161 		MTK_FUNCTION(2, "EINT127"),
1162 		MTK_FUNCTION(5, "PWM2"),
1163 		MTK_FUNCTION(6, "TESTB_OUT14"),
1164 		MTK_FUNCTION(7, "A_FUNC_DIN[28]")
1165 	),
1166 	MTK_PIN(PINCTRL_PIN(115, "LPCE0B"),
1167 		"T5", "mt8135",
1168 		MTK_EINT_FUNCTION(2, 126),
1169 		MTK_FUNCTION(0, "GPIO115"),
1170 		MTK_FUNCTION(1, "LPCE0B"),
1171 		MTK_FUNCTION(2, "EINT126"),
1172 		MTK_FUNCTION(5, "PWM1"),
1173 		MTK_FUNCTION(6, "TESTB_OUT15"),
1174 		MTK_FUNCTION(7, "A_FUNC_DIN[29]")
1175 	),
1176 	MTK_PIN(PINCTRL_PIN(116, "DISP_PWM"),
1177 		"V4", "mt8135",
1178 		MTK_EINT_FUNCTION(2, 77),
1179 		MTK_FUNCTION(0, "GPIO116"),
1180 		MTK_FUNCTION(1, "DISP_PWM"),
1181 		MTK_FUNCTION(2, "EINT77"),
1182 		MTK_FUNCTION(3, "LSDI"),
1183 		MTK_FUNCTION(4, "PWM1"),
1184 		MTK_FUNCTION(5, "PWM2"),
1185 		MTK_FUNCTION(7, "PWM3")
1186 	),
1187 	MTK_PIN(PINCTRL_PIN(117, "EINT1"),
1188 		"T6", "mt8135",
1189 		MTK_EINT_FUNCTION(1, 1),
1190 		MTK_FUNCTION(0, "GPIO117"),
1191 		MTK_FUNCTION(1, "EINT1"),
1192 		MTK_FUNCTION(2, "PWM2"),
1193 		MTK_FUNCTION(3, "CLKM1"),
1194 		MTK_FUNCTION(5, "USB_TEST_IO[13]"),
1195 		MTK_FUNCTION(7, "USB_SDA")
1196 	),
1197 	MTK_PIN(PINCTRL_PIN(118, "EINT2"),
1198 		"T4", "mt8135",
1199 		MTK_EINT_FUNCTION(1, 2),
1200 		MTK_FUNCTION(0, "GPIO118"),
1201 		MTK_FUNCTION(1, "EINT2"),
1202 		MTK_FUNCTION(2, "PWM3"),
1203 		MTK_FUNCTION(3, "CLKM2"),
1204 		MTK_FUNCTION(5, "USB_TEST_IO[14]"),
1205 		MTK_FUNCTION(6, "SRCLKENAI2"),
1206 		MTK_FUNCTION(7, "A_FUNC_DIN[30]")
1207 	),
1208 	MTK_PIN(PINCTRL_PIN(119, "EINT3"),
1209 		"R4", "mt8135",
1210 		MTK_EINT_FUNCTION(1, 3),
1211 		MTK_FUNCTION(0, "GPIO119"),
1212 		MTK_FUNCTION(1, "EINT3"),
1213 		MTK_FUNCTION(5, "USB_TEST_IO[15]"),
1214 		MTK_FUNCTION(6, "SRCLKENAI1"),
1215 		MTK_FUNCTION(7, "EXT_26M_CK")
1216 	),
1217 	MTK_PIN(PINCTRL_PIN(120, "EINT4"),
1218 		"R5", "mt8135",
1219 		MTK_EINT_FUNCTION(1, 4),
1220 		MTK_FUNCTION(0, "GPIO120"),
1221 		MTK_FUNCTION(1, "EINT4"),
1222 		MTK_FUNCTION(2, "PWM4"),
1223 		MTK_FUNCTION(5, "USB_DRVVBUS"),
1224 		MTK_FUNCTION(7, "A_FUNC_DIN[31]")
1225 	),
1226 	MTK_PIN(PINCTRL_PIN(121, "DPIDE"),
1227 		NULL, "mt8135",
1228 		MTK_EINT_FUNCTION(2, 100),
1229 		MTK_FUNCTION(0, "GPIO121"),
1230 		MTK_FUNCTION(1, "DPI0_DE"),
1231 		MTK_FUNCTION(2, "EINT100"),
1232 		MTK_FUNCTION(3, "I2SOUT_DAT"),
1233 		MTK_FUNCTION(4, "DAC_DAT_OUT"),
1234 		MTK_FUNCTION(5, "PCM1_DO"),
1235 		MTK_FUNCTION(6, "IRDA_TXD")
1236 	),
1237 	MTK_PIN(PINCTRL_PIN(122, "DPICK"),
1238 		NULL, "mt8135",
1239 		MTK_EINT_FUNCTION(2, 101),
1240 		MTK_FUNCTION(0, "GPIO122"),
1241 		MTK_FUNCTION(1, "DPI0_CK"),
1242 		MTK_FUNCTION(2, "EINT101"),
1243 		MTK_FUNCTION(3, "I2SIN_DAT"),
1244 		MTK_FUNCTION(5, "PCM1_DI"),
1245 		MTK_FUNCTION(6, "IRDA_PDN")
1246 	),
1247 	MTK_PIN(PINCTRL_PIN(123, "DPIG4"),
1248 		NULL, "mt8135",
1249 		MTK_EINT_FUNCTION(2, 114),
1250 		MTK_FUNCTION(0, "GPIO123"),
1251 		MTK_FUNCTION(1, "DPI0_G4"),
1252 		MTK_FUNCTION(2, "EINT114"),
1253 		MTK_FUNCTION(4, "CM2DAT_2X[0]"),
1254 		MTK_FUNCTION(5, "DSP2_ID")
1255 	),
1256 	MTK_PIN(PINCTRL_PIN(124, "DPIG5"),
1257 		NULL, "mt8135",
1258 		MTK_EINT_FUNCTION(2, 115),
1259 		MTK_FUNCTION(0, "GPIO124"),
1260 		MTK_FUNCTION(1, "DPI0_G5"),
1261 		MTK_FUNCTION(2, "EINT115"),
1262 		MTK_FUNCTION(4, "CM2DAT_2X[1]"),
1263 		MTK_FUNCTION(5, "DSP2_ICK")
1264 	),
1265 	MTK_PIN(PINCTRL_PIN(125, "DPIR3"),
1266 		NULL, "mt8135",
1267 		MTK_EINT_FUNCTION(2, 121),
1268 		MTK_FUNCTION(0, "GPIO125"),
1269 		MTK_FUNCTION(1, "DPI0_R3"),
1270 		MTK_FUNCTION(2, "EINT121"),
1271 		MTK_FUNCTION(4, "CM2DAT_2X[7]")
1272 	),
1273 	MTK_PIN(PINCTRL_PIN(126, "DPIG1"),
1274 		NULL, "mt8135",
1275 		MTK_EINT_FUNCTION(2, 111),
1276 		MTK_FUNCTION(0, "GPIO126"),
1277 		MTK_FUNCTION(1, "DPI0_G1"),
1278 		MTK_FUNCTION(2, "EINT111"),
1279 		MTK_FUNCTION(5, "DSP1_ICK")
1280 	),
1281 	MTK_PIN(PINCTRL_PIN(127, "DPIVSYNC"),
1282 		NULL, "mt8135",
1283 		MTK_EINT_FUNCTION(2, 98),
1284 		MTK_FUNCTION(0, "GPIO127"),
1285 		MTK_FUNCTION(1, "DPI0_VSYNC"),
1286 		MTK_FUNCTION(2, "EINT98"),
1287 		MTK_FUNCTION(3, "I2SIN_CK"),
1288 		MTK_FUNCTION(4, "DAC_CK"),
1289 		MTK_FUNCTION(5, "PCM1_CK")
1290 	),
1291 	MTK_PIN(PINCTRL_PIN(128, "DPIHSYNC"),
1292 		NULL, "mt8135",
1293 		MTK_EINT_FUNCTION(2, 99),
1294 		MTK_FUNCTION(0, "GPIO128"),
1295 		MTK_FUNCTION(1, "DPI0_HSYNC"),
1296 		MTK_FUNCTION(2, "EINT99"),
1297 		MTK_FUNCTION(3, "I2SIN_WS"),
1298 		MTK_FUNCTION(4, "DAC_WS"),
1299 		MTK_FUNCTION(5, "PCM1_WS"),
1300 		MTK_FUNCTION(6, "IRDA_RXD")
1301 	),
1302 	MTK_PIN(PINCTRL_PIN(129, "DPIB0"),
1303 		NULL, "mt8135",
1304 		MTK_EINT_FUNCTION(2, 102),
1305 		MTK_FUNCTION(0, "GPIO129"),
1306 		MTK_FUNCTION(1, "DPI0_B0"),
1307 		MTK_FUNCTION(2, "EINT102"),
1308 		MTK_FUNCTION(4, "SCL0"),
1309 		MTK_FUNCTION(5, "DISP_PWM")
1310 	),
1311 	MTK_PIN(PINCTRL_PIN(130, "DPIB1"),
1312 		NULL, "mt8135",
1313 		MTK_EINT_FUNCTION(2, 103),
1314 		MTK_FUNCTION(0, "GPIO130"),
1315 		MTK_FUNCTION(1, "DPI0_B1"),
1316 		MTK_FUNCTION(2, "EINT103"),
1317 		MTK_FUNCTION(3, "CLKM0"),
1318 		MTK_FUNCTION(4, "SDA0"),
1319 		MTK_FUNCTION(5, "PWM1")
1320 	),
1321 	MTK_PIN(PINCTRL_PIN(131, "DPIB2"),
1322 		NULL, "mt8135",
1323 		MTK_EINT_FUNCTION(2, 104),
1324 		MTK_FUNCTION(0, "GPIO131"),
1325 		MTK_FUNCTION(1, "DPI0_B2"),
1326 		MTK_FUNCTION(2, "EINT104"),
1327 		MTK_FUNCTION(3, "CLKM1"),
1328 		MTK_FUNCTION(4, "SCL1"),
1329 		MTK_FUNCTION(5, "PWM2")
1330 	),
1331 	MTK_PIN(PINCTRL_PIN(132, "DPIB3"),
1332 		NULL, "mt8135",
1333 		MTK_EINT_FUNCTION(2, 105),
1334 		MTK_FUNCTION(0, "GPIO132"),
1335 		MTK_FUNCTION(1, "DPI0_B3"),
1336 		MTK_FUNCTION(2, "EINT105"),
1337 		MTK_FUNCTION(3, "CLKM2"),
1338 		MTK_FUNCTION(4, "SDA1"),
1339 		MTK_FUNCTION(5, "PWM3")
1340 	),
1341 	MTK_PIN(PINCTRL_PIN(133, "DPIB4"),
1342 		NULL, "mt8135",
1343 		MTK_EINT_FUNCTION(2, 106),
1344 		MTK_FUNCTION(0, "GPIO133"),
1345 		MTK_FUNCTION(1, "DPI0_B4"),
1346 		MTK_FUNCTION(2, "EINT106"),
1347 		MTK_FUNCTION(3, "CLKM3"),
1348 		MTK_FUNCTION(4, "SCL2"),
1349 		MTK_FUNCTION(5, "PWM4")
1350 	),
1351 	MTK_PIN(PINCTRL_PIN(134, "DPIB5"),
1352 		NULL, "mt8135",
1353 		MTK_EINT_FUNCTION(2, 107),
1354 		MTK_FUNCTION(0, "GPIO134"),
1355 		MTK_FUNCTION(1, "DPI0_B5"),
1356 		MTK_FUNCTION(2, "EINT107"),
1357 		MTK_FUNCTION(3, "CLKM4"),
1358 		MTK_FUNCTION(4, "SDA2"),
1359 		MTK_FUNCTION(5, "PWM5")
1360 	),
1361 	MTK_PIN(PINCTRL_PIN(135, "DPIB6"),
1362 		NULL, "mt8135",
1363 		MTK_EINT_FUNCTION(2, 108),
1364 		MTK_FUNCTION(0, "GPIO135"),
1365 		MTK_FUNCTION(1, "DPI0_B6"),
1366 		MTK_FUNCTION(2, "EINT108"),
1367 		MTK_FUNCTION(3, "CLKM5"),
1368 		MTK_FUNCTION(4, "SCL3"),
1369 		MTK_FUNCTION(5, "PWM6")
1370 	),
1371 	MTK_PIN(PINCTRL_PIN(136, "DPIB7"),
1372 		NULL, "mt8135",
1373 		MTK_EINT_FUNCTION(2, 109),
1374 		MTK_FUNCTION(0, "GPIO136"),
1375 		MTK_FUNCTION(1, "DPI0_B7"),
1376 		MTK_FUNCTION(2, "EINT109"),
1377 		MTK_FUNCTION(3, "CLKM6"),
1378 		MTK_FUNCTION(4, "SDA3"),
1379 		MTK_FUNCTION(5, "PWM7")
1380 	),
1381 	MTK_PIN(PINCTRL_PIN(137, "DPIG0"),
1382 		NULL, "mt8135",
1383 		MTK_EINT_FUNCTION(2, 110),
1384 		MTK_FUNCTION(0, "GPIO137"),
1385 		MTK_FUNCTION(1, "DPI0_G0"),
1386 		MTK_FUNCTION(2, "EINT110"),
1387 		MTK_FUNCTION(5, "DSP1_ID")
1388 	),
1389 	MTK_PIN(PINCTRL_PIN(138, "DPIG2"),
1390 		NULL, "mt8135",
1391 		MTK_EINT_FUNCTION(2, 112),
1392 		MTK_FUNCTION(0, "GPIO138"),
1393 		MTK_FUNCTION(1, "DPI0_G2"),
1394 		MTK_FUNCTION(2, "EINT112"),
1395 		MTK_FUNCTION(5, "DSP1_IMS")
1396 	),
1397 	MTK_PIN(PINCTRL_PIN(139, "DPIG3"),
1398 		NULL, "mt8135",
1399 		MTK_EINT_FUNCTION(2, 113),
1400 		MTK_FUNCTION(0, "GPIO139"),
1401 		MTK_FUNCTION(1, "DPI0_G3"),
1402 		MTK_FUNCTION(2, "EINT113"),
1403 		MTK_FUNCTION(5, "DSP2_IMS")
1404 	),
1405 	MTK_PIN(PINCTRL_PIN(140, "DPIG6"),
1406 		NULL, "mt8135",
1407 		MTK_EINT_FUNCTION(2, 116),
1408 		MTK_FUNCTION(0, "GPIO140"),
1409 		MTK_FUNCTION(1, "DPI0_G6"),
1410 		MTK_FUNCTION(2, "EINT116"),
1411 		MTK_FUNCTION(4, "CM2DAT_2X[2]")
1412 	),
1413 	MTK_PIN(PINCTRL_PIN(141, "DPIG7"),
1414 		NULL, "mt8135",
1415 		MTK_EINT_FUNCTION(2, 117),
1416 		MTK_FUNCTION(0, "GPIO141"),
1417 		MTK_FUNCTION(1, "DPI0_G7"),
1418 		MTK_FUNCTION(2, "EINT117"),
1419 		MTK_FUNCTION(4, "CM2DAT_2X[3]")
1420 	),
1421 	MTK_PIN(PINCTRL_PIN(142, "DPIR0"),
1422 		NULL, "mt8135",
1423 		MTK_EINT_FUNCTION(2, 118),
1424 		MTK_FUNCTION(0, "GPIO142"),
1425 		MTK_FUNCTION(1, "DPI0_R0"),
1426 		MTK_FUNCTION(2, "EINT118"),
1427 		MTK_FUNCTION(4, "CM2DAT_2X[4]")
1428 	),
1429 	MTK_PIN(PINCTRL_PIN(143, "DPIR1"),
1430 		NULL, "mt8135",
1431 		MTK_EINT_FUNCTION(2, 119),
1432 		MTK_FUNCTION(0, "GPIO143"),
1433 		MTK_FUNCTION(1, "DPI0_R1"),
1434 		MTK_FUNCTION(2, "EINT119"),
1435 		MTK_FUNCTION(4, "CM2DAT_2X[5]")
1436 	),
1437 	MTK_PIN(PINCTRL_PIN(144, "DPIR2"),
1438 		NULL, "mt8135",
1439 		MTK_EINT_FUNCTION(2, 120),
1440 		MTK_FUNCTION(0, "GPIO144"),
1441 		MTK_FUNCTION(1, "DPI0_R2"),
1442 		MTK_FUNCTION(2, "EINT120"),
1443 		MTK_FUNCTION(4, "CM2DAT_2X[6]")
1444 	),
1445 	MTK_PIN(PINCTRL_PIN(145, "DPIR4"),
1446 		NULL, "mt8135",
1447 		MTK_EINT_FUNCTION(2, 122),
1448 		MTK_FUNCTION(0, "GPIO145"),
1449 		MTK_FUNCTION(1, "DPI0_R4"),
1450 		MTK_FUNCTION(2, "EINT122"),
1451 		MTK_FUNCTION(4, "CM2DAT_2X[8]")
1452 	),
1453 	MTK_PIN(PINCTRL_PIN(146, "DPIR5"),
1454 		NULL, "mt8135",
1455 		MTK_EINT_FUNCTION(2, 123),
1456 		MTK_FUNCTION(0, "GPIO146"),
1457 		MTK_FUNCTION(1, "DPI0_R5"),
1458 		MTK_FUNCTION(2, "EINT123"),
1459 		MTK_FUNCTION(4, "CM2DAT_2X[9]")
1460 	),
1461 	MTK_PIN(PINCTRL_PIN(147, "DPIR6"),
1462 		NULL, "mt8135",
1463 		MTK_EINT_FUNCTION(2, 124),
1464 		MTK_FUNCTION(0, "GPIO147"),
1465 		MTK_FUNCTION(1, "DPI0_R6"),
1466 		MTK_FUNCTION(2, "EINT124"),
1467 		MTK_FUNCTION(4, "CM2VSYNC_2X")
1468 	),
1469 	MTK_PIN(PINCTRL_PIN(148, "DPIR7"),
1470 		NULL, "mt8135",
1471 		MTK_EINT_FUNCTION(2, 125),
1472 		MTK_FUNCTION(0, "GPIO148"),
1473 		MTK_FUNCTION(1, "DPI0_R7"),
1474 		MTK_FUNCTION(2, "EINT125"),
1475 		MTK_FUNCTION(4, "CM2HSYNC_2X")
1476 	),
1477 	MTK_PIN(PINCTRL_PIN(149, "TDN3/LVDS(TDN3)"),
1478 		"AA2", "mt8135",
1479 		MTK_EINT_FUNCTION(2, 36),
1480 		MTK_FUNCTION(0, "GPIO149"),
1481 		MTK_FUNCTION(2, "EINT36")
1482 	),
1483 	MTK_PIN(PINCTRL_PIN(150, "TDP3/LVDS(TDP3)"),
1484 		"AA1", "mt8135",
1485 		MTK_EINT_FUNCTION(2, 35),
1486 		MTK_FUNCTION(0, "GPIO150"),
1487 		MTK_FUNCTION(2, "EINT35")
1488 	),
1489 	MTK_PIN(PINCTRL_PIN(151, "TDN2/LVDS(TCN)"),
1490 		"Y2", "mt8135",
1491 		MTK_EINT_FUNCTION(2, 169),
1492 		MTK_FUNCTION(0, "GPIO151"),
1493 		MTK_FUNCTION(2, "EINT169")
1494 	),
1495 	MTK_PIN(PINCTRL_PIN(152, "TDP2/LVDS(TCP)"),
1496 		"Y1", "mt8135",
1497 		MTK_EINT_FUNCTION(2, 168),
1498 		MTK_FUNCTION(0, "GPIO152"),
1499 		MTK_FUNCTION(2, "EINT168")
1500 	),
1501 	MTK_PIN(PINCTRL_PIN(153, "TCN/LVDS(TDN2)"),
1502 		"W2", "mt8135",
1503 		MTK_EINT_FUNCTION(2, 163),
1504 		MTK_FUNCTION(0, "GPIO153"),
1505 		MTK_FUNCTION(2, "EINT163")
1506 	),
1507 	MTK_PIN(PINCTRL_PIN(154, "TCP/LVDS(TDP2)"),
1508 		"W1", "mt8135",
1509 		MTK_EINT_FUNCTION(2, 162),
1510 		MTK_FUNCTION(0, "GPIO154"),
1511 		MTK_FUNCTION(2, "EINT162")
1512 	),
1513 	MTK_PIN(PINCTRL_PIN(155, "TDN1/LVDS(TDN1)"),
1514 		"V3", "mt8135",
1515 		MTK_EINT_FUNCTION(2, 167),
1516 		MTK_FUNCTION(0, "GPIO155"),
1517 		MTK_FUNCTION(2, "EINT167")
1518 	),
1519 	MTK_PIN(PINCTRL_PIN(156, "TDP1/LVDS(TDP1)"),
1520 		"V2", "mt8135",
1521 		MTK_EINT_FUNCTION(2, 166),
1522 		MTK_FUNCTION(0, "GPIO156"),
1523 		MTK_FUNCTION(2, "EINT166")
1524 	),
1525 	MTK_PIN(PINCTRL_PIN(157, "TDN0/LVDS(TDN0)"),
1526 		"U3", "mt8135",
1527 		MTK_EINT_FUNCTION(2, 165),
1528 		MTK_FUNCTION(0, "GPIO157"),
1529 		MTK_FUNCTION(2, "EINT165")
1530 	),
1531 	MTK_PIN(PINCTRL_PIN(158, "TDP0/LVDS(TDP0)"),
1532 		"U2", "mt8135",
1533 		MTK_EINT_FUNCTION(2, 164),
1534 		MTK_FUNCTION(0, "GPIO158"),
1535 		MTK_FUNCTION(2, "EINT164")
1536 	),
1537 	MTK_PIN(PINCTRL_PIN(159, "RDN3"),
1538 		"N5", "mt8135",
1539 		MTK_EINT_FUNCTION(2, 18),
1540 		MTK_FUNCTION(0, "GPIO159"),
1541 		MTK_FUNCTION(2, "EINT18")
1542 	),
1543 	MTK_PIN(PINCTRL_PIN(160, "RDP3"),
1544 		"N4", "mt8135",
1545 		MTK_EINT_FUNCTION(2, 30),
1546 		MTK_FUNCTION(0, "GPIO160"),
1547 		MTK_FUNCTION(2, "EINT30")
1548 	),
1549 	MTK_PIN(PINCTRL_PIN(161, "RDN2"),
1550 		"T2", "mt8135",
1551 		MTK_EINT_FUNCTION(2, 31),
1552 		MTK_FUNCTION(0, "GPIO161"),
1553 		MTK_FUNCTION(2, "EINT31")
1554 	),
1555 	MTK_PIN(PINCTRL_PIN(162, "RDP2"),
1556 		"T3", "mt8135",
1557 		MTK_EINT_FUNCTION(2, 32),
1558 		MTK_FUNCTION(0, "GPIO162"),
1559 		MTK_FUNCTION(2, "EINT32")
1560 	),
1561 	MTK_PIN(PINCTRL_PIN(163, "RCN"),
1562 		"P2", "mt8135",
1563 		MTK_EINT_FUNCTION(2, 33),
1564 		MTK_FUNCTION(0, "GPIO163"),
1565 		MTK_FUNCTION(2, "EINT33")
1566 	),
1567 	MTK_PIN(PINCTRL_PIN(164, "RCP"),
1568 		"P3", "mt8135",
1569 		MTK_EINT_FUNCTION(2, 39),
1570 		MTK_FUNCTION(0, "GPIO164"),
1571 		MTK_FUNCTION(2, "EINT39")
1572 	),
1573 	MTK_PIN(PINCTRL_PIN(165, "RDN1"),
1574 		"R3", "mt8135",
1575 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1576 		MTK_FUNCTION(0, "GPIO165")
1577 	),
1578 	MTK_PIN(PINCTRL_PIN(166, "RDP1"),
1579 		"R2", "mt8135",
1580 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1581 		MTK_FUNCTION(0, "GPIO166")
1582 	),
1583 	MTK_PIN(PINCTRL_PIN(167, "RDN0"),
1584 		"N3", "mt8135",
1585 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1586 		MTK_FUNCTION(0, "GPIO167")
1587 	),
1588 	MTK_PIN(PINCTRL_PIN(168, "RDP0"),
1589 		"N2", "mt8135",
1590 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1591 		MTK_FUNCTION(0, "GPIO168")
1592 	),
1593 	MTK_PIN(PINCTRL_PIN(169, "RDN1_A"),
1594 		"M4", "mt8135",
1595 		MTK_EINT_FUNCTION(2, 175),
1596 		MTK_FUNCTION(0, "GPIO169"),
1597 		MTK_FUNCTION(1, "CMDAT6"),
1598 		MTK_FUNCTION(2, "EINT175")
1599 	),
1600 	MTK_PIN(PINCTRL_PIN(170, "RDP1_A"),
1601 		"M3", "mt8135",
1602 		MTK_EINT_FUNCTION(2, 174),
1603 		MTK_FUNCTION(0, "GPIO170"),
1604 		MTK_FUNCTION(1, "CMDAT7"),
1605 		MTK_FUNCTION(2, "EINT174")
1606 	),
1607 	MTK_PIN(PINCTRL_PIN(171, "RCN_A"),
1608 		"L3", "mt8135",
1609 		MTK_EINT_FUNCTION(2, 171),
1610 		MTK_FUNCTION(0, "GPIO171"),
1611 		MTK_FUNCTION(1, "CMDAT8"),
1612 		MTK_FUNCTION(2, "EINT171")
1613 	),
1614 	MTK_PIN(PINCTRL_PIN(172, "RCP_A"),
1615 		"L2", "mt8135",
1616 		MTK_EINT_FUNCTION(2, 170),
1617 		MTK_FUNCTION(0, "GPIO172"),
1618 		MTK_FUNCTION(1, "CMDAT9"),
1619 		MTK_FUNCTION(2, "EINT170")
1620 	),
1621 	MTK_PIN(PINCTRL_PIN(173, "RDN0_A"),
1622 		"M2", "mt8135",
1623 		MTK_EINT_FUNCTION(2, 173),
1624 		MTK_FUNCTION(0, "GPIO173"),
1625 		MTK_FUNCTION(1, "CMHSYNC"),
1626 		MTK_FUNCTION(2, "EINT173")
1627 	),
1628 	MTK_PIN(PINCTRL_PIN(174, "RDP0_A"),
1629 		"M1", "mt8135",
1630 		MTK_EINT_FUNCTION(2, 172),
1631 		MTK_FUNCTION(0, "GPIO174"),
1632 		MTK_FUNCTION(1, "CMVSYNC"),
1633 		MTK_FUNCTION(2, "EINT172")
1634 	),
1635 	MTK_PIN(PINCTRL_PIN(175, "RDN1_B"),
1636 		"H2", "mt8135",
1637 		MTK_EINT_FUNCTION(2, 181),
1638 		MTK_FUNCTION(0, "GPIO175"),
1639 		MTK_FUNCTION(1, "CMDAT2"),
1640 		MTK_FUNCTION(2, "EINT181"),
1641 		MTK_FUNCTION(3, "CMCSD2")
1642 	),
1643 	MTK_PIN(PINCTRL_PIN(176, "RDP1_B"),
1644 		"H1", "mt8135",
1645 		MTK_EINT_FUNCTION(2, 180),
1646 		MTK_FUNCTION(0, "GPIO176"),
1647 		MTK_FUNCTION(1, "CMDAT3"),
1648 		MTK_FUNCTION(2, "EINT180"),
1649 		MTK_FUNCTION(3, "CMCSD3")
1650 	),
1651 	MTK_PIN(PINCTRL_PIN(177, "RCN_B"),
1652 		"K3", "mt8135",
1653 		MTK_EINT_FUNCTION(2, 177),
1654 		MTK_FUNCTION(0, "GPIO177"),
1655 		MTK_FUNCTION(1, "CMDAT4"),
1656 		MTK_FUNCTION(2, "EINT177")
1657 	),
1658 	MTK_PIN(PINCTRL_PIN(178, "RCP_B"),
1659 		"K2", "mt8135",
1660 		MTK_EINT_FUNCTION(2, 176),
1661 		MTK_FUNCTION(0, "GPIO178"),
1662 		MTK_FUNCTION(1, "CMDAT5"),
1663 		MTK_FUNCTION(2, "EINT176")
1664 	),
1665 	MTK_PIN(PINCTRL_PIN(179, "RDN0_B"),
1666 		"J3", "mt8135",
1667 		MTK_EINT_FUNCTION(2, 179),
1668 		MTK_FUNCTION(0, "GPIO179"),
1669 		MTK_FUNCTION(1, "CMDAT0"),
1670 		MTK_FUNCTION(2, "EINT179"),
1671 		MTK_FUNCTION(3, "CMCSD0")
1672 	),
1673 	MTK_PIN(PINCTRL_PIN(180, "RDP0_B"),
1674 		"J2", "mt8135",
1675 		MTK_EINT_FUNCTION(2, 178),
1676 		MTK_FUNCTION(0, "GPIO180"),
1677 		MTK_FUNCTION(1, "CMDAT1"),
1678 		MTK_FUNCTION(2, "EINT178"),
1679 		MTK_FUNCTION(3, "CMCSD1")
1680 	),
1681 	MTK_PIN(PINCTRL_PIN(181, "CMPCLK"),
1682 		"K4", "mt8135",
1683 		MTK_EINT_FUNCTION(2, 182),
1684 		MTK_FUNCTION(0, "GPIO181"),
1685 		MTK_FUNCTION(1, "CMPCLK"),
1686 		MTK_FUNCTION(2, "EINT182"),
1687 		MTK_FUNCTION(3, "CMCSK"),
1688 		MTK_FUNCTION(4, "CM2MCLK_4X"),
1689 		MTK_FUNCTION(5, "TS_AUXADC_SEL[3]"),
1690 		MTK_FUNCTION(6, "VENC_TEST_CK"),
1691 		MTK_FUNCTION(7, "TESTA_OUT27")
1692 	),
1693 	MTK_PIN(PINCTRL_PIN(182, "CMMCLK"),
1694 		"J5", "mt8135",
1695 		MTK_EINT_FUNCTION(2, 183),
1696 		MTK_FUNCTION(0, "GPIO182"),
1697 		MTK_FUNCTION(1, "CMMCLK"),
1698 		MTK_FUNCTION(2, "EINT183"),
1699 		MTK_FUNCTION(5, "TS_AUXADC_SEL[2]"),
1700 		MTK_FUNCTION(7, "TESTA_OUT28")
1701 	),
1702 	MTK_PIN(PINCTRL_PIN(183, "CMRST"),
1703 		"J6", "mt8135",
1704 		MTK_EINT_FUNCTION(2, 185),
1705 		MTK_FUNCTION(0, "GPIO183"),
1706 		MTK_FUNCTION(1, "CMRST"),
1707 		MTK_FUNCTION(2, "EINT185"),
1708 		MTK_FUNCTION(5, "TS_AUXADC_SEL[1]"),
1709 		MTK_FUNCTION(7, "TESTA_OUT30")
1710 	),
1711 	MTK_PIN(PINCTRL_PIN(184, "CMPDN"),
1712 		"J4", "mt8135",
1713 		MTK_EINT_FUNCTION(2, 184),
1714 		MTK_FUNCTION(0, "GPIO184"),
1715 		MTK_FUNCTION(1, "CMPDN"),
1716 		MTK_FUNCTION(2, "EINT184"),
1717 		MTK_FUNCTION(5, "TS_AUXADC_SEL[0]"),
1718 		MTK_FUNCTION(7, "TESTA_OUT29")
1719 	),
1720 	MTK_PIN(PINCTRL_PIN(185, "CMFLASH"),
1721 		"G4", "mt8135",
1722 		MTK_EINT_FUNCTION(2, 186),
1723 		MTK_FUNCTION(0, "GPIO185"),
1724 		MTK_FUNCTION(1, "CMFLASH"),
1725 		MTK_FUNCTION(2, "EINT186"),
1726 		MTK_FUNCTION(3, "CM2MCLK_3X"),
1727 		MTK_FUNCTION(6, "MFG_TEST_CK_1"),
1728 		MTK_FUNCTION(7, "TESTA_OUT31")
1729 	),
1730 	MTK_PIN(PINCTRL_PIN(186, "MRG_I2S_PCM_CLK"),
1731 		"F5", "mt8135",
1732 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1733 		MTK_FUNCTION(0, "GPIO186"),
1734 		MTK_FUNCTION(1, "MRG_I2S_PCM_CLK"),
1735 		MTK_FUNCTION(3, "I2SIN_CK"),
1736 		MTK_FUNCTION(4, "PCM0_CK"),
1737 		MTK_FUNCTION(5, "DSP2_ICK"),
1738 		MTK_FUNCTION(6, "IMG_TEST_CK"),
1739 		MTK_FUNCTION(7, "USB_SCL")
1740 	),
1741 	MTK_PIN(PINCTRL_PIN(187, "MRG_I2S_PCM_SYNC"),
1742 		"G6", "mt8135",
1743 		MTK_EINT_FUNCTION(2, 16),
1744 		MTK_FUNCTION(0, "GPIO187"),
1745 		MTK_FUNCTION(1, "MRG_I2S_PCM_SYNC"),
1746 		MTK_FUNCTION(2, "EINT16"),
1747 		MTK_FUNCTION(3, "I2SIN_WS"),
1748 		MTK_FUNCTION(4, "PCM0_WS"),
1749 		MTK_FUNCTION(6, "DISP_TEST_CK")
1750 	),
1751 	MTK_PIN(PINCTRL_PIN(188, "MRG_I2S_PCM_RX"),
1752 		"G3", "mt8135",
1753 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1754 		MTK_FUNCTION(0, "GPIO188"),
1755 		MTK_FUNCTION(1, "MRG_I2S_PCM_RX"),
1756 		MTK_FUNCTION(3, "I2SIN_DAT"),
1757 		MTK_FUNCTION(4, "PCM0_DI"),
1758 		MTK_FUNCTION(5, "DSP2_ID"),
1759 		MTK_FUNCTION(6, "MFG_TEST_CK"),
1760 		MTK_FUNCTION(7, "USB_SDA")
1761 	),
1762 	MTK_PIN(PINCTRL_PIN(189, "MRG_I2S_PCM_TX"),
1763 		"G5", "mt8135",
1764 		MTK_EINT_FUNCTION(2, 17),
1765 		MTK_FUNCTION(0, "GPIO189"),
1766 		MTK_FUNCTION(1, "MRG_I2S_PCM_TX"),
1767 		MTK_FUNCTION(2, "EINT17"),
1768 		MTK_FUNCTION(3, "I2SOUT_DAT"),
1769 		MTK_FUNCTION(4, "PCM0_DO"),
1770 		MTK_FUNCTION(6, "VDEC_TEST_CK")
1771 	),
1772 	MTK_PIN(PINCTRL_PIN(190, "SRCLKENAI"),
1773 		"K5", "mt8135",
1774 		MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1775 		MTK_FUNCTION(0, "GPIO190"),
1776 		MTK_FUNCTION(1, "SRCLKENAI")
1777 	),
1778 	MTK_PIN(PINCTRL_PIN(191, "URXD3"),
1779 		"C3", "mt8135",
1780 		MTK_EINT_FUNCTION(2, 87),
1781 		MTK_FUNCTION(0, "GPIO191"),
1782 		MTK_FUNCTION(1, "URXD3"),
1783 		MTK_FUNCTION(2, "EINT87"),
1784 		MTK_FUNCTION(3, "UTXD3"),
1785 		MTK_FUNCTION(5, "TS_AUX_ST"),
1786 		MTK_FUNCTION(6, "PWM4")
1787 	),
1788 	MTK_PIN(PINCTRL_PIN(192, "UTXD3"),
1789 		"B2", "mt8135",
1790 		MTK_EINT_FUNCTION(2, 86),
1791 		MTK_FUNCTION(0, "GPIO192"),
1792 		MTK_FUNCTION(1, "UTXD3"),
1793 		MTK_FUNCTION(2, "EINT86"),
1794 		MTK_FUNCTION(3, "URXD3"),
1795 		MTK_FUNCTION(5, "TS_AUX_CS_B"),
1796 		MTK_FUNCTION(6, "PWM3")
1797 	),
1798 	MTK_PIN(PINCTRL_PIN(193, "SDA2"),
1799 		"G2", "mt8135",
1800 		MTK_EINT_FUNCTION(2, 95),
1801 		MTK_FUNCTION(0, "GPIO193"),
1802 		MTK_FUNCTION(1, "SDA2"),
1803 		MTK_FUNCTION(2, "EINT95"),
1804 		MTK_FUNCTION(3, "CLKM5"),
1805 		MTK_FUNCTION(4, "PWM5"),
1806 		MTK_FUNCTION(5, "TS_AUX_PWDB")
1807 	),
1808 	MTK_PIN(PINCTRL_PIN(194, "SCL2"),
1809 		"F4", "mt8135",
1810 		MTK_EINT_FUNCTION(2, 94),
1811 		MTK_FUNCTION(0, "GPIO194"),
1812 		MTK_FUNCTION(1, "SCL2"),
1813 		MTK_FUNCTION(2, "EINT94"),
1814 		MTK_FUNCTION(3, "CLKM4"),
1815 		MTK_FUNCTION(4, "PWM4"),
1816 		MTK_FUNCTION(5, "TS_AUXADC_TEST_CK")
1817 	),
1818 	MTK_PIN(PINCTRL_PIN(195, "SDA1"),
1819 		"F2", "mt8135",
1820 		MTK_EINT_FUNCTION(2, 93),
1821 		MTK_FUNCTION(0, "GPIO195"),
1822 		MTK_FUNCTION(1, "SDA1"),
1823 		MTK_FUNCTION(2, "EINT93"),
1824 		MTK_FUNCTION(3, "CLKM3"),
1825 		MTK_FUNCTION(4, "PWM3"),
1826 		MTK_FUNCTION(5, "TS_AUX_SCLK_PWDB")
1827 	),
1828 	MTK_PIN(PINCTRL_PIN(196, "SCL1"),
1829 		"F3", "mt8135",
1830 		MTK_EINT_FUNCTION(2, 92),
1831 		MTK_FUNCTION(0, "GPIO196"),
1832 		MTK_FUNCTION(1, "SCL1"),
1833 		MTK_FUNCTION(2, "EINT92"),
1834 		MTK_FUNCTION(3, "CLKM2"),
1835 		MTK_FUNCTION(4, "PWM2"),
1836 		MTK_FUNCTION(5, "TS_AUX_DIN")
1837 	),
1838 	MTK_PIN(PINCTRL_PIN(197, "MSDC3_DAT2"),
1839 		"E1", "mt8135",
1840 		MTK_EINT_FUNCTION(2, 71),
1841 		MTK_FUNCTION(0, "GPIO197"),
1842 		MTK_FUNCTION(1, "MSDC3_DAT2"),
1843 		MTK_FUNCTION(2, "EINT71"),
1844 		MTK_FUNCTION(3, "SCL6"),
1845 		MTK_FUNCTION(4, "PWM5"),
1846 		MTK_FUNCTION(5, "CLKM4"),
1847 		MTK_FUNCTION(6, "MFG_TEST_CK_2")
1848 	),
1849 	MTK_PIN(PINCTRL_PIN(198, "MSDC3_DAT3"),
1850 		"C2", "mt8135",
1851 		MTK_EINT_FUNCTION(2, 72),
1852 		MTK_FUNCTION(0, "GPIO198"),
1853 		MTK_FUNCTION(1, "MSDC3_DAT3"),
1854 		MTK_FUNCTION(2, "EINT72"),
1855 		MTK_FUNCTION(3, "SDA6"),
1856 		MTK_FUNCTION(4, "PWM6"),
1857 		MTK_FUNCTION(5, "CLKM5"),
1858 		MTK_FUNCTION(6, "MFG_TEST_CK_3")
1859 	),
1860 	MTK_PIN(PINCTRL_PIN(199, "MSDC3_CMD"),
1861 		"D2", "mt8135",
1862 		MTK_EINT_FUNCTION(2, 68),
1863 		MTK_FUNCTION(0, "GPIO199"),
1864 		MTK_FUNCTION(1, "MSDC3_CMD"),
1865 		MTK_FUNCTION(2, "EINT68"),
1866 		MTK_FUNCTION(3, "SDA2"),
1867 		MTK_FUNCTION(4, "PWM2"),
1868 		MTK_FUNCTION(5, "CLKM1"),
1869 		MTK_FUNCTION(6, "MFG_TEST_CK_4")
1870 	),
1871 	MTK_PIN(PINCTRL_PIN(200, "MSDC3_CLK"),
1872 		"E2", "mt8135",
1873 		MTK_EINT_FUNCTION(2, 67),
1874 		MTK_FUNCTION(0, "GPIO200"),
1875 		MTK_FUNCTION(1, "MSDC3_CLK"),
1876 		MTK_FUNCTION(2, "EINT67"),
1877 		MTK_FUNCTION(3, "SCL2"),
1878 		MTK_FUNCTION(4, "PWM1"),
1879 		MTK_FUNCTION(5, "CLKM0")
1880 	),
1881 	MTK_PIN(PINCTRL_PIN(201, "MSDC3_DAT1"),
1882 		"D3", "mt8135",
1883 		MTK_EINT_FUNCTION(2, 70),
1884 		MTK_FUNCTION(0, "GPIO201"),
1885 		MTK_FUNCTION(1, "MSDC3_DAT1"),
1886 		MTK_FUNCTION(2, "EINT70"),
1887 		MTK_FUNCTION(3, "SDA3"),
1888 		MTK_FUNCTION(4, "PWM4"),
1889 		MTK_FUNCTION(5, "CLKM3")
1890 	),
1891 	MTK_PIN(PINCTRL_PIN(202, "MSDC3_DAT0"),
1892 		"E3", "mt8135",
1893 		MTK_EINT_FUNCTION(2, 69),
1894 		MTK_FUNCTION(0, "GPIO202"),
1895 		MTK_FUNCTION(1, "MSDC3_DAT0"),
1896 		MTK_FUNCTION(2, "EINT69"),
1897 		MTK_FUNCTION(3, "SCL3"),
1898 		MTK_FUNCTION(4, "PWM3"),
1899 		MTK_FUNCTION(5, "CLKM2")
1900 	),
1901 };
1902 
1903 #endif /* __PINCTRL_MTK_MT8135_H */
1904