1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Copyright (C) 2020 MediaTek Inc.
5 #ifndef __PINCTRL_MTK_MT8167_H
6 #define __PINCTRL_MTK_MT8167_H
8 #include <linux/pinctrl/pinctrl.h>
9 #include "pinctrl-mtk-common.h"
11 static const struct mtk_desc_pin mtk_pins_mt8167
[] = {
13 PINCTRL_PIN(0, "EINT0"),
15 MTK_EINT_FUNCTION(0, 0),
16 MTK_FUNCTION(0, "GPIO0"),
17 MTK_FUNCTION(1, "PWM_B"),
18 MTK_FUNCTION(2, "DPI_CK"),
19 MTK_FUNCTION(3, "I2S2_BCK"),
20 MTK_FUNCTION(4, "EXT_TXD0"),
21 MTK_FUNCTION(6, "SQICS"),
22 MTK_FUNCTION(7, "DBG_MON_A[6]")
25 PINCTRL_PIN(1, "EINT1"),
27 MTK_EINT_FUNCTION(0, 1),
28 MTK_FUNCTION(0, "GPIO1"),
29 MTK_FUNCTION(1, "PWM_C"),
30 MTK_FUNCTION(2, "DPI_D12"),
31 MTK_FUNCTION(3, "I2S2_DI"),
32 MTK_FUNCTION(4, "EXT_TXD1"),
33 MTK_FUNCTION(5, "CONN_MCU_TDO"),
34 MTK_FUNCTION(6, "SQISO"),
35 MTK_FUNCTION(7, "DBG_MON_A[7]")
38 PINCTRL_PIN(2, "EINT2"),
40 MTK_EINT_FUNCTION(0, 2),
41 MTK_FUNCTION(0, "GPIO2"),
42 MTK_FUNCTION(1, "CLKM0"),
43 MTK_FUNCTION(2, "DPI_D13"),
44 MTK_FUNCTION(3, "I2S2_LRCK"),
45 MTK_FUNCTION(4, "EXT_TXD2"),
46 MTK_FUNCTION(5, "CONN_MCU_DBGACK_N"),
47 MTK_FUNCTION(6, "SQISI"),
48 MTK_FUNCTION(7, "DBG_MON_A[8]")
51 PINCTRL_PIN(3, "EINT3"),
53 MTK_EINT_FUNCTION(0, 3),
54 MTK_FUNCTION(0, "GPIO3"),
55 MTK_FUNCTION(1, "CLKM1"),
56 MTK_FUNCTION(2, "DPI_D14"),
57 MTK_FUNCTION(3, "SPI_MI"),
58 MTK_FUNCTION(4, "EXT_TXD3"),
59 MTK_FUNCTION(5, "CONN_MCU_DBGI_N"),
60 MTK_FUNCTION(6, "SQIWP"),
61 MTK_FUNCTION(7, "DBG_MON_A[9]")
64 PINCTRL_PIN(4, "EINT4"),
66 MTK_EINT_FUNCTION(0, 4),
67 MTK_FUNCTION(0, "GPIO4"),
68 MTK_FUNCTION(1, "CLKM2"),
69 MTK_FUNCTION(2, "DPI_D15"),
70 MTK_FUNCTION(3, "SPI_MO"),
71 MTK_FUNCTION(4, "EXT_TXC"),
72 MTK_FUNCTION(5, "CONN_MCU_TCK"),
73 MTK_FUNCTION(6, "CONN_MCU_AICE_JCKC"),
74 MTK_FUNCTION(7, "DBG_MON_A[10]")
77 PINCTRL_PIN(5, "EINT5"),
79 MTK_EINT_FUNCTION(0, 5),
80 MTK_FUNCTION(0, "GPIO5"),
81 MTK_FUNCTION(1, "UCTS2"),
82 MTK_FUNCTION(2, "DPI_D16"),
83 MTK_FUNCTION(3, "SPI_CSB"),
84 MTK_FUNCTION(4, "EXT_RXER"),
85 MTK_FUNCTION(5, "CONN_MCU_TDI"),
86 MTK_FUNCTION(6, "CONN_TEST_CK"),
87 MTK_FUNCTION(7, "DBG_MON_A[11]")
90 PINCTRL_PIN(6, "EINT6"),
92 MTK_EINT_FUNCTION(0, 6),
93 MTK_FUNCTION(0, "GPIO6"),
94 MTK_FUNCTION(1, "URTS2"),
95 MTK_FUNCTION(2, "DPI_D17"),
96 MTK_FUNCTION(3, "SPI_CLK"),
97 MTK_FUNCTION(4, "EXT_RXC"),
98 MTK_FUNCTION(5, "CONN_MCU_TRST_B"),
99 MTK_FUNCTION(6, "MM_TEST_CK"),
100 MTK_FUNCTION(7, "DBG_MON_A[12]")
103 PINCTRL_PIN(7, "EINT7"),
105 MTK_EINT_FUNCTION(0, 7),
106 MTK_FUNCTION(0, "GPIO7"),
107 MTK_FUNCTION(1, "SQIRST"),
108 MTK_FUNCTION(2, "DPI_D6"),
109 MTK_FUNCTION(3, "SDA1_0"),
110 MTK_FUNCTION(4, "EXT_RXDV"),
111 MTK_FUNCTION(5, "CONN_MCU_TMS"),
112 MTK_FUNCTION(6, "CONN_MCU_AICE_JMSC"),
113 MTK_FUNCTION(7, "DBG_MON_A[13]")
116 PINCTRL_PIN(8, "EINT8"),
118 MTK_EINT_FUNCTION(0, 8),
119 MTK_FUNCTION(0, "GPIO8"),
120 MTK_FUNCTION(1, "SQICK"),
121 MTK_FUNCTION(2, "CLKM3"),
122 MTK_FUNCTION(3, "SCL1_0"),
123 MTK_FUNCTION(4, "EXT_RXD0"),
124 MTK_FUNCTION(5, "ANT_SEL0"),
125 MTK_FUNCTION(6, "DPI_D7"),
126 MTK_FUNCTION(7, "DBG_MON_A[14]")
129 PINCTRL_PIN(9, "EINT9"),
131 MTK_EINT_FUNCTION(0, 9),
132 MTK_FUNCTION(0, "GPIO9"),
133 MTK_FUNCTION(1, "CLKM4"),
134 MTK_FUNCTION(2, "SDA2_0"),
135 MTK_FUNCTION(3, "EXT_FRAME_SYNC"),
136 MTK_FUNCTION(4, "EXT_RXD1"),
137 MTK_FUNCTION(5, "ANT_SEL1"),
138 MTK_FUNCTION(6, "DPI_D8"),
139 MTK_FUNCTION(7, "DBG_MON_A[15]")
142 PINCTRL_PIN(10, "EINT10"),
144 MTK_EINT_FUNCTION(0, 10),
145 MTK_FUNCTION(0, "GPIO10"),
146 MTK_FUNCTION(1, "CLKM5"),
147 MTK_FUNCTION(2, "SCL2_0"),
148 MTK_FUNCTION(3, "EXT_FRAME_SYNC"),
149 MTK_FUNCTION(4, "EXT_RXD2"),
150 MTK_FUNCTION(5, "ANT_SEL2"),
151 MTK_FUNCTION(6, "DPI_D9"),
152 MTK_FUNCTION(7, "DBG_MON_A[16]")
155 PINCTRL_PIN(11, "EINT11"),
157 MTK_EINT_FUNCTION(0, 11),
158 MTK_FUNCTION(0, "GPIO11"),
159 MTK_FUNCTION(1, "CLKM4"),
160 MTK_FUNCTION(2, "PWM_C"),
161 MTK_FUNCTION(3, "CONN_TEST_CK"),
162 MTK_FUNCTION(4, "ANT_SEL3"),
163 MTK_FUNCTION(5, "DPI_D10"),
164 MTK_FUNCTION(6, "EXT_RXD3"),
165 MTK_FUNCTION(7, "DBG_MON_A[17]")
168 PINCTRL_PIN(12, "EINT12"),
170 MTK_EINT_FUNCTION(0, 12),
171 MTK_FUNCTION(0, "GPIO12"),
172 MTK_FUNCTION(1, "CLKM5"),
173 MTK_FUNCTION(2, "PWM_A"),
174 MTK_FUNCTION(3, "SPDIF_OUT"),
175 MTK_FUNCTION(4, "ANT_SEL4"),
176 MTK_FUNCTION(5, "DPI_D11"),
177 MTK_FUNCTION(6, "EXT_TXEN"),
178 MTK_FUNCTION(7, "DBG_MON_A[18]")
181 PINCTRL_PIN(13, "EINT13"),
183 MTK_EINT_FUNCTION(0, 13),
184 MTK_FUNCTION(0, "GPIO13"),
185 MTK_FUNCTION(3, "TSF_IN"),
186 MTK_FUNCTION(4, "ANT_SEL5"),
187 MTK_FUNCTION(5, "DPI_D0"),
188 MTK_FUNCTION(6, "SPDIF_IN"),
189 MTK_FUNCTION(7, "DBG_MON_A[19]")
192 PINCTRL_PIN(14, "EINT14"),
194 MTK_EINT_FUNCTION(0, 14),
195 MTK_FUNCTION(0, "GPIO14"),
196 MTK_FUNCTION(2, "I2S_8CH_DO1"),
197 MTK_FUNCTION(3, "TDM_RX_MCK"),
198 MTK_FUNCTION(4, "ANT_SEL1"),
199 MTK_FUNCTION(5, "CONN_MCU_DBGACK_N"),
200 MTK_FUNCTION(6, "NCLE"),
201 MTK_FUNCTION(7, "DBG_MON_B[8]")
204 PINCTRL_PIN(15, "EINT15"),
206 MTK_EINT_FUNCTION(0, 15),
207 MTK_FUNCTION(0, "GPIO15"),
208 MTK_FUNCTION(2, "I2S_8CH_LRCK"),
209 MTK_FUNCTION(3, "TDM_RX_BCK"),
210 MTK_FUNCTION(4, "ANT_SEL2"),
211 MTK_FUNCTION(5, "CONN_MCU_DBGI_N"),
212 MTK_FUNCTION(6, "NCEB1"),
213 MTK_FUNCTION(7, "DBG_MON_B[9]")
216 PINCTRL_PIN(16, "EINT16"),
218 MTK_EINT_FUNCTION(0, 16),
219 MTK_FUNCTION(0, "GPIO16"),
220 MTK_FUNCTION(2, "I2S_8CH_BCK"),
221 MTK_FUNCTION(3, "TDM_RX_LRCK"),
222 MTK_FUNCTION(4, "ANT_SEL3"),
223 MTK_FUNCTION(5, "CONN_MCU_TRST_B"),
224 MTK_FUNCTION(6, "NCEB0"),
225 MTK_FUNCTION(7, "DBG_MON_B[10]")
228 PINCTRL_PIN(17, "EINT17"),
230 MTK_EINT_FUNCTION(0, 17),
231 MTK_FUNCTION(0, "GPIO17"),
232 MTK_FUNCTION(2, "I2S_8CH_MCK"),
233 MTK_FUNCTION(3, "TDM_RX_DI"),
234 MTK_FUNCTION(4, "IDDIG"),
235 MTK_FUNCTION(5, "ANT_SEL4"),
236 MTK_FUNCTION(6, "NREB"),
237 MTK_FUNCTION(7, "DBG_MON_B[11]")
240 PINCTRL_PIN(18, "EINT18"),
242 MTK_EINT_FUNCTION(0, 18),
243 MTK_FUNCTION(0, "GPIO18"),
244 MTK_FUNCTION(2, "USB_DRVVBUS"),
245 MTK_FUNCTION(3, "I2S3_LRCK"),
246 MTK_FUNCTION(4, "CLKM1"),
247 MTK_FUNCTION(5, "ANT_SEL3"),
248 MTK_FUNCTION(6, "I2S2_BCK"),
249 MTK_FUNCTION(7, "DBG_MON_A[20]")
252 PINCTRL_PIN(19, "EINT19"),
254 MTK_EINT_FUNCTION(0, 19),
255 MTK_FUNCTION(0, "GPIO19"),
256 MTK_FUNCTION(1, "UCTS1"),
257 MTK_FUNCTION(2, "IDDIG"),
258 MTK_FUNCTION(3, "I2S3_BCK"),
259 MTK_FUNCTION(4, "CLKM2"),
260 MTK_FUNCTION(5, "ANT_SEL4"),
261 MTK_FUNCTION(6, "I2S2_DI"),
262 MTK_FUNCTION(7, "DBG_MON_A[21]")
265 PINCTRL_PIN(20, "EINT20"),
267 MTK_EINT_FUNCTION(0, 20),
268 MTK_FUNCTION(0, "GPIO20"),
269 MTK_FUNCTION(1, "URTS1"),
270 MTK_FUNCTION(3, "I2S3_DO"),
271 MTK_FUNCTION(4, "CLKM3"),
272 MTK_FUNCTION(5, "ANT_SEL5"),
273 MTK_FUNCTION(6, "I2S2_LRCK"),
274 MTK_FUNCTION(7, "DBG_MON_A[22]")
277 PINCTRL_PIN(21, "EINT21"),
279 MTK_EINT_FUNCTION(0, 21),
280 MTK_FUNCTION(0, "GPIO21"),
281 MTK_FUNCTION(1, "NRNB"),
282 MTK_FUNCTION(2, "ANT_SEL0"),
283 MTK_FUNCTION(3, "I2S_8CH_DO4"),
284 MTK_FUNCTION(7, "DBG_MON_B[31]")
287 PINCTRL_PIN(22, "EINT22"),
289 MTK_EINT_FUNCTION(0, 22),
290 MTK_FUNCTION(0, "GPIO22"),
291 MTK_FUNCTION(2, "I2S_8CH_DO2"),
292 MTK_FUNCTION(3, "TSF_IN"),
293 MTK_FUNCTION(4, "USB_DRVVBUS"),
294 MTK_FUNCTION(5, "SPDIF_OUT"),
295 MTK_FUNCTION(6, "NRE_C"),
296 MTK_FUNCTION(7, "DBG_MON_B[12]")
299 PINCTRL_PIN(23, "EINT23"),
301 MTK_EINT_FUNCTION(0, 23),
302 MTK_FUNCTION(0, "GPIO23"),
303 MTK_FUNCTION(2, "I2S_8CH_DO3"),
304 MTK_FUNCTION(3, "CLKM0"),
305 MTK_FUNCTION(4, "IR"),
306 MTK_FUNCTION(5, "SPDIF_IN"),
307 MTK_FUNCTION(6, "NDQS_C"),
308 MTK_FUNCTION(7, "DBG_MON_B[13]")
311 PINCTRL_PIN(24, "EINT24"),
313 MTK_EINT_FUNCTION(0, 24),
314 MTK_FUNCTION(0, "GPIO24"),
315 MTK_FUNCTION(1, "DPI_D20"),
316 MTK_FUNCTION(2, "DPI_DE"),
317 MTK_FUNCTION(3, "ANT_SEL1"),
318 MTK_FUNCTION(4, "UCTS2"),
319 MTK_FUNCTION(5, "PWM_A"),
320 MTK_FUNCTION(6, "I2S0_MCK"),
321 MTK_FUNCTION(7, "DBG_MON_A[0]")
324 PINCTRL_PIN(25, "EINT25"),
326 MTK_EINT_FUNCTION(0, 25),
327 MTK_FUNCTION(0, "GPIO25"),
328 MTK_FUNCTION(1, "DPI_D19"),
329 MTK_FUNCTION(2, "DPI_VSYNC"),
330 MTK_FUNCTION(3, "ANT_SEL0"),
331 MTK_FUNCTION(4, "URTS2"),
332 MTK_FUNCTION(5, "PWM_B"),
333 MTK_FUNCTION(6, "I2S_8CH_MCK"),
334 MTK_FUNCTION(7, "DBG_MON_A[1]")
337 PINCTRL_PIN(26, "PWRAP_SPI0_MI"),
339 MTK_EINT_FUNCTION(0, 26),
340 MTK_FUNCTION(0, "GPIO26"),
341 MTK_FUNCTION(1, "PWRAP_SPI0_MO"),
342 MTK_FUNCTION(2, "PWRAP_SPI0_MI")
345 PINCTRL_PIN(27, "PWRAP_SPI0_MO"),
347 MTK_EINT_FUNCTION(0, 27),
348 MTK_FUNCTION(0, "GPIO27"),
349 MTK_FUNCTION(1, "PWRAP_SPI0_MI"),
350 MTK_FUNCTION(2, "PWRAP_SPI0_MO")
353 PINCTRL_PIN(28, "PWRAP_INT"),
355 MTK_EINT_FUNCTION(0, 28),
356 MTK_FUNCTION(0, "GPIO28"),
357 MTK_FUNCTION(1, "I2S0_MCK"),
358 MTK_FUNCTION(4, "I2S_8CH_MCK"),
359 MTK_FUNCTION(5, "I2S2_MCK"),
360 MTK_FUNCTION(6, "I2S3_MCK")
363 PINCTRL_PIN(29, "PWRAP_SPI0_CK"),
365 MTK_EINT_FUNCTION(0, 29),
366 MTK_FUNCTION(0, "GPIO29"),
367 MTK_FUNCTION(1, "PWRAP_SPI0_CK")
370 PINCTRL_PIN(30, "PWRAP_SPI0_CSN"),
372 MTK_EINT_FUNCTION(0, 30),
373 MTK_FUNCTION(0, "GPIO30"),
374 MTK_FUNCTION(1, "PWRAP_SPI0_CSN")
377 PINCTRL_PIN(31, "RTC32K_CK"),
379 MTK_EINT_FUNCTION(0, 31),
380 MTK_FUNCTION(0, "GPIO31"),
381 MTK_FUNCTION(1, "RTC32K_CK")
384 PINCTRL_PIN(32, "WATCHDOG"),
386 MTK_EINT_FUNCTION(0, 32),
387 MTK_FUNCTION(0, "GPIO32"),
388 MTK_FUNCTION(1, "WATCHDOG")
391 PINCTRL_PIN(33, "SRCLKENA"),
393 MTK_EINT_FUNCTION(0, 33),
394 MTK_FUNCTION(0, "GPIO33"),
395 MTK_FUNCTION(1, "SRCLKENA0")
398 PINCTRL_PIN(34, "URXD2"),
400 MTK_EINT_FUNCTION(0, 34),
401 MTK_FUNCTION(0, "GPIO34"),
402 MTK_FUNCTION(1, "URXD2"),
403 MTK_FUNCTION(2, "DPI_D5"),
404 MTK_FUNCTION(3, "UTXD2"),
405 MTK_FUNCTION(4, "DBG_SCL"),
406 MTK_FUNCTION(6, "I2S2_MCK"),
407 MTK_FUNCTION(7, "DBG_MON_B[0]")
410 PINCTRL_PIN(35, "UTXD2"),
412 MTK_EINT_FUNCTION(0, 35),
413 MTK_FUNCTION(0, "GPIO35"),
414 MTK_FUNCTION(1, "UTXD2"),
415 MTK_FUNCTION(2, "DPI_HSYNC"),
416 MTK_FUNCTION(3, "URXD2"),
417 MTK_FUNCTION(4, "DBG_SDA"),
418 MTK_FUNCTION(5, "DPI_D18"),
419 MTK_FUNCTION(6, "I2S3_MCK"),
420 MTK_FUNCTION(7, "DBG_MON_B[1]")
423 PINCTRL_PIN(36, "MRG_CLK"),
425 MTK_EINT_FUNCTION(0, 36),
426 MTK_FUNCTION(0, "GPIO36"),
427 MTK_FUNCTION(1, "MRG_CLK"),
428 MTK_FUNCTION(2, "DPI_D4"),
429 MTK_FUNCTION(3, "I2S0_BCK"),
430 MTK_FUNCTION(4, "I2S3_BCK"),
431 MTK_FUNCTION(5, "PCM0_CLK"),
432 MTK_FUNCTION(6, "IR"),
433 MTK_FUNCTION(7, "DBG_MON_A[2]")
436 PINCTRL_PIN(37, "MRG_SYNC"),
438 MTK_EINT_FUNCTION(0, 37),
439 MTK_FUNCTION(0, "GPIO37"),
440 MTK_FUNCTION(1, "MRG_SYNC"),
441 MTK_FUNCTION(2, "DPI_D3"),
442 MTK_FUNCTION(3, "I2S0_LRCK"),
443 MTK_FUNCTION(4, "I2S3_LRCK"),
444 MTK_FUNCTION(5, "PCM0_SYNC"),
445 MTK_FUNCTION(6, "EXT_COL"),
446 MTK_FUNCTION(7, "DBG_MON_A[3]")
449 PINCTRL_PIN(38, "MRG_DI"),
451 MTK_EINT_FUNCTION(0, 38),
452 MTK_FUNCTION(0, "GPIO38"),
453 MTK_FUNCTION(1, "MRG_DI"),
454 MTK_FUNCTION(2, "DPI_D1"),
455 MTK_FUNCTION(3, "I2S0_DI"),
456 MTK_FUNCTION(4, "I2S3_DO"),
457 MTK_FUNCTION(5, "PCM0_DI"),
458 MTK_FUNCTION(6, "EXT_MDIO"),
459 MTK_FUNCTION(7, "DBG_MON_A[4]")
462 PINCTRL_PIN(39, "MRG_DO"),
464 MTK_EINT_FUNCTION(0, 39),
465 MTK_FUNCTION(0, "GPIO39"),
466 MTK_FUNCTION(1, "MRG_DO"),
467 MTK_FUNCTION(2, "DPI_D2"),
468 MTK_FUNCTION(3, "I2S0_MCK"),
469 MTK_FUNCTION(4, "I2S3_MCK"),
470 MTK_FUNCTION(5, "PCM0_DO"),
471 MTK_FUNCTION(6, "EXT_MDC"),
472 MTK_FUNCTION(7, "DBG_MON_A[5]")
475 PINCTRL_PIN(40, "KPROW0"),
477 MTK_EINT_FUNCTION(0, 40),
478 MTK_FUNCTION(0, "GPIO40"),
479 MTK_FUNCTION(1, "KPROW0"),
480 MTK_FUNCTION(4, "IMG_TEST_CK"),
481 MTK_FUNCTION(7, "DBG_MON_B[4]")
484 PINCTRL_PIN(41, "KPROW1"),
486 MTK_EINT_FUNCTION(0, 41),
487 MTK_FUNCTION(0, "GPIO41"),
488 MTK_FUNCTION(1, "KPROW1"),
489 MTK_FUNCTION(2, "IDDIG"),
490 MTK_FUNCTION(3, "EXT_FRAME_SYNC"),
491 MTK_FUNCTION(4, "MFG_TEST_CK"),
492 MTK_FUNCTION(7, "DBG_MON_B[5]")
495 PINCTRL_PIN(42, "KPCOL0"),
497 MTK_EINT_FUNCTION(0, 42),
498 MTK_FUNCTION(0, "GPIO42"),
499 MTK_FUNCTION(1, "KPCOL0"),
500 MTK_FUNCTION(7, "DBG_MON_B[6]")
503 PINCTRL_PIN(43, "KPCOL1"),
505 MTK_EINT_FUNCTION(0, 43),
506 MTK_FUNCTION(0, "GPIO43"),
507 MTK_FUNCTION(1, "KPCOL1"),
508 MTK_FUNCTION(2, "USB_DRVVBUS"),
509 MTK_FUNCTION(3, "EXT_FRAME_SYNC"),
510 MTK_FUNCTION(4, "TSF_IN"),
511 MTK_FUNCTION(5, "DFD_NTRST_XI"),
512 MTK_FUNCTION(6, "UDI_NTRST_XI"),
513 MTK_FUNCTION(7, "DBG_MON_B[7]")
516 PINCTRL_PIN(44, "JTMS"),
518 MTK_EINT_FUNCTION(0, 44),
519 MTK_FUNCTION(0, "GPIO44"),
520 MTK_FUNCTION(1, "JTMS"),
521 MTK_FUNCTION(2, "CONN_MCU_TMS"),
522 MTK_FUNCTION(3, "CONN_MCU_AICE_JMSC"),
523 MTK_FUNCTION(4, "GPUDFD_TMS_XI"),
524 MTK_FUNCTION(5, "DFD_TMS_XI"),
525 MTK_FUNCTION(6, "UDI_TMS_XI")
528 PINCTRL_PIN(45, "JTCK"),
530 MTK_EINT_FUNCTION(0, 45),
531 MTK_FUNCTION(0, "GPIO45"),
532 MTK_FUNCTION(1, "JTCK"),
533 MTK_FUNCTION(2, "CONN_MCU_TCK"),
534 MTK_FUNCTION(3, "CONN_MCU_AICE_JCKC"),
535 MTK_FUNCTION(4, "GPUDFD_TCK_XI"),
536 MTK_FUNCTION(5, "DFD_TCK_XI"),
537 MTK_FUNCTION(6, "UDI_TCK_XI")
540 PINCTRL_PIN(46, "JTDI"),
542 MTK_EINT_FUNCTION(0, 46),
543 MTK_FUNCTION(0, "GPIO46"),
544 MTK_FUNCTION(1, "JTDI"),
545 MTK_FUNCTION(2, "CONN_MCU_TDI"),
546 MTK_FUNCTION(4, "GPUDFD_TDI_XI"),
547 MTK_FUNCTION(5, "DFD_TDI_XI"),
548 MTK_FUNCTION(6, "UDI_TDI_XI")
551 PINCTRL_PIN(47, "JTDO"),
553 MTK_EINT_FUNCTION(0, 47),
554 MTK_FUNCTION(0, "GPIO47"),
555 MTK_FUNCTION(1, "JTDO"),
556 MTK_FUNCTION(2, "CONN_MCU_TDO"),
557 MTK_FUNCTION(4, "GPUDFD_TDO"),
558 MTK_FUNCTION(5, "DFD_TDO"),
559 MTK_FUNCTION(6, "UDI_TDO")
562 PINCTRL_PIN(48, "SPI_CS"),
564 MTK_EINT_FUNCTION(0, 48),
565 MTK_FUNCTION(0, "GPIO48"),
566 MTK_FUNCTION(1, "SPI_CSB"),
567 MTK_FUNCTION(3, "I2S0_DI"),
568 MTK_FUNCTION(4, "I2S2_BCK"),
569 MTK_FUNCTION(7, "DBG_MON_A[23]")
572 PINCTRL_PIN(49, "SPI_CK"),
574 MTK_EINT_FUNCTION(0, 49),
575 MTK_FUNCTION(0, "GPIO49"),
576 MTK_FUNCTION(1, "SPI_CLK"),
577 MTK_FUNCTION(3, "I2S0_LRCK"),
578 MTK_FUNCTION(4, "I2S2_DI"),
579 MTK_FUNCTION(7, "DBG_MON_A[24]")
582 PINCTRL_PIN(50, "SPI_MI"),
584 MTK_EINT_FUNCTION(0, 50),
585 MTK_FUNCTION(0, "GPIO50"),
586 MTK_FUNCTION(1, "SPI_MI"),
587 MTK_FUNCTION(2, "SPI_MO"),
588 MTK_FUNCTION(3, "I2S0_BCK"),
589 MTK_FUNCTION(4, "I2S2_LRCK"),
590 MTK_FUNCTION(7, "DBG_MON_A[25]")
593 PINCTRL_PIN(51, "SPI_MO"),
595 MTK_EINT_FUNCTION(0, 51),
596 MTK_FUNCTION(0, "GPIO51"),
597 MTK_FUNCTION(1, "SPI_MO"),
598 MTK_FUNCTION(2, "SPI_MI"),
599 MTK_FUNCTION(3, "I2S0_MCK"),
600 MTK_FUNCTION(4, "I2S2_MCK"),
601 MTK_FUNCTION(7, "DBG_MON_A[26]")
604 PINCTRL_PIN(52, "SDA1"),
606 MTK_EINT_FUNCTION(0, 52),
607 MTK_FUNCTION(0, "GPIO52"),
608 MTK_FUNCTION(1, "SDA1_0")
611 PINCTRL_PIN(53, "SCL1"),
613 MTK_EINT_FUNCTION(0, 53),
614 MTK_FUNCTION(0, "GPIO53"),
615 MTK_FUNCTION(1, "SCL1_0")
618 PINCTRL_PIN(54, "DISP_PWM"),
620 MTK_EINT_FUNCTION(0, 54),
621 MTK_FUNCTION(0, "GPIO54"),
622 MTK_FUNCTION(1, "DISP_PWM"),
623 MTK_FUNCTION(2, "PWM_B"),
624 MTK_FUNCTION(7, "DBG_MON_B[2]")
627 PINCTRL_PIN(55, "I2S_DATA_IN"),
629 MTK_EINT_FUNCTION(0, 55),
630 MTK_FUNCTION(0, "GPIO55"),
631 MTK_FUNCTION(1, "I2S0_DI"),
632 MTK_FUNCTION(2, "UCTS0"),
633 MTK_FUNCTION(3, "I2S3_DO"),
634 MTK_FUNCTION(4, "I2S_8CH_DO1"),
635 MTK_FUNCTION(5, "PWM_A"),
636 MTK_FUNCTION(6, "I2S2_BCK"),
637 MTK_FUNCTION(7, "DBG_MON_A[28]")
640 PINCTRL_PIN(56, "I2S_LRCK"),
642 MTK_EINT_FUNCTION(0, 56),
643 MTK_FUNCTION(0, "GPIO56"),
644 MTK_FUNCTION(1, "I2S0_LRCK"),
645 MTK_FUNCTION(3, "I2S3_LRCK"),
646 MTK_FUNCTION(4, "I2S_8CH_LRCK"),
647 MTK_FUNCTION(5, "PWM_B"),
648 MTK_FUNCTION(6, "I2S2_DI"),
649 MTK_FUNCTION(7, "DBG_MON_A[29]")
652 PINCTRL_PIN(57, "I2S_BCK"),
654 MTK_EINT_FUNCTION(0, 57),
655 MTK_FUNCTION(0, "GPIO57"),
656 MTK_FUNCTION(1, "I2S0_BCK"),
657 MTK_FUNCTION(2, "URTS0"),
658 MTK_FUNCTION(3, "I2S3_BCK"),
659 MTK_FUNCTION(4, "I2S_8CH_BCK"),
660 MTK_FUNCTION(5, "PWM_C"),
661 MTK_FUNCTION(6, "I2S2_LRCK"),
662 MTK_FUNCTION(7, "DBG_MON_A[30]")
665 PINCTRL_PIN(58, "SDA0"),
667 MTK_EINT_FUNCTION(0, 58),
668 MTK_FUNCTION(0, "GPIO58"),
669 MTK_FUNCTION(1, "SDA0_0")
672 PINCTRL_PIN(59, "SCL0"),
674 MTK_EINT_FUNCTION(0, 59),
675 MTK_FUNCTION(0, "GPIO59"),
676 MTK_FUNCTION(1, "SCL0_0")
679 PINCTRL_PIN(60, "SDA2"),
681 MTK_EINT_FUNCTION(0, 60),
682 MTK_FUNCTION(0, "GPIO60"),
683 MTK_FUNCTION(1, "SDA2_0"),
684 MTK_FUNCTION(2, "PWM_B")
687 PINCTRL_PIN(61, "SCL2"),
689 MTK_EINT_FUNCTION(0, 61),
690 MTK_FUNCTION(0, "GPIO61"),
691 MTK_FUNCTION(1, "SCL2_0"),
692 MTK_FUNCTION(2, "PWM_C")
695 PINCTRL_PIN(62, "URXD0"),
697 MTK_EINT_FUNCTION(0, 62),
698 MTK_FUNCTION(0, "GPIO62"),
699 MTK_FUNCTION(1, "URXD0"),
700 MTK_FUNCTION(2, "UTXD0")
703 PINCTRL_PIN(63, "UTXD0"),
705 MTK_EINT_FUNCTION(0, 63),
706 MTK_FUNCTION(0, "GPIO63"),
707 MTK_FUNCTION(1, "UTXD0"),
708 MTK_FUNCTION(2, "URXD0")
711 PINCTRL_PIN(64, "URXD1"),
713 MTK_EINT_FUNCTION(0, 64),
714 MTK_FUNCTION(0, "GPIO64"),
715 MTK_FUNCTION(1, "URXD1"),
716 MTK_FUNCTION(2, "UTXD1"),
717 MTK_FUNCTION(7, "DBG_MON_A[27]")
720 PINCTRL_PIN(65, "UTXD1"),
722 MTK_EINT_FUNCTION(0, 65),
723 MTK_FUNCTION(0, "GPIO65"),
724 MTK_FUNCTION(1, "UTXD1"),
725 MTK_FUNCTION(2, "URXD1"),
726 MTK_FUNCTION(7, "DBG_MON_A[31]")
729 PINCTRL_PIN(66, "LCM_RST"),
731 MTK_EINT_FUNCTION(0, 66),
732 MTK_FUNCTION(0, "GPIO66"),
733 MTK_FUNCTION(1, "LCM_RST"),
734 MTK_FUNCTION(3, "I2S0_MCK"),
735 MTK_FUNCTION(7, "DBG_MON_B[3]")
738 PINCTRL_PIN(67, "DSI_TE"),
740 MTK_EINT_FUNCTION(0, 67),
741 MTK_FUNCTION(0, "GPIO67"),
742 MTK_FUNCTION(1, "DSI_TE"),
743 MTK_FUNCTION(3, "I2S_8CH_MCK"),
744 MTK_FUNCTION(7, "DBG_MON_B[14]")
747 PINCTRL_PIN(68, "MSDC2_CMD"),
749 MTK_EINT_FUNCTION(0, 68),
750 MTK_FUNCTION(0, "GPIO68"),
751 MTK_FUNCTION(1, "MSDC2_CMD"),
752 MTK_FUNCTION(2, "I2S_8CH_DO4"),
753 MTK_FUNCTION(3, "SDA1_0"),
754 MTK_FUNCTION(5, "USB_SDA"),
755 MTK_FUNCTION(6, "I2S3_BCK"),
756 MTK_FUNCTION(7, "DBG_MON_B[15]")
759 PINCTRL_PIN(69, "MSDC2_CLK"),
761 MTK_EINT_FUNCTION(0, 69),
762 MTK_FUNCTION(0, "GPIO69"),
763 MTK_FUNCTION(1, "MSDC2_CLK"),
764 MTK_FUNCTION(2, "I2S_8CH_DO3"),
765 MTK_FUNCTION(3, "SCL1_0"),
766 MTK_FUNCTION(4, "DPI_D21"),
767 MTK_FUNCTION(5, "USB_SCL"),
768 MTK_FUNCTION(6, "I2S3_LRCK"),
769 MTK_FUNCTION(7, "DBG_MON_B[16]")
772 PINCTRL_PIN(70, "MSDC2_DAT0"),
774 MTK_EINT_FUNCTION(0, 70),
775 MTK_FUNCTION(0, "GPIO70"),
776 MTK_FUNCTION(1, "MSDC2_DAT0"),
777 MTK_FUNCTION(2, "I2S_8CH_DO2"),
778 MTK_FUNCTION(4, "DPI_D22"),
779 MTK_FUNCTION(5, "UTXD0"),
780 MTK_FUNCTION(6, "I2S3_DO"),
781 MTK_FUNCTION(7, "DBG_MON_B[17]")
784 PINCTRL_PIN(71, "MSDC2_DAT1"),
786 MTK_EINT_FUNCTION(0, 71),
787 MTK_FUNCTION(0, "GPIO71"),
788 MTK_FUNCTION(1, "MSDC2_DAT1"),
789 MTK_FUNCTION(2, "I2S_8CH_DO1"),
790 MTK_FUNCTION(3, "PWM_A"),
791 MTK_FUNCTION(4, "I2S3_MCK"),
792 MTK_FUNCTION(5, "URXD0"),
793 MTK_FUNCTION(6, "PWM_B"),
794 MTK_FUNCTION(7, "DBG_MON_B[18]")
797 PINCTRL_PIN(72, "MSDC2_DAT2"),
799 MTK_EINT_FUNCTION(0, 72),
800 MTK_FUNCTION(0, "GPIO72"),
801 MTK_FUNCTION(1, "MSDC2_DAT2"),
802 MTK_FUNCTION(2, "I2S_8CH_LRCK"),
803 MTK_FUNCTION(3, "SDA2_0"),
804 MTK_FUNCTION(4, "DPI_D23"),
805 MTK_FUNCTION(5, "UTXD1"),
806 MTK_FUNCTION(6, "PWM_C"),
807 MTK_FUNCTION(7, "DBG_MON_B[19]")
810 PINCTRL_PIN(73, "MSDC2_DAT3"),
812 MTK_EINT_FUNCTION(0, 73),
813 MTK_FUNCTION(0, "GPIO73"),
814 MTK_FUNCTION(1, "MSDC2_DAT3"),
815 MTK_FUNCTION(2, "I2S_8CH_BCK"),
816 MTK_FUNCTION(3, "SCL2_0"),
817 MTK_FUNCTION(4, "EXT_FRAME_SYNC"),
818 MTK_FUNCTION(5, "URXD1"),
819 MTK_FUNCTION(6, "PWM_A"),
820 MTK_FUNCTION(7, "DBG_MON_B[20]")
823 PINCTRL_PIN(74, "TDN3"),
825 MTK_EINT_FUNCTION(0, 74),
826 MTK_FUNCTION(0, "GPI74"),
827 MTK_FUNCTION(1, "TDN3")
830 PINCTRL_PIN(75, "TDP3"),
832 MTK_EINT_FUNCTION(0, 75),
833 MTK_FUNCTION(0, "GPI75"),
834 MTK_FUNCTION(1, "TDP3")
837 PINCTRL_PIN(76, "TDN2"),
839 MTK_EINT_FUNCTION(0, 76),
840 MTK_FUNCTION(0, "GPI76"),
841 MTK_FUNCTION(1, "TDN2")
844 PINCTRL_PIN(77, "TDP2"),
846 MTK_EINT_FUNCTION(0, 77),
847 MTK_FUNCTION(0, "GPI77"),
848 MTK_FUNCTION(1, "TDP2")
851 PINCTRL_PIN(78, "TCN"),
853 MTK_EINT_FUNCTION(0, 78),
854 MTK_FUNCTION(0, "GPI78"),
855 MTK_FUNCTION(1, "TCN")
858 PINCTRL_PIN(79, "TCP"),
860 MTK_EINT_FUNCTION(0, 79),
861 MTK_FUNCTION(0, "GPI79"),
862 MTK_FUNCTION(1, "TCP")
865 PINCTRL_PIN(80, "TDN1"),
867 MTK_EINT_FUNCTION(0, 80),
868 MTK_FUNCTION(0, "GPI80"),
869 MTK_FUNCTION(1, "TDN1")
872 PINCTRL_PIN(81, "TDP1"),
874 MTK_EINT_FUNCTION(0, 81),
875 MTK_FUNCTION(0, "GPI81"),
876 MTK_FUNCTION(1, "TDP1")
879 PINCTRL_PIN(82, "TDN0"),
881 MTK_EINT_FUNCTION(0, 82),
882 MTK_FUNCTION(0, "GPI82"),
883 MTK_FUNCTION(1, "TDN0")
886 PINCTRL_PIN(83, "TDP0"),
888 MTK_EINT_FUNCTION(0, 83),
889 MTK_FUNCTION(0, "GPI83"),
890 MTK_FUNCTION(1, "TDP0")
893 PINCTRL_PIN(84, "RDN0"),
895 MTK_EINT_FUNCTION(0, 84),
896 MTK_FUNCTION(0, "GPI84"),
897 MTK_FUNCTION(1, "RDN0")
900 PINCTRL_PIN(85, "RDP0"),
902 MTK_EINT_FUNCTION(0, 85),
903 MTK_FUNCTION(0, "GPI85"),
904 MTK_FUNCTION(1, "RDP0")
907 PINCTRL_PIN(86, "RDN1"),
909 MTK_EINT_FUNCTION(0, 86),
910 MTK_FUNCTION(0, "GPI86"),
911 MTK_FUNCTION(1, "RDN1")
914 PINCTRL_PIN(87, "RDP1"),
916 MTK_EINT_FUNCTION(0, 87),
917 MTK_FUNCTION(0, "GPI87"),
918 MTK_FUNCTION(1, "RDP1")
921 PINCTRL_PIN(88, "RCN"),
923 MTK_EINT_FUNCTION(0, 88),
924 MTK_FUNCTION(0, "GPI88"),
925 MTK_FUNCTION(1, "RCN")
928 PINCTRL_PIN(89, "RCP"),
930 MTK_EINT_FUNCTION(0, 89),
931 MTK_FUNCTION(0, "GPI89"),
932 MTK_FUNCTION(1, "RCP")
935 PINCTRL_PIN(90, "RDN2"),
937 MTK_EINT_FUNCTION(0, 90),
938 MTK_FUNCTION(0, "GPI90"),
939 MTK_FUNCTION(1, "RDN2"),
940 MTK_FUNCTION(2, "CMDAT8")
943 PINCTRL_PIN(91, "RDP2"),
945 MTK_EINT_FUNCTION(0, 91),
946 MTK_FUNCTION(0, "GPI91"),
947 MTK_FUNCTION(1, "RDP2"),
948 MTK_FUNCTION(2, "CMDAT9")
951 PINCTRL_PIN(92, "RDN3"),
953 MTK_EINT_FUNCTION(0, 92),
954 MTK_FUNCTION(0, "GPI92"),
955 MTK_FUNCTION(1, "RDN3"),
956 MTK_FUNCTION(2, "CMDAT4")
959 PINCTRL_PIN(93, "RDP3"),
961 MTK_EINT_FUNCTION(0, 93),
962 MTK_FUNCTION(0, "GPI93"),
963 MTK_FUNCTION(1, "RDP3"),
964 MTK_FUNCTION(2, "CMDAT5")
967 PINCTRL_PIN(94, "RCN_A"),
969 MTK_EINT_FUNCTION(0, 94),
970 MTK_FUNCTION(0, "GPI94"),
971 MTK_FUNCTION(1, "RCN_A"),
972 MTK_FUNCTION(2, "CMDAT6")
975 PINCTRL_PIN(95, "RCP_A"),
977 MTK_EINT_FUNCTION(0, 95),
978 MTK_FUNCTION(0, "GPI95"),
979 MTK_FUNCTION(1, "RCP_A"),
980 MTK_FUNCTION(2, "CMDAT7")
983 PINCTRL_PIN(96, "RDN1_A"),
985 MTK_EINT_FUNCTION(0, 96),
986 MTK_FUNCTION(0, "GPI96"),
987 MTK_FUNCTION(1, "RDN1_A"),
988 MTK_FUNCTION(2, "CMDAT2"),
989 MTK_FUNCTION(3, "CMCSD2")
992 PINCTRL_PIN(97, "RDP1_A"),
994 MTK_EINT_FUNCTION(0, 97),
995 MTK_FUNCTION(0, "GPI97"),
996 MTK_FUNCTION(1, "RDP1_A"),
997 MTK_FUNCTION(2, "CMDAT3"),
998 MTK_FUNCTION(3, "CMCSD3")
1001 PINCTRL_PIN(98, "RDN0_A"),
1003 MTK_EINT_FUNCTION(0, 98),
1004 MTK_FUNCTION(0, "GPI98"),
1005 MTK_FUNCTION(1, "RDN0_A"),
1006 MTK_FUNCTION(2, "CMHSYNC")
1009 PINCTRL_PIN(99, "RDP0_A"),
1011 MTK_EINT_FUNCTION(0, 99),
1012 MTK_FUNCTION(0, "GPI99"),
1013 MTK_FUNCTION(1, "RDP0_A"),
1014 MTK_FUNCTION(2, "CMVSYNC")
1017 PINCTRL_PIN(100, "CMDAT0"),
1019 MTK_EINT_FUNCTION(0, 100),
1020 MTK_FUNCTION(0, "GPIO100"),
1021 MTK_FUNCTION(1, "CMDAT0"),
1022 MTK_FUNCTION(2, "CMCSD0"),
1023 MTK_FUNCTION(3, "ANT_SEL2"),
1024 MTK_FUNCTION(5, "TDM_RX_MCK"),
1025 MTK_FUNCTION(7, "DBG_MON_B[21]")
1028 PINCTRL_PIN(101, "CMDAT1"),
1030 MTK_EINT_FUNCTION(0, 101),
1031 MTK_FUNCTION(0, "GPIO101"),
1032 MTK_FUNCTION(1, "CMDAT1"),
1033 MTK_FUNCTION(2, "CMCSD1"),
1034 MTK_FUNCTION(3, "ANT_SEL3"),
1035 MTK_FUNCTION(4, "CMFLASH"),
1036 MTK_FUNCTION(5, "TDM_RX_BCK"),
1037 MTK_FUNCTION(7, "DBG_MON_B[22]")
1040 PINCTRL_PIN(102, "CMMCLK"),
1042 MTK_EINT_FUNCTION(0, 102),
1043 MTK_FUNCTION(0, "GPIO102"),
1044 MTK_FUNCTION(1, "CMMCLK"),
1045 MTK_FUNCTION(3, "ANT_SEL4"),
1046 MTK_FUNCTION(5, "TDM_RX_LRCK"),
1047 MTK_FUNCTION(7, "DBG_MON_B[23]")
1050 PINCTRL_PIN(103, "CMPCLK"),
1052 MTK_EINT_FUNCTION(0, 103),
1053 MTK_FUNCTION(0, "GPIO103"),
1054 MTK_FUNCTION(1, "CMPCLK"),
1055 MTK_FUNCTION(2, "CMCSK"),
1056 MTK_FUNCTION(3, "ANT_SEL5"),
1057 MTK_FUNCTION(5, " TDM_RX_DI"),
1058 MTK_FUNCTION(7, "DBG_MON_B[24]")
1061 PINCTRL_PIN(104, "MSDC1_CMD"),
1063 MTK_EINT_FUNCTION(0, 104),
1064 MTK_FUNCTION(0, "GPIO104"),
1065 MTK_FUNCTION(1, "MSDC1_CMD"),
1066 MTK_FUNCTION(4, "SQICS"),
1067 MTK_FUNCTION(7, "DBG_MON_B[25]")
1070 PINCTRL_PIN(105, "MSDC1_CLK"),
1072 MTK_EINT_FUNCTION(0, 105),
1073 MTK_FUNCTION(0, "GPIO105"),
1074 MTK_FUNCTION(1, "MSDC1_CLK"),
1075 MTK_FUNCTION(2, "UDI_NTRST_XI"),
1076 MTK_FUNCTION(3, "DFD_NTRST_XI"),
1077 MTK_FUNCTION(4, "SQISO"),
1078 MTK_FUNCTION(5, "GPUEJ_NTRST_XI"),
1079 MTK_FUNCTION(7, "DBG_MON_B[26]")
1082 PINCTRL_PIN(106, "MSDC1_DAT0"),
1084 MTK_EINT_FUNCTION(0, 106),
1085 MTK_FUNCTION(0, "GPIO106"),
1086 MTK_FUNCTION(1, "MSDC1_DAT0"),
1087 MTK_FUNCTION(2, "UDI_TMS_XI"),
1088 MTK_FUNCTION(3, "DFD_TMS_XI"),
1089 MTK_FUNCTION(4, "SQISI"),
1090 MTK_FUNCTION(5, "GPUEJ_TMS_XI"),
1091 MTK_FUNCTION(7, "DBG_MON_B[27]")
1094 PINCTRL_PIN(107, "MSDC1_DAT1"),
1096 MTK_EINT_FUNCTION(0, 107),
1097 MTK_FUNCTION(0, "GPIO107"),
1098 MTK_FUNCTION(1, "MSDC1_DAT1"),
1099 MTK_FUNCTION(2, "UDI_TCK_XI"),
1100 MTK_FUNCTION(3, "DFD_TCK_XI"),
1101 MTK_FUNCTION(4, "SQIWP"),
1102 MTK_FUNCTION(5, "GPUEJ_TCK_XI"),
1103 MTK_FUNCTION(7, "DBG_MON_B[28]")
1106 PINCTRL_PIN(108, "MSDC1_DAT2"),
1108 MTK_EINT_FUNCTION(0, 108),
1109 MTK_FUNCTION(0, "GPIO108"),
1110 MTK_FUNCTION(1, "MSDC1_DAT2"),
1111 MTK_FUNCTION(2, "UDI_TDI_XI"),
1112 MTK_FUNCTION(3, "DFD_TDI_XI"),
1113 MTK_FUNCTION(4, "SQIRST"),
1114 MTK_FUNCTION(5, "GPUEJ_TDI_XI"),
1115 MTK_FUNCTION(7, "DBG_MON_B[29]")
1118 PINCTRL_PIN(109, "MSDC1_DAT3"),
1120 MTK_EINT_FUNCTION(0, 109),
1121 MTK_FUNCTION(0, "GPIO109"),
1122 MTK_FUNCTION(1, "MSDC1_DAT3"),
1123 MTK_FUNCTION(2, "UDI_TDO"),
1124 MTK_FUNCTION(3, "DFD_TDO"),
1125 MTK_FUNCTION(4, "SQICK"),
1126 MTK_FUNCTION(5, "GPUEJ_TDO"),
1127 MTK_FUNCTION(7, "DBG_MON_B[30]")
1130 PINCTRL_PIN(110, "MSDC0_DAT7"),
1132 MTK_EINT_FUNCTION(0, 110),
1133 MTK_FUNCTION(0, "GPIO110"),
1134 MTK_FUNCTION(1, "MSDC0_DAT7"),
1135 MTK_FUNCTION(4, "NLD7")
1138 PINCTRL_PIN(111, "MSDC0_DAT6"),
1140 MTK_EINT_FUNCTION(0, 111),
1141 MTK_FUNCTION(0, "GPIO111"),
1142 MTK_FUNCTION(1, "MSDC0_DAT6"),
1143 MTK_FUNCTION(4, "NLD6")
1146 PINCTRL_PIN(112, "MSDC0_DAT5"),
1148 MTK_EINT_FUNCTION(0, 112),
1149 MTK_FUNCTION(0, "GPIO112"),
1150 MTK_FUNCTION(1, "MSDC0_DAT5"),
1151 MTK_FUNCTION(4, "NLD4")
1154 PINCTRL_PIN(113, "MSDC0_DAT4"),
1156 MTK_EINT_FUNCTION(0, 113),
1157 MTK_FUNCTION(0, "GPIO113"),
1158 MTK_FUNCTION(1, "MSDC0_DAT4"),
1159 MTK_FUNCTION(4, "NLD3")
1162 PINCTRL_PIN(114, "MSDC0_RSTB"),
1164 MTK_EINT_FUNCTION(0, 114),
1165 MTK_FUNCTION(0, "GPIO114"),
1166 MTK_FUNCTION(1, "MSDC0_RSTB"),
1167 MTK_FUNCTION(4, "NLD0")
1170 PINCTRL_PIN(115, "MSDC0_CMD"),
1172 MTK_EINT_FUNCTION(0, 115),
1173 MTK_FUNCTION(0, "GPIO115"),
1174 MTK_FUNCTION(1, "MSDC0_CMD"),
1175 MTK_FUNCTION(4, "NALE")
1178 PINCTRL_PIN(116, "MSDC0_CLK"),
1180 MTK_EINT_FUNCTION(0, 116),
1181 MTK_FUNCTION(0, "GPIO116"),
1182 MTK_FUNCTION(1, "MSDC0_CLK"),
1183 MTK_FUNCTION(4, "NWEB")
1186 PINCTRL_PIN(117, "MSDC0_DAT3"),
1188 MTK_EINT_FUNCTION(0, 117),
1189 MTK_FUNCTION(0, "GPIO117"),
1190 MTK_FUNCTION(1, "MSDC0_DAT3"),
1191 MTK_FUNCTION(4, "NLD1")
1194 PINCTRL_PIN(118, "MSDC0_DAT2"),
1196 MTK_EINT_FUNCTION(0, 118),
1197 MTK_FUNCTION(0, "GPIO118"),
1198 MTK_FUNCTION(1, "MSDC0_DAT2"),
1199 MTK_FUNCTION(4, "NLD5")
1202 PINCTRL_PIN(119, "MSDC0_DAT1"),
1204 MTK_EINT_FUNCTION(0, 119),
1205 MTK_FUNCTION(0, "GPIO119"),
1206 MTK_FUNCTION(1, "MSDC0_DAT1"),
1207 MTK_FUNCTION(4, "NLD8")
1210 PINCTRL_PIN(120, "MSDC0_DAT0"),
1212 MTK_EINT_FUNCTION(0, 120),
1213 MTK_FUNCTION(0, "GPIO120"),
1214 MTK_FUNCTION(1, "MSDC0_DAT0"),
1215 MTK_FUNCTION(4, "WATCHDOG"),
1216 MTK_FUNCTION(5, "NLD2")
1219 PINCTRL_PIN(121, "CEC"),
1221 MTK_EINT_FUNCTION(0, 121),
1222 MTK_FUNCTION(0, "GPIO121"),
1223 MTK_FUNCTION(1, "CEC")
1226 PINCTRL_PIN(122, "HTPLG"),
1228 MTK_EINT_FUNCTION(0, 122),
1229 MTK_FUNCTION(0, "GPIO122"),
1230 MTK_FUNCTION(1, "HTPLG")
1233 PINCTRL_PIN(123, "HDMISCK"),
1235 MTK_EINT_FUNCTION(0, 123),
1236 MTK_FUNCTION(0, "GPIO123"),
1237 MTK_FUNCTION(1, "HDMISCK")
1240 PINCTRL_PIN(124, "HDMISD"),
1242 MTK_EINT_FUNCTION(0, 124),
1243 MTK_FUNCTION(0, "GPIO124"),
1244 MTK_FUNCTION(1, "HDMISD")
1248 #endif /* __PINCTRL_MTK_MT8167_H */