Merge branch 'etnaviv/next' of https://git.pengutronix.de/git/lst/linux into drm...
[linux-2.6-microblaze.git] / drivers / pinctrl / mediatek / pinctrl-mtk-mt8195.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Copyright (C) 2020 MediaTek Inc.
4  *
5  * Author: Zhiyong Tao <zhiyong.tao@mediatek.com>
6  *
7  */
8
9 #ifndef __PINCTRL_MTK_MT8195_H
10 #define __PINCTRL_MTK_MT8195_H
11
12 #include "pinctrl-paris.h"
13
14 static const struct mtk_pin_desc mtk_pins_mt8195[] = {
15         MTK_PIN(
16                 0, "GPIO0",
17                 MTK_EINT_FUNCTION(0, 0),
18                 DRV_GRP4,
19                 MTK_FUNCTION(0, "GPIO0"),
20                 MTK_FUNCTION(1, "TP_GPIO0_AO"),
21                 MTK_FUNCTION(2, "MSDC2_CMD"),
22                 MTK_FUNCTION(3, "TDMIN_MCK"),
23                 MTK_FUNCTION(4, "CLKM0"),
24                 MTK_FUNCTION(5, "PERSTN_1"),
25                 MTK_FUNCTION(6, "IDDIG_1P"),
26                 MTK_FUNCTION(7, "DMIC4_CLK")
27         ),
28         MTK_PIN(
29                 1, "GPIO1",
30                 MTK_EINT_FUNCTION(0, 1),
31                 DRV_GRP4,
32                 MTK_FUNCTION(0, "GPIO1"),
33                 MTK_FUNCTION(1, "TP_GPIO1_AO"),
34                 MTK_FUNCTION(2, "MSDC2_CLK"),
35                 MTK_FUNCTION(3, "TDMIN_DI"),
36                 MTK_FUNCTION(4, "CLKM1"),
37                 MTK_FUNCTION(5, "CLKREQN_1"),
38                 MTK_FUNCTION(6, "USB_DRVVBUS_1P"),
39                 MTK_FUNCTION(7, "DMIC4_DAT")
40         ),
41         MTK_PIN(
42                 2, "GPIO2",
43                 MTK_EINT_FUNCTION(0, 2),
44                 DRV_GRP4,
45                 MTK_FUNCTION(0, "GPIO2"),
46                 MTK_FUNCTION(1, "TP_GPIO2_AO"),
47                 MTK_FUNCTION(2, "MSDC2_DAT3"),
48                 MTK_FUNCTION(3, "TDMIN_LRCK"),
49                 MTK_FUNCTION(4, "CLKM2"),
50                 MTK_FUNCTION(5, "WAKEN_1"),
51                 MTK_FUNCTION(7, "DMIC2_CLK")
52         ),
53         MTK_PIN(
54                 3, "GPIO3",
55                 MTK_EINT_FUNCTION(0, 3),
56                 DRV_GRP4,
57                 MTK_FUNCTION(0, "GPIO3"),
58                 MTK_FUNCTION(1, "TP_GPIO3_AO"),
59                 MTK_FUNCTION(2, "MSDC2_DAT0"),
60                 MTK_FUNCTION(3, "TDMIN_BCK"),
61                 MTK_FUNCTION(4, "CLKM3"),
62                 MTK_FUNCTION(7, "DMIC2_DAT")
63         ),
64         MTK_PIN(
65                 4, "GPIO4",
66                 MTK_EINT_FUNCTION(0, 4),
67                 DRV_GRP4,
68                 MTK_FUNCTION(0, "GPIO4"),
69                 MTK_FUNCTION(1, "TP_GPIO4_AO"),
70                 MTK_FUNCTION(2, "MSDC2_DAT2"),
71                 MTK_FUNCTION(3, "SPDIF_IN1"),
72                 MTK_FUNCTION(4, "UTXD3"),
73                 MTK_FUNCTION(5, "SDA2"),
74                 MTK_FUNCTION(7, "IDDIG_2P")
75         ),
76         MTK_PIN(
77                 5, "GPIO5",
78                 MTK_EINT_FUNCTION(0, 5),
79                 DRV_GRP4,
80                 MTK_FUNCTION(0, "GPIO5"),
81                 MTK_FUNCTION(1, "TP_GPIO5_AO"),
82                 MTK_FUNCTION(2, "MSDC2_DAT1"),
83                 MTK_FUNCTION(3, "SPDIF_IN0"),
84                 MTK_FUNCTION(4, "URXD3"),
85                 MTK_FUNCTION(5, "SCL2"),
86                 MTK_FUNCTION(7, "USB_DRVVBUS_2P")
87         ),
88         MTK_PIN(
89                 6, "GPIO6",
90                 MTK_EINT_FUNCTION(0, 6),
91                 DRV_GRP4,
92                 MTK_FUNCTION(0, "GPIO6"),
93                 MTK_FUNCTION(1, "TP_GPIO6_AO"),
94                 MTK_FUNCTION(2, "DP_TX_HPD"),
95                 MTK_FUNCTION(3, "I2SO1_D4"),
96                 MTK_FUNCTION(4, "UTXD4"),
97                 MTK_FUNCTION(5, "CMVREF3"),
98                 MTK_FUNCTION(7, "DMIC3_CLK")
99         ),
100         MTK_PIN(
101                 7, "GPIO7",
102                 MTK_EINT_FUNCTION(0, 7),
103                 DRV_GRP4,
104                 MTK_FUNCTION(0, "GPIO7"),
105                 MTK_FUNCTION(1, "TP_GPIO7_AO"),
106                 MTK_FUNCTION(2, "EDP_TX_HPD"),
107                 MTK_FUNCTION(3, "I2SO1_D5"),
108                 MTK_FUNCTION(4, "URXD4"),
109                 MTK_FUNCTION(5, "CMVREF4"),
110                 MTK_FUNCTION(7, "DMIC3_DAT")
111         ),
112         MTK_PIN(
113                 8, "GPIO8",
114                 MTK_EINT_FUNCTION(0, 8),
115                 DRV_GRP4,
116                 MTK_FUNCTION(0, "GPIO8"),
117                 MTK_FUNCTION(1, "SDA0"),
118                 MTK_FUNCTION(2, "PWM_0"),
119                 MTK_FUNCTION(4, "SPDIF_OUT"),
120                 MTK_FUNCTION(6, "LVTS_FOUT"),
121                 MTK_FUNCTION(7, "DBG_MON_A0")
122         ),
123         MTK_PIN(
124                 9, "GPIO9",
125                 MTK_EINT_FUNCTION(0, 9),
126                 DRV_GRP4,
127                 MTK_FUNCTION(0, "GPIO9"),
128                 MTK_FUNCTION(1, "SCL0"),
129                 MTK_FUNCTION(2, "PWM_1"),
130                 MTK_FUNCTION(4, "IR_IN"),
131                 MTK_FUNCTION(6, "LVTS_SDO"),
132                 MTK_FUNCTION(7, "DBG_MON_A1")
133         ),
134         MTK_PIN(
135                 10, "GPIO10",
136                 MTK_EINT_FUNCTION(0, 10),
137                 DRV_GRP4,
138                 MTK_FUNCTION(0, "GPIO10"),
139                 MTK_FUNCTION(1, "SDA1"),
140                 MTK_FUNCTION(2, "PWM_2"),
141                 MTK_FUNCTION(3, "ADSP_URXD0"),
142                 MTK_FUNCTION(4, "SPDIF_IN1"),
143                 MTK_FUNCTION(6, "LVTS_SCF"),
144                 MTK_FUNCTION(7, "DBG_MON_A2")
145         ),
146         MTK_PIN(
147                 11, "GPIO11",
148                 MTK_EINT_FUNCTION(0, 11),
149                 DRV_GRP4,
150                 MTK_FUNCTION(0, "GPIO11"),
151                 MTK_FUNCTION(1, "SCL1"),
152                 MTK_FUNCTION(2, "PWM_3"),
153                 MTK_FUNCTION(3, "ADSP_UTXD0"),
154                 MTK_FUNCTION(4, "SPDIF_IN0"),
155                 MTK_FUNCTION(6, "LVTS_SCK"),
156                 MTK_FUNCTION(7, "DBG_MON_A3")
157         ),
158         MTK_PIN(
159                 12, "GPIO12",
160                 MTK_EINT_FUNCTION(0, 12),
161                 DRV_GRP4,
162                 MTK_FUNCTION(0, "GPIO12"),
163                 MTK_FUNCTION(1, "SDA2"),
164                 MTK_FUNCTION(2, "DMIC3_DAT_R"),
165                 MTK_FUNCTION(3, "I2SO1_D6"),
166                 MTK_FUNCTION(6, "LVTS_SDI"),
167                 MTK_FUNCTION(7, "DBG_MON_A4")
168         ),
169         MTK_PIN(
170                 13, "GPIO13",
171                 MTK_EINT_FUNCTION(0, 13),
172                 DRV_GRP4,
173                 MTK_FUNCTION(0, "GPIO13"),
174                 MTK_FUNCTION(1, "SCL2"),
175                 MTK_FUNCTION(2, "DMIC4_DAT_R"),
176                 MTK_FUNCTION(3, "I2SO1_D7"),
177                 MTK_FUNCTION(7, "DBG_MON_A5")
178         ),
179         MTK_PIN(
180                 14, "GPIO14",
181                 MTK_EINT_FUNCTION(0, 14),
182                 DRV_GRP4,
183                 MTK_FUNCTION(0, "GPIO14"),
184                 MTK_FUNCTION(1, "SDA3"),
185                 MTK_FUNCTION(2, "DMIC3_DAT"),
186                 MTK_FUNCTION(3, "TDMIN_MCK"),
187                 MTK_FUNCTION(7, "DBG_MON_A6")
188         ),
189         MTK_PIN(
190                 15, "GPIO15",
191                 MTK_EINT_FUNCTION(0, 15),
192                 DRV_GRP4,
193                 MTK_FUNCTION(0, "GPIO15"),
194                 MTK_FUNCTION(1, "SCL3"),
195                 MTK_FUNCTION(2, "DMIC3_CLK"),
196                 MTK_FUNCTION(3, "TDMIN_DI"),
197                 MTK_FUNCTION(7, "DBG_MON_A7")
198         ),
199         MTK_PIN(
200                 16, "GPIO16",
201                 MTK_EINT_FUNCTION(0, 16),
202                 DRV_GRP4,
203                 MTK_FUNCTION(0, "GPIO16"),
204                 MTK_FUNCTION(1, "SDA4"),
205                 MTK_FUNCTION(2, "DMIC4_DAT"),
206                 MTK_FUNCTION(3, "TDMIN_LRCK"),
207                 MTK_FUNCTION(7, "DBG_MON_A8")
208         ),
209         MTK_PIN(
210                 17, "GPIO17",
211                 MTK_EINT_FUNCTION(0, 17),
212                 DRV_GRP4,
213                 MTK_FUNCTION(0, "GPIO17"),
214                 MTK_FUNCTION(1, "SCL4"),
215                 MTK_FUNCTION(2, "DMIC4_CLK"),
216                 MTK_FUNCTION(3, "TDMIN_BCK"),
217                 MTK_FUNCTION(7, "DBG_MON_A9")
218         ),
219         MTK_PIN(
220                 18, "GPIO18",
221                 MTK_EINT_FUNCTION(0, 18),
222                 DRV_GRP4,
223                 MTK_FUNCTION(0, "GPIO18"),
224                 MTK_FUNCTION(1, "DP_TX_HPD")
225         ),
226         MTK_PIN(
227                 19, "GPIO19",
228                 MTK_EINT_FUNCTION(0, 19),
229                 DRV_GRP4,
230                 MTK_FUNCTION(0, "GPIO19"),
231                 MTK_FUNCTION(1, "WAKEN"),
232                 MTK_FUNCTION(2, "SCP_SDA1"),
233                 MTK_FUNCTION(3, "MD32_0_JTAG_TCK"),
234                 MTK_FUNCTION(4, "ADSP_JTAG0_TCK"),
235                 MTK_FUNCTION(5, "SDA6")
236         ),
237         MTK_PIN(
238                 20, "GPIO20",
239                 MTK_EINT_FUNCTION(0, 20),
240                 DRV_GRP4,
241                 MTK_FUNCTION(0, "GPIO20"),
242                 MTK_FUNCTION(1, "PERSTN"),
243                 MTK_FUNCTION(2, "SCP_SCL1"),
244                 MTK_FUNCTION(3, "MD32_0_JTAG_TMS"),
245                 MTK_FUNCTION(4, "ADSP_JTAG0_TMS"),
246                 MTK_FUNCTION(5, "SCL6")
247         ),
248         MTK_PIN(
249                 21, "GPIO21",
250                 MTK_EINT_FUNCTION(0, 21),
251                 DRV_GRP4,
252                 MTK_FUNCTION(0, "GPIO21"),
253                 MTK_FUNCTION(1, "CLKREQN"),
254                 MTK_FUNCTION(3, "MD32_0_JTAG_TDI"),
255                 MTK_FUNCTION(4, "ADSP_JTAG0_TDI"),
256                 MTK_FUNCTION(5, "SCP_SDA1")
257         ),
258         MTK_PIN(
259                 22, "GPIO22",
260                 MTK_EINT_FUNCTION(0, 22),
261                 DRV_GRP4,
262                 MTK_FUNCTION(0, "GPIO22"),
263                 MTK_FUNCTION(1, "CMMCLK0"),
264                 MTK_FUNCTION(2, "PERSTN_1"),
265                 MTK_FUNCTION(5, "SCP_SCL1"),
266                 MTK_FUNCTION(7, "MD32_0_GPIO0")
267         ),
268         MTK_PIN(
269                 23, "GPIO23",
270                 MTK_EINT_FUNCTION(0, 23),
271                 DRV_GRP4,
272                 MTK_FUNCTION(0, "GPIO23"),
273                 MTK_FUNCTION(1, "CMMCLK1"),
274                 MTK_FUNCTION(2, "CLKREQN_1"),
275                 MTK_FUNCTION(3, "SDA4"),
276                 MTK_FUNCTION(4, "DMIC1_CLK"),
277                 MTK_FUNCTION(5, "SCP_SDA0"),
278                 MTK_FUNCTION(7, "MD32_0_GPIO1")
279         ),
280         MTK_PIN(
281                 24, "GPIO24",
282                 MTK_EINT_FUNCTION(0, 24),
283                 DRV_GRP4,
284                 MTK_FUNCTION(0, "GPIO24"),
285                 MTK_FUNCTION(1, "CMMCLK2"),
286                 MTK_FUNCTION(2, "WAKEN_1"),
287                 MTK_FUNCTION(3, "SCL4"),
288                 MTK_FUNCTION(4, "DMIC1_DAT"),
289                 MTK_FUNCTION(5, "SCP_SCL0"),
290                 MTK_FUNCTION(6, "LVTS_26M"),
291                 MTK_FUNCTION(7, "MD32_0_GPIO2")
292         ),
293         MTK_PIN(
294                 25, "GPIO25",
295                 MTK_EINT_FUNCTION(0, 25),
296                 DRV_GRP4,
297                 MTK_FUNCTION(0, "GPIO25"),
298                 MTK_FUNCTION(1, "CMMRST"),
299                 MTK_FUNCTION(2, "CMMCLK3"),
300                 MTK_FUNCTION(3, "SPDIF_OUT"),
301                 MTK_FUNCTION(4, "SDA6"),
302                 MTK_FUNCTION(5, "ADSP_JTAG0_TRSTN"),
303                 MTK_FUNCTION(6, "MD32_0_JTAG_TRST")
304         ),
305         MTK_PIN(
306                 26, "GPIO26",
307                 MTK_EINT_FUNCTION(0, 26),
308                 DRV_GRP4,
309                 MTK_FUNCTION(0, "GPIO26"),
310                 MTK_FUNCTION(1, "CMMPDN"),
311                 MTK_FUNCTION(2, "CMMCLK4"),
312                 MTK_FUNCTION(3, "IR_IN"),
313                 MTK_FUNCTION(4, "SCL6"),
314                 MTK_FUNCTION(5, "ADSP_JTAG0_TDO"),
315                 MTK_FUNCTION(6, "MD32_0_JTAG_TDO")
316         ),
317         MTK_PIN(
318                 27, "GPIO27",
319                 MTK_EINT_FUNCTION(0, 27),
320                 DRV_GRP4,
321                 MTK_FUNCTION(0, "GPIO27"),
322                 MTK_FUNCTION(1, "HDMIRX20_HTPLG"),
323                 MTK_FUNCTION(2, "CMFLASH0"),
324                 MTK_FUNCTION(3, "MD32_0_TXD"),
325                 MTK_FUNCTION(4, "TP_UTXD2_AO"),
326                 MTK_FUNCTION(5, "SCL7"),
327                 MTK_FUNCTION(6, "UCTS2"),
328                 MTK_FUNCTION(7, "DBG_MON_A18")
329         ),
330         MTK_PIN(
331                 28, "GPIO28",
332                 MTK_EINT_FUNCTION(0, 28),
333                 DRV_GRP4,
334                 MTK_FUNCTION(0, "GPIO28"),
335                 MTK_FUNCTION(1, "HDMIRX20_PWR5V"),
336                 MTK_FUNCTION(2, "CMFLASH1"),
337                 MTK_FUNCTION(3, "MD32_0_RXD"),
338                 MTK_FUNCTION(4, "TP_URXD2_AO"),
339                 MTK_FUNCTION(5, "SDA7"),
340                 MTK_FUNCTION(6, "URTS2"),
341                 MTK_FUNCTION(7, "DBG_MON_A19")
342         ),
343         MTK_PIN(
344                 29, "GPIO29",
345                 MTK_EINT_FUNCTION(0, 29),
346                 DRV_GRP4,
347                 MTK_FUNCTION(0, "GPIO29"),
348                 MTK_FUNCTION(1, "HDMIRX20_SCL"),
349                 MTK_FUNCTION(2, "CMFLASH2"),
350                 MTK_FUNCTION(3, "SCL5"),
351                 MTK_FUNCTION(4, "TP_URTS2_AO"),
352                 MTK_FUNCTION(6, "UTXD2"),
353                 MTK_FUNCTION(7, "DBG_MON_A20")
354         ),
355         MTK_PIN(
356                 30, "GPIO30",
357                 MTK_EINT_FUNCTION(0, 30),
358                 DRV_GRP4,
359                 MTK_FUNCTION(0, "GPIO30"),
360                 MTK_FUNCTION(1, "HDMIRX20_SDA"),
361                 MTK_FUNCTION(2, "CMFLASH3"),
362                 MTK_FUNCTION(3, "SDA5"),
363                 MTK_FUNCTION(4, "TP_UCTS2_AO"),
364                 MTK_FUNCTION(6, "URXD2"),
365                 MTK_FUNCTION(7, "DBG_MON_A21")
366         ),
367         MTK_PIN(
368                 31, "GPIO31",
369                 MTK_EINT_FUNCTION(0, 31),
370                 DRV_GRP4,
371                 MTK_FUNCTION(0, "GPIO31"),
372                 MTK_FUNCTION(1, "HDMITX20_PWR5V"),
373                 MTK_FUNCTION(2, "DMIC1_DAT_R"),
374                 MTK_FUNCTION(3, "PERSTN"),
375                 MTK_FUNCTION(7, "DBG_MON_A22")
376         ),
377         MTK_PIN(
378                 32, "GPIO32",
379                 MTK_EINT_FUNCTION(0, 32),
380                 DRV_GRP4,
381                 MTK_FUNCTION(0, "GPIO32"),
382                 MTK_FUNCTION(1, "HDMITX20_HTPLG"),
383                 MTK_FUNCTION(3, "CLKREQN"),
384                 MTK_FUNCTION(7, "DBG_MON_A23")
385         ),
386         MTK_PIN(
387                 33, "GPIO33",
388                 MTK_EINT_FUNCTION(0, 33),
389                 DRV_GRP4,
390                 MTK_FUNCTION(0, "GPIO33"),
391                 MTK_FUNCTION(1, "HDMITX20_CEC"),
392                 MTK_FUNCTION(2, "CMVREF0"),
393                 MTK_FUNCTION(3, "WAKEN")
394         ),
395         MTK_PIN(
396                 34, "GPIO34",
397                 MTK_EINT_FUNCTION(0, 34),
398                 DRV_GRP4,
399                 MTK_FUNCTION(0, "GPIO34"),
400                 MTK_FUNCTION(1, "HDMITX20_SCL"),
401                 MTK_FUNCTION(2, "CMVREF1"),
402                 MTK_FUNCTION(3, "SCL7"),
403                 MTK_FUNCTION(4, "SCL6"),
404                 MTK_FUNCTION(7, "DBG_MON_A24")
405         ),
406         MTK_PIN(
407                 35, "GPIO35",
408                 MTK_EINT_FUNCTION(0, 35),
409                 DRV_GRP4,
410                 MTK_FUNCTION(0, "GPIO35"),
411                 MTK_FUNCTION(1, "HDMITX20_SDA"),
412                 MTK_FUNCTION(2, "CMVREF2"),
413                 MTK_FUNCTION(3, "SDA7"),
414                 MTK_FUNCTION(4, "SDA6"),
415                 MTK_FUNCTION(7, "DBG_MON_A25")
416         ),
417         MTK_PIN(
418                 36, "GPIO36",
419                 MTK_EINT_FUNCTION(0, 36),
420                 DRV_GRP4,
421                 MTK_FUNCTION(0, "GPIO36"),
422                 MTK_FUNCTION(1, "RTC32K_CK"),
423                 MTK_FUNCTION(7, "DBG_MON_A27")
424         ),
425         MTK_PIN(
426                 37, "GPIO37",
427                 MTK_EINT_FUNCTION(0, 37),
428                 DRV_GRP4,
429                 MTK_FUNCTION(0, "GPIO37"),
430                 MTK_FUNCTION(1, "WATCHDOG"),
431                 MTK_FUNCTION(7, "DBG_MON_A28")
432         ),
433         MTK_PIN(
434                 38, "GPIO38",
435                 MTK_EINT_FUNCTION(0, 38),
436                 DRV_GRP4,
437                 MTK_FUNCTION(0, "GPIO38"),
438                 MTK_FUNCTION(1, "SRCLKENA0"),
439                 MTK_FUNCTION(7, "DBG_MON_A29")
440         ),
441         MTK_PIN(
442                 39, "GPIO39",
443                 MTK_EINT_FUNCTION(0, 39),
444                 DRV_GRP4,
445                 MTK_FUNCTION(0, "GPIO39"),
446                 MTK_FUNCTION(1, "SRCLKENA1"),
447                 MTK_FUNCTION(2, "DMIC2_DAT_R"),
448                 MTK_FUNCTION(7, "DBG_MON_A30")
449         ),
450         MTK_PIN(
451                 40, "GPIO40",
452                 MTK_EINT_FUNCTION(0, 40),
453                 DRV_GRP4,
454                 MTK_FUNCTION(0, "GPIO40"),
455                 MTK_FUNCTION(1, "PWRAP_SPI0_CSN"),
456                 MTK_FUNCTION(3, "SPIM3_CSB"),
457                 MTK_FUNCTION(7, "DBG_MON_A31")
458         ),
459         MTK_PIN(
460                 41, "GPIO41",
461                 MTK_EINT_FUNCTION(0, 41),
462                 DRV_GRP4,
463                 MTK_FUNCTION(0, "GPIO41"),
464                 MTK_FUNCTION(1, "PWRAP_SPI0_CK"),
465                 MTK_FUNCTION(3, "SPIM3_CLK"),
466                 MTK_FUNCTION(7, "DBG_MON_A32")
467         ),
468         MTK_PIN(
469                 42, "GPIO42",
470                 MTK_EINT_FUNCTION(0, 42),
471                 DRV_GRP4,
472                 MTK_FUNCTION(0, "GPIO42"),
473                 MTK_FUNCTION(1, "PWRAP_SPI0_MO"),
474                 MTK_FUNCTION(2, "PWRAP_SPI0_MI"),
475                 MTK_FUNCTION(3, "SPIM3_MO"),
476                 MTK_FUNCTION(7, "DBG_MON_B0")
477         ),
478         MTK_PIN(
479                 43, "GPIO43",
480                 MTK_EINT_FUNCTION(0, 43),
481                 DRV_GRP4,
482                 MTK_FUNCTION(0, "GPIO43"),
483                 MTK_FUNCTION(1, "PWRAP_SPI0_MI"),
484                 MTK_FUNCTION(2, "PWRAP_SPI0_MO"),
485                 MTK_FUNCTION(3, "SPIM3_MI"),
486                 MTK_FUNCTION(7, "DBG_MON_B1")
487         ),
488         MTK_PIN(
489                 44, "GPIO44",
490                 MTK_EINT_FUNCTION(0, 44),
491                 DRV_GRP4,
492                 MTK_FUNCTION(0, "GPIO44"),
493                 MTK_FUNCTION(1, "SPMI_M_SCL"),
494                 MTK_FUNCTION(2, "I2SI00_DATA1"),
495                 MTK_FUNCTION(3, "SCL5"),
496                 MTK_FUNCTION(4, "UTXD5"),
497                 MTK_FUNCTION(7, "DBG_MON_B2")
498         ),
499         MTK_PIN(
500                 45, "GPIO45",
501                 MTK_EINT_FUNCTION(0, 45),
502                 DRV_GRP4,
503                 MTK_FUNCTION(0, "GPIO45"),
504                 MTK_FUNCTION(1, "SPMI_M_SDA"),
505                 MTK_FUNCTION(2, "I2SI00_DATA2"),
506                 MTK_FUNCTION(3, "SDA5"),
507                 MTK_FUNCTION(4, "URXD5"),
508                 MTK_FUNCTION(7, "DBG_MON_B3")
509         ),
510         MTK_PIN(
511                 46, "GPIO46",
512                 MTK_EINT_FUNCTION(0, 46),
513                 DRV_GRP4,
514                 MTK_FUNCTION(0, "GPIO46"),
515                 MTK_FUNCTION(1, "I2SIN_MCK"),
516                 MTK_FUNCTION(2, "I2SI00_DATA3"),
517                 MTK_FUNCTION(3, "SPLIN_MCK"),
518                 MTK_FUNCTION(7, "DBG_MON_B4")
519         ),
520         MTK_PIN(
521                 47, "GPIO47",
522                 MTK_EINT_FUNCTION(0, 47),
523                 DRV_GRP4,
524                 MTK_FUNCTION(0, "GPIO47"),
525                 MTK_FUNCTION(1, "I2SIN_BCK"),
526                 MTK_FUNCTION(2, "I2SIN0_BCK"),
527                 MTK_FUNCTION(3, "SPLIN_LRCK"),
528                 MTK_FUNCTION(7, "DBG_MON_B5")
529         ),
530         MTK_PIN(
531                 48, "GPIO48",
532                 MTK_EINT_FUNCTION(0, 48),
533                 DRV_GRP4,
534                 MTK_FUNCTION(0, "GPIO48"),
535                 MTK_FUNCTION(1, "I2SIN_WS"),
536                 MTK_FUNCTION(2, "I2SIN0_LRCK"),
537                 MTK_FUNCTION(3, "SPLIN_BCK"),
538                 MTK_FUNCTION(7, "DBG_MON_B6")
539         ),
540         MTK_PIN(
541                 49, "GPIO49",
542                 MTK_EINT_FUNCTION(0, 49),
543                 DRV_GRP4,
544                 MTK_FUNCTION(0, "GPIO49"),
545                 MTK_FUNCTION(1, "I2SIN_D0"),
546                 MTK_FUNCTION(2, "I2SI00_DATA0"),
547                 MTK_FUNCTION(3, "SPLIN_D0"),
548                 MTK_FUNCTION(7, "DBG_MON_B7")
549         ),
550         MTK_PIN(
551                 50, "GPIO50",
552                 MTK_EINT_FUNCTION(0, 50),
553                 DRV_GRP4,
554                 MTK_FUNCTION(0, "GPIO50"),
555                 MTK_FUNCTION(1, "I2SO1_MCK"),
556                 MTK_FUNCTION(2, "I2SI5_D0"),
557                 MTK_FUNCTION(4, "I2SO4_MCK"),
558                 MTK_FUNCTION(7, "DBG_MON_B8")
559         ),
560         MTK_PIN(
561                 51, "GPIO51",
562                 MTK_EINT_FUNCTION(0, 51),
563                 DRV_GRP4,
564                 MTK_FUNCTION(0, "GPIO51"),
565                 MTK_FUNCTION(1, "I2SO1_BCK"),
566                 MTK_FUNCTION(2, "I2SI5_BCK"),
567                 MTK_FUNCTION(7, "DBG_MON_B9")
568         ),
569         MTK_PIN(
570                 52, "GPIO52",
571                 MTK_EINT_FUNCTION(0, 52),
572                 DRV_GRP4,
573                 MTK_FUNCTION(0, "GPIO52"),
574                 MTK_FUNCTION(1, "I2SO1_WS"),
575                 MTK_FUNCTION(2, "I2SI5_WS"),
576                 MTK_FUNCTION(7, "DBG_MON_B10")
577         ),
578         MTK_PIN(
579                 53, "GPIO53",
580                 MTK_EINT_FUNCTION(0, 53),
581                 DRV_GRP4,
582                 MTK_FUNCTION(0, "GPIO53"),
583                 MTK_FUNCTION(1, "I2SO1_D0"),
584                 MTK_FUNCTION(2, "I2SI5_MCK"),
585                 MTK_FUNCTION(7, "DBG_MON_B11")
586         ),
587         MTK_PIN(
588                 54, "GPIO54",
589                 MTK_EINT_FUNCTION(0, 54),
590                 DRV_GRP4,
591                 MTK_FUNCTION(0, "GPIO54"),
592                 MTK_FUNCTION(1, "I2SO1_D1"),
593                 MTK_FUNCTION(2, "I2SI01_DATA1"),
594                 MTK_FUNCTION(3, "SPLIN_D1"),
595                 MTK_FUNCTION(4, "I2SO4_BCK"),
596                 MTK_FUNCTION(7, "DBG_MON_B12")
597         ),
598         MTK_PIN(
599                 55, "GPIO55",
600                 MTK_EINT_FUNCTION(0, 55),
601                 DRV_GRP4,
602                 MTK_FUNCTION(0, "GPIO55"),
603                 MTK_FUNCTION(1, "I2SO1_D2"),
604                 MTK_FUNCTION(2, "I2SI01_DATA2"),
605                 MTK_FUNCTION(3, "SPLIN_D2"),
606                 MTK_FUNCTION(4, "I2SO4_WS"),
607                 MTK_FUNCTION(7, "DBG_MON_B13")
608         ),
609         MTK_PIN(
610                 56, "GPIO56",
611                 MTK_EINT_FUNCTION(0, 56),
612                 DRV_GRP4,
613                 MTK_FUNCTION(0, "GPIO56"),
614                 MTK_FUNCTION(1, "I2SO1_D3"),
615                 MTK_FUNCTION(2, "I2SI01_DATA3"),
616                 MTK_FUNCTION(3, "SPLIN_D3"),
617                 MTK_FUNCTION(4, "I2SO4_D0"),
618                 MTK_FUNCTION(7, "DBG_MON_B14")
619         ),
620         MTK_PIN(
621                 57, "GPIO57",
622                 MTK_EINT_FUNCTION(0, 57),
623                 DRV_GRP4,
624                 MTK_FUNCTION(0, "GPIO57"),
625                 MTK_FUNCTION(1, "I2SO2_MCK"),
626                 MTK_FUNCTION(2, "I2SO1_D12"),
627                 MTK_FUNCTION(3, "LCM1_RST"),
628                 MTK_FUNCTION(7, "DBG_MON_B15")
629         ),
630         MTK_PIN(
631                 58, "GPIO58",
632                 MTK_EINT_FUNCTION(0, 58),
633                 DRV_GRP4,
634                 MTK_FUNCTION(0, "GPIO58"),
635                 MTK_FUNCTION(1, "I2SO2_BCK"),
636                 MTK_FUNCTION(2, "I2SO1_D13"),
637                 MTK_FUNCTION(3, "I2SIN1_BCK"),
638                 MTK_FUNCTION(7, "DBG_MON_B16")
639         ),
640         MTK_PIN(
641                 59, "GPIO59",
642                 MTK_EINT_FUNCTION(0, 59),
643                 DRV_GRP4,
644                 MTK_FUNCTION(0, "GPIO59"),
645                 MTK_FUNCTION(1, "I2SO2_WS"),
646                 MTK_FUNCTION(2, "I2SO1_D14"),
647                 MTK_FUNCTION(3, "I2SIN1_LRCK"),
648                 MTK_FUNCTION(7, "DBG_MON_B17")
649         ),
650         MTK_PIN(
651                 60, "GPIO60",
652                 MTK_EINT_FUNCTION(0, 60),
653                 DRV_GRP4,
654                 MTK_FUNCTION(0, "GPIO60"),
655                 MTK_FUNCTION(1, "I2SO2_D0"),
656                 MTK_FUNCTION(2, "I2SO1_D15"),
657                 MTK_FUNCTION(3, "I2SI01_DATA0"),
658                 MTK_FUNCTION(7, "DBG_MON_B18")
659         ),
660         MTK_PIN(
661                 61, "GPIO61",
662                 MTK_EINT_FUNCTION(0, 61),
663                 DRV_GRP4,
664                 MTK_FUNCTION(0, "GPIO61"),
665                 MTK_FUNCTION(1, "DMIC1_CLK"),
666                 MTK_FUNCTION(2, "I2SO2_BCK"),
667                 MTK_FUNCTION(3, "SCP_SPI2_CK"),
668                 MTK_FUNCTION(7, "DBG_MON_B19")
669         ),
670         MTK_PIN(
671                 62, "GPIO62",
672                 MTK_EINT_FUNCTION(0, 62),
673                 DRV_GRP4,
674                 MTK_FUNCTION(0, "GPIO62"),
675                 MTK_FUNCTION(1, "DMIC1_DAT"),
676                 MTK_FUNCTION(2, "I2SO2_WS"),
677                 MTK_FUNCTION(3, "SCP_SPI2_MI"),
678                 MTK_FUNCTION(7, "DBG_MON_B20")
679         ),
680         MTK_PIN(
681                 63, "GPIO63",
682                 MTK_EINT_FUNCTION(0, 63),
683                 DRV_GRP4,
684                 MTK_FUNCTION(0, "GPIO63"),
685                 MTK_FUNCTION(1, "DMIC2_CLK"),
686                 MTK_FUNCTION(2, "VBUSVALID"),
687                 MTK_FUNCTION(3, "SCP_SPI2_MO"),
688                 MTK_FUNCTION(4, "SCP_SCL2"),
689                 MTK_FUNCTION(5, "SCP_JTAG1_TDO"),
690                 MTK_FUNCTION(6, "JTDO_SEL1"),
691                 MTK_FUNCTION(7, "DBG_MON_B21")
692         ),
693         MTK_PIN(
694                 64, "GPIO64",
695                 MTK_EINT_FUNCTION(0, 64),
696                 DRV_GRP4,
697                 MTK_FUNCTION(0, "GPIO64"),
698                 MTK_FUNCTION(1, "DMIC2_DAT"),
699                 MTK_FUNCTION(2, "VBUSVALID_1P"),
700                 MTK_FUNCTION(3, "SCP_SPI2_CS"),
701                 MTK_FUNCTION(4, "SCP_SDA2"),
702                 MTK_FUNCTION(7, "DBG_MON_B22")
703         ),
704         MTK_PIN(
705                 65, "GPIO65",
706                 MTK_EINT_FUNCTION(0, 65),
707                 DRV_GRP4,
708                 MTK_FUNCTION(0, "GPIO65"),
709                 MTK_FUNCTION(1, "PCM_DO"),
710                 MTK_FUNCTION(2, "AUXIF_ST0"),
711                 MTK_FUNCTION(3, "UCTS2"),
712                 MTK_FUNCTION(5, "SCP_JTAG1_TMS"),
713                 MTK_FUNCTION(6, "JTMS_SEL1"),
714                 MTK_FUNCTION(7, "DBG_MON_B23")
715         ),
716         MTK_PIN(
717                 66, "GPIO66",
718                 MTK_EINT_FUNCTION(0, 66),
719                 DRV_GRP4,
720                 MTK_FUNCTION(0, "GPIO66"),
721                 MTK_FUNCTION(1, "PCM_CLK"),
722                 MTK_FUNCTION(2, "AUXIF_CLK0"),
723                 MTK_FUNCTION(3, "URTS2"),
724                 MTK_FUNCTION(5, "SCP_JTAG1_TCK"),
725                 MTK_FUNCTION(6, "JTCK_SEL1"),
726                 MTK_FUNCTION(7, "DBG_MON_B24")
727         ),
728         MTK_PIN(
729                 67, "GPIO67",
730                 MTK_EINT_FUNCTION(0, 67),
731                 DRV_GRP4,
732                 MTK_FUNCTION(0, "GPIO67"),
733                 MTK_FUNCTION(1, "PCM_DI"),
734                 MTK_FUNCTION(2, "AUXIF_ST1"),
735                 MTK_FUNCTION(3, "UTXD2"),
736                 MTK_FUNCTION(5, "SCP_JTAG1_TRSTN"),
737                 MTK_FUNCTION(6, "JTRSTn_SEL1"),
738                 MTK_FUNCTION(7, "DBG_MON_B25")
739         ),
740         MTK_PIN(
741                 68, "GPIO68",
742                 MTK_EINT_FUNCTION(0, 68),
743                 DRV_GRP4,
744                 MTK_FUNCTION(0, "GPIO68"),
745                 MTK_FUNCTION(1, "PCM_SYNC"),
746                 MTK_FUNCTION(2, "AUXIF_CLK1"),
747                 MTK_FUNCTION(3, "URXD2"),
748                 MTK_FUNCTION(5, "SCP_JTAG1_TDI"),
749                 MTK_FUNCTION(6, "JTDI_SEL1"),
750                 MTK_FUNCTION(7, "DBG_MON_B26")
751         ),
752         MTK_PIN(
753                 69, "GPIO69",
754                 MTK_EINT_FUNCTION(0, 69),
755                 DRV_GRP4,
756                 MTK_FUNCTION(0, "GPIO69"),
757                 MTK_FUNCTION(1, "AUD_CLK_MOSI"),
758                 MTK_FUNCTION(2, "I2SIN2_BCK"),
759                 MTK_FUNCTION(3, "PWM_0"),
760                 MTK_FUNCTION(4, "WAKEN"),
761                 MTK_FUNCTION(7, "DBG_MON_B27")
762         ),
763         MTK_PIN(
764                 70, "GPIO70",
765                 MTK_EINT_FUNCTION(0, 70),
766                 DRV_GRP4,
767                 MTK_FUNCTION(0, "GPIO70"),
768                 MTK_FUNCTION(1, "AUD_SYNC_MOSI"),
769                 MTK_FUNCTION(2, "I2SIN2_LRCK"),
770                 MTK_FUNCTION(3, "PWM_1"),
771                 MTK_FUNCTION(4, "PERSTN"),
772                 MTK_FUNCTION(7, "DBG_MON_B28")
773         ),
774         MTK_PIN(
775                 71, "GPIO71",
776                 MTK_EINT_FUNCTION(0, 71),
777                 DRV_GRP4,
778                 MTK_FUNCTION(0, "GPIO71"),
779                 MTK_FUNCTION(1, "AUD_DAT_MOSI0"),
780                 MTK_FUNCTION(2, "IDDIG_2P"),
781                 MTK_FUNCTION(3, "PWM_2"),
782                 MTK_FUNCTION(4, "CLKREQN"),
783                 MTK_FUNCTION(7, "DBG_MON_B29")
784         ),
785         MTK_PIN(
786                 72, "GPIO72",
787                 MTK_EINT_FUNCTION(0, 72),
788                 DRV_GRP4,
789                 MTK_FUNCTION(0, "GPIO72"),
790                 MTK_FUNCTION(1, "AUD_DAT_MOSI1"),
791                 MTK_FUNCTION(2, "USB_DRVVBUS_2P"),
792                 MTK_FUNCTION(3, "PWM_3"),
793                 MTK_FUNCTION(4, "PERSTN_1"),
794                 MTK_FUNCTION(7, "DBG_MON_B30")
795         ),
796         MTK_PIN(
797                 73, "GPIO73",
798                 MTK_EINT_FUNCTION(0, 73),
799                 DRV_GRP4,
800                 MTK_FUNCTION(0, "GPIO73"),
801                 MTK_FUNCTION(1, "AUD_DAT_MISO0"),
802                 MTK_FUNCTION(2, "I2SI02_DATA0"),
803                 MTK_FUNCTION(4, "CLKREQN_1"),
804                 MTK_FUNCTION(5, "VOW_DAT_MISO"),
805                 MTK_FUNCTION(7, "DBG_MON_B31")
806         ),
807         MTK_PIN(
808                 74, "GPIO74",
809                 MTK_EINT_FUNCTION(0, 74),
810                 DRV_GRP4,
811                 MTK_FUNCTION(0, "GPIO74"),
812                 MTK_FUNCTION(1, "AUD_DAT_MISO1"),
813                 MTK_FUNCTION(2, "I2SI02_DATA1"),
814                 MTK_FUNCTION(4, "WAKEN_1"),
815                 MTK_FUNCTION(5, "VOW_CLK_MISO"),
816                 MTK_FUNCTION(7, "DBG_MON_B32")
817         ),
818         MTK_PIN(
819                 75, "GPIO75",
820                 MTK_EINT_FUNCTION(0, 75),
821                 DRV_GRP4,
822                 MTK_FUNCTION(0, "GPIO75"),
823                 MTK_FUNCTION(1, "AUD_DAT_MISO2"),
824                 MTK_FUNCTION(2, "I2SI02_DATA2")
825         ),
826         MTK_PIN(
827                 76, "GPIO76",
828                 MTK_EINT_FUNCTION(0, 76),
829                 DRV_GRP4,
830                 MTK_FUNCTION(0, "GPIO76"),
831                 MTK_FUNCTION(1, "SCP_VREQ_VAO"),
832                 MTK_FUNCTION(2, "I2SI02_DATA3"),
833                 MTK_FUNCTION(7, "DBG_MON_A26")
834         ),
835         MTK_PIN(
836                 77, "GPIO77",
837                 MTK_EINT_FUNCTION(0, 77),
838                 DRV_GRP4,
839                 MTK_FUNCTION(0, "GPIO77"),
840                 MTK_FUNCTION(1, "DGI_D0"),
841                 MTK_FUNCTION(2, "DPI_D0"),
842                 MTK_FUNCTION(3, "I2SI4_MCK"),
843                 MTK_FUNCTION(4, "SPIM4_CLK"),
844                 MTK_FUNCTION(5, "GBE_TXD3"),
845                 MTK_FUNCTION(6, "SPM_JTAG_TCK")
846         ),
847         MTK_PIN(
848                 78, "GPIO78",
849                 MTK_EINT_FUNCTION(0, 78),
850                 DRV_GRP4,
851                 MTK_FUNCTION(0, "GPIO78"),
852                 MTK_FUNCTION(1, "DGI_D1"),
853                 MTK_FUNCTION(2, "DPI_D1"),
854                 MTK_FUNCTION(3, "I2SI4_BCK"),
855                 MTK_FUNCTION(4, "SPIM4_MO"),
856                 MTK_FUNCTION(5, "GBE_TXD2"),
857                 MTK_FUNCTION(6, "SPM_JTAG_TMS")
858         ),
859         MTK_PIN(
860                 79, "GPIO79",
861                 MTK_EINT_FUNCTION(0, 79),
862                 DRV_GRP4,
863                 MTK_FUNCTION(0, "GPIO79"),
864                 MTK_FUNCTION(1, "DGI_D2"),
865                 MTK_FUNCTION(2, "DPI_D2"),
866                 MTK_FUNCTION(3, "I2SI4_WS"),
867                 MTK_FUNCTION(4, "SPIM4_CSB"),
868                 MTK_FUNCTION(5, "GBE_TXD1"),
869                 MTK_FUNCTION(6, "SPM_JTAG_TDI")
870         ),
871         MTK_PIN(
872                 80, "GPIO80",
873                 MTK_EINT_FUNCTION(0, 80),
874                 DRV_GRP4,
875                 MTK_FUNCTION(0, "GPIO80"),
876                 MTK_FUNCTION(1, "DGI_D3"),
877                 MTK_FUNCTION(2, "DPI_D3"),
878                 MTK_FUNCTION(3, "I2SI4_D0"),
879                 MTK_FUNCTION(4, "SPIM4_MI"),
880                 MTK_FUNCTION(5, "GBE_TXD0"),
881                 MTK_FUNCTION(6, "SPM_JTAG_TDO")
882         ),
883         MTK_PIN(
884                 81, "GPIO81",
885                 MTK_EINT_FUNCTION(0, 81),
886                 DRV_GRP4,
887                 MTK_FUNCTION(0, "GPIO81"),
888                 MTK_FUNCTION(1, "DGI_D4"),
889                 MTK_FUNCTION(2, "DPI_D4"),
890                 MTK_FUNCTION(3, "I2SI5_MCK"),
891                 MTK_FUNCTION(4, "SPIM5_CLK"),
892                 MTK_FUNCTION(5, "GBE_RXD3"),
893                 MTK_FUNCTION(6, "SPM_JTAG_TRSTN")
894         ),
895         MTK_PIN(
896                 82, "GPIO82",
897                 MTK_EINT_FUNCTION(0, 82),
898                 DRV_GRP4,
899                 MTK_FUNCTION(0, "GPIO82"),
900                 MTK_FUNCTION(1, "DGI_D5"),
901                 MTK_FUNCTION(2, "DPI_D5"),
902                 MTK_FUNCTION(3, "I2SI5_BCK"),
903                 MTK_FUNCTION(4, "SPIM5_MO"),
904                 MTK_FUNCTION(5, "GBE_RXD2"),
905                 MTK_FUNCTION(6, "MCUPM_JTAG_TDO")
906         ),
907         MTK_PIN(
908                 83, "GPIO83",
909                 MTK_EINT_FUNCTION(0, 83),
910                 DRV_GRP4,
911                 MTK_FUNCTION(0, "GPIO83"),
912                 MTK_FUNCTION(1, "DGI_D6"),
913                 MTK_FUNCTION(2, "DPI_D6"),
914                 MTK_FUNCTION(3, "I2SI5_WS"),
915                 MTK_FUNCTION(4, "SPIM5_CSB"),
916                 MTK_FUNCTION(5, "GBE_RXD1"),
917                 MTK_FUNCTION(6, "MCUPM_JTAG_TMS")
918         ),
919         MTK_PIN(
920                 84, "GPIO84",
921                 MTK_EINT_FUNCTION(0, 84),
922                 DRV_GRP4,
923                 MTK_FUNCTION(0, "GPIO84"),
924                 MTK_FUNCTION(1, "DGI_D7"),
925                 MTK_FUNCTION(2, "DPI_D7"),
926                 MTK_FUNCTION(3, "I2SI5_D0"),
927                 MTK_FUNCTION(4, "SPIM5_MI"),
928                 MTK_FUNCTION(5, "GBE_RXD0"),
929                 MTK_FUNCTION(6, "MCUPM_JTAG_TCK")
930         ),
931         MTK_PIN(
932                 85, "GPIO85",
933                 MTK_EINT_FUNCTION(0, 85),
934                 DRV_GRP4,
935                 MTK_FUNCTION(0, "GPIO85"),
936                 MTK_FUNCTION(1, "DGI_D8"),
937                 MTK_FUNCTION(2, "DPI_D8"),
938                 MTK_FUNCTION(3, "I2SO4_MCK"),
939                 MTK_FUNCTION(4, "SCP_SPI1_B_CK"),
940                 MTK_FUNCTION(5, "GBE_TXC"),
941                 MTK_FUNCTION(6, "MCUPM_JTAG_TDI")
942         ),
943         MTK_PIN(
944                 86, "GPIO86",
945                 MTK_EINT_FUNCTION(0, 86),
946                 DRV_GRP4,
947                 MTK_FUNCTION(0, "GPIO86"),
948                 MTK_FUNCTION(1, "DGI_D9"),
949                 MTK_FUNCTION(2, "DPI_D9"),
950                 MTK_FUNCTION(3, "I2SO4_BCK"),
951                 MTK_FUNCTION(4, "SCP_SPI1_B_MI"),
952                 MTK_FUNCTION(5, "GBE_RXC"),
953                 MTK_FUNCTION(6, "MCUPM_JTAG_TRSTN")
954         ),
955         MTK_PIN(
956                 87, "GPIO87",
957                 MTK_EINT_FUNCTION(0, 87),
958                 DRV_GRP4,
959                 MTK_FUNCTION(0, "GPIO87"),
960                 MTK_FUNCTION(1, "DGI_D10"),
961                 MTK_FUNCTION(2, "DPI_D10"),
962                 MTK_FUNCTION(3, "I2SO4_WS"),
963                 MTK_FUNCTION(4, "SCP_SPI1_B_CS"),
964                 MTK_FUNCTION(5, "GBE_RXDV"),
965                 MTK_FUNCTION(6, "SSPM_JTAG_TDO")
966         ),
967         MTK_PIN(
968                 88, "GPIO88",
969                 MTK_EINT_FUNCTION(0, 88),
970                 DRV_GRP4,
971                 MTK_FUNCTION(0, "GPIO88"),
972                 MTK_FUNCTION(1, "DGI_D11"),
973                 MTK_FUNCTION(2, "DPI_D11"),
974                 MTK_FUNCTION(3, "I2SO4_D0"),
975                 MTK_FUNCTION(4, "SCP_SPI1_B_MO"),
976                 MTK_FUNCTION(5, "GBE_TXEN"),
977                 MTK_FUNCTION(6, "SSPM_JTAG_TMS")
978         ),
979         MTK_PIN(
980                 89, "GPIO89",
981                 MTK_EINT_FUNCTION(0, 89),
982                 DRV_GRP4,
983                 MTK_FUNCTION(0, "GPIO89"),
984                 MTK_FUNCTION(1, "DGI_D12"),
985                 MTK_FUNCTION(2, "DPI_D12"),
986                 MTK_FUNCTION(3, "MSDC2_CMD_A"),
987                 MTK_FUNCTION(4, "I2SO5_BCK"),
988                 MTK_FUNCTION(5, "GBE_MDC"),
989                 MTK_FUNCTION(6, "SSPM_JTAG_TCK")
990         ),
991         MTK_PIN(
992                 90, "GPIO90",
993                 MTK_EINT_FUNCTION(0, 90),
994                 DRV_GRP4,
995                 MTK_FUNCTION(0, "GPIO90"),
996                 MTK_FUNCTION(1, "DGI_D13"),
997                 MTK_FUNCTION(2, "DPI_D13"),
998                 MTK_FUNCTION(3, "MSDC2_CLK_A"),
999                 MTK_FUNCTION(4, "I2SO5_WS"),
1000                 MTK_FUNCTION(5, "GBE_MDIO"),
1001                 MTK_FUNCTION(6, "SSPM_JTAG_TDI")
1002         ),
1003         MTK_PIN(
1004                 91, "GPIO91",
1005                 MTK_EINT_FUNCTION(0, 91),
1006                 DRV_GRP4,
1007                 MTK_FUNCTION(0, "GPIO91"),
1008                 MTK_FUNCTION(1, "DGI_D14"),
1009                 MTK_FUNCTION(2, "DPI_D14"),
1010                 MTK_FUNCTION(3, "MSDC2_DAT3_A"),
1011                 MTK_FUNCTION(4, "I2SO5_D0"),
1012                 MTK_FUNCTION(5, "GBE_TXER"),
1013                 MTK_FUNCTION(6, "SSPM_JTAG_TRSTN")
1014         ),
1015         MTK_PIN(
1016                 92, "GPIO92",
1017                 MTK_EINT_FUNCTION(0, 92),
1018                 DRV_GRP4,
1019                 MTK_FUNCTION(0, "GPIO92"),
1020                 MTK_FUNCTION(1, "DGI_D15"),
1021                 MTK_FUNCTION(2, "DPI_D15"),
1022                 MTK_FUNCTION(3, "MSDC2_DAT0_A"),
1023                 MTK_FUNCTION(4, "I2SO2_D1"),
1024                 MTK_FUNCTION(5, "GBE_RXER"),
1025                 MTK_FUNCTION(6, "CCU0_JTAG_TDO")
1026         ),
1027         MTK_PIN(
1028                 93, "GPIO93",
1029                 MTK_EINT_FUNCTION(0, 93),
1030                 DRV_GRP4,
1031                 MTK_FUNCTION(0, "GPIO93"),
1032                 MTK_FUNCTION(1, "DGI_HSYNC"),
1033                 MTK_FUNCTION(2, "DPI_HSYNC"),
1034                 MTK_FUNCTION(3, "MSDC2_DAT2_A"),
1035                 MTK_FUNCTION(4, "I2SO2_D2"),
1036                 MTK_FUNCTION(5, "GBE_COL"),
1037                 MTK_FUNCTION(6, "CCU0_JTAG_TMS")
1038         ),
1039         MTK_PIN(
1040                 94, "GPIO94",
1041                 MTK_EINT_FUNCTION(0, 94),
1042                 DRV_GRP4,
1043                 MTK_FUNCTION(0, "GPIO94"),
1044                 MTK_FUNCTION(1, "DGI_VSYNC"),
1045                 MTK_FUNCTION(2, "DPI_VSYNC"),
1046                 MTK_FUNCTION(3, "MSDC2_DAT1_A"),
1047                 MTK_FUNCTION(4, "I2SO2_D3"),
1048                 MTK_FUNCTION(5, "GBE_INTR"),
1049                 MTK_FUNCTION(6, "CCU0_JTAG_TDI")
1050         ),
1051         MTK_PIN(
1052                 95, "GPIO95",
1053                 MTK_EINT_FUNCTION(0, 95),
1054                 DRV_GRP4,
1055                 MTK_FUNCTION(0, "GPIO95"),
1056                 MTK_FUNCTION(1, "DGI_DE"),
1057                 MTK_FUNCTION(2, "DPI_DE"),
1058                 MTK_FUNCTION(3, "UTXD2"),
1059                 MTK_FUNCTION(5, "I2SIN_D1"),
1060                 MTK_FUNCTION(6, "CCU0_JTAG_TCK")
1061         ),
1062         MTK_PIN(
1063                 96, "GPIO96",
1064                 MTK_EINT_FUNCTION(0, 96),
1065                 DRV_GRP4,
1066                 MTK_FUNCTION(0, "GPIO96"),
1067                 MTK_FUNCTION(1, "DGI_CK"),
1068                 MTK_FUNCTION(2, "DPI_CK"),
1069                 MTK_FUNCTION(3, "URXD2"),
1070                 MTK_FUNCTION(4, "I2SO5_MCK"),
1071                 MTK_FUNCTION(5, "I2SIN_D2"),
1072                 MTK_FUNCTION(6, "CCU0_JTAG_TRST")
1073         ),
1074         MTK_PIN(
1075                 97, "GPIO97",
1076                 MTK_EINT_FUNCTION(0, 97),
1077                 DRV_GRP4,
1078                 MTK_FUNCTION(0, "GPIO97"),
1079                 MTK_FUNCTION(1, "DISP_PWM0"),
1080                 MTK_FUNCTION(2, "DVFSRC_EXT_REQ")
1081         ),
1082         MTK_PIN(
1083                 98, "GPIO98",
1084                 MTK_EINT_FUNCTION(0, 98),
1085                 DRV_GRP4,
1086                 MTK_FUNCTION(0, "GPIO98"),
1087                 MTK_FUNCTION(1, "UTXD0")
1088         ),
1089         MTK_PIN(
1090                 99, "GPIO99",
1091                 MTK_EINT_FUNCTION(0, 99),
1092                 DRV_GRP4,
1093                 MTK_FUNCTION(0, "GPIO99"),
1094                 MTK_FUNCTION(1, "URXD0")
1095         ),
1096         MTK_PIN(
1097                 100, "GPIO100",
1098                 MTK_EINT_FUNCTION(0, 100),
1099                 DRV_GRP4,
1100                 MTK_FUNCTION(0, "GPIO100"),
1101                 MTK_FUNCTION(1, "URTS1"),
1102                 MTK_FUNCTION(2, "DSI_TE"),
1103                 MTK_FUNCTION(3, "I2SO1_D8"),
1104                 MTK_FUNCTION(4, "KPROW2"),
1105                 MTK_FUNCTION(5, "PWM_0"),
1106                 MTK_FUNCTION(6, "TP_URTS1_AO"),
1107                 MTK_FUNCTION(7, "I2SIN_D0")
1108         ),
1109         MTK_PIN(
1110                 101, "GPIO101",
1111                 MTK_EINT_FUNCTION(0, 101),
1112                 DRV_GRP4,
1113                 MTK_FUNCTION(0, "GPIO101"),
1114                 MTK_FUNCTION(1, "UCTS1"),
1115                 MTK_FUNCTION(2, "DSI1_TE"),
1116                 MTK_FUNCTION(3, "I2SO1_D9"),
1117                 MTK_FUNCTION(4, "KPCOL2"),
1118                 MTK_FUNCTION(5, "PWM_1"),
1119                 MTK_FUNCTION(6, "TP_UCTS1_AO"),
1120                 MTK_FUNCTION(7, "I2SIN_D1")
1121         ),
1122         MTK_PIN(
1123                 102, "GPIO102",
1124                 MTK_EINT_FUNCTION(0, 102),
1125                 DRV_GRP4,
1126                 MTK_FUNCTION(0, "GPIO102"),
1127                 MTK_FUNCTION(1, "UTXD1"),
1128                 MTK_FUNCTION(2, "VBUSVALID_2P"),
1129                 MTK_FUNCTION(3, "I2SO1_D10"),
1130                 MTK_FUNCTION(4, "SSPM_UTXD_AO"),
1131                 MTK_FUNCTION(5, "TP_UTXD1_AO"),
1132                 MTK_FUNCTION(6, "MD32_1_TXD"),
1133                 MTK_FUNCTION(7, "I2SIN_D2")
1134         ),
1135         MTK_PIN(
1136                 103, "GPIO103",
1137                 MTK_EINT_FUNCTION(0, 103),
1138                 DRV_GRP4,
1139                 MTK_FUNCTION(0, "GPIO103"),
1140                 MTK_FUNCTION(1, "URXD1"),
1141                 MTK_FUNCTION(2, "VBUSVALID_3P"),
1142                 MTK_FUNCTION(3, "I2SO1_D11"),
1143                 MTK_FUNCTION(4, "SSPM_URXD_AO"),
1144                 MTK_FUNCTION(5, "TP_URXD1_AO"),
1145                 MTK_FUNCTION(6, "MD32_1_RXD"),
1146                 MTK_FUNCTION(7, "I2SIN_D3")
1147         ),
1148         MTK_PIN(
1149                 104, "GPIO104",
1150                 MTK_EINT_FUNCTION(0, 104),
1151                 DRV_GRP4,
1152                 MTK_FUNCTION(0, "GPIO104"),
1153                 MTK_FUNCTION(1, "KPROW0"),
1154                 MTK_FUNCTION(2, "DISP_PWM1")
1155         ),
1156         MTK_PIN(
1157                 105, "GPIO105",
1158                 MTK_EINT_FUNCTION(0, 105),
1159                 DRV_GRP4,
1160                 MTK_FUNCTION(0, "GPIO105"),
1161                 MTK_FUNCTION(1, "KPROW1"),
1162                 MTK_FUNCTION(2, "EDP_TX_HPD"),
1163                 MTK_FUNCTION(3, "PWM_2")
1164         ),
1165         MTK_PIN(
1166                 106, "GPIO106",
1167                 MTK_EINT_FUNCTION(0, 106),
1168                 DRV_GRP4,
1169                 MTK_FUNCTION(0, "GPIO106"),
1170                 MTK_FUNCTION(1, "KPCOL0")
1171         ),
1172         MTK_PIN(
1173                 107, "GPIO107",
1174                 MTK_EINT_FUNCTION(0, 107),
1175                 DRV_GRP4,
1176                 MTK_FUNCTION(0, "GPIO107"),
1177                 MTK_FUNCTION(1, "KPCOL1"),
1178                 MTK_FUNCTION(2, "DSI1_TE"),
1179                 MTK_FUNCTION(3, "PWM_3"),
1180                 MTK_FUNCTION(4, "SCP_SCL3"),
1181                 MTK_FUNCTION(5, "I2SIN_MCK")
1182         ),
1183         MTK_PIN(
1184                 108, "GPIO108",
1185                 MTK_EINT_FUNCTION(0, 108),
1186                 DRV_GRP4,
1187                 MTK_FUNCTION(0, "GPIO108"),
1188                 MTK_FUNCTION(1, "LCM_RST"),
1189                 MTK_FUNCTION(2, "KPCOL1"),
1190                 MTK_FUNCTION(4, "SCP_SDA3"),
1191                 MTK_FUNCTION(5, "I2SIN_BCK")
1192         ),
1193         MTK_PIN(
1194                 109, "GPIO109",
1195                 MTK_EINT_FUNCTION(0, 109),
1196                 DRV_GRP4,
1197                 MTK_FUNCTION(0, "GPIO109"),
1198                 MTK_FUNCTION(1, "DSI_TE"),
1199                 MTK_FUNCTION(2, "I2SIN_D3"),
1200                 MTK_FUNCTION(5, "I2SIN_WS")
1201         ),
1202         MTK_PIN(
1203                 110, "GPIO110",
1204                 MTK_EINT_FUNCTION(0, 110),
1205                 DRV_GRP4,
1206                 MTK_FUNCTION(0, "GPIO110"),
1207                 MTK_FUNCTION(1, "MSDC1_CMD"),
1208                 MTK_FUNCTION(2, "JTMS_SEL3"),
1209                 MTK_FUNCTION(3, "UDI_TMS"),
1210                 MTK_FUNCTION(5, "CCU1_JTAG_TMS"),
1211                 MTK_FUNCTION(6, "IPU_JTAG_TMS")
1212         ),
1213         MTK_PIN(
1214                 111, "GPIO111",
1215                 MTK_EINT_FUNCTION(0, 111),
1216                 DRV_GRP4,
1217                 MTK_FUNCTION(0, "GPIO111"),
1218                 MTK_FUNCTION(1, "MSDC1_CLK"),
1219                 MTK_FUNCTION(2, "JTCK_SEL3"),
1220                 MTK_FUNCTION(3, "UDI_TCK"),
1221                 MTK_FUNCTION(5, "CCU1_JTAG_TCK"),
1222                 MTK_FUNCTION(6, "IPU_JTAG_TCK")
1223         ),
1224         MTK_PIN(
1225                 112, "GPIO112",
1226                 MTK_EINT_FUNCTION(0, 112),
1227                 DRV_GRP4,
1228                 MTK_FUNCTION(0, "GPIO112"),
1229                 MTK_FUNCTION(1, "MSDC1_DAT0"),
1230                 MTK_FUNCTION(2, "JTDI_SEL3"),
1231                 MTK_FUNCTION(3, "UDI_TDI"),
1232                 MTK_FUNCTION(4, "I2SO2_D0"),
1233                 MTK_FUNCTION(5, "CCU1_JTAG_TDI"),
1234                 MTK_FUNCTION(6, "IPU_JTAG_TDI")
1235         ),
1236         MTK_PIN(
1237                 113, "GPIO113",
1238                 MTK_EINT_FUNCTION(0, 113),
1239                 DRV_GRP4,
1240                 MTK_FUNCTION(0, "GPIO113"),
1241                 MTK_FUNCTION(1, "MSDC1_DAT1"),
1242                 MTK_FUNCTION(2, "JTDO_SEL3"),
1243                 MTK_FUNCTION(3, "UDI_TDO"),
1244                 MTK_FUNCTION(4, "I2SO2_D1"),
1245                 MTK_FUNCTION(5, "CCU1_JTAG_TDO"),
1246                 MTK_FUNCTION(6, "IPU_JTAG_TDO")
1247         ),
1248         MTK_PIN(
1249                 114, "GPIO114",
1250                 MTK_EINT_FUNCTION(0, 114),
1251                 DRV_GRP4,
1252                 MTK_FUNCTION(0, "GPIO114"),
1253                 MTK_FUNCTION(1, "MSDC1_DAT2"),
1254                 MTK_FUNCTION(2, "JTRSTn_SEL3"),
1255                 MTK_FUNCTION(3, "UDI_NTRST"),
1256                 MTK_FUNCTION(4, "I2SO2_D2"),
1257                 MTK_FUNCTION(5, "CCU1_JTAG_TRST"),
1258                 MTK_FUNCTION(6, "IPU_JTAG_TRST")
1259         ),
1260         MTK_PIN(
1261                 115, "GPIO115",
1262                 MTK_EINT_FUNCTION(0, 115),
1263                 DRV_GRP4,
1264                 MTK_FUNCTION(0, "GPIO115"),
1265                 MTK_FUNCTION(1, "MSDC1_DAT3"),
1266                 MTK_FUNCTION(4, "I2SO2_D3"),
1267                 MTK_FUNCTION(6, "MD32_1_GPIO2")
1268         ),
1269         MTK_PIN(
1270                 116, "GPIO116",
1271                 MTK_EINT_FUNCTION(0, 116),
1272                 DRV_GRP4,
1273                 MTK_FUNCTION(0, "GPIO116"),
1274                 MTK_FUNCTION(1, "MSDC0_DAT7")
1275         ),
1276         MTK_PIN(
1277                 117, "GPIO117",
1278                 MTK_EINT_FUNCTION(0, 117),
1279                 DRV_GRP4,
1280                 MTK_FUNCTION(0, "GPIO117"),
1281                 MTK_FUNCTION(1, "MSDC0_DAT6")
1282         ),
1283         MTK_PIN(
1284                 118, "GPIO118",
1285                 MTK_EINT_FUNCTION(0, 118),
1286                 DRV_GRP4,
1287                 MTK_FUNCTION(0, "GPIO118"),
1288                 MTK_FUNCTION(1, "MSDC0_DAT5")
1289         ),
1290         MTK_PIN(
1291                 119, "GPIO119",
1292                 MTK_EINT_FUNCTION(0, 119),
1293                 DRV_GRP4,
1294                 MTK_FUNCTION(0, "GPIO119"),
1295                 MTK_FUNCTION(1, "MSDC0_DAT4")
1296         ),
1297         MTK_PIN(
1298                 120, "GPIO120",
1299                 MTK_EINT_FUNCTION(0, 120),
1300                 DRV_GRP4,
1301                 MTK_FUNCTION(0, "GPIO120"),
1302                 MTK_FUNCTION(1, "MSDC0_RSTB")
1303         ),
1304         MTK_PIN(
1305                 121, "GPIO121",
1306                 MTK_EINT_FUNCTION(0, 121),
1307                 DRV_GRP4,
1308                 MTK_FUNCTION(0, "GPIO121"),
1309                 MTK_FUNCTION(1, "MSDC0_CMD")
1310         ),
1311         MTK_PIN(
1312                 122, "GPIO122",
1313                 MTK_EINT_FUNCTION(0, 122),
1314                 DRV_GRP4,
1315                 MTK_FUNCTION(0, "GPIO122"),
1316                 MTK_FUNCTION(1, "MSDC0_CLK")
1317         ),
1318         MTK_PIN(
1319                 123, "GPIO123",
1320                 MTK_EINT_FUNCTION(0, 123),
1321                 DRV_GRP4,
1322                 MTK_FUNCTION(0, "GPIO123"),
1323                 MTK_FUNCTION(1, "MSDC0_DAT3")
1324         ),
1325         MTK_PIN(
1326                 124, "GPIO124",
1327                 MTK_EINT_FUNCTION(0, 124),
1328                 DRV_GRP4,
1329                 MTK_FUNCTION(0, "GPIO124"),
1330                 MTK_FUNCTION(1, "MSDC0_DAT2")
1331         ),
1332         MTK_PIN(
1333                 125, "GPIO125",
1334                 MTK_EINT_FUNCTION(0, 125),
1335                 DRV_GRP4,
1336                 MTK_FUNCTION(0, "GPIO125"),
1337                 MTK_FUNCTION(1, "MSDC0_DAT1")
1338         ),
1339         MTK_PIN(
1340                 126, "GPIO126",
1341                 MTK_EINT_FUNCTION(0, 126),
1342                 DRV_GRP4,
1343                 MTK_FUNCTION(0, "GPIO126"),
1344                 MTK_FUNCTION(1, "MSDC0_DAT0")
1345         ),
1346         MTK_PIN(
1347                 127, "GPIO127",
1348                 MTK_EINT_FUNCTION(0, 127),
1349                 DRV_GRP4,
1350                 MTK_FUNCTION(0, "GPIO127"),
1351                 MTK_FUNCTION(1, "MSDC0_DSL")
1352         ),
1353         MTK_PIN(
1354                 128, "GPIO128",
1355                 MTK_EINT_FUNCTION(0, 128),
1356                 DRV_GRP4,
1357                 MTK_FUNCTION(0, "GPIO128"),
1358                 MTK_FUNCTION(1, "IDDIG"),
1359                 MTK_FUNCTION(2, "UCTS2"),
1360                 MTK_FUNCTION(3, "UTXD5"),
1361                 MTK_FUNCTION(4, "UFS_MPHY_SCL"),
1362                 MTK_FUNCTION(5, "mbistreaden_trigger"),
1363                 MTK_FUNCTION(6, "MD32_1_GPIO0"),
1364                 MTK_FUNCTION(7, "SCP_SCL2")
1365         ),
1366         MTK_PIN(
1367                 129, "GPIO129",
1368                 MTK_EINT_FUNCTION(0, 129),
1369                 DRV_GRP4,
1370                 MTK_FUNCTION(0, "GPIO129"),
1371                 MTK_FUNCTION(1, "USB_DRVVBUS"),
1372                 MTK_FUNCTION(2, "URTS2"),
1373                 MTK_FUNCTION(3, "URXD5"),
1374                 MTK_FUNCTION(4, "UFS_MPHY_SDA"),
1375                 MTK_FUNCTION(5, "mbistwriteen_trigger"),
1376                 MTK_FUNCTION(6, "MD32_1_GPIO1"),
1377                 MTK_FUNCTION(7, "SCP_SDA2")
1378         ),
1379         MTK_PIN(
1380                 130, "GPIO130",
1381                 MTK_EINT_FUNCTION(0, 130),
1382                 DRV_GRP4,
1383                 MTK_FUNCTION(0, "GPIO130"),
1384                 MTK_FUNCTION(1, "IDDIG_1P"),
1385                 MTK_FUNCTION(2, "SPINOR_IO2"),
1386                 MTK_FUNCTION(3, "SNFI_WP"),
1387                 MTK_FUNCTION(4, "VPU_UDI_NTRST")
1388         ),
1389         MTK_PIN(
1390                 131, "GPIO131",
1391                 MTK_EINT_FUNCTION(0, 131),
1392                 DRV_GRP4,
1393                 MTK_FUNCTION(0, "GPIO131"),
1394                 MTK_FUNCTION(1, "USB_DRVVBUS_1P"),
1395                 MTK_FUNCTION(2, "SPINOR_IO3"),
1396                 MTK_FUNCTION(3, "SNFI_HOLD"),
1397                 MTK_FUNCTION(4, "MD32_1_JTAG_TRST"),
1398                 MTK_FUNCTION(5, "SCP_JTAG0_TRSTN"),
1399                 MTK_FUNCTION(6, "APU_JTAG_TRST")
1400         ),
1401         MTK_PIN(
1402                 132, "GPIO132",
1403                 MTK_EINT_FUNCTION(0, 132),
1404                 DRV_GRP4,
1405                 MTK_FUNCTION(0, "GPIO132"),
1406                 MTK_FUNCTION(1, "SPIM0_CSB"),
1407                 MTK_FUNCTION(2, "SCP_SPI0_CS"),
1408                 MTK_FUNCTION(3, "SPIS0_CSB"),
1409                 MTK_FUNCTION(4, "VPU_UDI_TMS"),
1410                 MTK_FUNCTION(6, "I2SO5_D0")
1411         ),
1412         MTK_PIN(
1413                 133, "GPIO133",
1414                 MTK_EINT_FUNCTION(0, 133),
1415                 DRV_GRP4,
1416                 MTK_FUNCTION(0, "GPIO133"),
1417                 MTK_FUNCTION(1, "SPIM0_CLK"),
1418                 MTK_FUNCTION(2, "SCP_SPI0_CK"),
1419                 MTK_FUNCTION(3, "SPIS0_CLK"),
1420                 MTK_FUNCTION(4, "VPU_UDI_TCK"),
1421                 MTK_FUNCTION(6, "I2SO5_BCK")
1422         ),
1423         MTK_PIN(
1424                 134, "GPIO134",
1425                 MTK_EINT_FUNCTION(0, 134),
1426                 DRV_GRP4,
1427                 MTK_FUNCTION(0, "GPIO134"),
1428                 MTK_FUNCTION(1, "SPIM0_MO"),
1429                 MTK_FUNCTION(2, "SCP_SPI0_MO"),
1430                 MTK_FUNCTION(3, "SPIS0_SI"),
1431                 MTK_FUNCTION(4, "VPU_UDI_TDO"),
1432                 MTK_FUNCTION(6, "I2SO5_WS")
1433         ),
1434         MTK_PIN(
1435                 135, "GPIO135",
1436                 MTK_EINT_FUNCTION(0, 135),
1437                 DRV_GRP4,
1438                 MTK_FUNCTION(0, "GPIO135"),
1439                 MTK_FUNCTION(1, "SPIM0_MI"),
1440                 MTK_FUNCTION(2, "SCP_SPI0_MI"),
1441                 MTK_FUNCTION(3, "SPIS0_SO"),
1442                 MTK_FUNCTION(4, "VPU_UDI_TDI"),
1443                 MTK_FUNCTION(6, "I2SO5_MCK")
1444         ),
1445         MTK_PIN(
1446                 136, "GPIO136",
1447                 MTK_EINT_FUNCTION(0, 136),
1448                 DRV_GRP4,
1449                 MTK_FUNCTION(0, "GPIO136"),
1450                 MTK_FUNCTION(1, "SPIM1_CSB"),
1451                 MTK_FUNCTION(2, "SCP_SPI1_A_CS"),
1452                 MTK_FUNCTION(3, "SPIS1_CSB"),
1453                 MTK_FUNCTION(4, "MD32_1_JTAG_TMS"),
1454                 MTK_FUNCTION(5, "SCP_JTAG0_TMS"),
1455                 MTK_FUNCTION(6, "APU_JTAG_TMS"),
1456                 MTK_FUNCTION(7, "DBG_MON_A15")
1457         ),
1458         MTK_PIN(
1459                 137, "GPIO137",
1460                 MTK_EINT_FUNCTION(0, 137),
1461                 DRV_GRP4,
1462                 MTK_FUNCTION(0, "GPIO137"),
1463                 MTK_FUNCTION(1, "SPIM1_CLK"),
1464                 MTK_FUNCTION(2, "SCP_SPI1_A_CK"),
1465                 MTK_FUNCTION(3, "SPIS1_CLK"),
1466                 MTK_FUNCTION(4, "MD32_1_JTAG_TCK"),
1467                 MTK_FUNCTION(5, "SCP_JTAG0_TCK"),
1468                 MTK_FUNCTION(6, "APU_JTAG_TCK"),
1469                 MTK_FUNCTION(7, "DBG_MON_A14")
1470         ),
1471         MTK_PIN(
1472                 138, "GPIO138",
1473                 MTK_EINT_FUNCTION(0, 138),
1474                 DRV_GRP4,
1475                 MTK_FUNCTION(0, "GPIO138"),
1476                 MTK_FUNCTION(1, "SPIM1_MO"),
1477                 MTK_FUNCTION(2, "SCP_SPI1_A_MO"),
1478                 MTK_FUNCTION(3, "SPIS1_SI"),
1479                 MTK_FUNCTION(4, "MD32_1_JTAG_TDO"),
1480                 MTK_FUNCTION(5, "SCP_JTAG0_TDO"),
1481                 MTK_FUNCTION(6, "APU_JTAG_TDO"),
1482                 MTK_FUNCTION(7, "DBG_MON_A16")
1483         ),
1484         MTK_PIN(
1485                 139, "GPIO139",
1486                 MTK_EINT_FUNCTION(0, 139),
1487                 DRV_GRP4,
1488                 MTK_FUNCTION(0, "GPIO139"),
1489                 MTK_FUNCTION(1, "SPIM1_MI"),
1490                 MTK_FUNCTION(2, "SCP_SPI1_A_MI"),
1491                 MTK_FUNCTION(3, "SPIS1_SO"),
1492                 MTK_FUNCTION(4, "MD32_1_JTAG_TDI"),
1493                 MTK_FUNCTION(5, "SCP_JTAG0_TDI"),
1494                 MTK_FUNCTION(6, "APU_JTAG_TDI"),
1495                 MTK_FUNCTION(7, "DBG_MON_A17")
1496         ),
1497         MTK_PIN(
1498                 140, "GPIO140",
1499                 MTK_EINT_FUNCTION(0, 140),
1500                 DRV_GRP4,
1501                 MTK_FUNCTION(0, "GPIO140"),
1502                 MTK_FUNCTION(1, "SPIM2_CSB"),
1503                 MTK_FUNCTION(2, "SPINOR_CS"),
1504                 MTK_FUNCTION(3, "SNFI_CS"),
1505                 MTK_FUNCTION(4, "DMIC3_DAT"),
1506                 MTK_FUNCTION(7, "DBG_MON_A11")
1507         ),
1508         MTK_PIN(
1509                 141, "GPIO141",
1510                 MTK_EINT_FUNCTION(0, 141),
1511                 DRV_GRP4,
1512                 MTK_FUNCTION(0, "GPIO141"),
1513                 MTK_FUNCTION(1, "SPIM2_CLK"),
1514                 MTK_FUNCTION(2, "SPINOR_CK"),
1515                 MTK_FUNCTION(3, "SNFI_CLK"),
1516                 MTK_FUNCTION(4, "DMIC3_CLK"),
1517                 MTK_FUNCTION(7, "DBG_MON_A10")
1518         ),
1519         MTK_PIN(
1520                 142, "GPIO142",
1521                 MTK_EINT_FUNCTION(0, 142),
1522                 DRV_GRP4,
1523                 MTK_FUNCTION(0, "GPIO142"),
1524                 MTK_FUNCTION(1, "SPIM2_MO"),
1525                 MTK_FUNCTION(2, "SPINOR_IO0"),
1526                 MTK_FUNCTION(3, "SNFI_MOSI"),
1527                 MTK_FUNCTION(4, "DMIC4_DAT"),
1528                 MTK_FUNCTION(7, "DBG_MON_A12")
1529         ),
1530         MTK_PIN(
1531                 143, "GPIO143",
1532                 MTK_EINT_FUNCTION(0, 143),
1533                 DRV_GRP4,
1534                 MTK_FUNCTION(0, "GPIO143"),
1535                 MTK_FUNCTION(1, "SPIM2_MI"),
1536                 MTK_FUNCTION(2, "SPINOR_IO1"),
1537                 MTK_FUNCTION(3, "SNFI_MISO"),
1538                 MTK_FUNCTION(4, "DMIC4_CLK"),
1539                 MTK_FUNCTION(7, "DBG_MON_A13")
1540         ),
1541         MTK_PIN(
1542                 144, "GPIO144",
1543                 MTK_EINT_FUNCTION(0, 144),
1544                 DRV_FIXED,
1545                 MTK_FUNCTION(0, NULL)
1546         ),
1547         MTK_PIN(
1548                 145, "GPIO145",
1549                 MTK_EINT_FUNCTION(0, 145),
1550                 DRV_FIXED,
1551                 MTK_FUNCTION(0, NULL)
1552         ),
1553         MTK_PIN(
1554                 146, "GPIO146",
1555                 MTK_EINT_FUNCTION(0, 146),
1556                 DRV_FIXED,
1557                 MTK_FUNCTION(0, NULL)
1558         ),
1559         MTK_PIN(
1560                 147, "GPIO147",
1561                 MTK_EINT_FUNCTION(0, 147),
1562                 DRV_FIXED,
1563                 MTK_FUNCTION(0, NULL)
1564         ),
1565         MTK_PIN(
1566                 148, "GPIO148",
1567                 MTK_EINT_FUNCTION(0, 148),
1568                 DRV_FIXED,
1569                 MTK_FUNCTION(0, NULL)
1570         ),
1571         MTK_PIN(
1572                 149, "GPIO149",
1573                 MTK_EINT_FUNCTION(0, 149),
1574                 DRV_FIXED,
1575                 MTK_FUNCTION(0, NULL)
1576         ),
1577         MTK_PIN(
1578                 150, "GPIO150",
1579                 MTK_EINT_FUNCTION(0, 150),
1580                 DRV_FIXED,
1581                 MTK_FUNCTION(0, NULL)
1582         ),
1583         MTK_PIN(
1584                 151, "GPIO151",
1585                 MTK_EINT_FUNCTION(0, 151),
1586                 DRV_FIXED,
1587                 MTK_FUNCTION(0, NULL)
1588         ),
1589         MTK_PIN(
1590                 152, "GPIO152",
1591                 MTK_EINT_FUNCTION(0, 152),
1592                 DRV_FIXED,
1593                 MTK_FUNCTION(0, NULL)
1594         ),
1595         MTK_PIN(
1596                 153, "GPIO153",
1597                 MTK_EINT_FUNCTION(0, 153),
1598                 DRV_FIXED,
1599                 MTK_FUNCTION(0, NULL)
1600         ),
1601         MTK_PIN(
1602                 154, "GPIO154",
1603                 MTK_EINT_FUNCTION(0, 154),
1604                 DRV_GRP4,
1605                 MTK_FUNCTION(0, NULL)
1606         ),
1607         MTK_PIN(
1608                 155, "GPIO155",
1609                 MTK_EINT_FUNCTION(0, 155),
1610                 DRV_FIXED,
1611                 MTK_FUNCTION(0, NULL)
1612         ),
1613         MTK_PIN(
1614                 156, "GPIO156",
1615                 MTK_EINT_FUNCTION(0, 216),
1616                 DRV_FIXED,
1617                 MTK_FUNCTION(0, NULL)
1618         ),
1619         MTK_PIN(
1620                 157, "GPIO157",
1621                 MTK_EINT_FUNCTION(0, 217),
1622                 DRV_FIXED,
1623                 MTK_FUNCTION(0, NULL)
1624         ),
1625         MTK_PIN(
1626                 158, "GPIO158",
1627                 MTK_EINT_FUNCTION(0, 218),
1628                 DRV_FIXED,
1629                 MTK_FUNCTION(0, NULL)
1630         ),
1631         MTK_PIN(
1632                 159, "GPIO159",
1633                 MTK_EINT_FUNCTION(0, 219),
1634                 DRV_FIXED,
1635                 MTK_FUNCTION(0, NULL)
1636         ),
1637         MTK_PIN(
1638                 160, "GPIO160",
1639                 MTK_EINT_FUNCTION(0, 220),
1640                 DRV_FIXED,
1641                 MTK_FUNCTION(0, NULL)
1642         ),
1643         MTK_PIN(
1644                 161, "GPIO161",
1645                 MTK_EINT_FUNCTION(0, 221),
1646                 DRV_FIXED,
1647                 MTK_FUNCTION(0, NULL)
1648         ),
1649         MTK_PIN(
1650                 162, "GPIO162",
1651                 MTK_EINT_FUNCTION(0, 222),
1652                 DRV_FIXED,
1653                 MTK_FUNCTION(0, NULL)
1654         ),
1655         MTK_PIN(
1656                 163, "GPIO163",
1657                 MTK_EINT_FUNCTION(0, 223),
1658                 DRV_FIXED,
1659                 MTK_FUNCTION(0, NULL)
1660         ),
1661         MTK_PIN(
1662                 164, "GPIO164",
1663                 MTK_EINT_FUNCTION(0, 224),
1664                 DRV_FIXED,
1665                 MTK_FUNCTION(0, NULL)
1666         )
1667 };
1668
1669 #endif /* __PINCTRL_MTK_MT8195_H */