1
2
3
4
5
6
7
8
9
10
11
12
13
14
15#ifndef __PINCTRL_MTK_MT8173_H
16#define __PINCTRL_MTK_MT8173_H
17
18#include <linux/pinctrl/pinctrl.h>
19#include "pinctrl-mtk-common.h"
20
21static const struct mtk_desc_pin mtk_pins_mt8173[] = {
22 MTK_PIN(PINCTRL_PIN(0, "EINT0"),
23 NULL, "mt8173",
24 MTK_EINT_FUNCTION(0, 0),
25 MTK_FUNCTION(0, "GPIO0"),
26 MTK_FUNCTION(1, "IRDA_PDN"),
27 MTK_FUNCTION(2, "I2S1_WS"),
28 MTK_FUNCTION(3, "AUD_SPDIF"),
29 MTK_FUNCTION(4, "UTXD0"),
30 MTK_FUNCTION(7, "DBG_MON_A_20_")
31 ),
32 MTK_PIN(PINCTRL_PIN(1, "EINT1"),
33 NULL, "mt8173",
34 MTK_EINT_FUNCTION(0, 1),
35 MTK_FUNCTION(0, "GPIO1"),
36 MTK_FUNCTION(1, "IRDA_RXD"),
37 MTK_FUNCTION(2, "I2S1_BCK"),
38 MTK_FUNCTION(3, "SDA5"),
39 MTK_FUNCTION(4, "URXD0"),
40 MTK_FUNCTION(7, "DBG_MON_A_21_")
41 ),
42 MTK_PIN(PINCTRL_PIN(2, "EINT2"),
43 NULL, "mt8173",
44 MTK_EINT_FUNCTION(0, 2),
45 MTK_FUNCTION(0, "GPIO2"),
46 MTK_FUNCTION(1, "IRDA_TXD"),
47 MTK_FUNCTION(2, "I2S1_MCK"),
48 MTK_FUNCTION(3, "SCL5"),
49 MTK_FUNCTION(4, "UTXD3"),
50 MTK_FUNCTION(7, "DBG_MON_A_22_")
51 ),
52 MTK_PIN(PINCTRL_PIN(3, "EINT3"),
53 NULL, "mt8173",
54 MTK_EINT_FUNCTION(0, 3),
55 MTK_FUNCTION(0, "GPIO3"),
56 MTK_FUNCTION(1, "DSI1_TE"),
57 MTK_FUNCTION(2, "I2S1_DO_1"),
58 MTK_FUNCTION(3, "SDA3"),
59 MTK_FUNCTION(4, "URXD3"),
60 MTK_FUNCTION(7, "DBG_MON_A_23_")
61 ),
62 MTK_PIN(PINCTRL_PIN(4, "EINT4"),
63 NULL, "mt8173",
64 MTK_EINT_FUNCTION(0, 4),
65 MTK_FUNCTION(0, "GPIO4"),
66 MTK_FUNCTION(1, "DISP_PWM1"),
67 MTK_FUNCTION(2, "I2S1_DO_2"),
68 MTK_FUNCTION(3, "SCL3"),
69 MTK_FUNCTION(4, "UCTS3"),
70 MTK_FUNCTION(6, "SFWP_B")
71 ),
72 MTK_PIN(PINCTRL_PIN(5, "EINT5"),
73 NULL, "mt8173",
74 MTK_EINT_FUNCTION(0, 5),
75 MTK_FUNCTION(0, "GPIO5"),
76 MTK_FUNCTION(1, "PCM1_CLK"),
77 MTK_FUNCTION(2, "I2S2_WS"),
78 MTK_FUNCTION(3, "SPI_CK_3_"),
79 MTK_FUNCTION(4, "URTS3"),
80 MTK_FUNCTION(5, "AP_MD32_JTAG_TMS"),
81 MTK_FUNCTION(6, "SFOUT")
82 ),
83 MTK_PIN(PINCTRL_PIN(6, "EINT6"),
84 NULL, "mt8173",
85 MTK_EINT_FUNCTION(0, 6),
86 MTK_FUNCTION(0, "GPIO6"),
87 MTK_FUNCTION(1, "PCM1_SYNC"),
88 MTK_FUNCTION(2, "I2S2_BCK"),
89 MTK_FUNCTION(3, "SPI_MI_3_"),
90 MTK_FUNCTION(5, "AP_MD32_JTAG_TCK"),
91 MTK_FUNCTION(6, "SFCS0")
92 ),
93 MTK_PIN(PINCTRL_PIN(7, "EINT7"),
94 NULL, "mt8173",
95 MTK_EINT_FUNCTION(0, 7),
96 MTK_FUNCTION(0, "GPIO7"),
97 MTK_FUNCTION(1, "PCM1_DI"),
98 MTK_FUNCTION(2, "I2S2_DI_1"),
99 MTK_FUNCTION(3, "SPI_MO_3_"),
100 MTK_FUNCTION(5, "AP_MD32_JTAG_TDI"),
101 MTK_FUNCTION(6, "SFHOLD")
102 ),
103 MTK_PIN(PINCTRL_PIN(8, "EINT8"),
104 NULL, "mt8173",
105 MTK_EINT_FUNCTION(0, 8),
106 MTK_FUNCTION(0, "GPIO8"),
107 MTK_FUNCTION(1, "PCM1_DO"),
108 MTK_FUNCTION(2, "I2S2_DI_2"),
109 MTK_FUNCTION(3, "SPI_CS_3_"),
110 MTK_FUNCTION(4, "AUD_SPDIF"),
111 MTK_FUNCTION(5, "AP_MD32_JTAG_TDO"),
112 MTK_FUNCTION(6, "SFIN")
113 ),
114 MTK_PIN(PINCTRL_PIN(9, "EINT9"),
115 NULL, "mt8173",
116 MTK_EINT_FUNCTION(0, 9),
117 MTK_FUNCTION(0, "GPIO9"),
118 MTK_FUNCTION(1, "USB_DRVVBUS_P0"),
119 MTK_FUNCTION(2, "I2S2_MCK"),
120 MTK_FUNCTION(4, "USB_DRVVBUS_P1"),
121 MTK_FUNCTION(5, "AP_MD32_JTAG_TRST"),
122 MTK_FUNCTION(6, "SFCK")
123 ),
124 MTK_PIN(PINCTRL_PIN(10, "EINT10"),
125 NULL, "mt8173",
126 MTK_EINT_FUNCTION(0, 10),
127 MTK_FUNCTION(0, "GPIO10"),
128 MTK_FUNCTION(1, "CLKM0"),
129 MTK_FUNCTION(2, "DSI1_TE"),
130 MTK_FUNCTION(3, "DISP_PWM1"),
131 MTK_FUNCTION(4, "PWM4"),
132 MTK_FUNCTION(5, "IRDA_RXD")
133 ),
134 MTK_PIN(PINCTRL_PIN(11, "EINT11"),
135 NULL, "mt8173",
136 MTK_EINT_FUNCTION(0, 11),
137 MTK_FUNCTION(0, "GPIO11"),
138 MTK_FUNCTION(1, "CLKM1"),
139 MTK_FUNCTION(2, "I2S3_WS"),
140 MTK_FUNCTION(3, "USB_DRVVBUS_P0"),
141 MTK_FUNCTION(4, "PWM5"),
142 MTK_FUNCTION(5, "IRDA_TXD"),
143 MTK_FUNCTION(6, "USB_DRVVBUS_P1"),
144 MTK_FUNCTION(7, "DBG_MON_B_30_")
145 ),
146 MTK_PIN(PINCTRL_PIN(12, "EINT12"),
147 NULL, "mt8173",
148 MTK_EINT_FUNCTION(0, 12),
149 MTK_FUNCTION(0, "GPIO12"),
150 MTK_FUNCTION(1, "CLKM2"),
151 MTK_FUNCTION(2, "I2S3_BCK"),
152 MTK_FUNCTION(3, "SRCLKENA0"),
153 MTK_FUNCTION(5, "I2S2_WS"),
154 MTK_FUNCTION(7, "DBG_MON_B_32_")
155 ),
156 MTK_PIN(PINCTRL_PIN(13, "EINT13"),
157 NULL, "mt8173",
158 MTK_EINT_FUNCTION(0, 13),
159 MTK_FUNCTION(0, "GPIO13"),
160 MTK_FUNCTION(1, "CLKM3"),
161 MTK_FUNCTION(2, "I2S3_MCK"),
162 MTK_FUNCTION(3, "SRCLKENA0"),
163 MTK_FUNCTION(5, "I2S2_BCK"),
164 MTK_FUNCTION(7, "DBG_MON_A_32_")
165 ),
166 MTK_PIN(PINCTRL_PIN(14, "EINT14"),
167 NULL, "mt8173",
168 MTK_EINT_FUNCTION(0, 14),
169 MTK_FUNCTION(0, "GPIO14"),
170 MTK_FUNCTION(1, "CMDAT0"),
171 MTK_FUNCTION(2, "CMCSD0"),
172 MTK_FUNCTION(4, "CLKM2"),
173 MTK_FUNCTION(7, "DBG_MON_B_6_")
174 ),
175 MTK_PIN(PINCTRL_PIN(15, "EINT15"),
176 NULL, "mt8173",
177 MTK_EINT_FUNCTION(0, 15),
178 MTK_FUNCTION(0, "GPIO15"),
179 MTK_FUNCTION(1, "CMDAT1"),
180 MTK_FUNCTION(2, "CMCSD1"),
181 MTK_FUNCTION(3, "CMFLASH"),
182 MTK_FUNCTION(4, "CLKM3"),
183 MTK_FUNCTION(7, "DBG_MON_B_29_")
184 ),
185 MTK_PIN(PINCTRL_PIN(16, "IDDIG"),
186 NULL, "mt8173",
187 MTK_EINT_FUNCTION(1, 16),
188 MTK_FUNCTION(0, "GPIO16"),
189 MTK_FUNCTION(1, "IDDIG"),
190 MTK_FUNCTION(2, "CMFLASH"),
191 MTK_FUNCTION(4, "PWM5")
192 ),
193 MTK_PIN(PINCTRL_PIN(17, "WATCHDOG"),
194 NULL, "mt8173",
195 MTK_EINT_FUNCTION(0, 17),
196 MTK_FUNCTION(0, "GPIO17"),
197 MTK_FUNCTION(1, "WATCHDOG_AO")
198 ),
199 MTK_PIN(PINCTRL_PIN(18, "CEC"),
200 NULL, "mt8173",
201 MTK_EINT_FUNCTION(0, 18),
202 MTK_FUNCTION(0, "GPIO18"),
203 MTK_FUNCTION(1, "CEC")
204 ),
205 MTK_PIN(PINCTRL_PIN(19, "HDMISCK"),
206 NULL, "mt8173",
207 MTK_EINT_FUNCTION(0, 19),
208 MTK_FUNCTION(0, "GPIO19"),
209 MTK_FUNCTION(1, "HDMISCK"),
210 MTK_FUNCTION(2, "HDCP_SCL")
211 ),
212 MTK_PIN(PINCTRL_PIN(20, "HDMISD"),
213 NULL, "mt8173",
214 MTK_EINT_FUNCTION(0, 20),
215 MTK_FUNCTION(0, "GPIO20"),
216 MTK_FUNCTION(1, "HDMISD"),
217 MTK_FUNCTION(2, "HDCP_SDA")
218 ),
219 MTK_PIN(PINCTRL_PIN(21, "HTPLG"),
220 NULL, "mt8173",
221 MTK_EINT_FUNCTION(0, 21),
222 MTK_FUNCTION(0, "GPIO21"),
223 MTK_FUNCTION(1, "HTPLG")
224 ),
225 MTK_PIN(PINCTRL_PIN(22, "MSDC3_DAT0"),
226 NULL, "mt8173",
227 MTK_EINT_FUNCTION(0, 22),
228 MTK_FUNCTION(0, "GPIO22"),
229 MTK_FUNCTION(1, "MSDC3_DAT0")
230 ),
231 MTK_PIN(PINCTRL_PIN(23, "MSDC3_DAT1"),
232 NULL, "mt8173",
233 MTK_EINT_FUNCTION(0, 23),
234 MTK_FUNCTION(0, "GPIO23"),
235 MTK_FUNCTION(1, "MSDC3_DAT1")
236 ),
237 MTK_PIN(PINCTRL_PIN(24, "MSDC3_DAT2"),
238 NULL, "mt8173",
239 MTK_EINT_FUNCTION(0, 24),
240 MTK_FUNCTION(0, "GPIO24"),
241 MTK_FUNCTION(1, "MSDC3_DAT2")
242 ),
243 MTK_PIN(PINCTRL_PIN(25, "MSDC3_DAT3"),
244 NULL, "mt8173",
245 MTK_EINT_FUNCTION(0, 25),
246 MTK_FUNCTION(0, "GPIO25"),
247 MTK_FUNCTION(1, "MSDC3_DAT3")
248 ),
249 MTK_PIN(PINCTRL_PIN(26, "MSDC3_CLK"),
250 NULL, "mt8173",
251 MTK_EINT_FUNCTION(0, 26),
252 MTK_FUNCTION(0, "GPIO26"),
253 MTK_FUNCTION(1, "MSDC3_CLK")
254 ),
255 MTK_PIN(PINCTRL_PIN(27, "MSDC3_CMD"),
256 NULL, "mt8173",
257 MTK_EINT_FUNCTION(0, 27),
258 MTK_FUNCTION(0, "GPIO27"),
259 MTK_FUNCTION(1, "MSDC3_CMD")
260 ),
261 MTK_PIN(PINCTRL_PIN(28, "MSDC3_DSL"),
262 NULL, "mt8173",
263 MTK_EINT_FUNCTION(0, 28),
264 MTK_FUNCTION(0, "GPIO28"),
265 MTK_FUNCTION(1, "MSDC3_DSL")
266 ),
267 MTK_PIN(PINCTRL_PIN(29, "UCTS2"),
268 NULL, "mt8173",
269 MTK_EINT_FUNCTION(0, 29),
270 MTK_FUNCTION(0, "GPIO29"),
271 MTK_FUNCTION(1, "UCTS2")
272 ),
273 MTK_PIN(PINCTRL_PIN(30, "URTS2"),
274 NULL, "mt8173",
275 MTK_EINT_FUNCTION(0, 30),
276 MTK_FUNCTION(0, "GPIO30"),
277 MTK_FUNCTION(1, "URTS2")
278 ),
279 MTK_PIN(PINCTRL_PIN(31, "URXD2"),
280 NULL, "mt8173",
281 MTK_EINT_FUNCTION(0, 31),
282 MTK_FUNCTION(0, "GPIO31"),
283 MTK_FUNCTION(1, "URXD2"),
284 MTK_FUNCTION(2, "UTXD2")
285 ),
286 MTK_PIN(PINCTRL_PIN(32, "UTXD2"),
287 NULL, "mt8173",
288 MTK_EINT_FUNCTION(0, 32),
289 MTK_FUNCTION(0, "GPIO32"),
290 MTK_FUNCTION(1, "UTXD2"),
291 MTK_FUNCTION(2, "URXD2")
292 ),
293 MTK_PIN(PINCTRL_PIN(33, "DAICLK"),
294 NULL, "mt8173",
295 MTK_EINT_FUNCTION(0, 33),
296 MTK_FUNCTION(0, "GPIO33"),
297 MTK_FUNCTION(1, " MRG_CLK"),
298 MTK_FUNCTION(2, "PCM0_CLK")
299 ),
300 MTK_PIN(PINCTRL_PIN(34, "DAIPCMIN"),
301 NULL, "mt8173",
302 MTK_EINT_FUNCTION(0, 34),
303 MTK_FUNCTION(0, "GPIO34"),
304 MTK_FUNCTION(1, " MRG_DI"),
305 MTK_FUNCTION(2, "PCM0_DI")
306 ),
307 MTK_PIN(PINCTRL_PIN(35, "DAIPCMOUT"),
308 NULL, "mt8173",
309 MTK_EINT_FUNCTION(0, 35),
310 MTK_FUNCTION(0, "GPIO35"),
311 MTK_FUNCTION(1, " MRG_DO"),
312 MTK_FUNCTION(2, "PCM0_DO")
313 ),
314 MTK_PIN(PINCTRL_PIN(36, "DAISYNC"),
315 NULL, "mt8173",
316 MTK_EINT_FUNCTION(0, 36),
317 MTK_FUNCTION(0, "GPIO36"),
318 MTK_FUNCTION(1, " MRG_SYNC"),
319 MTK_FUNCTION(2, "PCM0_SYNC")
320 ),
321 MTK_PIN(PINCTRL_PIN(37, "EINT16"),
322 NULL, "mt8173",
323 MTK_EINT_FUNCTION(0, 37),
324 MTK_FUNCTION(0, "GPIO37"),
325 MTK_FUNCTION(1, "USB_DRVVBUS_P0"),
326 MTK_FUNCTION(2, "USB_DRVVBUS_P1"),
327 MTK_FUNCTION(3, "PWM0"),
328 MTK_FUNCTION(4, "PWM1"),
329 MTK_FUNCTION(5, "PWM2"),
330 MTK_FUNCTION(6, "CLKM0")
331 ),
332 MTK_PIN(PINCTRL_PIN(38, "CONN_RST"),
333 NULL, "mt8173",
334 MTK_EINT_FUNCTION(0, 38),
335 MTK_FUNCTION(0, "GPIO38"),
336 MTK_FUNCTION(1, "USB_DRVVBUS_P0"),
337 MTK_FUNCTION(2, "USB_DRVVBUS_P1"),
338 MTK_FUNCTION(6, "CLKM1")
339 ),
340 MTK_PIN(PINCTRL_PIN(39, "CM2MCLK"),
341 NULL, "mt8173",
342 MTK_EINT_FUNCTION(0, 39),
343 MTK_FUNCTION(0, "GPIO39"),
344 MTK_FUNCTION(1, "CM2MCLK"),
345 MTK_FUNCTION(2, "CMCSD0"),
346 MTK_FUNCTION(7, "DBG_MON_A_17_")
347 ),
348 MTK_PIN(PINCTRL_PIN(40, "CMPCLK"),
349 NULL, "mt8173",
350 MTK_EINT_FUNCTION(0, 40),
351 MTK_FUNCTION(0, "GPIO40"),
352 MTK_FUNCTION(1, "CMPCLK"),
353 MTK_FUNCTION(2, "CMCSK"),
354 MTK_FUNCTION(3, "CMCSD2"),
355 MTK_FUNCTION(7, "DBG_MON_A_18_")
356 ),
357 MTK_PIN(PINCTRL_PIN(41, "CMMCLK"),
358 NULL, "mt8173",
359 MTK_EINT_FUNCTION(0, 41),
360 MTK_FUNCTION(0, "GPIO41"),
361 MTK_FUNCTION(1, "CMMCLK"),
362 MTK_FUNCTION(7, "DBG_MON_A_19_")
363 ),
364 MTK_PIN(PINCTRL_PIN(42, "DSI_TE"),
365 NULL, "mt8173",
366 MTK_EINT_FUNCTION(0, 42),
367 MTK_FUNCTION(0, "GPIO42"),
368 MTK_FUNCTION(1, "DSI_TE")
369 ),
370 MTK_PIN(PINCTRL_PIN(43, "SDA2"),
371 NULL, "mt8173",
372 MTK_EINT_FUNCTION(0, 43),
373 MTK_FUNCTION(0, "GPIO43"),
374 MTK_FUNCTION(1, "SDA2")
375 ),
376 MTK_PIN(PINCTRL_PIN(44, "SCL2"),
377 NULL, "mt8173",
378 MTK_EINT_FUNCTION(0, 44),
379 MTK_FUNCTION(0, "GPIO44"),
380 MTK_FUNCTION(1, "SCL2")
381 ),
382 MTK_PIN(PINCTRL_PIN(45, "SDA0"),
383 NULL, "mt8173",
384 MTK_EINT_FUNCTION(0, 45),
385 MTK_FUNCTION(0, "GPIO45"),
386 MTK_FUNCTION(1, "SDA0")
387 ),
388 MTK_PIN(PINCTRL_PIN(46, "SCL0"),
389 NULL, "mt8173",
390 MTK_EINT_FUNCTION(0, 46),
391 MTK_FUNCTION(0, "GPIO46"),
392 MTK_FUNCTION(1, "SCL0")
393 ),
394 MTK_PIN(PINCTRL_PIN(47, "RDN0_A"),
395 NULL, "mt8173",
396 MTK_EINT_FUNCTION(0, 47),
397 MTK_FUNCTION(0, "GPIO47"),
398 MTK_FUNCTION(1, "CMDAT2")
399 ),
400 MTK_PIN(PINCTRL_PIN(48, "RDP0_A"),
401 NULL, "mt8173",
402 MTK_EINT_FUNCTION(0, 48),
403 MTK_FUNCTION(0, "GPIO48"),
404 MTK_FUNCTION(1, "CMDAT3")
405 ),
406 MTK_PIN(PINCTRL_PIN(49, "RDN1_A"),
407 NULL, "mt8173",
408 MTK_EINT_FUNCTION(0, 49),
409 MTK_FUNCTION(0, "GPIO49"),
410 MTK_FUNCTION(1, "CMDAT4")
411 ),
412 MTK_PIN(PINCTRL_PIN(50, "RDP1_A"),
413 NULL, "mt8173",
414 MTK_EINT_FUNCTION(0, 50),
415 MTK_FUNCTION(0, "GPIO50"),
416 MTK_FUNCTION(1, "CMDAT5")
417 ),
418 MTK_PIN(PINCTRL_PIN(51, "RCN_A"),
419 NULL, "mt8173",
420 MTK_EINT_FUNCTION(0, 51),
421 MTK_FUNCTION(0, "GPIO51"),
422 MTK_FUNCTION(1, "CMDAT6")
423 ),
424 MTK_PIN(PINCTRL_PIN(52, "RCP_A"),
425 NULL, "mt8173",
426 MTK_EINT_FUNCTION(0, 52),
427 MTK_FUNCTION(0, "GPIO52"),
428 MTK_FUNCTION(1, "CMDAT7")
429 ),
430 MTK_PIN(PINCTRL_PIN(53, "RDN2_A"),
431 NULL, "mt8173",
432 MTK_EINT_FUNCTION(0, 53),
433 MTK_FUNCTION(0, "GPIO53"),
434 MTK_FUNCTION(1, "CMDAT8"),
435 MTK_FUNCTION(2, "CMCSD3")
436 ),
437 MTK_PIN(PINCTRL_PIN(54, "RDP2_A"),
438 NULL, "mt8173",
439 MTK_EINT_FUNCTION(0, 54),
440 MTK_FUNCTION(0, "GPIO54"),
441 MTK_FUNCTION(1, "CMDAT9"),
442 MTK_FUNCTION(2, "CMCSD2")
443 ),
444 MTK_PIN(PINCTRL_PIN(55, "RDN3_A"),
445 NULL, "mt8173",
446 MTK_EINT_FUNCTION(0, 55),
447 MTK_FUNCTION(0, "GPIO55"),
448 MTK_FUNCTION(1, "CMHSYNC"),
449 MTK_FUNCTION(2, "CMCSD1")
450 ),
451 MTK_PIN(PINCTRL_PIN(56, "RDP3_A"),
452 NULL, "mt8173",
453 MTK_EINT_FUNCTION(0, 56),
454 MTK_FUNCTION(0, "GPIO56"),
455 MTK_FUNCTION(1, "CMVSYNC"),
456 MTK_FUNCTION(2, "CMCSD0")
457 ),
458 MTK_PIN(PINCTRL_PIN(57, "MSDC0_DAT0"),
459 NULL, "mt8173",
460 MTK_EINT_FUNCTION(0, 57),
461 MTK_FUNCTION(0, "GPIO57"),
462 MTK_FUNCTION(1, "MSDC0_DAT0"),
463 MTK_FUNCTION(2, "I2S1_WS"),
464 MTK_FUNCTION(7, "DBG_MON_B_7_")
465 ),
466 MTK_PIN(PINCTRL_PIN(58, "MSDC0_DAT1"),
467 NULL, "mt8173",
468 MTK_EINT_FUNCTION(0, 58),
469 MTK_FUNCTION(0, "GPIO58"),
470 MTK_FUNCTION(1, "MSDC0_DAT1"),
471 MTK_FUNCTION(2, "I2S1_BCK"),
472 MTK_FUNCTION(7, "DBG_MON_B_8_")
473 ),
474 MTK_PIN(PINCTRL_PIN(59, "MSDC0_DAT2"),
475 NULL, "mt8173",
476 MTK_EINT_FUNCTION(0, 59),
477 MTK_FUNCTION(0, "GPIO59"),
478 MTK_FUNCTION(1, "MSDC0_DAT2"),
479 MTK_FUNCTION(2, "I2S1_MCK"),
480 MTK_FUNCTION(7, "DBG_MON_B_9_")
481 ),
482 MTK_PIN(PINCTRL_PIN(60, "MSDC0_DAT3"),
483 NULL, "mt8173",
484 MTK_EINT_FUNCTION(0, 60),
485 MTK_FUNCTION(0, "GPIO60"),
486 MTK_FUNCTION(1, "MSDC0_DAT3"),
487 MTK_FUNCTION(2, "I2S1_DO_1"),
488 MTK_FUNCTION(7, "DBG_MON_B_10_")
489 ),
490 MTK_PIN(PINCTRL_PIN(61, "MSDC0_DAT4"),
491 NULL, "mt8173",
492 MTK_EINT_FUNCTION(0, 61),
493 MTK_FUNCTION(0, "GPIO61"),
494 MTK_FUNCTION(1, "MSDC0_DAT4"),
495 MTK_FUNCTION(2, "I2S1_DO_2"),
496 MTK_FUNCTION(7, "DBG_MON_B_11_")
497 ),
498 MTK_PIN(PINCTRL_PIN(62, "MSDC0_DAT5"),
499 NULL, "mt8173",
500 MTK_EINT_FUNCTION(0, 62),
501 MTK_FUNCTION(0, "GPIO62"),
502 MTK_FUNCTION(1, "MSDC0_DAT5"),
503 MTK_FUNCTION(2, "I2S2_WS"),
504 MTK_FUNCTION(7, "DBG_MON_B_12_")
505 ),
506 MTK_PIN(PINCTRL_PIN(63, "MSDC0_DAT6"),
507 NULL, "mt8173",
508 MTK_EINT_FUNCTION(0, 63),
509 MTK_FUNCTION(0, "GPIO63"),
510 MTK_FUNCTION(1, "MSDC0_DAT6"),
511 MTK_FUNCTION(2, "I2S2_BCK"),
512 MTK_FUNCTION(7, "DBG_MON_B_13_")
513 ),
514 MTK_PIN(PINCTRL_PIN(64, "MSDC0_DAT7"),
515 NULL, "mt8173",
516 MTK_EINT_FUNCTION(0, 64),
517 MTK_FUNCTION(0, "GPIO64"),
518 MTK_FUNCTION(1, "MSDC0_DAT7"),
519 MTK_FUNCTION(2, "I2S2_DI_1"),
520 MTK_FUNCTION(7, "DBG_MON_B_14_")
521 ),
522 MTK_PIN(PINCTRL_PIN(65, "MSDC0_CLK"),
523 NULL, "mt8173",
524 MTK_EINT_FUNCTION(0, 65),
525 MTK_FUNCTION(0, "GPIO65"),
526 MTK_FUNCTION(1, "MSDC0_CLK"),
527 MTK_FUNCTION(7, "DBG_MON_B_16_")
528 ),
529 MTK_PIN(PINCTRL_PIN(66, "MSDC0_CMD"),
530 NULL, "mt8173",
531 MTK_EINT_FUNCTION(0, 66),
532 MTK_FUNCTION(0, "GPIO66"),
533 MTK_FUNCTION(1, "MSDC0_CMD"),
534 MTK_FUNCTION(2, "I2S2_DI_2"),
535 MTK_FUNCTION(7, "DBG_MON_B_15_")
536 ),
537 MTK_PIN(PINCTRL_PIN(67, "MSDC0_DSL"),
538 NULL, "mt8173",
539 MTK_EINT_FUNCTION(0, 67),
540 MTK_FUNCTION(0, "GPIO67"),
541 MTK_FUNCTION(1, "MSDC0_DSL"),
542 MTK_FUNCTION(7, "DBG_MON_B_17_")
543 ),
544 MTK_PIN(PINCTRL_PIN(68, "MSDC0_RST_"),
545 NULL, "mt8173",
546 MTK_EINT_FUNCTION(0, 68),
547 MTK_FUNCTION(0, "GPIO68"),
548 MTK_FUNCTION(1, "MSDC0_RSTB"),
549 MTK_FUNCTION(2, "I2S2_MCK"),
550 MTK_FUNCTION(7, "DBG_MON_B_18_")
551 ),
552 MTK_PIN(PINCTRL_PIN(69, "SPI_CK"),
553 NULL, "mt8173",
554 MTK_EINT_FUNCTION(0, 69),
555 MTK_FUNCTION(0, "GPIO69"),
556 MTK_FUNCTION(1, "SPI_CK_0_"),
557 MTK_FUNCTION(2, "I2S3_DO_1"),
558 MTK_FUNCTION(3, "PWM0"),
559 MTK_FUNCTION(4, "PWM5"),
560 MTK_FUNCTION(5, "I2S2_MCK"),
561 MTK_FUNCTION(7, "DBG_MON_B_19_")
562 ),
563 MTK_PIN(PINCTRL_PIN(70, "SPI_MI"),
564 NULL, "mt8173",
565 MTK_EINT_FUNCTION(0, 70),
566 MTK_FUNCTION(0, "GPIO70"),
567 MTK_FUNCTION(1, "SPI_MI_0_"),
568 MTK_FUNCTION(2, "I2S3_DO_2"),
569 MTK_FUNCTION(3, "PWM1"),
570 MTK_FUNCTION(4, "SPI_MO_0_"),
571 MTK_FUNCTION(5, "I2S2_DI_1"),
572 MTK_FUNCTION(6, "DSI1_TE"),
573 MTK_FUNCTION(7, "DBG_MON_B_20_")
574 ),
575 MTK_PIN(PINCTRL_PIN(71, "SPI_MO"),
576 NULL, "mt8173",
577 MTK_EINT_FUNCTION(0, 71),
578 MTK_FUNCTION(0, "GPIO71"),
579 MTK_FUNCTION(1, "SPI_MO_0_"),
580 MTK_FUNCTION(2, "I2S3_DO_3"),
581 MTK_FUNCTION(3, "PWM2"),
582 MTK_FUNCTION(4, "SPI_MI_0_"),
583 MTK_FUNCTION(5, "I2S2_DI_2"),
584 MTK_FUNCTION(7, "DBG_MON_B_21_")
585 ),
586 MTK_PIN(PINCTRL_PIN(72, "SPI_CS"),
587 NULL, "mt8173",
588 MTK_EINT_FUNCTION(0, 72),
589 MTK_FUNCTION(0, "GPIO72"),
590 MTK_FUNCTION(1, "SPI_CS_0_"),
591 MTK_FUNCTION(2, "I2S3_DO_4"),
592 MTK_FUNCTION(3, "PWM3"),
593 MTK_FUNCTION(4, "PWM6"),
594 MTK_FUNCTION(5, "DISP_PWM1"),
595 MTK_FUNCTION(7, "DBG_MON_B_22_")
596 ),
597 MTK_PIN(PINCTRL_PIN(73, "MSDC1_DAT0"),
598 NULL, "mt8173",
599 MTK_EINT_FUNCTION(0, 73),
600 MTK_FUNCTION(0, "GPIO73"),
601 MTK_FUNCTION(1, "MSDC1_DAT0"),
602 MTK_FUNCTION(7, "DBG_MON_B_24_")
603 ),
604 MTK_PIN(PINCTRL_PIN(74, "MSDC1_DAT1"),
605 NULL, "mt8173",
606 MTK_EINT_FUNCTION(0, 74),
607 MTK_FUNCTION(0, "GPIO74"),
608 MTK_FUNCTION(1, "MSDC1_DAT1"),
609 MTK_FUNCTION(7, "DBG_MON_B_25_")
610 ),
611 MTK_PIN(PINCTRL_PIN(75, "MSDC1_DAT2"),
612 NULL, "mt8173",
613 MTK_EINT_FUNCTION(0, 75),
614 MTK_FUNCTION(0, "GPIO75"),
615 MTK_FUNCTION(1, "MSDC1_DAT2"),
616 MTK_FUNCTION(7, "DBG_MON_B_26_")
617 ),
618 MTK_PIN(PINCTRL_PIN(76, "MSDC1_DAT3"),
619 NULL, "mt8173",
620 MTK_EINT_FUNCTION(0, 76),
621 MTK_FUNCTION(0, "GPIO76"),
622 MTK_FUNCTION(1, "MSDC1_DAT3"),
623 MTK_FUNCTION(7, "DBG_MON_B_27_")
624 ),
625 MTK_PIN(PINCTRL_PIN(77, "MSDC1_CLK"),
626 NULL, "mt8173",
627 MTK_EINT_FUNCTION(0, 77),
628 MTK_FUNCTION(0, "GPIO77"),
629 MTK_FUNCTION(1, "MSDC1_CLK"),
630 MTK_FUNCTION(7, "DBG_MON_B_28_")
631 ),
632 MTK_PIN(PINCTRL_PIN(78, "MSDC1_CMD"),
633 NULL, "mt8173",
634 MTK_EINT_FUNCTION(0, 78),
635 MTK_FUNCTION(0, "GPIO78"),
636 MTK_FUNCTION(1, "MSDC1_CMD"),
637 MTK_FUNCTION(7, "DBG_MON_B_23_")
638 ),
639 MTK_PIN(PINCTRL_PIN(79, "PWRAP_SPI0_MI"),
640 NULL, "mt8173",
641 MTK_EINT_FUNCTION(0, 79),
642 MTK_FUNCTION(0, "GPIO79"),
643 MTK_FUNCTION(1, "PWRAP_SPIMI"),
644 MTK_FUNCTION(2, "PWRAP_SPIMO")
645 ),
646 MTK_PIN(PINCTRL_PIN(80, "PWRAP_SPI0_MO"),
647 NULL, "mt8173",
648 MTK_EINT_FUNCTION(0, 80),
649 MTK_FUNCTION(0, "GPIO80"),
650 MTK_FUNCTION(1, "PWRAP_SPIMO"),
651 MTK_FUNCTION(2, "PWRAP_SPIMI")
652 ),
653 MTK_PIN(PINCTRL_PIN(81, "PWRAP_SPI0_CK"),
654 NULL, "mt8173",
655 MTK_EINT_FUNCTION(0, 81),
656 MTK_FUNCTION(0, "GPIO81"),
657 MTK_FUNCTION(1, "PWRAP_SPICK")
658 ),
659 MTK_PIN(PINCTRL_PIN(82, "PWRAP_SPI0_CSN"),
660 NULL, "mt8173",
661 MTK_EINT_FUNCTION(0, 82),
662 MTK_FUNCTION(0, "GPIO82"),
663 MTK_FUNCTION(1, "PWRAP_SPICS")
664 ),
665 MTK_PIN(PINCTRL_PIN(83, "AUD_CLK_MOSI"),
666 NULL, "mt8173",
667 MTK_EINT_FUNCTION(0, 83),
668 MTK_FUNCTION(0, "GPIO83"),
669 MTK_FUNCTION(1, "AUD_CLK_MOSI")
670 ),
671 MTK_PIN(PINCTRL_PIN(84, "AUD_DAT_MISO"),
672 NULL, "mt8173",
673 MTK_EINT_FUNCTION(0, 84),
674 MTK_FUNCTION(0, "GPIO84"),
675 MTK_FUNCTION(1, "AUD_DAT_MISO"),
676 MTK_FUNCTION(2, "AUD_DAT_MOSI")
677 ),
678 MTK_PIN(PINCTRL_PIN(85, "AUD_DAT_MOSI"),
679 NULL, "mt8173",
680 MTK_EINT_FUNCTION(0, 85),
681 MTK_FUNCTION(0, "GPIO85"),
682 MTK_FUNCTION(1, "AUD_DAT_MOSI"),
683 MTK_FUNCTION(2, "AUD_DAT_MISO")
684 ),
685 MTK_PIN(PINCTRL_PIN(86, "RTC32K_CK"),
686 NULL, "mt8173",
687 MTK_EINT_FUNCTION(0, 86),
688 MTK_FUNCTION(0, "GPIO86"),
689 MTK_FUNCTION(1, "RTC32K_CK")
690 ),
691 MTK_PIN(PINCTRL_PIN(87, "DISP_PWM0"),
692 NULL, "mt8173",
693 MTK_EINT_FUNCTION(0, 87),
694 MTK_FUNCTION(0, "GPIO87"),
695 MTK_FUNCTION(1, "DISP_PWM0"),
696 MTK_FUNCTION(2, "DISP_PWM1"),
697 MTK_FUNCTION(7, "DBG_MON_B_31_")
698 ),
699 MTK_PIN(PINCTRL_PIN(88, "SRCLKENAI"),
700 NULL, "mt8173",
701 MTK_EINT_FUNCTION(0, 88),
702 MTK_FUNCTION(0, "GPIO88"),
703 MTK_FUNCTION(1, "SRCLKENAI")
704 ),
705 MTK_PIN(PINCTRL_PIN(89, "SRCLKENAI2"),
706 NULL, "mt8173",
707 MTK_EINT_FUNCTION(0, 89),
708 MTK_FUNCTION(0, "GPIO89"),
709 MTK_FUNCTION(1, "SRCLKENAI2")
710 ),
711 MTK_PIN(PINCTRL_PIN(90, "SRCLKENA0"),
712 NULL, "mt8173",
713 MTK_EINT_FUNCTION(0, 90),
714 MTK_FUNCTION(0, "GPIO90"),
715 MTK_FUNCTION(1, "SRCLKENA0")
716 ),
717 MTK_PIN(PINCTRL_PIN(91, "SRCLKENA1"),
718 NULL, "mt8173",
719 MTK_EINT_FUNCTION(0, 91),
720 MTK_FUNCTION(0, "GPIO91"),
721 MTK_FUNCTION(1, "SRCLKENA1")
722 ),
723 MTK_PIN(PINCTRL_PIN(92, "PCM_CLK"),
724 NULL, "mt8173",
725 MTK_EINT_FUNCTION(0, 92),
726 MTK_FUNCTION(0, "GPIO92"),
727 MTK_FUNCTION(1, "PCM1_CLK"),
728 MTK_FUNCTION(2, "I2S0_BCK"),
729 MTK_FUNCTION(7, "DBG_MON_A_24_")
730 ),
731 MTK_PIN(PINCTRL_PIN(93, "PCM_SYNC"),
732 NULL, "mt8173",
733 MTK_EINT_FUNCTION(0, 93),
734 MTK_FUNCTION(0, "GPIO93"),
735 MTK_FUNCTION(1, "PCM1_SYNC"),
736 MTK_FUNCTION(2, "I2S0_WS"),
737 MTK_FUNCTION(7, "DBG_MON_A_25_")
738 ),
739 MTK_PIN(PINCTRL_PIN(94, "PCM_RX"),
740 NULL, "mt8173",
741 MTK_EINT_FUNCTION(0, 94),
742 MTK_FUNCTION(0, "GPIO94"),
743 MTK_FUNCTION(1, "PCM1_DI"),
744 MTK_FUNCTION(2, "I2S0_DI"),
745 MTK_FUNCTION(7, "DBG_MON_A_26_")
746 ),
747 MTK_PIN(PINCTRL_PIN(95, "PCM_TX"),
748 NULL, "mt8173",
749 MTK_EINT_FUNCTION(0, 95),
750 MTK_FUNCTION(0, "GPIO95"),
751 MTK_FUNCTION(1, "PCM1_DO"),
752 MTK_FUNCTION(2, "I2S0_DO"),
753 MTK_FUNCTION(7, "DBG_MON_A_27_")
754 ),
755 MTK_PIN(PINCTRL_PIN(96, "URXD1"),
756 NULL, "mt8173",
757 MTK_EINT_FUNCTION(0, 96),
758 MTK_FUNCTION(0, "GPIO96"),
759 MTK_FUNCTION(1, "URXD1"),
760 MTK_FUNCTION(2, "UTXD1"),
761 MTK_FUNCTION(7, "DBG_MON_A_28_")
762 ),
763 MTK_PIN(PINCTRL_PIN(97, "UTXD1"),
764 NULL, "mt8173",
765 MTK_EINT_FUNCTION(0, 97),
766 MTK_FUNCTION(0, "GPIO97"),
767 MTK_FUNCTION(1, "UTXD1"),
768 MTK_FUNCTION(2, "URXD1"),
769 MTK_FUNCTION(7, "DBG_MON_A_29_")
770 ),
771 MTK_PIN(PINCTRL_PIN(98, "URTS1"),
772 NULL, "mt8173",
773 MTK_EINT_FUNCTION(0, 98),
774 MTK_FUNCTION(0, "GPIO98"),
775 MTK_FUNCTION(1, "URTS1"),
776 MTK_FUNCTION(2, "UCTS1"),
777 MTK_FUNCTION(7, "DBG_MON_A_30_")
778 ),
779 MTK_PIN(PINCTRL_PIN(99, "UCTS1"),
780 NULL, "mt8173",
781 MTK_EINT_FUNCTION(0, 99),
782 MTK_FUNCTION(0, "GPIO99"),
783 MTK_FUNCTION(1, "UCTS1"),
784 MTK_FUNCTION(2, "URTS1"),
785 MTK_FUNCTION(7, "DBG_MON_A_31_")
786 ),
787 MTK_PIN(PINCTRL_PIN(100, "MSDC2_DAT0"),
788 NULL, "mt8173",
789 MTK_EINT_FUNCTION(0, 100),
790 MTK_FUNCTION(0, "GPIO100"),
791 MTK_FUNCTION(1, "MSDC2_DAT0"),
792 MTK_FUNCTION(3, "USB_DRVVBUS_P0"),
793 MTK_FUNCTION(4, "SDA5"),
794 MTK_FUNCTION(5, "USB_DRVVBUS_P1"),
795 MTK_FUNCTION(7, "DBG_MON_B_0_")
796 ),
797 MTK_PIN(PINCTRL_PIN(101, "MSDC2_DAT1"),
798 NULL, "mt8173",
799 MTK_EINT_FUNCTION(0, 101),
800 MTK_FUNCTION(0, "GPIO101"),
801 MTK_FUNCTION(1, "MSDC2_DAT1"),
802 MTK_FUNCTION(3, "AUD_SPDIF"),
803 MTK_FUNCTION(4, "SCL5"),
804 MTK_FUNCTION(7, "DBG_MON_B_1_")
805 ),
806 MTK_PIN(PINCTRL_PIN(102, "MSDC2_DAT2"),
807 NULL, "mt8173",
808 MTK_EINT_FUNCTION(0, 102),
809 MTK_FUNCTION(0, "GPIO102"),
810 MTK_FUNCTION(1, "MSDC2_DAT2"),
811 MTK_FUNCTION(3, "UTXD0"),
812 MTK_FUNCTION(5, "PWM0"),
813 MTK_FUNCTION(6, "SPI_CK_1_"),
814 MTK_FUNCTION(7, "DBG_MON_B_2_")
815 ),
816 MTK_PIN(PINCTRL_PIN(103, "MSDC2_DAT3"),
817 NULL, "mt8173",
818 MTK_EINT_FUNCTION(0, 103),
819 MTK_FUNCTION(0, "GPIO103"),
820 MTK_FUNCTION(1, "MSDC2_DAT3"),
821 MTK_FUNCTION(3, "URXD0"),
822 MTK_FUNCTION(5, "PWM1"),
823 MTK_FUNCTION(6, "SPI_MI_1_"),
824 MTK_FUNCTION(7, "DBG_MON_B_3_")
825 ),
826 MTK_PIN(PINCTRL_PIN(104, "MSDC2_CLK"),
827 NULL, "mt8173",
828 MTK_EINT_FUNCTION(0, 104),
829 MTK_FUNCTION(0, "GPIO104"),
830 MTK_FUNCTION(1, "MSDC2_CLK"),
831 MTK_FUNCTION(3, "UTXD3"),
832 MTK_FUNCTION(4, "SDA3"),
833 MTK_FUNCTION(5, "PWM2"),
834 MTK_FUNCTION(6, "SPI_MO_1_"),
835 MTK_FUNCTION(7, "DBG_MON_B_4_")
836 ),
837 MTK_PIN(PINCTRL_PIN(105, "MSDC2_CMD"),
838 NULL, "mt8173",
839 MTK_EINT_FUNCTION(0, 105),
840 MTK_FUNCTION(0, "GPIO105"),
841 MTK_FUNCTION(1, "MSDC2_CMD"),
842 MTK_FUNCTION(3, "URXD3"),
843 MTK_FUNCTION(4, "SCL3"),
844 MTK_FUNCTION(5, "PWM3"),
845 MTK_FUNCTION(6, "SPI_CS_1_"),
846 MTK_FUNCTION(7, "DBG_MON_B_5_")
847 ),
848 MTK_PIN(PINCTRL_PIN(106, "SDA3"),
849 NULL, "mt8173",
850 MTK_EINT_FUNCTION(0, 106),
851 MTK_FUNCTION(0, "GPIO106"),
852 MTK_FUNCTION(1, "SDA3")
853 ),
854 MTK_PIN(PINCTRL_PIN(107, "SCL3"),
855 NULL, "mt8173",
856 MTK_EINT_FUNCTION(0, 107),
857 MTK_FUNCTION(0, "GPIO107"),
858 MTK_FUNCTION(1, "SCL3")
859 ),
860 MTK_PIN(PINCTRL_PIN(108, "JTMS"),
861 NULL, "mt8173",
862 MTK_EINT_FUNCTION(0, 108),
863 MTK_FUNCTION(0, "GPIO108"),
864 MTK_FUNCTION(1, "JTMS"),
865 MTK_FUNCTION(2, " MFG_JTAG_TMS"),
866 MTK_FUNCTION(5, "AP_MD32_JTAG_TMS"),
867 MTK_FUNCTION(6, "DFD_TMS")
868 ),
869 MTK_PIN(PINCTRL_PIN(109, "JTCK"),
870 NULL, "mt8173",
871 MTK_EINT_FUNCTION(0, 109),
872 MTK_FUNCTION(0, "GPIO109"),
873 MTK_FUNCTION(1, "JTCK"),
874 MTK_FUNCTION(2, " MFG_JTAG_TCK"),
875 MTK_FUNCTION(5, "AP_MD32_JTAG_TCK"),
876 MTK_FUNCTION(6, "DFD_TCK")
877 ),
878 MTK_PIN(PINCTRL_PIN(110, "JTDI"),
879 NULL, "mt8173",
880 MTK_EINT_FUNCTION(0, 110),
881 MTK_FUNCTION(0, "GPIO110"),
882 MTK_FUNCTION(1, "JTDI"),
883 MTK_FUNCTION(2, " MFG_JTAG_TDI"),
884 MTK_FUNCTION(5, "AP_MD32_JTAG_TDI"),
885 MTK_FUNCTION(6, "DFD_TDI")
886 ),
887 MTK_PIN(PINCTRL_PIN(111, "JTDO"),
888 NULL, "mt8173",
889 MTK_EINT_FUNCTION(0, 111),
890 MTK_FUNCTION(0, "GPIO111"),
891 MTK_FUNCTION(1, "JTDO"),
892 MTK_FUNCTION(2, "MFG_JTAG_TDO"),
893 MTK_FUNCTION(5, "AP_MD32_JTAG_TDO"),
894 MTK_FUNCTION(6, "DFD_TDO")
895 ),
896 MTK_PIN(PINCTRL_PIN(112, "JTRST_B"),
897 NULL, "mt8173",
898 MTK_EINT_FUNCTION(0, 112),
899 MTK_FUNCTION(0, "GPIO112"),
900 MTK_FUNCTION(1, "JTRST_B"),
901 MTK_FUNCTION(2, " MFG_JTAG_TRSTN"),
902 MTK_FUNCTION(5, "AP_MD32_JTAG_TRST"),
903 MTK_FUNCTION(6, "DFD_NTRST")
904 ),
905 MTK_PIN(PINCTRL_PIN(113, "URXD0"),
906 NULL, "mt8173",
907 MTK_EINT_FUNCTION(0, 113),
908 MTK_FUNCTION(0, "GPIO113"),
909 MTK_FUNCTION(1, "URXD0"),
910 MTK_FUNCTION(2, "UTXD0"),
911 MTK_FUNCTION(6, "I2S2_WS"),
912 MTK_FUNCTION(7, "DBG_MON_A_0_")
913 ),
914 MTK_PIN(PINCTRL_PIN(114, "UTXD0"),
915 NULL, "mt8173",
916 MTK_EINT_FUNCTION(0, 114),
917 MTK_FUNCTION(0, "GPIO114"),
918 MTK_FUNCTION(1, "UTXD0"),
919 MTK_FUNCTION(2, "URXD0"),
920 MTK_FUNCTION(6, "I2S2_BCK"),
921 MTK_FUNCTION(7, "DBG_MON_A_1_")
922 ),
923 MTK_PIN(PINCTRL_PIN(115, "URTS0"),
924 NULL, "mt8173",
925 MTK_EINT_FUNCTION(0, 115),
926 MTK_FUNCTION(0, "GPIO115"),
927 MTK_FUNCTION(1, "URTS0"),
928 MTK_FUNCTION(2, "UCTS0"),
929 MTK_FUNCTION(6, "I2S2_MCK"),
930 MTK_FUNCTION(7, "DBG_MON_A_2_")
931 ),
932 MTK_PIN(PINCTRL_PIN(116, "UCTS0"),
933 NULL, "mt8173",
934 MTK_EINT_FUNCTION(0, 116),
935 MTK_FUNCTION(0, "GPIO116"),
936 MTK_FUNCTION(1, "UCTS0"),
937 MTK_FUNCTION(2, "URTS0"),
938 MTK_FUNCTION(6, "I2S2_DI_1"),
939 MTK_FUNCTION(7, "DBG_MON_A_3_")
940 ),
941 MTK_PIN(PINCTRL_PIN(117, "URXD3"),
942 NULL, "mt8173",
943 MTK_EINT_FUNCTION(0, 117),
944 MTK_FUNCTION(0, "GPIO117"),
945 MTK_FUNCTION(1, "URXD3"),
946 MTK_FUNCTION(2, "UTXD3"),
947 MTK_FUNCTION(7, "DBG_MON_A_9_")
948 ),
949 MTK_PIN(PINCTRL_PIN(118, "UTXD3"),
950 NULL, "mt8173",
951 MTK_EINT_FUNCTION(0, 118),
952 MTK_FUNCTION(0, "GPIO118"),
953 MTK_FUNCTION(1, "UTXD3"),
954 MTK_FUNCTION(2, "URXD3"),
955 MTK_FUNCTION(7, "DBG_MON_A_10_")
956 ),
957 MTK_PIN(PINCTRL_PIN(119, "KPROW0"),
958 NULL, "mt8173",
959 MTK_EINT_FUNCTION(0, 119),
960 MTK_FUNCTION(0, "GPIO119"),
961 MTK_FUNCTION(1, "KROW0"),
962 MTK_FUNCTION(7, "DBG_MON_A_11_")
963 ),
964 MTK_PIN(PINCTRL_PIN(120, "KPROW1"),
965 NULL, "mt8173",
966 MTK_EINT_FUNCTION(0, 120),
967 MTK_FUNCTION(0, "GPIO120"),
968 MTK_FUNCTION(1, "KROW1"),
969 MTK_FUNCTION(3, "PWM6"),
970 MTK_FUNCTION(7, "DBG_MON_A_12_")
971 ),
972 MTK_PIN(PINCTRL_PIN(121, "KPROW2"),
973 NULL, "mt8173",
974 MTK_EINT_FUNCTION(0, 121),
975 MTK_FUNCTION(0, "GPIO121"),
976 MTK_FUNCTION(1, "KROW2"),
977 MTK_FUNCTION(2, "IRDA_PDN"),
978 MTK_FUNCTION(3, "USB_DRVVBUS_P0"),
979 MTK_FUNCTION(4, "PWM4"),
980 MTK_FUNCTION(5, "USB_DRVVBUS_P1"),
981 MTK_FUNCTION(7, "DBG_MON_A_13_")
982 ),
983 MTK_PIN(PINCTRL_PIN(122, "KPCOL0"),
984 NULL, "mt8173",
985 MTK_EINT_FUNCTION(0, 122),
986 MTK_FUNCTION(0, "GPIO122"),
987 MTK_FUNCTION(1, "KCOL0"),
988 MTK_FUNCTION(7, "DBG_MON_A_14_")
989 ),
990 MTK_PIN(PINCTRL_PIN(123, "KPCOL1"),
991 NULL, "mt8173",
992 MTK_EINT_FUNCTION(0, 123),
993 MTK_FUNCTION(0, "GPIO123"),
994 MTK_FUNCTION(1, "KCOL1"),
995 MTK_FUNCTION(2, "IRDA_RXD"),
996 MTK_FUNCTION(3, "PWM5"),
997 MTK_FUNCTION(7, "DBG_MON_A_15_")
998 ),
999 MTK_PIN(PINCTRL_PIN(124, "KPCOL2"),
1000 NULL, "mt8173",
1001 MTK_EINT_FUNCTION(0, 124),
1002 MTK_FUNCTION(0, "GPIO124"),
1003 MTK_FUNCTION(1, "KCOL2"),
1004 MTK_FUNCTION(2, "IRDA_TXD"),
1005 MTK_FUNCTION(3, "USB_DRVVBUS_P0"),
1006 MTK_FUNCTION(4, "PWM3"),
1007 MTK_FUNCTION(5, "USB_DRVVBUS_P1"),
1008 MTK_FUNCTION(7, "DBG_MON_A_16_")
1009 ),
1010 MTK_PIN(PINCTRL_PIN(125, "SDA1"),
1011 NULL, "mt8173",
1012 MTK_EINT_FUNCTION(0, 125),
1013 MTK_FUNCTION(0, "GPIO125"),
1014 MTK_FUNCTION(1, "SDA1")
1015 ),
1016 MTK_PIN(PINCTRL_PIN(126, "SCL1"),
1017 NULL, "mt8173",
1018 MTK_EINT_FUNCTION(0, 126),
1019 MTK_FUNCTION(0, "GPIO126"),
1020 MTK_FUNCTION(1, "SCL1")
1021 ),
1022 MTK_PIN(PINCTRL_PIN(127, "LCM_RST"),
1023 NULL, "mt8173",
1024 MTK_EINT_FUNCTION(0, 127),
1025 MTK_FUNCTION(0, "GPIO127"),
1026 MTK_FUNCTION(1, "LCM_RST")
1027 ),
1028 MTK_PIN(PINCTRL_PIN(128, "I2S0_LRCK"),
1029 NULL, "mt8173",
1030 MTK_EINT_FUNCTION(0, 128),
1031 MTK_FUNCTION(0, "GPIO128"),
1032 MTK_FUNCTION(1, "I2S0_WS"),
1033 MTK_FUNCTION(2, "I2S1_WS"),
1034 MTK_FUNCTION(3, "I2S2_WS"),
1035 MTK_FUNCTION(5, "SPI_CK_2_"),
1036 MTK_FUNCTION(7, "DBG_MON_A_4_")
1037 ),
1038 MTK_PIN(PINCTRL_PIN(129, "I2S0_BCK"),
1039 NULL, "mt8173",
1040 MTK_EINT_FUNCTION(0, 129),
1041 MTK_FUNCTION(0, "GPIO129"),
1042 MTK_FUNCTION(1, "I2S0_BCK"),
1043 MTK_FUNCTION(2, "I2S1_BCK"),
1044 MTK_FUNCTION(3, "I2S2_BCK"),
1045 MTK_FUNCTION(5, "SPI_MI_2_"),
1046 MTK_FUNCTION(7, "DBG_MON_A_5_")
1047 ),
1048 MTK_PIN(PINCTRL_PIN(130, "I2S0_MCK"),
1049 NULL, "mt8173",
1050 MTK_EINT_FUNCTION(0, 130),
1051 MTK_FUNCTION(0, "GPIO130"),
1052 MTK_FUNCTION(1, "I2S0_MCK"),
1053 MTK_FUNCTION(2, "I2S1_MCK"),
1054 MTK_FUNCTION(3, "I2S2_MCK"),
1055 MTK_FUNCTION(5, "SPI_MO_2_"),
1056 MTK_FUNCTION(7, "DBG_MON_A_6_")
1057 ),
1058 MTK_PIN(PINCTRL_PIN(131, "I2S0_DATA0"),
1059 NULL, "mt8173",
1060 MTK_EINT_FUNCTION(0, 131),
1061 MTK_FUNCTION(0, "GPIO131"),
1062 MTK_FUNCTION(1, "I2S0_DO"),
1063 MTK_FUNCTION(2, "I2S1_DO_1"),
1064 MTK_FUNCTION(3, "I2S2_DI_1"),
1065 MTK_FUNCTION(5, "SPI_CS_2_"),
1066 MTK_FUNCTION(7, "DBG_MON_A_7_")
1067 ),
1068 MTK_PIN(PINCTRL_PIN(132, "I2S0_DATA1"),
1069 NULL, "mt8173",
1070 MTK_EINT_FUNCTION(0, 132),
1071 MTK_FUNCTION(0, "GPIO132"),
1072 MTK_FUNCTION(1, "I2S0_DI"),
1073 MTK_FUNCTION(2, "I2S1_DO_2"),
1074 MTK_FUNCTION(3, "I2S2_DI_2"),
1075 MTK_FUNCTION(7, "DBG_MON_A_8_")
1076 ),
1077 MTK_PIN(PINCTRL_PIN(133, "SDA4"),
1078 NULL, "mt8173",
1079 MTK_EINT_FUNCTION(0, 133),
1080 MTK_FUNCTION(0, "GPIO133"),
1081 MTK_FUNCTION(1, "SDA4")
1082 ),
1083 MTK_PIN(PINCTRL_PIN(134, "SCL4"),
1084 NULL, "mt8173",
1085 MTK_EINT_FUNCTION(0, 134),
1086 MTK_FUNCTION(0, "GPIO134"),
1087 MTK_FUNCTION(1, "SCL4")
1088 ),
1089};
1090
1091#endif
1092