1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __PINCTRL_MTK_MT8127_H
3 #define __PINCTRL_MTK_MT8127_H
5 #include <linux/pinctrl/pinctrl.h>
6 #include "pinctrl-mtk-common.h"
8 static const struct mtk_desc_pin mtk_pins_mt8127
[] = {
9 MTK_PIN(PINCTRL_PIN(0, "PWRAP_SPI0_MI"),
11 MTK_EINT_FUNCTION(0, 22),
12 MTK_FUNCTION(0, "GPIO0"),
13 MTK_FUNCTION(1, "PWRAP_SPIDO"),
14 MTK_FUNCTION(2, "PWRAP_SPIDI")
16 MTK_PIN(PINCTRL_PIN(1, "PWRAP_SPI0_MO"),
18 MTK_EINT_FUNCTION(0, 23),
19 MTK_FUNCTION(0, "GPIO1"),
20 MTK_FUNCTION(1, "PWRAP_SPIDI"),
21 MTK_FUNCTION(2, "PWRAP_SPIDO")
23 MTK_PIN(PINCTRL_PIN(2, "PWRAP_INT"),
25 MTK_EINT_FUNCTION(0, 24),
26 MTK_FUNCTION(0, "GPIO2")
28 MTK_PIN(PINCTRL_PIN(3, "PWRAP_SPI0_CK"),
30 MTK_EINT_FUNCTION(0, 25),
31 MTK_FUNCTION(0, "GPIO3"),
32 MTK_FUNCTION(1, "PWRAP_SPICK_I")
34 MTK_PIN(PINCTRL_PIN(4, "PWRAP_SPI0_CSN"),
36 MTK_EINT_FUNCTION(0, 26),
37 MTK_FUNCTION(0, "GPIO4"),
38 MTK_FUNCTION(1, "PWRAP_SPICS_B_I")
40 MTK_PIN(PINCTRL_PIN(5, "PWRAP_SPI0_CK2"),
42 MTK_EINT_FUNCTION(0, 27),
43 MTK_FUNCTION(0, "GPIO5"),
44 MTK_FUNCTION(1, "PWRAP_SPICK2_I"),
45 MTK_FUNCTION(2, "ANT_SEL1"),
46 MTK_FUNCTION(3, "VDEC_TEST_CK"),
47 MTK_FUNCTION(7, "DBG_MON_B[0]")
49 MTK_PIN(PINCTRL_PIN(6, "PWRAP_SPI0_CSN2"),
51 MTK_EINT_FUNCTION(0, 28),
52 MTK_FUNCTION(0, "GPIO6"),
53 MTK_FUNCTION(1, "PWRAP_SPICS2_B_I"),
54 MTK_FUNCTION(2, "ANT_SEL0"),
55 MTK_FUNCTION(3, "MM_TEST_CK"),
56 MTK_FUNCTION(7, "DBG_MON_B[1]")
58 MTK_PIN(PINCTRL_PIN(7, "AUD_CLK_MOSI"),
60 MTK_EINT_FUNCTION(0, 29),
61 MTK_FUNCTION(0, "GPIO7"),
62 MTK_FUNCTION(1, "AUD_CLK"),
63 MTK_FUNCTION(2, "ADC_CK")
65 MTK_PIN(PINCTRL_PIN(8, "AUD_DAT_MISO"),
67 MTK_EINT_FUNCTION(0, 30),
68 MTK_FUNCTION(0, "GPIO8"),
69 MTK_FUNCTION(1, "AUD_MISO"),
70 MTK_FUNCTION(2, "ADC_DAT_IN"),
71 MTK_FUNCTION(3, "AUD_MOSI")
73 MTK_PIN(PINCTRL_PIN(9, "AUD_DAT_MOSI"),
75 MTK_EINT_FUNCTION(0, 31),
76 MTK_FUNCTION(0, "GPIO9"),
77 MTK_FUNCTION(1, "AUD_MOSI"),
78 MTK_FUNCTION(2, "ADC_WS"),
79 MTK_FUNCTION(3, "AUD_MISO")
81 MTK_PIN(PINCTRL_PIN(10, "RTC32K_CK"),
83 MTK_EINT_FUNCTION(0, 32),
84 MTK_FUNCTION(0, "GPIO10"),
85 MTK_FUNCTION(1, "RTC32K_CK")
87 MTK_PIN(PINCTRL_PIN(11, "WATCHDOG"),
89 MTK_EINT_FUNCTION(0, 33),
90 MTK_FUNCTION(0, "GPIO11"),
91 MTK_FUNCTION(1, "WATCHDOG")
93 MTK_PIN(PINCTRL_PIN(12, "SRCLKENA"),
95 MTK_EINT_FUNCTION(0, 34),
96 MTK_FUNCTION(0, "GPIO12"),
97 MTK_FUNCTION(1, "SRCLKENA")
99 MTK_PIN(PINCTRL_PIN(13, "SRCLKENAI"),
101 MTK_EINT_FUNCTION(0, 35),
102 MTK_FUNCTION(0, "GPIO13"),
103 MTK_FUNCTION(1, "SRCLKENAI")
105 MTK_PIN(PINCTRL_PIN(14, "URXD2"),
107 MTK_EINT_FUNCTION(0, 36),
108 MTK_FUNCTION(0, "GPIO14"),
109 MTK_FUNCTION(1, "URXD2"),
110 MTK_FUNCTION(2, "DPI_D5"),
111 MTK_FUNCTION(3, "UTXD2"),
112 MTK_FUNCTION(5, "SRCCLKENAI2"),
113 MTK_FUNCTION(6, "KROW4")
115 MTK_PIN(PINCTRL_PIN(15, "UTXD2"),
117 MTK_EINT_FUNCTION(0, 37),
118 MTK_FUNCTION(0, "GPIO15"),
119 MTK_FUNCTION(1, "UTXD2"),
120 MTK_FUNCTION(2, "DPI_HSYNC"),
121 MTK_FUNCTION(3, "URXD2"),
122 MTK_FUNCTION(6, "KROW5")
124 MTK_PIN(PINCTRL_PIN(16, "URXD3"),
126 MTK_EINT_FUNCTION(0, 38),
127 MTK_FUNCTION(0, "GPIO16"),
128 MTK_FUNCTION(1, "URXD3"),
129 MTK_FUNCTION(2, "DPI_DE"),
130 MTK_FUNCTION(3, "UTXD3"),
131 MTK_FUNCTION(4, "UCTS2"),
132 MTK_FUNCTION(5, "PWM3"),
133 MTK_FUNCTION(6, "KROW6")
135 MTK_PIN(PINCTRL_PIN(17, "UTXD3"),
137 MTK_EINT_FUNCTION(0, 39),
138 MTK_FUNCTION(0, "GPIO17"),
139 MTK_FUNCTION(1, "UTXD3"),
140 MTK_FUNCTION(2, "DPI_VSYNC"),
141 MTK_FUNCTION(3, "URXD3"),
142 MTK_FUNCTION(4, "URTS2"),
143 MTK_FUNCTION(5, "PWM4"),
144 MTK_FUNCTION(6, "KROW7")
146 MTK_PIN(PINCTRL_PIN(18, "PCM_CLK"),
148 MTK_EINT_FUNCTION(0, 40),
149 MTK_FUNCTION(0, "GPIO18"),
150 MTK_FUNCTION(1, "PCM_CLK0"),
151 MTK_FUNCTION(2, "DPI_D4"),
152 MTK_FUNCTION(3, "I2SIN1_BCK0"),
153 MTK_FUNCTION(4, "I2SOUT_BCK"),
154 MTK_FUNCTION(5, "CONN_DSP_JCK"),
155 MTK_FUNCTION(6, "IR"),
156 MTK_FUNCTION(7, "DBG_MON_A[0]")
158 MTK_PIN(PINCTRL_PIN(19, "PCM_SYNC"),
160 MTK_EINT_FUNCTION(0, 41),
161 MTK_FUNCTION(0, "GPIO19"),
162 MTK_FUNCTION(1, "PCM_SYNC"),
163 MTK_FUNCTION(2, "DPI_D3"),
164 MTK_FUNCTION(3, "I2SIN1_LRCK"),
165 MTK_FUNCTION(4, "I2SOUT_LRCK"),
166 MTK_FUNCTION(5, "CONN_DSP_JINTP"),
167 MTK_FUNCTION(6, "EXT_COL"),
168 MTK_FUNCTION(7, "DBG_MON_A[1]")
170 MTK_PIN(PINCTRL_PIN(20, "PCM_RX"),
172 MTK_EINT_FUNCTION(0, 42),
173 MTK_FUNCTION(0, "GPIO20"),
174 MTK_FUNCTION(1, "PCM_RX"),
175 MTK_FUNCTION(2, "DPI_D1"),
176 MTK_FUNCTION(3, "I2SIN1_DATA_IN"),
177 MTK_FUNCTION(4, "PCM_TX"),
178 MTK_FUNCTION(5, "CONN_DSP_JDI"),
179 MTK_FUNCTION(6, "EXT_MDIO"),
180 MTK_FUNCTION(7, "DBG_MON_A[2]")
182 MTK_PIN(PINCTRL_PIN(21, "PCM_TX"),
184 MTK_EINT_FUNCTION(0, 43),
185 MTK_FUNCTION(0, "GPIO21"),
186 MTK_FUNCTION(1, "PCM_TX"),
187 MTK_FUNCTION(2, "DPI_D2"),
188 MTK_FUNCTION(3, "I2SOUT_DATA_OUT"),
189 MTK_FUNCTION(4, "PCM_RX"),
190 MTK_FUNCTION(5, "CONN_DSP_JMS"),
191 MTK_FUNCTION(6, "EXT_MDC"),
192 MTK_FUNCTION(7, "DBG_MON_A[3]")
194 MTK_PIN(PINCTRL_PIN(22, "EINT0"),
196 MTK_EINT_FUNCTION(0, 0),
197 MTK_FUNCTION(0, "GPIO22"),
198 MTK_FUNCTION(1, "PWM1"),
199 MTK_FUNCTION(2, "DPI_CK"),
200 MTK_FUNCTION(4, "EXT_TXD0"),
201 MTK_FUNCTION(5, "CONN_DSP_JDO"),
202 MTK_FUNCTION(7, "DBG_MON_A[4]")
204 MTK_PIN(PINCTRL_PIN(23, "EINT1"),
206 MTK_EINT_FUNCTION(0, 1),
207 MTK_FUNCTION(0, "GPIO23"),
208 MTK_FUNCTION(1, "PWM2"),
209 MTK_FUNCTION(2, "DPI_D12"),
210 MTK_FUNCTION(4, "EXT_TXD1"),
211 MTK_FUNCTION(5, "CONN_MCU_TDO"),
212 MTK_FUNCTION(7, "DBG_MON_A[5]")
214 MTK_PIN(PINCTRL_PIN(24, "EINT2"),
216 MTK_EINT_FUNCTION(0, 2),
217 MTK_FUNCTION(0, "GPIO24"),
218 MTK_FUNCTION(1, "CLKM0"),
219 MTK_FUNCTION(2, "DPI_D13"),
220 MTK_FUNCTION(4, "EXT_TXD2"),
221 MTK_FUNCTION(5, "CONN_MCU_DBGACK_N"),
222 MTK_FUNCTION(6, "KCOL4"),
223 MTK_FUNCTION(7, "DBG_MON_A[6]")
225 MTK_PIN(PINCTRL_PIN(25, "EINT3"),
227 MTK_EINT_FUNCTION(0, 3),
228 MTK_FUNCTION(0, "GPIO25"),
229 MTK_FUNCTION(1, "CLKM1"),
230 MTK_FUNCTION(2, "DPI_D14"),
231 MTK_FUNCTION(3, "SPI_MI"),
232 MTK_FUNCTION(4, "EXT_TXD3"),
233 MTK_FUNCTION(5, "CONN_MCU_DBGI_N"),
234 MTK_FUNCTION(6, "KCOL5"),
235 MTK_FUNCTION(7, "DBG_MON_A[7]")
237 MTK_PIN(PINCTRL_PIN(26, "EINT4"),
239 MTK_EINT_FUNCTION(0, 4),
240 MTK_FUNCTION(0, "GPIO26"),
241 MTK_FUNCTION(1, "CLKM2"),
242 MTK_FUNCTION(2, "DPI_D15"),
243 MTK_FUNCTION(3, "SPI_MO"),
244 MTK_FUNCTION(4, "EXT_TXC"),
245 MTK_FUNCTION(5, "CONN_MCU_TCK0"),
246 MTK_FUNCTION(6, "CONN_MCU_AICE_JCKC"),
247 MTK_FUNCTION(7, "DBG_MON_A[8]")
249 MTK_PIN(PINCTRL_PIN(27, "EINT5"),
251 MTK_EINT_FUNCTION(0, 5),
252 MTK_FUNCTION(0, "GPIO27"),
253 MTK_FUNCTION(1, "UCTS2"),
254 MTK_FUNCTION(2, "DPI_D16"),
255 MTK_FUNCTION(3, "SPI_CS"),
256 MTK_FUNCTION(4, "EXT_RXER"),
257 MTK_FUNCTION(5, "CONN_MCU_TDI"),
258 MTK_FUNCTION(6, "KCOL6"),
259 MTK_FUNCTION(7, "DBG_MON_A[9]")
261 MTK_PIN(PINCTRL_PIN(28, "EINT6"),
263 MTK_EINT_FUNCTION(0, 6),
264 MTK_FUNCTION(0, "GPIO28"),
265 MTK_FUNCTION(1, "URTS2"),
266 MTK_FUNCTION(2, "DPI_D17"),
267 MTK_FUNCTION(3, "SPI_CK"),
268 MTK_FUNCTION(4, "EXT_RXC"),
269 MTK_FUNCTION(5, "CONN_MCU_TRST_B"),
270 MTK_FUNCTION(6, "KCOL7"),
271 MTK_FUNCTION(7, "DBG_MON_A[10]")
273 MTK_PIN(PINCTRL_PIN(29, "EINT7"),
275 MTK_EINT_FUNCTION(0, 7),
276 MTK_FUNCTION(0, "GPIO29"),
277 MTK_FUNCTION(1, "UCTS3"),
278 MTK_FUNCTION(2, "DPI_D6"),
279 MTK_FUNCTION(3, "SDA1"),
280 MTK_FUNCTION(4, "EXT_RXDV"),
281 MTK_FUNCTION(5, "CONN_MCU_TMS"),
282 MTK_FUNCTION(6, "CONN_MCU_AICE_JMSC"),
283 MTK_FUNCTION(7, "DBG_MON_A[11]")
285 MTK_PIN(PINCTRL_PIN(30, "EINT8"),
287 MTK_EINT_FUNCTION(0, 8),
288 MTK_FUNCTION(0, "GPIO30"),
289 MTK_FUNCTION(1, "URTS3"),
290 MTK_FUNCTION(2, "CLKM3"),
291 MTK_FUNCTION(3, "SCL1"),
292 MTK_FUNCTION(4, "EXT_RXD0"),
293 MTK_FUNCTION(5, "ANT_SEL0"),
294 MTK_FUNCTION(6, "DPI_D7"),
295 MTK_FUNCTION(7, "DBG_MON_B[2]")
297 MTK_PIN(PINCTRL_PIN(31, "EINT9"),
299 MTK_EINT_FUNCTION(0, 9),
300 MTK_FUNCTION(0, "GPIO31"),
301 MTK_FUNCTION(1, "CLKM4"),
302 MTK_FUNCTION(2, "SDA2"),
303 MTK_FUNCTION(3, "EXT_FRAME_SYNC"),
304 MTK_FUNCTION(4, "EXT_RXD1"),
305 MTK_FUNCTION(5, "ANT_SEL1"),
306 MTK_FUNCTION(6, "DPI_D8"),
307 MTK_FUNCTION(7, "DBG_MON_B[3]")
309 MTK_PIN(PINCTRL_PIN(32, "EINT10"),
311 MTK_EINT_FUNCTION(0, 10),
312 MTK_FUNCTION(0, "GPIO32"),
313 MTK_FUNCTION(1, "CLKM5"),
314 MTK_FUNCTION(2, "SCL2"),
315 MTK_FUNCTION(3, "EXT_FRAME_SYNC"),
316 MTK_FUNCTION(4, "EXT_RXD2"),
317 MTK_FUNCTION(5, "ANT_SEL2"),
318 MTK_FUNCTION(6, "DPI_D9"),
319 MTK_FUNCTION(7, "DBG_MON_B[4]")
321 MTK_PIN(PINCTRL_PIN(33, "KPROW0"),
323 MTK_EINT_FUNCTION(0, 44),
324 MTK_FUNCTION(0, "GPIO33"),
325 MTK_FUNCTION(1, "KROW0"),
326 MTK_FUNCTION(4, "IMG_TEST_CK"),
327 MTK_FUNCTION(7, "DBG_MON_A[12]")
329 MTK_PIN(PINCTRL_PIN(34, "KPROW1"),
331 MTK_EINT_FUNCTION(0, 45),
332 MTK_FUNCTION(0, "GPIO34"),
333 MTK_FUNCTION(1, "KROW1"),
334 MTK_FUNCTION(2, "IDDIG"),
335 MTK_FUNCTION(3, "EXT_FRAME_SYNC"),
336 MTK_FUNCTION(4, "MFG_TEST_CK"),
337 MTK_FUNCTION(7, "DBG_MON_B[5]")
339 MTK_PIN(PINCTRL_PIN(35, "KPROW2"),
341 MTK_EINT_FUNCTION(0, 46),
342 MTK_FUNCTION(0, "GPIO35"),
343 MTK_FUNCTION(1, "KROW2"),
344 MTK_FUNCTION(2, "DRV_VBUS"),
345 MTK_FUNCTION(3, "EXT_FRAME_SYNC"),
346 MTK_FUNCTION(4, "CONN_TEST_CK"),
347 MTK_FUNCTION(7, "DBG_MON_B[6]")
349 MTK_PIN(PINCTRL_PIN(36, "KPCOL0"),
351 MTK_EINT_FUNCTION(0, 47),
352 MTK_FUNCTION(0, "GPIO36"),
353 MTK_FUNCTION(1, "KCOL0"),
354 MTK_FUNCTION(7, "DBG_MON_A[13]")
356 MTK_PIN(PINCTRL_PIN(37, "KPCOL1"),
358 MTK_EINT_FUNCTION(0, 48),
359 MTK_FUNCTION(0, "GPIO37"),
360 MTK_FUNCTION(1, "KCOL1"),
361 MTK_FUNCTION(7, "DBG_MON_B[7]")
363 MTK_PIN(PINCTRL_PIN(38, "KPCOL2"),
365 MTK_EINT_FUNCTION(0, 49),
366 MTK_FUNCTION(0, "GPIO38"),
367 MTK_FUNCTION(1, "KCOL2"),
368 MTK_FUNCTION(2, "IDDIG"),
369 MTK_FUNCTION(3, "EXT_FRAME_SYNC"),
370 MTK_FUNCTION(7, "DBG_MON_B[8]")
372 MTK_PIN(PINCTRL_PIN(39, "JTMS"),
374 MTK_EINT_FUNCTION(0, 50),
375 MTK_FUNCTION(0, "GPIO39"),
376 MTK_FUNCTION(1, "JTMS"),
377 MTK_FUNCTION(2, "CONN_MCU_TMS"),
378 MTK_FUNCTION(3, "CONN_MCU_AICE_JMSC")
380 MTK_PIN(PINCTRL_PIN(40, "JTCK"),
382 MTK_EINT_FUNCTION(0, 51),
383 MTK_FUNCTION(0, "GPIO40"),
384 MTK_FUNCTION(1, "JTCK"),
385 MTK_FUNCTION(2, "CONN_MCU_TCK1"),
386 MTK_FUNCTION(3, "CONN_MCU_AICE_JCKC")
388 MTK_PIN(PINCTRL_PIN(41, "JTDI"),
390 MTK_EINT_FUNCTION(0, 52),
391 MTK_FUNCTION(0, "GPIO41"),
392 MTK_FUNCTION(1, "JTDI"),
393 MTK_FUNCTION(2, "CONN_MCU_TDI")
395 MTK_PIN(PINCTRL_PIN(42, "JTDO"),
397 MTK_EINT_FUNCTION(0, 53),
398 MTK_FUNCTION(0, "GPIO42"),
399 MTK_FUNCTION(1, "JTDO"),
400 MTK_FUNCTION(2, "CONN_MCU_TDO")
402 MTK_PIN(PINCTRL_PIN(43, "EINT11"),
404 MTK_EINT_FUNCTION(0, 11),
405 MTK_FUNCTION(0, "GPIO43"),
406 MTK_FUNCTION(1, "CLKM4"),
407 MTK_FUNCTION(2, "PWM2"),
408 MTK_FUNCTION(3, "KROW3"),
409 MTK_FUNCTION(4, "ANT_SEL3"),
410 MTK_FUNCTION(5, "DPI_D10"),
411 MTK_FUNCTION(6, "EXT_RXD3"),
412 MTK_FUNCTION(7, "DBG_MON_B[9]")
414 MTK_PIN(PINCTRL_PIN(44, "EINT12"),
416 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
417 MTK_FUNCTION(0, "GPIO44"),
418 MTK_FUNCTION(1, "CLKM5"),
419 MTK_FUNCTION(2, "PWM0"),
420 MTK_FUNCTION(3, "KCOL3"),
421 MTK_FUNCTION(4, "ANT_SEL4"),
422 MTK_FUNCTION(5, "DPI_D11"),
423 MTK_FUNCTION(6, "EXT_TXEN"),
424 MTK_FUNCTION(7, "DBG_MON_B[10]")
426 MTK_PIN(PINCTRL_PIN(45, "EINT13"),
428 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
429 MTK_FUNCTION(0, "GPIO45"),
430 MTK_FUNCTION(4, "ANT_SEL5"),
431 MTK_FUNCTION(5, "DPI_D0"),
432 MTK_FUNCTION(6, "SPDIF"),
433 MTK_FUNCTION(7, "DBG_MON_B[11]")
435 MTK_PIN(PINCTRL_PIN(46, "EINT14"),
437 MTK_EINT_FUNCTION(0, 14),
438 MTK_FUNCTION(0, "GPIO46"),
439 MTK_FUNCTION(2, "DAC_DAT_OUT"),
440 MTK_FUNCTION(4, "ANT_SEL1"),
441 MTK_FUNCTION(5, "CONN_MCU_DBGACK_N"),
442 MTK_FUNCTION(6, "NCLE"),
443 MTK_FUNCTION(7, "DBG_MON_A[14]")
445 MTK_PIN(PINCTRL_PIN(47, "EINT15"),
447 MTK_EINT_FUNCTION(0, 15),
448 MTK_FUNCTION(0, "GPIO47"),
449 MTK_FUNCTION(2, "DAC_WS"),
450 MTK_FUNCTION(4, "ANT_SEL2"),
451 MTK_FUNCTION(5, "CONN_MCU_DBGI_N"),
452 MTK_FUNCTION(6, "NCEB1"),
453 MTK_FUNCTION(7, "DBG_MON_A[15]")
455 MTK_PIN(PINCTRL_PIN(48, "EINT16"),
457 MTK_EINT_FUNCTION(0, 16),
458 MTK_FUNCTION(0, "GPIO48"),
459 MTK_FUNCTION(2, "DAC_CK"),
460 MTK_FUNCTION(4, "ANT_SEL3"),
461 MTK_FUNCTION(5, "CONN_MCU_TRST_B"),
462 MTK_FUNCTION(6, "NCEB0"),
463 MTK_FUNCTION(7, "DBG_MON_A[16]")
465 MTK_PIN(PINCTRL_PIN(49, "EINT17"),
467 MTK_EINT_FUNCTION(0, 17),
468 MTK_FUNCTION(0, "GPIO49"),
469 MTK_FUNCTION(1, "UCTS0"),
470 MTK_FUNCTION(3, "CLKM0"),
471 MTK_FUNCTION(4, "IDDIG"),
472 MTK_FUNCTION(5, "ANT_SEL4"),
473 MTK_FUNCTION(6, "NREB"),
474 MTK_FUNCTION(7, "DBG_MON_A[17]")
476 MTK_PIN(PINCTRL_PIN(50, "EINT18"),
478 MTK_EINT_FUNCTION(0, 18),
479 MTK_FUNCTION(0, "GPIO50"),
480 MTK_FUNCTION(1, "URTS0"),
481 MTK_FUNCTION(2, "CLKM3"),
482 MTK_FUNCTION(3, "I2SOUT_LRCK"),
483 MTK_FUNCTION(4, "DRV_VBUS"),
484 MTK_FUNCTION(5, "ANT_SEL3"),
485 MTK_FUNCTION(6, "ADC_CK"),
486 MTK_FUNCTION(7, "DBG_MON_B[12]")
488 MTK_PIN(PINCTRL_PIN(51, "EINT19"),
490 MTK_EINT_FUNCTION(0, 19),
491 MTK_FUNCTION(0, "GPIO51"),
492 MTK_FUNCTION(1, "UCTS1"),
493 MTK_FUNCTION(3, "I2SOUT_BCK"),
494 MTK_FUNCTION(4, "CLKM1"),
495 MTK_FUNCTION(5, "ANT_SEL4"),
496 MTK_FUNCTION(6, "ADC_DAT_IN"),
497 MTK_FUNCTION(7, "DBG_MON_B[13]")
499 MTK_PIN(PINCTRL_PIN(52, "EINT20"),
501 MTK_EINT_FUNCTION(0, 20),
502 MTK_FUNCTION(0, "GPIO52"),
503 MTK_FUNCTION(1, "URTS1"),
504 MTK_FUNCTION(2, "PCM_TX"),
505 MTK_FUNCTION(3, "I2SOUT_DATA_OUT"),
506 MTK_FUNCTION(4, "CLKM2"),
507 MTK_FUNCTION(5, "ANT_SEL5"),
508 MTK_FUNCTION(6, "ADC_WS"),
509 MTK_FUNCTION(7, "DBG_MON_B[14]")
511 MTK_PIN(PINCTRL_PIN(53, "SPI_CS"),
513 MTK_EINT_FUNCTION(0, 54),
514 MTK_FUNCTION(0, "GPIO53"),
515 MTK_FUNCTION(1, "SPI_CS"),
516 MTK_FUNCTION(3, "I2SIN1_DATA_IN"),
517 MTK_FUNCTION(4, "ADC_CK"),
518 MTK_FUNCTION(7, "DBG_MON_B[15]")
520 MTK_PIN(PINCTRL_PIN(54, "SPI_CK"),
522 MTK_EINT_FUNCTION(0, 55),
523 MTK_FUNCTION(0, "GPIO54"),
524 MTK_FUNCTION(1, "SPI_CK"),
525 MTK_FUNCTION(3, "I2SIN1_LRCK"),
526 MTK_FUNCTION(4, "ADC_DAT_IN"),
527 MTK_FUNCTION(7, "DBG_MON_B[16]")
529 MTK_PIN(PINCTRL_PIN(55, "SPI_MI"),
531 MTK_EINT_FUNCTION(0, 56),
532 MTK_FUNCTION(0, "GPIO55"),
533 MTK_FUNCTION(1, "SPI_MI"),
534 MTK_FUNCTION(2, "SPI_MO"),
535 MTK_FUNCTION(3, "I2SIN1_BCK1"),
536 MTK_FUNCTION(4, "ADC_WS"),
537 MTK_FUNCTION(7, "DBG_MON_B[17]")
539 MTK_PIN(PINCTRL_PIN(56, "SPI_MO"),
541 MTK_EINT_FUNCTION(0, 57),
542 MTK_FUNCTION(0, "GPIO56"),
543 MTK_FUNCTION(1, "SPI_MO"),
544 MTK_FUNCTION(2, "SPI_MI"),
545 MTK_FUNCTION(7, "DBG_MON_B[18]")
547 MTK_PIN(PINCTRL_PIN(57, "SDA1"),
549 MTK_EINT_FUNCTION(0, 58),
550 MTK_FUNCTION(0, "GPIO57"),
551 MTK_FUNCTION(1, "SDA1")
553 MTK_PIN(PINCTRL_PIN(58, "SCL1"),
555 MTK_EINT_FUNCTION(0, 59),
556 MTK_FUNCTION(0, "GPIO58"),
557 MTK_FUNCTION(1, "SCL1")
559 MTK_PIN(PINCTRL_PIN(59, "DISP_PWM"),
561 MTK_EINT_FUNCTION(0, 60),
562 MTK_FUNCTION(0, "GPIO59"),
563 MTK_FUNCTION(1, "DISP_PWM"),
564 MTK_FUNCTION(2, "PWM1"),
565 MTK_FUNCTION(7, "DBG_MON_A[18]")
567 MTK_PIN(PINCTRL_PIN(60, "WB_RSTB"),
569 MTK_EINT_FUNCTION(0, 61),
570 MTK_FUNCTION(0, "GPIO60"),
571 MTK_FUNCTION(1, "WB_RSTB"),
572 MTK_FUNCTION(7, "DBG_MON_A[19]")
574 MTK_PIN(PINCTRL_PIN(61, "F2W_DATA"),
576 MTK_EINT_FUNCTION(0, 62),
577 MTK_FUNCTION(0, "GPIO61"),
578 MTK_FUNCTION(1, "F2W_DATA"),
579 MTK_FUNCTION(7, "DBG_MON_A[20]")
581 MTK_PIN(PINCTRL_PIN(62, "F2W_CLK"),
583 MTK_EINT_FUNCTION(0, 63),
584 MTK_FUNCTION(0, "GPIO62"),
585 MTK_FUNCTION(1, "F2W_CK"),
586 MTK_FUNCTION(7, "DBG_MON_A[21]")
588 MTK_PIN(PINCTRL_PIN(63, "WB_SCLK"),
590 MTK_EINT_FUNCTION(0, 64),
591 MTK_FUNCTION(0, "GPIO63"),
592 MTK_FUNCTION(1, "WB_SCLK"),
593 MTK_FUNCTION(7, "DBG_MON_A[22]")
595 MTK_PIN(PINCTRL_PIN(64, "WB_SDATA"),
597 MTK_EINT_FUNCTION(0, 65),
598 MTK_FUNCTION(0, "GPIO64"),
599 MTK_FUNCTION(1, "WB_SDATA"),
600 MTK_FUNCTION(7, "DBG_MON_A[23]")
602 MTK_PIN(PINCTRL_PIN(65, "WB_SEN"),
604 MTK_EINT_FUNCTION(0, 66),
605 MTK_FUNCTION(0, "GPIO65"),
606 MTK_FUNCTION(1, "WB_SEN"),
607 MTK_FUNCTION(7, "DBG_MON_A[24]")
609 MTK_PIN(PINCTRL_PIN(66, "WB_CRTL0"),
611 MTK_EINT_FUNCTION(0, 67),
612 MTK_FUNCTION(0, "GPIO66"),
613 MTK_FUNCTION(1, "WB_CRTL0"),
614 MTK_FUNCTION(2, "DFD_NTRST_XI"),
615 MTK_FUNCTION(7, "DBG_MON_A[25]")
617 MTK_PIN(PINCTRL_PIN(67, "WB_CRTL1"),
619 MTK_EINT_FUNCTION(0, 68),
620 MTK_FUNCTION(0, "GPIO67"),
621 MTK_FUNCTION(1, "WB_CRTL1"),
622 MTK_FUNCTION(2, "DFD_TMS_XI"),
623 MTK_FUNCTION(7, "DBG_MON_A[26]")
625 MTK_PIN(PINCTRL_PIN(68, "WB_CRTL2"),
627 MTK_EINT_FUNCTION(0, 69),
628 MTK_FUNCTION(0, "GPIO68"),
629 MTK_FUNCTION(1, "WB_CRTL2"),
630 MTK_FUNCTION(2, "DFD_TCK_XI"),
631 MTK_FUNCTION(7, "DBG_MON_A[27]")
633 MTK_PIN(PINCTRL_PIN(69, "WB_CRTL3"),
635 MTK_EINT_FUNCTION(0, 70),
636 MTK_FUNCTION(0, "GPIO69"),
637 MTK_FUNCTION(1, "WB_CRTL3"),
638 MTK_FUNCTION(2, "DFD_TDI_XI"),
639 MTK_FUNCTION(7, "DBG_MON_A[28]")
641 MTK_PIN(PINCTRL_PIN(70, "WB_CRTL4"),
643 MTK_EINT_FUNCTION(0, 71),
644 MTK_FUNCTION(0, "GPIO70"),
645 MTK_FUNCTION(1, "WB_CRTL4"),
646 MTK_FUNCTION(2, "DFD_TDO"),
647 MTK_FUNCTION(7, "DBG_MON_A[29]")
649 MTK_PIN(PINCTRL_PIN(71, "WB_CRTL5"),
651 MTK_EINT_FUNCTION(0, 72),
652 MTK_FUNCTION(0, "GPIO71"),
653 MTK_FUNCTION(1, "WB_CRTL5"),
654 MTK_FUNCTION(7, "DBG_MON_A[30]")
656 MTK_PIN(PINCTRL_PIN(72, "I2S_DATA_IN"),
658 MTK_EINT_FUNCTION(0, 73),
659 MTK_FUNCTION(0, "GPIO72"),
660 MTK_FUNCTION(1, "I2SIN1_DATA_IN"),
661 MTK_FUNCTION(2, "PCM_RX"),
662 MTK_FUNCTION(3, "I2SOUT_DATA_OUT"),
663 MTK_FUNCTION(4, "DAC_DAT_OUT"),
664 MTK_FUNCTION(5, "PWM0"),
665 MTK_FUNCTION(6, "ADC_CK"),
666 MTK_FUNCTION(7, "DBG_MON_B[19]")
668 MTK_PIN(PINCTRL_PIN(73, "I2S_LRCK"),
670 MTK_EINT_FUNCTION(0, 74),
671 MTK_FUNCTION(0, "GPIO73"),
672 MTK_FUNCTION(1, "I2SIN1_LRCK"),
673 MTK_FUNCTION(2, "PCM_SYNC"),
674 MTK_FUNCTION(3, "I2SOUT_LRCK"),
675 MTK_FUNCTION(4, "DAC_WS"),
676 MTK_FUNCTION(5, "PWM3"),
677 MTK_FUNCTION(6, "ADC_DAT_IN"),
678 MTK_FUNCTION(7, "DBG_MON_B[20]")
680 MTK_PIN(PINCTRL_PIN(74, "I2S_BCK"),
682 MTK_EINT_FUNCTION(0, 75),
683 MTK_FUNCTION(0, "GPIO74"),
684 MTK_FUNCTION(1, "I2SIN1_BCK2"),
685 MTK_FUNCTION(2, "PCM_CLK1"),
686 MTK_FUNCTION(3, "I2SOUT_BCK"),
687 MTK_FUNCTION(4, "DAC_CK"),
688 MTK_FUNCTION(5, "PWM4"),
689 MTK_FUNCTION(6, "ADC_WS"),
690 MTK_FUNCTION(7, "DBG_MON_B[21]")
692 MTK_PIN(PINCTRL_PIN(75, "SDA0"),
694 MTK_EINT_FUNCTION(0, 76),
695 MTK_FUNCTION(0, "GPIO75"),
696 MTK_FUNCTION(1, "SDA0")
698 MTK_PIN(PINCTRL_PIN(76, "SCL0"),
700 MTK_EINT_FUNCTION(0, 77),
701 MTK_FUNCTION(0, "GPIO76"),
702 MTK_FUNCTION(1, "SCL0")
704 MTK_PIN(PINCTRL_PIN(77, "SDA2"),
706 MTK_EINT_FUNCTION(0, 78),
707 MTK_FUNCTION(0, "GPIO77"),
708 MTK_FUNCTION(1, "SDA2"),
709 MTK_FUNCTION(2, "PWM1")
711 MTK_PIN(PINCTRL_PIN(78, "SCL2"),
713 MTK_EINT_FUNCTION(0, 79),
714 MTK_FUNCTION(0, "GPIO78"),
715 MTK_FUNCTION(1, "SCL2"),
716 MTK_FUNCTION(2, "PWM2")
718 MTK_PIN(PINCTRL_PIN(79, "URXD0"),
720 MTK_EINT_FUNCTION(0, 80),
721 MTK_FUNCTION(0, "GPIO79"),
722 MTK_FUNCTION(1, "URXD0"),
723 MTK_FUNCTION(2, "UTXD0")
725 MTK_PIN(PINCTRL_PIN(80, "UTXD0"),
727 MTK_EINT_FUNCTION(0, 81),
728 MTK_FUNCTION(0, "GPIO80"),
729 MTK_FUNCTION(1, "UTXD0"),
730 MTK_FUNCTION(2, "URXD0")
732 MTK_PIN(PINCTRL_PIN(81, "URXD1"),
734 MTK_EINT_FUNCTION(0, 82),
735 MTK_FUNCTION(0, "GPIO81"),
736 MTK_FUNCTION(1, "URXD1"),
737 MTK_FUNCTION(2, "UTXD1")
739 MTK_PIN(PINCTRL_PIN(82, "UTXD1"),
741 MTK_EINT_FUNCTION(0, 83),
742 MTK_FUNCTION(0, "GPIO82"),
743 MTK_FUNCTION(1, "UTXD1"),
744 MTK_FUNCTION(2, "URXD1")
746 MTK_PIN(PINCTRL_PIN(83, "LCM_RST"),
748 MTK_EINT_FUNCTION(0, 84),
749 MTK_FUNCTION(0, "GPIO83"),
750 MTK_FUNCTION(1, "LCM_RST"),
751 MTK_FUNCTION(2, "VDAC_CK_XI"),
752 MTK_FUNCTION(7, "DBG_MON_A[31]")
754 MTK_PIN(PINCTRL_PIN(84, "DSI_TE"),
756 MTK_EINT_FUNCTION(0, 85),
757 MTK_FUNCTION(0, "GPIO84"),
758 MTK_FUNCTION(1, "DSI_TE"),
759 MTK_FUNCTION(7, "DBG_MON_A[32]")
761 MTK_PIN(PINCTRL_PIN(85, "MSDC2_CMD"),
763 MTK_EINT_FUNCTION(0, 86),
764 MTK_FUNCTION(0, "GPIO85"),
765 MTK_FUNCTION(1, "MSDC2_CMD"),
766 MTK_FUNCTION(2, "ANT_SEL0"),
767 MTK_FUNCTION(3, "SDA1"),
768 MTK_FUNCTION(6, "I2SOUT_BCK"),
769 MTK_FUNCTION(7, "DBG_MON_B[22]")
771 MTK_PIN(PINCTRL_PIN(86, "MSDC2_CLK"),
773 MTK_EINT_FUNCTION(0, 87),
774 MTK_FUNCTION(0, "GPIO86"),
775 MTK_FUNCTION(1, "MSDC2_CLK"),
776 MTK_FUNCTION(2, "ANT_SEL1"),
777 MTK_FUNCTION(3, "SCL1"),
778 MTK_FUNCTION(6, "I2SOUT_LRCK"),
779 MTK_FUNCTION(7, "DBG_MON_B[23]")
781 MTK_PIN(PINCTRL_PIN(87, "MSDC2_DAT0"),
783 MTK_EINT_FUNCTION(0, 88),
784 MTK_FUNCTION(0, "GPIO87"),
785 MTK_FUNCTION(1, "MSDC2_DAT0"),
786 MTK_FUNCTION(2, "ANT_SEL2"),
787 MTK_FUNCTION(5, "UTXD0"),
788 MTK_FUNCTION(6, "I2SOUT_DATA_OUT"),
789 MTK_FUNCTION(7, "DBG_MON_B[24]")
791 MTK_PIN(PINCTRL_PIN(88, "MSDC2_DAT1"),
793 MTK_EINT_FUNCTION(0, 89),
794 MTK_FUNCTION(0, "GPIO88"),
795 MTK_FUNCTION(1, "MSDC2_DAT1"),
796 MTK_FUNCTION(2, "ANT_SEL3"),
797 MTK_FUNCTION(3, "PWM0"),
798 MTK_FUNCTION(5, "URXD0"),
799 MTK_FUNCTION(6, "PWM1"),
800 MTK_FUNCTION(7, "DBG_MON_B[25]")
802 MTK_PIN(PINCTRL_PIN(89, "MSDC2_DAT2"),
804 MTK_EINT_FUNCTION(0, 90),
805 MTK_FUNCTION(0, "GPIO89"),
806 MTK_FUNCTION(1, "MSDC2_DAT2"),
807 MTK_FUNCTION(2, "ANT_SEL4"),
808 MTK_FUNCTION(3, "SDA2"),
809 MTK_FUNCTION(5, "UTXD1"),
810 MTK_FUNCTION(6, "PWM2"),
811 MTK_FUNCTION(7, "DBG_MON_B[26]")
813 MTK_PIN(PINCTRL_PIN(90, "MSDC2_DAT3"),
815 MTK_EINT_FUNCTION(0, 91),
816 MTK_FUNCTION(0, "GPIO90"),
817 MTK_FUNCTION(1, "MSDC2_DAT3"),
818 MTK_FUNCTION(2, "ANT_SEL5"),
819 MTK_FUNCTION(3, "SCL2"),
820 MTK_FUNCTION(4, "EXT_FRAME_SYNC"),
821 MTK_FUNCTION(5, "URXD1"),
822 MTK_FUNCTION(6, "PWM3"),
823 MTK_FUNCTION(7, "DBG_MON_B[27]")
825 MTK_PIN(PINCTRL_PIN(91, "TDN3"),
827 MTK_EINT_FUNCTION(0, 92),
828 MTK_FUNCTION(0, "GPI91"),
829 MTK_FUNCTION(1, "TDN3")
831 MTK_PIN(PINCTRL_PIN(92, "TDP3"),
833 MTK_EINT_FUNCTION(0, 93),
834 MTK_FUNCTION(0, "GPI92"),
835 MTK_FUNCTION(1, "TDP3")
837 MTK_PIN(PINCTRL_PIN(93, "TDN2"),
839 MTK_EINT_FUNCTION(0, 94),
840 MTK_FUNCTION(0, "GPI93"),
841 MTK_FUNCTION(1, "TDN2")
843 MTK_PIN(PINCTRL_PIN(94, "TDP2"),
845 MTK_EINT_FUNCTION(0, 95),
846 MTK_FUNCTION(0, "GPI94"),
847 MTK_FUNCTION(1, "TDP2")
849 MTK_PIN(PINCTRL_PIN(95, "TCN"),
851 MTK_EINT_FUNCTION(0, 96),
852 MTK_FUNCTION(0, "GPI95"),
853 MTK_FUNCTION(1, "TCN")
855 MTK_PIN(PINCTRL_PIN(96, "TCP"),
857 MTK_EINT_FUNCTION(0, 97),
858 MTK_FUNCTION(0, "GPI96"),
859 MTK_FUNCTION(1, "TCP")
861 MTK_PIN(PINCTRL_PIN(97, "TDN1"),
863 MTK_EINT_FUNCTION(0, 98),
864 MTK_FUNCTION(0, "GPI97"),
865 MTK_FUNCTION(1, "TDN1")
867 MTK_PIN(PINCTRL_PIN(98, "TDP1"),
869 MTK_EINT_FUNCTION(0, 99),
870 MTK_FUNCTION(0, "GPI98"),
871 MTK_FUNCTION(1, "TDP1")
873 MTK_PIN(PINCTRL_PIN(99, "TDN0"),
875 MTK_EINT_FUNCTION(0, 100),
876 MTK_FUNCTION(0, "GPI99"),
877 MTK_FUNCTION(1, "TDN0")
879 MTK_PIN(PINCTRL_PIN(100, "TDP0"),
881 MTK_EINT_FUNCTION(0, 101),
882 MTK_FUNCTION(0, "GPI100"),
883 MTK_FUNCTION(1, "TDP0")
885 MTK_PIN(PINCTRL_PIN(101, "RDN0"),
887 MTK_EINT_FUNCTION(0, 102),
888 MTK_FUNCTION(0, "GPI101"),
889 MTK_FUNCTION(1, "RDN0")
891 MTK_PIN(PINCTRL_PIN(102, "RDP0"),
893 MTK_EINT_FUNCTION(0, 103),
894 MTK_FUNCTION(0, "GPI102"),
895 MTK_FUNCTION(1, "RDP0")
897 MTK_PIN(PINCTRL_PIN(103, "RDN1"),
899 MTK_EINT_FUNCTION(0, 104),
900 MTK_FUNCTION(0, "GPI103"),
901 MTK_FUNCTION(1, "RDN1")
903 MTK_PIN(PINCTRL_PIN(104, "RDP1"),
905 MTK_EINT_FUNCTION(0, 105),
906 MTK_FUNCTION(0, "GPI104"),
907 MTK_FUNCTION(1, "RDP1")
909 MTK_PIN(PINCTRL_PIN(105, "RCN"),
911 MTK_EINT_FUNCTION(0, 106),
912 MTK_FUNCTION(0, "GPI105"),
913 MTK_FUNCTION(1, "RCN")
915 MTK_PIN(PINCTRL_PIN(106, "RCP"),
917 MTK_EINT_FUNCTION(0, 107),
918 MTK_FUNCTION(0, "GPI106"),
919 MTK_FUNCTION(1, "RCP")
921 MTK_PIN(PINCTRL_PIN(107, "RDN2"),
923 MTK_EINT_FUNCTION(0, 108),
924 MTK_FUNCTION(0, "GPI107"),
925 MTK_FUNCTION(1, "RDN2"),
926 MTK_FUNCTION(2, "CMDAT8")
928 MTK_PIN(PINCTRL_PIN(108, "RDP2"),
930 MTK_EINT_FUNCTION(0, 109),
931 MTK_FUNCTION(0, "GPI108"),
932 MTK_FUNCTION(1, "RDP2"),
933 MTK_FUNCTION(2, "CMDAT9")
935 MTK_PIN(PINCTRL_PIN(109, "RDN3"),
937 MTK_EINT_FUNCTION(0, 110),
938 MTK_FUNCTION(0, "GPI109"),
939 MTK_FUNCTION(1, "RDN3"),
940 MTK_FUNCTION(2, "CMDAT4")
942 MTK_PIN(PINCTRL_PIN(110, "RDP3"),
944 MTK_EINT_FUNCTION(0, 111),
945 MTK_FUNCTION(0, "GPI110"),
946 MTK_FUNCTION(1, "RDP3"),
947 MTK_FUNCTION(2, "CMDAT5")
949 MTK_PIN(PINCTRL_PIN(111, "RCN_A"),
951 MTK_EINT_FUNCTION(0, 112),
952 MTK_FUNCTION(0, "GPI111"),
953 MTK_FUNCTION(1, "RCN_A"),
954 MTK_FUNCTION(2, "CMDAT6")
956 MTK_PIN(PINCTRL_PIN(112, "RCP_A"),
958 MTK_EINT_FUNCTION(0, 113),
959 MTK_FUNCTION(0, "GPI112"),
960 MTK_FUNCTION(1, "RCP_A"),
961 MTK_FUNCTION(2, "CMDAT7")
963 MTK_PIN(PINCTRL_PIN(113, "RDN1_A"),
965 MTK_EINT_FUNCTION(0, 114),
966 MTK_FUNCTION(0, "GPI113"),
967 MTK_FUNCTION(1, "RDN1_A"),
968 MTK_FUNCTION(2, "CMDAT2"),
969 MTK_FUNCTION(3, "CMCSD2")
971 MTK_PIN(PINCTRL_PIN(114, "RDP1_A"),
973 MTK_EINT_FUNCTION(0, 115),
974 MTK_FUNCTION(0, "GPI114"),
975 MTK_FUNCTION(1, "RDP1_A"),
976 MTK_FUNCTION(2, "CMDAT3"),
977 MTK_FUNCTION(3, "CMCSD3")
979 MTK_PIN(PINCTRL_PIN(115, "RDN0_A"),
981 MTK_EINT_FUNCTION(0, 116),
982 MTK_FUNCTION(0, "GPI115"),
983 MTK_FUNCTION(1, "RDN0_A"),
984 MTK_FUNCTION(2, "CMHSYNC")
986 MTK_PIN(PINCTRL_PIN(116, "RDP0_A"),
988 MTK_EINT_FUNCTION(0, 117),
989 MTK_FUNCTION(0, "GPI116"),
990 MTK_FUNCTION(1, "RDP0_A"),
991 MTK_FUNCTION(2, "CMVSYNC")
993 MTK_PIN(PINCTRL_PIN(117, "CMDAT0"),
995 MTK_EINT_FUNCTION(0, 118),
996 MTK_FUNCTION(0, "GPIO117"),
997 MTK_FUNCTION(1, "CMDAT0"),
998 MTK_FUNCTION(2, "CMCSD0"),
999 MTK_FUNCTION(3, "ANT_SEL2"),
1000 MTK_FUNCTION(7, "DBG_MON_B[28]")
1002 MTK_PIN(PINCTRL_PIN(118, "CMDAT1"),
1004 MTK_EINT_FUNCTION(0, 119),
1005 MTK_FUNCTION(0, "GPIO118"),
1006 MTK_FUNCTION(1, "CMDAT1"),
1007 MTK_FUNCTION(2, "CMCSD1"),
1008 MTK_FUNCTION(3, "ANT_SEL3"),
1009 MTK_FUNCTION(7, "DBG_MON_B[29]")
1011 MTK_PIN(PINCTRL_PIN(119, "CMMCLK"),
1013 MTK_EINT_FUNCTION(0, 120),
1014 MTK_FUNCTION(0, "GPIO119"),
1015 MTK_FUNCTION(1, "CMMCLK"),
1016 MTK_FUNCTION(3, "ANT_SEL4"),
1017 MTK_FUNCTION(7, "DBG_MON_B[30]")
1019 MTK_PIN(PINCTRL_PIN(120, "CMPCLK"),
1021 MTK_EINT_FUNCTION(0, 121),
1022 MTK_FUNCTION(0, "GPIO120"),
1023 MTK_FUNCTION(1, "CMPCLK"),
1024 MTK_FUNCTION(2, "CMCSK"),
1025 MTK_FUNCTION(3, "ANT_SEL5"),
1026 MTK_FUNCTION(7, "DBG_MON_B[31]")
1028 MTK_PIN(PINCTRL_PIN(121, "MSDC1_CMD"),
1030 MTK_EINT_FUNCTION(0, 122),
1031 MTK_FUNCTION(0, "GPIO121"),
1032 MTK_FUNCTION(1, "MSDC1_CMD")
1034 MTK_PIN(PINCTRL_PIN(122, "MSDC1_CLK"),
1036 MTK_EINT_FUNCTION(0, 123),
1037 MTK_FUNCTION(0, "GPIO122"),
1038 MTK_FUNCTION(1, "MSDC1_CLK")
1040 MTK_PIN(PINCTRL_PIN(123, "MSDC1_DAT0"),
1042 MTK_EINT_FUNCTION(0, 124),
1043 MTK_FUNCTION(0, "GPIO123"),
1044 MTK_FUNCTION(1, "MSDC1_DAT0")
1046 MTK_PIN(PINCTRL_PIN(124, "MSDC1_DAT1"),
1048 MTK_EINT_FUNCTION(0, 125),
1049 MTK_FUNCTION(0, "GPIO124"),
1050 MTK_FUNCTION(1, "MSDC1_DAT1")
1052 MTK_PIN(PINCTRL_PIN(125, "MSDC1_DAT2"),
1054 MTK_EINT_FUNCTION(0, 126),
1055 MTK_FUNCTION(0, "GPIO125"),
1056 MTK_FUNCTION(1, "MSDC1_DAT2")
1058 MTK_PIN(PINCTRL_PIN(126, "MSDC1_DAT3"),
1060 MTK_EINT_FUNCTION(0, 127),
1061 MTK_FUNCTION(0, "GPIO126"),
1062 MTK_FUNCTION(1, "MSDC1_DAT3")
1064 MTK_PIN(PINCTRL_PIN(127, "MSDC0_DAT7"),
1066 MTK_EINT_FUNCTION(0, 128),
1067 MTK_FUNCTION(0, "GPIO127"),
1068 MTK_FUNCTION(1, "MSDC0_DAT7"),
1069 MTK_FUNCTION(4, "NLD7")
1071 MTK_PIN(PINCTRL_PIN(128, "MSDC0_DAT6"),
1073 MTK_EINT_FUNCTION(0, 129),
1074 MTK_FUNCTION(0, "GPIO128"),
1075 MTK_FUNCTION(1, "MSDC0_DAT6"),
1076 MTK_FUNCTION(4, "NLD6")
1078 MTK_PIN(PINCTRL_PIN(129, "MSDC0_DAT5"),
1080 MTK_EINT_FUNCTION(0, 130),
1081 MTK_FUNCTION(0, "GPIO129"),
1082 MTK_FUNCTION(1, "MSDC0_DAT5"),
1083 MTK_FUNCTION(4, "NLD4")
1085 MTK_PIN(PINCTRL_PIN(130, "MSDC0_DAT4"),
1087 MTK_EINT_FUNCTION(0, 131),
1088 MTK_FUNCTION(0, "GPIO130"),
1089 MTK_FUNCTION(1, "MSDC0_DAT4"),
1090 MTK_FUNCTION(4, "NLD3")
1092 MTK_PIN(PINCTRL_PIN(131, "MSDC0_RSTB"),
1094 MTK_EINT_FUNCTION(0, 132),
1095 MTK_FUNCTION(0, "GPIO131"),
1096 MTK_FUNCTION(1, "MSDC0_RSTB"),
1097 MTK_FUNCTION(4, "NLD0")
1099 MTK_PIN(PINCTRL_PIN(132, "MSDC0_CMD"),
1101 MTK_EINT_FUNCTION(0, 133),
1102 MTK_FUNCTION(0, "GPIO132"),
1103 MTK_FUNCTION(1, "MSDC0_CMD"),
1104 MTK_FUNCTION(4, "NALE")
1106 MTK_PIN(PINCTRL_PIN(133, "MSDC0_CLK"),
1108 MTK_EINT_FUNCTION(0, 134),
1109 MTK_FUNCTION(0, "GPIO133"),
1110 MTK_FUNCTION(1, "MSDC0_CLK"),
1111 MTK_FUNCTION(4, "NWEB")
1113 MTK_PIN(PINCTRL_PIN(134, "MSDC0_DAT3"),
1115 MTK_EINT_FUNCTION(0, 135),
1116 MTK_FUNCTION(0, "GPIO134"),
1117 MTK_FUNCTION(1, "MSDC0_DAT3"),
1118 MTK_FUNCTION(4, "NLD1")
1120 MTK_PIN(PINCTRL_PIN(135, "MSDC0_DAT2"),
1122 MTK_EINT_FUNCTION(0, 136),
1123 MTK_FUNCTION(0, "GPIO135"),
1124 MTK_FUNCTION(1, "MSDC0_DAT2"),
1125 MTK_FUNCTION(4, "NLD5")
1127 MTK_PIN(PINCTRL_PIN(136, "MSDC0_DAT1"),
1129 MTK_EINT_FUNCTION(0, 137),
1130 MTK_FUNCTION(0, "GPIO136"),
1131 MTK_FUNCTION(1, "MSDC0_DAT1"),
1132 MTK_FUNCTION(4, "NLD8")
1134 MTK_PIN(PINCTRL_PIN(137, "MSDC0_DAT0"),
1136 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1137 MTK_FUNCTION(0, "GPIO137"),
1138 MTK_FUNCTION(1, "MSDC0_DAT0"),
1139 MTK_FUNCTION(4, "WATCHDOG"),
1140 MTK_FUNCTION(5, "NLD2")
1142 MTK_PIN(PINCTRL_PIN(138, "CEC"),
1144 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1145 MTK_FUNCTION(0, "GPIO138"),
1146 MTK_FUNCTION(1, "CEC")
1148 MTK_PIN(PINCTRL_PIN(139, "HTPLG"),
1150 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1151 MTK_FUNCTION(0, "GPIO139"),
1152 MTK_FUNCTION(1, "HTPLG")
1154 MTK_PIN(PINCTRL_PIN(140, "HDMISCK"),
1156 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1157 MTK_FUNCTION(0, "GPIO140"),
1158 MTK_FUNCTION(1, "HDMISCK")
1160 MTK_PIN(PINCTRL_PIN(141, "HDMISD"),
1162 MTK_EINT_FUNCTION(NO_EINT_SUPPORT
, NO_EINT_SUPPORT
),
1163 MTK_FUNCTION(0, "GPIO141"),
1164 MTK_FUNCTION(1, "HDMISD")
1166 MTK_PIN(PINCTRL_PIN(142, "EINT21"),
1168 MTK_EINT_FUNCTION(0, 21),
1169 MTK_FUNCTION(0, "GPIO142"),
1170 MTK_FUNCTION(1, "NRNB"),
1171 MTK_FUNCTION(2, "ANT_SEL0"),
1172 MTK_FUNCTION(7, "DBG_MON_B[32]")
1176 #endif /* __PINCTRL_MTK_MT8127_H */