GNU Linux-libre 4.9.306-gnu1
[releases.git] / drivers / pinctrl / mediatek / pinctrl-mtk-mt7623.h
1 /*
2  * Copyright (c) 2016 John Crispin <blogic@openwrt.org>
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License version 2 as
6  * published by the Free Software Foundation.
7  *
8  * This program is distributed in the hope that it will be useful,
9  * but WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11  * GNU General Public License for more details.
12  */
13
14 #ifndef __PINCTRL_MTK_MT7623_H
15 #define __PINCTRL_MTK_MT7623_H
16
17 #include <linux/pinctrl/pinctrl.h>
18 #include "pinctrl-mtk-common.h"
19
20 static const struct mtk_desc_pin mtk_pins_mt7623[] = {
21         MTK_PIN(
22                 PINCTRL_PIN(0, "PWRAP_SPI0_MI"),
23                 "J20", "mt7623",
24                 MTK_EINT_FUNCTION(0, 148),
25                 MTK_FUNCTION(0, "GPIO0"),
26                 MTK_FUNCTION(1, "PWRAP_SPIDO"),
27                 MTK_FUNCTION(2, "PWRAP_SPIDI")
28         ),
29         MTK_PIN(
30                 PINCTRL_PIN(1, "PWRAP_SPI0_MO"),
31                 "D10", "mt7623",
32                 MTK_EINT_FUNCTION(0, 149),
33                 MTK_FUNCTION(0, "GPIO1"),
34                 MTK_FUNCTION(1, "PWRAP_SPIDI"),
35                 MTK_FUNCTION(2, "PWRAP_SPIDO")
36         ),
37         MTK_PIN(
38                 PINCTRL_PIN(2, "PWRAP_INT"),
39                 "E11", "mt7623",
40                 MTK_EINT_FUNCTION(0, 150),
41                 MTK_FUNCTION(0, "GPIO2"),
42                 MTK_FUNCTION(1, "PWRAP_INT")
43         ),
44         MTK_PIN(
45                 PINCTRL_PIN(3, "PWRAP_SPI0_CK"),
46                 "H12", "mt7623",
47                 MTK_EINT_FUNCTION(0, 151),
48                 MTK_FUNCTION(0, "GPIO3"),
49                 MTK_FUNCTION(1, "PWRAP_SPICK_I")
50         ),
51         MTK_PIN(
52                 PINCTRL_PIN(4, "PWRAP_SPI0_CSN"),
53                 "E12", "mt7623",
54                 MTK_EINT_FUNCTION(0, 152),
55                 MTK_FUNCTION(0, "GPIO4"),
56                 MTK_FUNCTION(1, "PWRAP_SPICS_B_I")
57         ),
58         MTK_PIN(
59                 PINCTRL_PIN(5, "PWRAP_SPI0_CK2"),
60                 "H11", "mt7623",
61                 MTK_EINT_FUNCTION(0, 155),
62                 MTK_FUNCTION(0, "GPIO5"),
63                 MTK_FUNCTION(1, "PWRAP_SPICK2_I")
64         ),
65         MTK_PIN(
66                 PINCTRL_PIN(6, "PWRAP_SPI0_CSN2"),
67                 "G11", "mt7623",
68                 MTK_EINT_FUNCTION(0, 156),
69                 MTK_FUNCTION(0, "GPIO6"),
70                 MTK_FUNCTION(1, "PWRAP_SPICS2_B_I")
71         ),
72         MTK_PIN(
73                 PINCTRL_PIN(7, "SPI1_CSN"),
74                 "G19", "mt7623",
75                 MTK_EINT_FUNCTION(0, 153),
76                 MTK_FUNCTION(0, "GPIO7"),
77                 MTK_FUNCTION(1, "SPI1_CS")
78         ),
79         MTK_PIN(
80                 PINCTRL_PIN(8, "SPI1_MI"),
81                 "F19", "mt7623",
82                 MTK_EINT_FUNCTION(0, 154),
83                 MTK_FUNCTION(0, "GPIO8"),
84                 MTK_FUNCTION(1, "SPI1_MI"),
85                 MTK_FUNCTION(2, "SPI1_MO")
86         ),
87         MTK_PIN(
88                 PINCTRL_PIN(9, "SPI1_MO"),
89                 "G20", "mt7623",
90                 MTK_EINT_FUNCTION(0, 157),
91                 MTK_FUNCTION(0, "GPIO9"),
92                 MTK_FUNCTION(1, "SPI1_MO"),
93                 MTK_FUNCTION(2, "SPI1_MI")
94         ),
95         MTK_PIN(
96                 PINCTRL_PIN(10, "RTC32K_CK"),
97                 "A13", "mt7623",
98                 MTK_EINT_FUNCTION(0, 158),
99                 MTK_FUNCTION(0, "GPIO10"),
100                 MTK_FUNCTION(1, "RTC32K_CK")
101         ),
102         MTK_PIN(
103                 PINCTRL_PIN(11, "WATCHDOG"),
104                 "D14", "mt7623",
105                 MTK_EINT_FUNCTION(0, 159),
106                 MTK_FUNCTION(0, "GPIO11"),
107                 MTK_FUNCTION(1, "WATCHDOG")
108         ),
109         MTK_PIN(
110                 PINCTRL_PIN(12, "SRCLKENA"),
111                 "C13", "mt7623",
112                 MTK_EINT_FUNCTION(0, 169),
113                 MTK_FUNCTION(0, "GPIO12"),
114                 MTK_FUNCTION(1, "SRCLKENA")
115         ),
116         MTK_PIN(
117                 PINCTRL_PIN(13, "SRCLKENAI"),
118                 "B13", "mt7623",
119                 MTK_EINT_FUNCTION(0, 161),
120                 MTK_FUNCTION(0, "GPIO13"),
121                 MTK_FUNCTION(1, "SRCLKENAI")
122         ),
123         MTK_PIN(
124                 PINCTRL_PIN(14, "GPIO14"),
125                 "E18", "mt7623",
126                 MTK_EINT_FUNCTION(0, 162),
127                 MTK_FUNCTION(0, "GPIO14"),
128                 MTK_FUNCTION(1, "URXD2"),
129                 MTK_FUNCTION(2, "UTXD2")
130         ),
131         MTK_PIN(
132                 PINCTRL_PIN(15, "GPIO15"),
133                 "E17", "mt7623",
134                 MTK_EINT_FUNCTION(0, 163),
135                 MTK_FUNCTION(0, "GPIO15"),
136                 MTK_FUNCTION(1, "UTXD2"),
137                 MTK_FUNCTION(2, "URXD2")
138         ),
139         MTK_PIN(
140                 PINCTRL_PIN(16, "GPIO16"),
141                 NULL, "mt7623",
142                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
143                 MTK_FUNCTION(0, "GPIO16")
144         ),
145         MTK_PIN(
146                 PINCTRL_PIN(17, "GPIO17"),
147                 NULL, "mt7623",
148                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
149                 MTK_FUNCTION(0, "GPIO17")
150         ),
151         MTK_PIN(
152                 PINCTRL_PIN(18, "PCM_CLK"),
153                 "C19", "mt7623",
154                 MTK_EINT_FUNCTION(0, 166),
155                 MTK_FUNCTION(0, "GPIO18"),
156                 MTK_FUNCTION(1, "PCM_CLK0"),
157                 MTK_FUNCTION(6, "AP_PCM_CLKO")
158         ),
159         MTK_PIN(
160                 PINCTRL_PIN(19, "PCM_SYNC"),
161                 "D19", "mt7623",
162                 MTK_EINT_FUNCTION(0, 167),
163                 MTK_FUNCTION(0, "GPIO19"),
164                 MTK_FUNCTION(1, "PCM_SYNC"),
165                 MTK_FUNCTION(6, "AP_PCM_SYNC")
166         ),
167         MTK_PIN(
168                 PINCTRL_PIN(20, "PCM_RX"),
169                 "D18", "mt7623",
170                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
171                 MTK_FUNCTION(0, "GPIO20"),
172                 MTK_FUNCTION(1, "PCM_RX"),
173                 MTK_FUNCTION(4, "PCM_TX"),
174                 MTK_FUNCTION(6, "AP_PCM_RX")
175         ),
176         MTK_PIN(
177                 PINCTRL_PIN(21, "PCM_TX"),
178                 "C18", "mt7623",
179                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
180                 MTK_FUNCTION(0, "GPIO21"),
181                 MTK_FUNCTION(1, "PCM_TX"),
182                 MTK_FUNCTION(4, "PCM_RX"),
183                 MTK_FUNCTION(6, "AP_PCM_TX")
184         ),
185         MTK_PIN(
186                 PINCTRL_PIN(22, "EINT0"),
187                 "H15", "mt7623",
188                 MTK_EINT_FUNCTION(0, 0),
189                 MTK_FUNCTION(0, "GPIO22"),
190                 MTK_FUNCTION(1, "UCTS0"),
191                 MTK_FUNCTION(2, "PCIE0_PERST_N")
192         ),
193         MTK_PIN(
194                 PINCTRL_PIN(23, "EINT1"),
195                 "J16", "mt7623",
196                 MTK_EINT_FUNCTION(0, 1),
197                 MTK_FUNCTION(0, "GPIO23"),
198                 MTK_FUNCTION(1, "URTS0"),
199                 MTK_FUNCTION(2, "PCIE1_PERST_N")
200         ),
201         MTK_PIN(
202                 PINCTRL_PIN(24, "EINT2"),
203                 "H16", "mt7623",
204                 MTK_EINT_FUNCTION(0, 2),
205                 MTK_FUNCTION(0, "GPIO24"),
206                 MTK_FUNCTION(1, "UCTS1"),
207                 MTK_FUNCTION(2, "PCIE2_PERST_N")
208         ),
209         MTK_PIN(
210                 PINCTRL_PIN(25, "EINT3"),
211                 "K15", "mt7623",
212                 MTK_EINT_FUNCTION(0, 3),
213                 MTK_FUNCTION(0, "GPIO25"),
214                 MTK_FUNCTION(1, "URTS1")
215         ),
216         MTK_PIN(
217                 PINCTRL_PIN(26, "EINT4"),
218                 "G15", "mt7623",
219                 MTK_EINT_FUNCTION(0, 4),
220                 MTK_FUNCTION(0, "GPIO26"),
221                 MTK_FUNCTION(1, "UCTS3"),
222                 MTK_FUNCTION(6, "PCIE2_WAKE_N")
223         ),
224         MTK_PIN(
225                 PINCTRL_PIN(27, "EINT5"),
226                 "F15", "mt7623",
227                 MTK_EINT_FUNCTION(0, 5),
228                 MTK_FUNCTION(0, "GPIO27"),
229                 MTK_FUNCTION(1, "URTS3"),
230                 MTK_FUNCTION(6, "PCIE1_WAKE_N")
231         ),
232         MTK_PIN(
233                 PINCTRL_PIN(28, "EINT6"),
234                 "J15", "mt7623",
235                 MTK_EINT_FUNCTION(0, 6),
236                 MTK_FUNCTION(0, "GPIO28"),
237                 MTK_FUNCTION(1, "DRV_VBUS"),
238                 MTK_FUNCTION(6, "PCIE0_WAKE_N")
239         ),
240         MTK_PIN(
241                 PINCTRL_PIN(29, "EINT7"),
242                 "E15", "mt7623",
243                 MTK_EINT_FUNCTION(0, 7),
244                 MTK_FUNCTION(0, "GPIO29"),
245                 MTK_FUNCTION(1, "IDDIG"),
246                 MTK_FUNCTION(2, "MSDC1_WP"),
247                 MTK_FUNCTION(6, "PCIE2_PERST_N")
248         ),
249         MTK_PIN(
250                 PINCTRL_PIN(30, "GPIO30"),
251                 NULL, "mt7623",
252                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
253                 MTK_FUNCTION(0, "GPIO30")
254         ),
255         MTK_PIN(
256                 PINCTRL_PIN(31, "GPIO31"),
257                 NULL, "mt7623",
258                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
259                 MTK_FUNCTION(0, "GPIO31")
260         ),
261         MTK_PIN(
262                 PINCTRL_PIN(32, "GPIO32"),
263                 NULL, "mt7623",
264                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
265                 MTK_FUNCTION(0, "GPIO32")
266         ),
267         MTK_PIN(
268                 PINCTRL_PIN(33, "I2S1_DATA"),
269                 "Y18", "mt7623",
270                 MTK_EINT_FUNCTION(0, 15),
271                 MTK_FUNCTION(0, "GPIO33"),
272                 MTK_FUNCTION(1, "I2S1_DATA"),
273                 MTK_FUNCTION(3, "PCM_TX"),
274                 MTK_FUNCTION(6, "AP_PCM_TX")
275         ),
276         MTK_PIN(
277                 PINCTRL_PIN(34, "I2S1_DATA_IN"),
278                 "Y17", "mt7623",
279                 MTK_EINT_FUNCTION(0, 16),
280                 MTK_FUNCTION(0, "GPIO34"),
281                 MTK_FUNCTION(1, "I2S1_DATA_IN"),
282                 MTK_FUNCTION(3, "PCM_RX"),
283                 MTK_FUNCTION(6, "AP_PCM_RX")
284         ),
285         MTK_PIN(
286                 PINCTRL_PIN(35, "I2S1_BCK"),
287                 "V17", "mt7623",
288                 MTK_EINT_FUNCTION(0, 17),
289                 MTK_FUNCTION(0, "GPIO35"),
290                 MTK_FUNCTION(1, "I2S1_BCK"),
291                 MTK_FUNCTION(3, "PCM_CLK0"),
292                 MTK_FUNCTION(6, "AP_PCM_CLKO")
293         ),
294         MTK_PIN(
295                 PINCTRL_PIN(36, "I2S1_LRCK"),
296                 "W17", "mt7623",
297                 MTK_EINT_FUNCTION(0, 18),
298                 MTK_FUNCTION(0, "GPIO36"),
299                 MTK_FUNCTION(1, "I2S1_LRCK"),
300                 MTK_FUNCTION(3, "PCM_SYNC"),
301                 MTK_FUNCTION(6, "AP_PCM_SYNC")
302         ),
303         MTK_PIN(
304                 PINCTRL_PIN(37, "I2S1_MCLK"),
305                 "AA18", "mt7623",
306                 MTK_EINT_FUNCTION(0, 19),
307                 MTK_FUNCTION(0, "GPIO37"),
308                 MTK_FUNCTION(1, "I2S1_MCLK")
309         ),
310         MTK_PIN(
311                 PINCTRL_PIN(38, "GPIO38"),
312                 NULL, "mt7623",
313                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
314                 MTK_FUNCTION(0, "GPIO38")
315         ),
316         MTK_PIN(
317                 PINCTRL_PIN(39, "JTMS"),
318                 "G21", "mt7623",
319                 MTK_EINT_FUNCTION(0, 21),
320                 MTK_FUNCTION(0, "GPIO39"),
321                 MTK_FUNCTION(1, "JTMS")
322         ),
323         MTK_PIN(
324                 PINCTRL_PIN(40, "GPIO40"),
325                 NULL, "mt7623",
326                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
327                 MTK_FUNCTION(0, "GPIO40")
328         ),
329         MTK_PIN(
330                 PINCTRL_PIN(41, "JTDI"),
331                 "H22", "mt7623",
332                 MTK_EINT_FUNCTION(0, 23),
333                 MTK_FUNCTION(0, "GPIO41"),
334                 MTK_FUNCTION(1, "JTDI")
335         ),
336         MTK_PIN(
337                 PINCTRL_PIN(42, "JTDO"),
338                 "H21", "mt7623",
339                 MTK_EINT_FUNCTION(0, 24),
340                 MTK_FUNCTION(0, "GPIO42"),
341                 MTK_FUNCTION(1, "JTDO")
342         ),
343         MTK_PIN(
344                 PINCTRL_PIN(43, "NCLE"),
345                 "C7", "mt7623",
346                 MTK_EINT_FUNCTION(0, 25),
347                 MTK_FUNCTION(0, "GPIO43"),
348                 MTK_FUNCTION(1, "NCLE"),
349                 MTK_FUNCTION(2, "EXT_XCS2")
350         ),
351         MTK_PIN(
352                 PINCTRL_PIN(44, "NCEB1"),
353                 "C6", "mt7623",
354                 MTK_EINT_FUNCTION(0, 26),
355                 MTK_FUNCTION(0, "GPIO44"),
356                 MTK_FUNCTION(1, "NCEB1"),
357                 MTK_FUNCTION(2, "IDDIG")
358         ),
359         MTK_PIN(
360                 PINCTRL_PIN(45, "NCEB0"),
361                 "D7", "mt7623",
362                 MTK_EINT_FUNCTION(0, 27),
363                 MTK_FUNCTION(0, "GPIO45"),
364                 MTK_FUNCTION(1, "NCEB0"),
365                 MTK_FUNCTION(2, "DRV_VBUS")
366         ),
367         MTK_PIN(
368                 PINCTRL_PIN(46, "IR"),
369                 "D15", "mt7623",
370                 MTK_EINT_FUNCTION(0, 28),
371                 MTK_FUNCTION(0, "GPIO46"),
372                 MTK_FUNCTION(1, "IR")
373         ),
374         MTK_PIN(
375                 PINCTRL_PIN(47, "NREB"),
376                 "A6", "mt7623",
377                 MTK_EINT_FUNCTION(0, 29),
378                 MTK_FUNCTION(0, "GPIO47"),
379                 MTK_FUNCTION(1, "NREB")
380         ),
381         MTK_PIN(
382                 PINCTRL_PIN(48, "NRNB"),
383                 "B6", "mt7623",
384                 MTK_EINT_FUNCTION(0, 30),
385                 MTK_FUNCTION(0, "GPIO48"),
386                 MTK_FUNCTION(1, "NRNB")
387         ),
388         MTK_PIN(
389                 PINCTRL_PIN(49, "I2S0_DATA"),
390                 "AB18", "mt7623",
391                 MTK_EINT_FUNCTION(0, 31),
392                 MTK_FUNCTION(0, "GPIO49"),
393                 MTK_FUNCTION(1, "I2S0_DATA"),
394                 MTK_FUNCTION(3, "PCM_TX"),
395                 MTK_FUNCTION(6, "AP_I2S_DO")
396         ),
397         MTK_PIN(
398                 PINCTRL_PIN(50, "GPIO50"),
399                 NULL, "mt7623",
400                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
401                 MTK_FUNCTION(0, "GPIO50")
402         ),
403         MTK_PIN(
404                 PINCTRL_PIN(51, "GPIO51"),
405                 NULL, "mt7623",
406                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
407                 MTK_FUNCTION(0, "GPIO51")
408         ),
409         MTK_PIN(
410                 PINCTRL_PIN(52, "GPIO52"),
411                 NULL, "mt7623",
412                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
413                 MTK_FUNCTION(0, "GPIO52")
414         ),
415         MTK_PIN(
416                 PINCTRL_PIN(53, "SPI0_CSN"),
417                 "E7", "mt7623",
418                 MTK_EINT_FUNCTION(0, 35),
419                 MTK_FUNCTION(0, "GPIO53"),
420                 MTK_FUNCTION(1, "SPI0_CS"),
421                 MTK_FUNCTION(5, "PWM1")
422         ),
423         MTK_PIN(
424                 PINCTRL_PIN(54, "SPI0_CK"),
425                 "F7", "mt7623",
426                 MTK_EINT_FUNCTION(0, 36),
427                 MTK_FUNCTION(0, "GPIO54"),
428                 MTK_FUNCTION(1, "SPI0_CK")
429         ),
430         MTK_PIN(
431                 PINCTRL_PIN(55, "SPI0_MI"),
432                 "E6", "mt7623",
433                 MTK_EINT_FUNCTION(0, 37),
434                 MTK_FUNCTION(0, "GPIO55"),
435                 MTK_FUNCTION(1, "SPI0_MI"),
436                 MTK_FUNCTION(2, "SPI0_MO"),
437                 MTK_FUNCTION(3, "MSDC1_WP"),
438                 MTK_FUNCTION(5, "PWM2")
439         ),
440         MTK_PIN(
441                 PINCTRL_PIN(56, "SPI0_MO"),
442                 "G7", "mt7623",
443                 MTK_EINT_FUNCTION(0, 38),
444                 MTK_FUNCTION(0, "GPIO56"),
445                 MTK_FUNCTION(1, "SPI0_MO"),
446                 MTK_FUNCTION(2, "SPI0_MI")
447         ),
448         MTK_PIN(
449                 PINCTRL_PIN(57, "GPIO57"),
450                 NULL, "mt7623",
451                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
452                 MTK_FUNCTION(0, "GPIO57")
453         ),
454         MTK_PIN(
455                 PINCTRL_PIN(58, "GPIO58"),
456                 NULL, "mt7623",
457                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
458                 MTK_FUNCTION(0, "GPIO58")
459         ),
460         MTK_PIN(
461                 PINCTRL_PIN(59, "GPIO59"),
462                 NULL, "mt7623",
463                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
464                 MTK_FUNCTION(0, "GPIO59")
465         ),
466         MTK_PIN(
467                 PINCTRL_PIN(60, "WB_RSTB"),
468                 "Y21", "mt7623",
469                 MTK_EINT_FUNCTION(0, 41),
470                 MTK_FUNCTION(0, "GPIO60"),
471                 MTK_FUNCTION(1, "WB_RSTB")
472         ),
473         MTK_PIN(
474                 PINCTRL_PIN(61, "GPIO61"),
475                 "AA21", "mt7623",
476                 MTK_EINT_FUNCTION(0, 42),
477                 MTK_FUNCTION(0, "GPIO61"),
478                 MTK_FUNCTION(1, "TEST_FD")
479         ),
480         MTK_PIN(
481                 PINCTRL_PIN(62, "GPIO62"),
482                 "AB22", "mt7623",
483                 MTK_EINT_FUNCTION(0, 43),
484                 MTK_FUNCTION(0, "GPIO62"),
485                 MTK_FUNCTION(1, "TEST_FC")
486         ),
487         MTK_PIN(
488                 PINCTRL_PIN(63, "WB_SCLK"),
489                 "AC23", "mt7623",
490                 MTK_EINT_FUNCTION(0, 44),
491                 MTK_FUNCTION(0, "GPIO63"),
492                 MTK_FUNCTION(1, "WB_SCLK")
493         ),
494         MTK_PIN(
495                 PINCTRL_PIN(64, "WB_SDATA"),
496                 "AB21", "mt7623",
497                 MTK_EINT_FUNCTION(0, 45),
498                 MTK_FUNCTION(0, "GPIO64"),
499                 MTK_FUNCTION(1, "WB_SDATA")
500         ),
501         MTK_PIN(
502                 PINCTRL_PIN(65, "WB_SEN"),
503                 "AB24", "mt7623",
504                 MTK_EINT_FUNCTION(0, 46),
505                 MTK_FUNCTION(0, "GPIO65"),
506                 MTK_FUNCTION(1, "WB_SEN")
507         ),
508         MTK_PIN(
509                 PINCTRL_PIN(66, "WB_CRTL0"),
510                 "AB20", "mt7623",
511                 MTK_EINT_FUNCTION(0, 47),
512                 MTK_FUNCTION(0, "GPIO66"),
513                 MTK_FUNCTION(1, "WB_CRTL0")
514         ),
515         MTK_PIN(
516                 PINCTRL_PIN(67, "WB_CRTL1"),
517                 "AC20", "mt7623",
518                 MTK_EINT_FUNCTION(0, 48),
519                 MTK_FUNCTION(0, "GPIO67"),
520                 MTK_FUNCTION(1, "WB_CRTL1")
521         ),
522         MTK_PIN(
523                 PINCTRL_PIN(68, "WB_CRTL2"),
524                 "AB19", "mt7623",
525                 MTK_EINT_FUNCTION(0, 49),
526                 MTK_FUNCTION(0, "GPIO68"),
527                 MTK_FUNCTION(1, "WB_CRTL2")
528         ),
529         MTK_PIN(
530                 PINCTRL_PIN(69, "WB_CRTL3"),
531                 "AC19", "mt7623",
532                 MTK_EINT_FUNCTION(0, 50),
533                 MTK_FUNCTION(0, "GPIO69"),
534                 MTK_FUNCTION(1, "WB_CRTL3")
535         ),
536         MTK_PIN(
537                 PINCTRL_PIN(70, "WB_CRTL4"),
538                 "AD19", "mt7623",
539                 MTK_EINT_FUNCTION(0, 51),
540                 MTK_FUNCTION(0, "GPIO70"),
541                 MTK_FUNCTION(1, "WB_CRTL4")
542         ),
543         MTK_PIN(
544                 PINCTRL_PIN(71, "WB_CRTL5"),
545                 "AE19", "mt7623",
546                 MTK_EINT_FUNCTION(0, 52),
547                 MTK_FUNCTION(0, "GPIO71"),
548                 MTK_FUNCTION(1, "WB_CRTL5")
549         ),
550         MTK_PIN(
551                 PINCTRL_PIN(72, "I2S0_DATA_IN"),
552                 "AA20", "mt7623",
553                 MTK_EINT_FUNCTION(0, 53),
554                 MTK_FUNCTION(0, "GPIO72"),
555                 MTK_FUNCTION(1, "I2S0_DATA_IN"),
556                 MTK_FUNCTION(3, "PCM_RX"),
557                 MTK_FUNCTION(4, "PWM0"),
558                 MTK_FUNCTION(5, "DISP_PWM"),
559                 MTK_FUNCTION(6, "AP_I2S_DI")
560         ),
561         MTK_PIN(
562                 PINCTRL_PIN(73, "I2S0_LRCK"),
563                 "Y20", "mt7623",
564                 MTK_EINT_FUNCTION(0, 54),
565                 MTK_FUNCTION(0, "GPIO73"),
566                 MTK_FUNCTION(1, "I2S0_LRCK"),
567                 MTK_FUNCTION(3, "PCM_SYNC"),
568                 MTK_FUNCTION(6, "AP_I2S_LRCK")
569         ),
570         MTK_PIN(
571                 PINCTRL_PIN(74, "I2S0_BCK"),
572                 "Y19", "mt7623",
573                 MTK_EINT_FUNCTION(0, 55),
574                 MTK_FUNCTION(0, "GPIO74"),
575                 MTK_FUNCTION(1, "I2S0_BCK"),
576                 MTK_FUNCTION(3, "PCM_CLK0"),
577                 MTK_FUNCTION(6, "AP_I2S_BCK")
578         ),
579         MTK_PIN(
580                 PINCTRL_PIN(75, "SDA0"),
581                 "K19", "mt7623",
582                 MTK_EINT_FUNCTION(0, 56),
583                 MTK_FUNCTION(0, "GPIO75"),
584                 MTK_FUNCTION(1, "SDA0")
585         ),
586         MTK_PIN(
587                 PINCTRL_PIN(76, "SCL0"),
588                 "K20", "mt7623",
589                 MTK_EINT_FUNCTION(0, 57),
590                 MTK_FUNCTION(0, "GPIO76"),
591                 MTK_FUNCTION(1, "SCL0")
592         ),
593         MTK_PIN(
594                 PINCTRL_PIN(77, "GPIO77"),
595                 NULL, "mt7623",
596                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
597                 MTK_FUNCTION(0, "GPIO77")
598         ),
599         MTK_PIN(
600                 PINCTRL_PIN(78, "GPIO78"),
601                 NULL, "mt7623",
602                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
603                 MTK_FUNCTION(0, "GPIO78")
604         ),
605         MTK_PIN(
606                 PINCTRL_PIN(79, "GPIO79"),
607                 NULL, "mt7623",
608                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
609                 MTK_FUNCTION(0, "GPIO79")
610         ),
611         MTK_PIN(
612                 PINCTRL_PIN(80, "GPIO80"),
613                 NULL, "mt7623",
614                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
615                 MTK_FUNCTION(0, "GPIO80")
616         ),
617         MTK_PIN(
618                 PINCTRL_PIN(81, "GPIO81"),
619                 NULL, "mt7623",
620                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
621                 MTK_FUNCTION(0, "GPIO81")
622         ),
623         MTK_PIN(
624                 PINCTRL_PIN(82, "GPIO82"),
625                 NULL, "mt7623",
626                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
627                 MTK_FUNCTION(0, "GPIO82")
628         ),
629         MTK_PIN(
630                 PINCTRL_PIN(83, "LCM_RST"),
631                 "V16", "mt7623",
632                 MTK_EINT_FUNCTION(0, 64),
633                 MTK_FUNCTION(0, "GPIO83"),
634                 MTK_FUNCTION(1, "LCM_RST")
635         ),
636         MTK_PIN(
637                 PINCTRL_PIN(84, "DSI_TE"),
638                 "V14", "mt7623",
639                 MTK_EINT_FUNCTION(0, 65),
640                 MTK_FUNCTION(0, "GPIO84"),
641                 MTK_FUNCTION(1, "DSI_TE")
642         ),
643         MTK_PIN(
644                 PINCTRL_PIN(85, "GPIO85"),
645                 NULL, "mt7623",
646                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
647                 MTK_FUNCTION(0, "GPIO85")
648         ),
649         MTK_PIN(
650                 PINCTRL_PIN(86, "GPIO86"),
651                 NULL, "mt7623",
652                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
653                 MTK_FUNCTION(0, "GPIO86")
654         ),
655         MTK_PIN(
656                 PINCTRL_PIN(87, "GPIO87"),
657                 NULL, "mt7623",
658                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
659                 MTK_FUNCTION(0, "GPIO87")
660         ),
661         MTK_PIN(
662                 PINCTRL_PIN(88, "GPIO88"),
663                 NULL, "mt7623",
664                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
665                 MTK_FUNCTION(0, "GPIO88")
666         ),
667         MTK_PIN(
668                 PINCTRL_PIN(89, "GPIO89"),
669                 NULL, "mt7623",
670                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
671                 MTK_FUNCTION(0, "GPIO89")
672         ),
673         MTK_PIN(
674                 PINCTRL_PIN(90, "GPIO90"),
675                 NULL, "mt7623",
676                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
677                 MTK_FUNCTION(0, "GPIO90")
678         ),
679         MTK_PIN(
680                 PINCTRL_PIN(91, "GPIO91"),
681                 NULL, "mt7623",
682                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
683                 MTK_FUNCTION(0, "GPIO91")
684         ),
685         MTK_PIN(
686                 PINCTRL_PIN(92, "GPIO92"),
687                 NULL, "mt7623",
688                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
689                 MTK_FUNCTION(0, "GPIO92")
690         ),
691         MTK_PIN(
692                 PINCTRL_PIN(93, "GPIO93"),
693                 NULL, "mt7623",
694                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
695                 MTK_FUNCTION(0, "GPIO93")
696         ),
697         MTK_PIN(
698                 PINCTRL_PIN(94, "GPIO94"),
699                 NULL, "mt7623",
700                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
701                 MTK_FUNCTION(0, "GPIO94")
702         ),
703         MTK_PIN(
704                 PINCTRL_PIN(95, "MIPI_TCN"),
705                 "AB14", "mt7623",
706                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
707                 MTK_FUNCTION(0, "GPIO95"),
708                 MTK_FUNCTION(1, "TCN")
709         ),
710         MTK_PIN(
711                 PINCTRL_PIN(96, "MIPI_TCP"),
712                 "AC14", "mt7623",
713                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
714                 MTK_FUNCTION(0, "GPIO96"),
715                 MTK_FUNCTION(1, "TCP")
716         ),
717         MTK_PIN(
718                 PINCTRL_PIN(97, "MIPI_TDN1"),
719                 "AE15", "mt7623",
720                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
721                 MTK_FUNCTION(0, "GPIO97"),
722                 MTK_FUNCTION(1, "TDN1")
723         ),
724         MTK_PIN(
725                 PINCTRL_PIN(98, "MIPI_TDP1"),
726                 "AD15", "mt7623",
727                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
728                 MTK_FUNCTION(0, "GPIO98"),
729                 MTK_FUNCTION(1, "TDP1")
730         ),
731         MTK_PIN(
732                 PINCTRL_PIN(99, "MIPI_TDN0"),
733                 "AB15", "mt7623",
734                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
735                 MTK_FUNCTION(0, "GPIO99"),
736                 MTK_FUNCTION(1, "TDN0")
737         ),
738         MTK_PIN(
739                 PINCTRL_PIN(100, "MIPI_TDP0"),
740                 "AC15", "mt7623",
741                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
742                 MTK_FUNCTION(0, "GPIO100"),
743                 MTK_FUNCTION(1, "TDP0")
744         ),
745         MTK_PIN(
746                 PINCTRL_PIN(101, "GPIO101"),
747                 NULL, "mt7623",
748                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
749                 MTK_FUNCTION(0, "GPIO101")
750         ),
751         MTK_PIN(
752                 PINCTRL_PIN(102, "GPIO102"),
753                 NULL, "mt7623",
754                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
755                 MTK_FUNCTION(0, "GPIO102")
756         ),
757         MTK_PIN(
758                 PINCTRL_PIN(103, "GPIO103"),
759                 NULL, "mt7623",
760                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
761                 MTK_FUNCTION(0, "GPIO103")
762         ),
763         MTK_PIN(
764                 PINCTRL_PIN(104, "GPIO104"),
765                 NULL, "mt7623",
766                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
767                 MTK_FUNCTION(0, "GPIO104")
768         ),
769         MTK_PIN(
770                 PINCTRL_PIN(105, "MSDC1_CMD"),
771                 "AD2", "mt7623",
772                 MTK_EINT_FUNCTION(0, 78),
773                 MTK_FUNCTION(0, "GPIO105"),
774                 MTK_FUNCTION(1, "MSDC1_CMD"),
775                 MTK_FUNCTION(3, "SDA1"),
776                 MTK_FUNCTION(6, "I2SOUT_BCK")
777         ),
778         MTK_PIN(
779                 PINCTRL_PIN(106, "MSDC1_CLK"),
780                 "AD3", "mt7623",
781                 MTK_EINT_FUNCTION(0, 79),
782                 MTK_FUNCTION(0, "GPIO106"),
783                 MTK_FUNCTION(1, "MSDC1_CLK"),
784                 MTK_FUNCTION(3, "SCL1"),
785                 MTK_FUNCTION(6, "I2SOUT_LRCK")
786         ),
787         MTK_PIN(
788                 PINCTRL_PIN(107, "MSDC1_DAT0"),
789                 "AE2", "mt7623",
790                 MTK_EINT_FUNCTION(0, 80),
791                 MTK_FUNCTION(0, "GPIO107"),
792                 MTK_FUNCTION(1, "MSDC1_DAT0"),
793                 MTK_FUNCTION(5, "UTXD0"),
794                 MTK_FUNCTION(6, "I2SOUT_DATA_OUT")
795         ),
796         MTK_PIN(
797                 PINCTRL_PIN(108, "MSDC1_DAT1"),
798                 "AC1", "mt7623",
799                 MTK_EINT_FUNCTION(0, 81),
800                 MTK_FUNCTION(0, "GPIO108"),
801                 MTK_FUNCTION(1, "MSDC1_DAT1"),
802                 MTK_FUNCTION(3, "PWM0"),
803                 MTK_FUNCTION(5, "URXD0"),
804                 MTK_FUNCTION(6, "PWM1")
805         ),
806         MTK_PIN(
807                 PINCTRL_PIN(109, "MSDC1_DAT2"),
808                 "AC3", "mt7623",
809                 MTK_EINT_FUNCTION(0, 82),
810                 MTK_FUNCTION(0, "GPIO109"),
811                 MTK_FUNCTION(1, "MSDC1_DAT2"),
812                 MTK_FUNCTION(3, "SDA2"),
813                 MTK_FUNCTION(5, "UTXD1"),
814                 MTK_FUNCTION(6, "PWM2")
815         ),
816         MTK_PIN(
817                 PINCTRL_PIN(110, "MSDC1_DAT3"),
818                 "AC4", "mt7623",
819                 MTK_EINT_FUNCTION(0, 83),
820                 MTK_FUNCTION(0, "GPIO110"),
821                 MTK_FUNCTION(1, "MSDC1_DAT3"),
822                 MTK_FUNCTION(3, "SCL2"),
823                 MTK_FUNCTION(5, "URXD1"),
824                 MTK_FUNCTION(6, "PWM3")
825         ),
826         MTK_PIN(
827                 PINCTRL_PIN(111, "MSDC0_DAT7"),
828                 "A2", "mt7623",
829                 MTK_EINT_FUNCTION(0, 84),
830                 MTK_FUNCTION(0, "GPIO111"),
831                 MTK_FUNCTION(1, "MSDC0_DAT7"),
832                 MTK_FUNCTION(4, "NLD7")
833         ),
834         MTK_PIN(
835                 PINCTRL_PIN(112, "MSDC0_DAT6"),
836                 "B3", "mt7623",
837                 MTK_EINT_FUNCTION(0, 85),
838                 MTK_FUNCTION(0, "GPIO112"),
839                 MTK_FUNCTION(1, "MSDC0_DAT6"),
840                 MTK_FUNCTION(4, "NLD6")
841         ),
842         MTK_PIN(
843                 PINCTRL_PIN(113, "MSDC0_DAT5"),
844                 "C4", "mt7623",
845                 MTK_EINT_FUNCTION(0, 86),
846                 MTK_FUNCTION(0, "GPIO113"),
847                 MTK_FUNCTION(1, "MSDC0_DAT5"),
848                 MTK_FUNCTION(4, "NLD5")
849         ),
850         MTK_PIN(
851                 PINCTRL_PIN(114, "MSDC0_DAT4"),
852                 "A4", "mt7623",
853                 MTK_EINT_FUNCTION(0, 87),
854                 MTK_FUNCTION(0, "GPIO114"),
855                 MTK_FUNCTION(1, "MSDC0_DAT4"),
856                 MTK_FUNCTION(4, "NLD4")
857         ),
858         MTK_PIN(
859                 PINCTRL_PIN(115, "MSDC0_RSTB"),
860                 "C5", "mt7623",
861                 MTK_EINT_FUNCTION(0, 88),
862                 MTK_FUNCTION(0, "GPIO115"),
863                 MTK_FUNCTION(1, "MSDC0_RSTB"),
864                 MTK_FUNCTION(4, "NLD8")
865         ),
866         MTK_PIN(
867                 PINCTRL_PIN(116, "MSDC0_CMD"),
868                 "D5", "mt7623",
869                 MTK_EINT_FUNCTION(0, 89),
870                 MTK_FUNCTION(0, "GPIO116"),
871                 MTK_FUNCTION(1, "MSDC0_CMD"),
872                 MTK_FUNCTION(4, "NALE")
873         ),
874         MTK_PIN(
875                 PINCTRL_PIN(117, "MSDC0_CLK"),
876                 "B1", "mt7623",
877                 MTK_EINT_FUNCTION(0, 90),
878                 MTK_FUNCTION(0, "GPIO117"),
879                 MTK_FUNCTION(1, "MSDC0_CLK"),
880                 MTK_FUNCTION(4, "NWEB")
881         ),
882         MTK_PIN(
883                 PINCTRL_PIN(118, "MSDC0_DAT3"),
884                 "D6", "mt7623",
885                 MTK_EINT_FUNCTION(0, 91),
886                 MTK_FUNCTION(0, "GPIO118"),
887                 MTK_FUNCTION(1, "MSDC0_DAT3"),
888                 MTK_FUNCTION(4, "NLD3")
889         ),
890         MTK_PIN(
891                 PINCTRL_PIN(119, "MSDC0_DAT2"),
892                 "B2", "mt7623",
893                 MTK_EINT_FUNCTION(0, 92),
894                 MTK_FUNCTION(0, "GPIO119"),
895                 MTK_FUNCTION(1, "MSDC0_DAT2"),
896                 MTK_FUNCTION(4, "NLD2")
897         ),
898         MTK_PIN(
899                 PINCTRL_PIN(120, "MSDC0_DAT1"),
900                 "A3", "mt7623",
901                 MTK_EINT_FUNCTION(0, 93),
902                 MTK_FUNCTION(0, "GPIO120"),
903                 MTK_FUNCTION(1, "MSDC0_DAT1"),
904                 MTK_FUNCTION(4, "NLD1")
905         ),
906         MTK_PIN(
907                 PINCTRL_PIN(121, "MSDC0_DAT0"),
908                 "B4", "mt7623",
909                 MTK_EINT_FUNCTION(0, 94),
910                 MTK_FUNCTION(0, "GPIO121"),
911                 MTK_FUNCTION(1, "MSDC0_DAT0"),
912                 MTK_FUNCTION(4, "NLD0"),
913                 MTK_FUNCTION(5, "WATCHDOG")
914         ),
915         MTK_PIN(
916                 PINCTRL_PIN(122, "GPIO122"),
917                 "H17", "mt7623",
918                 MTK_EINT_FUNCTION(0, 95),
919                 MTK_FUNCTION(0, "GPIO122"),
920                 MTK_FUNCTION(1, "TEST"),
921                 MTK_FUNCTION(4, "SDA2"),
922                 MTK_FUNCTION(5, "URXD0")
923         ),
924         MTK_PIN(
925                 PINCTRL_PIN(123, "GPIO123"),
926                 "F17", "mt7623",
927                 MTK_EINT_FUNCTION(0, 96),
928                 MTK_FUNCTION(0, "GPIO123"),
929                 MTK_FUNCTION(1, "TEST"),
930                 MTK_FUNCTION(4, "SCL2"),
931                 MTK_FUNCTION(5, "UTXD0")
932         ),
933         MTK_PIN(
934                 PINCTRL_PIN(124, "GPIO124"),
935                 "H18", "mt7623",
936                 MTK_EINT_FUNCTION(0, 97),
937                 MTK_FUNCTION(0, "GPIO124"),
938                 MTK_FUNCTION(1, "TEST"),
939                 MTK_FUNCTION(4, "SDA1"),
940                 MTK_FUNCTION(5, "PWM3")
941         ),
942         MTK_PIN(
943                 PINCTRL_PIN(125, "GPIO125"),
944                 "G17", "mt7623",
945                 MTK_EINT_FUNCTION(0, 98),
946                 MTK_FUNCTION(0, "GPIO125"),
947                 MTK_FUNCTION(1, "TEST"),
948                 MTK_FUNCTION(4, "SCL1"),
949                 MTK_FUNCTION(5, "PWM4")
950         ),
951         MTK_PIN(
952                 PINCTRL_PIN(126, "I2S0_MCLK"),
953                 "AA19", "mt7623",
954                 MTK_EINT_FUNCTION(0, 99),
955                 MTK_FUNCTION(0, "GPIO126"),
956                 MTK_FUNCTION(1, "I2S0_MCLK"),
957                 MTK_FUNCTION(6, "AP_I2S_MCLK")
958         ),
959         MTK_PIN(
960                 PINCTRL_PIN(127, "GPIO127"),
961                 NULL, "mt7623",
962                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
963                 MTK_FUNCTION(0, "GPIO127")
964         ),
965         MTK_PIN(
966                 PINCTRL_PIN(128, "GPIO128"),
967                 NULL, "mt7623",
968                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
969                 MTK_FUNCTION(0, "GPIO128")
970         ),
971         MTK_PIN(
972                 PINCTRL_PIN(129, "GPIO129"),
973                 NULL, "mt7623",
974                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
975                 MTK_FUNCTION(0, "GPIO129")
976         ),
977         MTK_PIN(
978                 PINCTRL_PIN(130, "GPIO130"),
979                 NULL, "mt7623",
980                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
981                 MTK_FUNCTION(0, "GPIO130")
982         ),
983         MTK_PIN(
984                 PINCTRL_PIN(131, "GPIO131"),
985                 NULL, "mt7623",
986                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
987                 MTK_FUNCTION(0, "GPIO131")
988         ),
989         MTK_PIN(
990                 PINCTRL_PIN(132, "GPIO132"),
991                 NULL, "mt7623",
992                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
993                 MTK_FUNCTION(0, "GPIO132")
994         ),
995         MTK_PIN(
996                 PINCTRL_PIN(133, "GPIO133"),
997                 NULL, "mt7623",
998                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
999                 MTK_FUNCTION(0, "GPIO133")
1000         ),
1001         MTK_PIN(
1002                 PINCTRL_PIN(134, "GPIO134"),
1003                 NULL, "mt7623",
1004                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1005                 MTK_FUNCTION(0, "GPIO134")
1006         ),
1007         MTK_PIN(
1008                 PINCTRL_PIN(135, "GPIO135"),
1009                 NULL, "mt7623",
1010                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1011                 MTK_FUNCTION(0, "GPIO135")
1012         ),
1013         MTK_PIN(
1014                 PINCTRL_PIN(136, "GPIO136"),
1015                 NULL, "mt7623",
1016                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1017                 MTK_FUNCTION(0, "GPIO136")
1018         ),
1019         MTK_PIN(
1020                 PINCTRL_PIN(137, "GPIO137"),
1021                 NULL, "mt7623",
1022                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1023                 MTK_FUNCTION(0, "GPIO137")
1024         ),
1025         MTK_PIN(
1026                 PINCTRL_PIN(138, "GPIO138"),
1027                 NULL, "mt7623",
1028                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1029                 MTK_FUNCTION(0, "GPIO138")
1030         ),
1031         MTK_PIN(
1032                 PINCTRL_PIN(139, "GPIO139"),
1033                 NULL, "mt7623",
1034                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1035                 MTK_FUNCTION(0, "GPIO139")
1036         ),
1037         MTK_PIN(
1038                 PINCTRL_PIN(140, "GPIO140"),
1039                 NULL, "mt7623",
1040                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1041                 MTK_FUNCTION(0, "GPIO140")
1042         ),
1043         MTK_PIN(
1044                 PINCTRL_PIN(141, "GPIO141"),
1045                 NULL, "mt7623",
1046                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1047                 MTK_FUNCTION(0, "GPIO141")
1048         ),
1049         MTK_PIN(
1050                 PINCTRL_PIN(142, "GPIO142"),
1051                 NULL, "mt7623",
1052                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1053                 MTK_FUNCTION(0, "GPIO142")
1054         ),
1055         MTK_PIN(
1056                 PINCTRL_PIN(143, "GPIO143"),
1057                 NULL, "mt7623",
1058                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1059                 MTK_FUNCTION(0, "GPIO143")
1060         ),
1061         MTK_PIN(
1062                 PINCTRL_PIN(144, "GPIO144"),
1063                 NULL, "mt7623",
1064                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1065                 MTK_FUNCTION(0, "GPIO144")
1066         ),
1067         MTK_PIN(
1068                 PINCTRL_PIN(145, "GPIO145"),
1069                 NULL, "mt7623",
1070                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1071                 MTK_FUNCTION(0, "GPIO145")
1072         ),
1073         MTK_PIN(
1074                 PINCTRL_PIN(146, "GPIO146"),
1075                 NULL, "mt7623",
1076                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1077                 MTK_FUNCTION(0, "GPIO146")
1078         ),
1079         MTK_PIN(
1080                 PINCTRL_PIN(147, "GPIO147"),
1081                 NULL, "mt7623",
1082                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1083                 MTK_FUNCTION(0, "GPIO147")
1084         ),
1085         MTK_PIN(
1086                 PINCTRL_PIN(148, "GPIO148"),
1087                 NULL, "mt7623",
1088                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1089                 MTK_FUNCTION(0, "GPIO148")
1090         ),
1091         MTK_PIN(
1092                 PINCTRL_PIN(149, "GPIO149"),
1093                 NULL, "mt7623",
1094                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1095                 MTK_FUNCTION(0, "GPIO149")
1096         ),
1097         MTK_PIN(
1098                 PINCTRL_PIN(150, "GPIO150"),
1099                 NULL, "mt7623",
1100                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1101                 MTK_FUNCTION(0, "GPIO150")
1102         ),
1103         MTK_PIN(
1104                 PINCTRL_PIN(151, "GPIO151"),
1105                 NULL, "mt7623",
1106                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1107                 MTK_FUNCTION(0, "GPIO151")
1108         ),
1109         MTK_PIN(
1110                 PINCTRL_PIN(152, "GPIO152"),
1111                 NULL, "mt7623",
1112                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1113                 MTK_FUNCTION(0, "GPIO152")
1114         ),
1115         MTK_PIN(
1116                 PINCTRL_PIN(153, "GPIO153"),
1117                 NULL, "mt7623",
1118                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1119                 MTK_FUNCTION(0, "GPIO153")
1120         ),
1121         MTK_PIN(
1122                 PINCTRL_PIN(154, "GPIO154"),
1123                 NULL, "mt7623",
1124                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1125                 MTK_FUNCTION(0, "GPIO154")
1126         ),
1127         MTK_PIN(
1128                 PINCTRL_PIN(155, "GPIO155"),
1129                 NULL, "mt7623",
1130                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1131                 MTK_FUNCTION(0, "GPIO155")
1132         ),
1133         MTK_PIN(
1134                 PINCTRL_PIN(156, "GPIO156"),
1135                 NULL, "mt7623",
1136                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1137                 MTK_FUNCTION(0, "GPIO156")
1138         ),
1139         MTK_PIN(
1140                 PINCTRL_PIN(157, "GPIO157"),
1141                 NULL, "mt7623",
1142                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1143                 MTK_FUNCTION(0, "GPIO157")
1144         ),
1145         MTK_PIN(
1146                 PINCTRL_PIN(158, "GPIO158"),
1147                 NULL, "mt7623",
1148                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1149                 MTK_FUNCTION(0, "GPIO158")
1150         ),
1151         MTK_PIN(
1152                 PINCTRL_PIN(159, "GPIO159"),
1153                 NULL, "mt7623",
1154                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1155                 MTK_FUNCTION(0, "GPIO159")
1156         ),
1157         MTK_PIN(
1158                 PINCTRL_PIN(160, "GPIO160"),
1159                 NULL, "mt7623",
1160                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1161                 MTK_FUNCTION(0, "GPIO160")
1162         ),
1163         MTK_PIN(
1164                 PINCTRL_PIN(161, "GPIO161"),
1165                 NULL, "mt7623",
1166                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1167                 MTK_FUNCTION(0, "GPIO161")
1168         ),
1169         MTK_PIN(
1170                 PINCTRL_PIN(162, "GPIO162"),
1171                 NULL, "mt7623",
1172                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1173                 MTK_FUNCTION(0, "GPIO162")
1174         ),
1175         MTK_PIN(
1176                 PINCTRL_PIN(163, "GPIO163"),
1177                 NULL, "mt7623",
1178                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1179                 MTK_FUNCTION(0, "GPIO163")
1180         ),
1181         MTK_PIN(
1182                 PINCTRL_PIN(164, "GPIO164"),
1183                 NULL, "mt7623",
1184                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1185                 MTK_FUNCTION(0, "GPIO164")
1186         ),
1187         MTK_PIN(
1188                 PINCTRL_PIN(165, "GPIO165"),
1189                 NULL, "mt7623",
1190                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1191                 MTK_FUNCTION(0, "GPIO165")
1192         ),
1193         MTK_PIN(
1194                 PINCTRL_PIN(166, "GPIO166"),
1195                 NULL, "mt7623",
1196                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1197                 MTK_FUNCTION(0, "GPIO166")
1198         ),
1199         MTK_PIN(
1200                 PINCTRL_PIN(167, "GPIO167"),
1201                 NULL, "mt7623",
1202                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1203                 MTK_FUNCTION(0, "GPIO167")
1204         ),
1205         MTK_PIN(
1206                 PINCTRL_PIN(168, "GPIO168"),
1207                 NULL, "mt7623",
1208                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1209                 MTK_FUNCTION(0, "GPIO168")
1210         ),
1211         MTK_PIN(
1212                 PINCTRL_PIN(169, "GPIO169"),
1213                 NULL, "mt7623",
1214                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1215                 MTK_FUNCTION(0, "GPIO169")
1216         ),
1217         MTK_PIN(
1218                 PINCTRL_PIN(170, "GPIO170"),
1219                 NULL, "mt7623",
1220                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1221                 MTK_FUNCTION(0, "GPIO170")
1222         ),
1223         MTK_PIN(
1224                 PINCTRL_PIN(171, "GPIO171"),
1225                 NULL, "mt7623",
1226                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1227                 MTK_FUNCTION(0, "GPIO171")
1228         ),
1229         MTK_PIN(
1230                 PINCTRL_PIN(172, "GPIO172"),
1231                 NULL, "mt7623",
1232                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1233                 MTK_FUNCTION(0, "GPIO172")
1234         ),
1235         MTK_PIN(
1236                 PINCTRL_PIN(173, "GPIO173"),
1237                 NULL, "mt7623",
1238                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1239                 MTK_FUNCTION(0, "GPIO173")
1240         ),
1241         MTK_PIN(
1242                 PINCTRL_PIN(174, "GPIO174"),
1243                 NULL, "mt7623",
1244                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1245                 MTK_FUNCTION(0, "GPIO174")
1246         ),
1247         MTK_PIN(
1248                 PINCTRL_PIN(175, "GPIO175"),
1249                 NULL, "mt7623",
1250                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1251                 MTK_FUNCTION(0, "GPIO175")
1252         ),
1253         MTK_PIN(
1254                 PINCTRL_PIN(176, "GPIO176"),
1255                 NULL, "mt7623",
1256                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1257                 MTK_FUNCTION(0, "GPIO176")
1258         ),
1259         MTK_PIN(
1260                 PINCTRL_PIN(177, "GPIO177"),
1261                 NULL, "mt7623",
1262                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1263                 MTK_FUNCTION(0, "GPIO177")
1264         ),
1265         MTK_PIN(
1266                 PINCTRL_PIN(178, "GPIO178"),
1267                 NULL, "mt7623",
1268                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1269                 MTK_FUNCTION(0, "GPIO178")
1270         ),
1271         MTK_PIN(
1272                 PINCTRL_PIN(179, "GPIO179"),
1273                 NULL, "mt7623",
1274                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1275                 MTK_FUNCTION(0, "GPIO179")
1276         ),
1277         MTK_PIN(
1278                 PINCTRL_PIN(180, "GPIO180"),
1279                 NULL, "mt7623",
1280                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1281                 MTK_FUNCTION(0, "GPIO180")
1282         ),
1283         MTK_PIN(
1284                 PINCTRL_PIN(181, "GPIO181"),
1285                 NULL, "mt7623",
1286                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1287                 MTK_FUNCTION(0, "GPIO181")
1288         ),
1289         MTK_PIN(
1290                 PINCTRL_PIN(182, "GPIO182"),
1291                 NULL, "mt7623",
1292                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1293                 MTK_FUNCTION(0, "GPIO182")
1294         ),
1295         MTK_PIN(
1296                 PINCTRL_PIN(183, "GPIO183"),
1297                 NULL, "mt7623",
1298                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1299                 MTK_FUNCTION(0, "GPIO183")
1300         ),
1301         MTK_PIN(
1302                 PINCTRL_PIN(184, "GPIO184"),
1303                 NULL, "mt7623",
1304                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1305                 MTK_FUNCTION(0, "GPIO184")
1306         ),
1307         MTK_PIN(
1308                 PINCTRL_PIN(185, "GPIO185"),
1309                 NULL, "mt7623",
1310                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1311                 MTK_FUNCTION(0, "GPIO185")
1312         ),
1313         MTK_PIN(
1314                 PINCTRL_PIN(186, "GPIO186"),
1315                 NULL, "mt7623",
1316                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1317                 MTK_FUNCTION(0, "GPIO186")
1318         ),
1319         MTK_PIN(
1320                 PINCTRL_PIN(187, "GPIO187"),
1321                 NULL, "mt7623",
1322                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1323                 MTK_FUNCTION(0, "GPIO187")
1324         ),
1325         MTK_PIN(
1326                 PINCTRL_PIN(188, "GPIO188"),
1327                 NULL, "mt7623",
1328                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1329                 MTK_FUNCTION(0, "GPIO188")
1330         ),
1331         MTK_PIN(
1332                 PINCTRL_PIN(189, "GPIO189"),
1333                 NULL, "mt7623",
1334                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1335                 MTK_FUNCTION(0, "GPIO189")
1336         ),
1337         MTK_PIN(
1338                 PINCTRL_PIN(190, "GPIO190"),
1339                 NULL, "mt7623",
1340                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1341                 MTK_FUNCTION(0, "GPIO190")
1342         ),
1343         MTK_PIN(
1344                 PINCTRL_PIN(191, "GPIO191"),
1345                 NULL, "mt7623",
1346                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1347                 MTK_FUNCTION(0, "GPIO191")
1348         ),
1349         MTK_PIN(
1350                 PINCTRL_PIN(192, "GPIO192"),
1351                 NULL, "mt7623",
1352                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1353                 MTK_FUNCTION(0, "GPIO192")
1354         ),
1355         MTK_PIN(
1356                 PINCTRL_PIN(193, "GPIO193"),
1357                 NULL, "mt7623",
1358                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1359                 MTK_FUNCTION(0, "GPIO193")
1360         ),
1361         MTK_PIN(
1362                 PINCTRL_PIN(194, "GPIO194"),
1363                 NULL, "mt7623",
1364                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1365                 MTK_FUNCTION(0, "GPIO194")
1366         ),
1367         MTK_PIN(
1368                 PINCTRL_PIN(195, "GPIO195"),
1369                 NULL, "mt7623",
1370                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1371                 MTK_FUNCTION(0, "GPIO195")
1372         ),
1373         MTK_PIN(
1374                 PINCTRL_PIN(196, "GPIO196"),
1375                 NULL, "mt7623",
1376                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1377                 MTK_FUNCTION(0, "GPIO196")
1378         ),
1379         MTK_PIN(
1380                 PINCTRL_PIN(197, "GPIO197"),
1381                 NULL, "mt7623",
1382                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1383                 MTK_FUNCTION(0, "GPIO197")
1384         ),
1385         MTK_PIN(
1386                 PINCTRL_PIN(198, "GPIO198"),
1387                 NULL, "mt7623",
1388                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1389                 MTK_FUNCTION(0, "GPIO198")
1390         ),
1391         MTK_PIN(
1392                 PINCTRL_PIN(199, "SPI1_CK"),
1393                 "E19", "mt7623",
1394                 MTK_EINT_FUNCTION(0, 111),
1395                 MTK_FUNCTION(0, "GPIO199"),
1396                 MTK_FUNCTION(1, "SPI1_CK")
1397         ),
1398         MTK_PIN(
1399                 PINCTRL_PIN(200, "URXD2"),
1400                 "K18", "mt7623",
1401                 MTK_EINT_FUNCTION(0, 112),
1402                 MTK_FUNCTION(0, "GPIO200"),
1403                 MTK_FUNCTION(6, "URXD2")
1404         ),
1405         MTK_PIN(
1406                 PINCTRL_PIN(201, "UTXD2"),
1407                 "L18", "mt7623",
1408                 MTK_EINT_FUNCTION(0, 113),
1409                 MTK_FUNCTION(0, "GPIO201"),
1410                 MTK_FUNCTION(6, "UTXD2")
1411         ),
1412         MTK_PIN(
1413                 PINCTRL_PIN(202, "GPIO202"),
1414                 NULL, "mt7623",
1415                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1416                 MTK_FUNCTION(0, "GPIO202")
1417         ),
1418         MTK_PIN(
1419                 PINCTRL_PIN(203, "PWM0"),
1420                 "AA16", "mt7623",
1421                 MTK_EINT_FUNCTION(0, 115),
1422                 MTK_FUNCTION(0, "GPIO203"),
1423                 MTK_FUNCTION(1, "PWM0"),
1424                 MTK_FUNCTION(2, "DISP_PWM")
1425         ),
1426         MTK_PIN(
1427                 PINCTRL_PIN(204, "PWM1"),
1428                 "Y16", "mt7623",
1429                 MTK_EINT_FUNCTION(0, 116),
1430                 MTK_FUNCTION(0, "GPIO204"),
1431                 MTK_FUNCTION(1, "PWM1")
1432         ),
1433         MTK_PIN(
1434                 PINCTRL_PIN(205, "PWM2"),
1435                 "AA15", "mt7623",
1436                 MTK_EINT_FUNCTION(0, 117),
1437                 MTK_FUNCTION(0, "GPIO205"),
1438                 MTK_FUNCTION(1, "PWM2")
1439         ),
1440         MTK_PIN(
1441                 PINCTRL_PIN(206, "PWM3"),
1442                 "AA17", "mt7623",
1443                 MTK_EINT_FUNCTION(0, 118),
1444                 MTK_FUNCTION(0, "GPIO206"),
1445                 MTK_FUNCTION(1, "PWM3")
1446         ),
1447         MTK_PIN(
1448                 PINCTRL_PIN(207, "PWM4"),
1449                 "Y15", "mt7623",
1450                 MTK_EINT_FUNCTION(0, 119),
1451                 MTK_FUNCTION(0, "GPIO207"),
1452                 MTK_FUNCTION(1, "PWM4")
1453         ),
1454         MTK_PIN(
1455                 PINCTRL_PIN(208, "AUD_EXT_CK1"),
1456                 "W14", "mt7623",
1457                 MTK_EINT_FUNCTION(0, 120),
1458                 MTK_FUNCTION(0, "GPIO208"),
1459                 MTK_FUNCTION(1, "AUD_EXT_CK1"),
1460                 MTK_FUNCTION(2, "PWM0"),
1461                 MTK_FUNCTION(3, "PCIE0_PERST_N"),
1462                 MTK_FUNCTION(5, "DISP_PWM")
1463         ),
1464         MTK_PIN(
1465                 PINCTRL_PIN(209, "AUD_EXT_CK2"),
1466                 "V15", "mt7623",
1467                 MTK_EINT_FUNCTION(0, 121),
1468                 MTK_FUNCTION(0, "GPIO209"),
1469                 MTK_FUNCTION(1, "AUD_EXT_CK2"),
1470                 MTK_FUNCTION(2, "MSDC1_WP"),
1471                 MTK_FUNCTION(3, "PCIE1_PERST_N"),
1472                 MTK_FUNCTION(5, "PWM1")
1473         ),
1474         MTK_PIN(
1475                 PINCTRL_PIN(210, "GPIO210"),
1476                 NULL, "mt7623",
1477                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1478                 MTK_FUNCTION(0, "GPIO210")
1479         ),
1480         MTK_PIN(
1481                 PINCTRL_PIN(211, "GPIO211"),
1482                 NULL, "mt7623",
1483                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1484                 MTK_FUNCTION(0, "GPIO211")
1485         ),
1486         MTK_PIN(
1487                 PINCTRL_PIN(212, "GPIO212"),
1488                 NULL, "mt7623",
1489                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1490                 MTK_FUNCTION(0, "GPIO212")
1491         ),
1492         MTK_PIN(
1493                 PINCTRL_PIN(213, "GPIO213"),
1494                 NULL, "mt7623",
1495                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1496                 MTK_FUNCTION(0, "GPIO213")
1497         ),
1498         MTK_PIN(
1499                 PINCTRL_PIN(214, "GPIO214"),
1500                 NULL, "mt7623",
1501                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1502                 MTK_FUNCTION(0, "GPIO214")
1503         ),
1504         MTK_PIN(
1505                 PINCTRL_PIN(215, "GPIO215"),
1506                 NULL, "mt7623",
1507                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1508                 MTK_FUNCTION(0, "GPIO215")
1509         ),
1510         MTK_PIN(
1511                 PINCTRL_PIN(216, "GPIO216"),
1512                 NULL, "mt7623",
1513                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1514                 MTK_FUNCTION(0, "GPIO216")
1515         ),
1516         MTK_PIN(
1517                 PINCTRL_PIN(217, "GPIO217"),
1518                 NULL, "mt7623",
1519                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1520                 MTK_FUNCTION(0, "GPIO217")
1521         ),
1522         MTK_PIN(
1523                 PINCTRL_PIN(218, "GPIO218"),
1524                 NULL, "mt7623",
1525                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1526                 MTK_FUNCTION(0, "GPIO218")
1527         ),
1528         MTK_PIN(
1529                 PINCTRL_PIN(219, "GPIO219"),
1530                 NULL, "mt7623",
1531                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1532                 MTK_FUNCTION(0, "GPIO219")
1533         ),
1534         MTK_PIN(
1535                 PINCTRL_PIN(220, "GPIO220"),
1536                 NULL, "mt7623",
1537                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1538                 MTK_FUNCTION(0, "GPIO220")
1539         ),
1540         MTK_PIN(
1541                 PINCTRL_PIN(221, "GPIO221"),
1542                 NULL, "mt7623",
1543                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1544                 MTK_FUNCTION(0, "GPIO221")
1545         ),
1546         MTK_PIN(
1547                 PINCTRL_PIN(222, "GPIO222"),
1548                 NULL, "mt7623",
1549                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1550                 MTK_FUNCTION(0, "GPIO222")
1551         ),
1552         MTK_PIN(
1553                 PINCTRL_PIN(223, "GPIO223"),
1554                 NULL, "mt7623",
1555                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1556                 MTK_FUNCTION(0, "GPIO223")
1557         ),
1558         MTK_PIN(
1559                 PINCTRL_PIN(224, "GPIO224"),
1560                 NULL, "mt7623",
1561                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1562                 MTK_FUNCTION(0, "GPIO224")
1563         ),
1564         MTK_PIN(
1565                 PINCTRL_PIN(225, "GPIO225"),
1566                 NULL, "mt7623",
1567                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1568                 MTK_FUNCTION(0, "GPIO225")
1569         ),
1570         MTK_PIN(
1571                 PINCTRL_PIN(226, "GPIO226"),
1572                 NULL, "mt7623",
1573                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1574                 MTK_FUNCTION(0, "GPIO226")
1575         ),
1576         MTK_PIN(
1577                 PINCTRL_PIN(227, "GPIO227"),
1578                 NULL, "mt7623",
1579                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1580                 MTK_FUNCTION(0, "GPIO227")
1581         ),
1582         MTK_PIN(
1583                 PINCTRL_PIN(228, "GPIO228"),
1584                 NULL, "mt7623",
1585                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1586                 MTK_FUNCTION(0, "GPIO228")
1587         ),
1588         MTK_PIN(
1589                 PINCTRL_PIN(229, "GPIO229"),
1590                 NULL, "mt7623",
1591                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1592                 MTK_FUNCTION(0, "GPIO229")
1593         ),
1594         MTK_PIN(
1595                 PINCTRL_PIN(230, "GPIO230"),
1596                 NULL, "mt7623",
1597                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1598                 MTK_FUNCTION(0, "GPIO230")
1599         ),
1600         MTK_PIN(
1601                 PINCTRL_PIN(231, "GPIO231"),
1602                 NULL, "mt7623",
1603                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1604                 MTK_FUNCTION(0, "GPIO231")
1605         ),
1606         MTK_PIN(
1607                 PINCTRL_PIN(232, "GPIO232"),
1608                 NULL, "mt7623",
1609                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1610                 MTK_FUNCTION(0, "GPIO232")
1611         ),
1612         MTK_PIN(
1613                 PINCTRL_PIN(233, "GPIO233"),
1614                 NULL, "mt7623",
1615                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1616                 MTK_FUNCTION(0, "GPIO233")
1617         ),
1618         MTK_PIN(
1619                 PINCTRL_PIN(234, "GPIO234"),
1620                 NULL, "mt7623",
1621                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1622                 MTK_FUNCTION(0, "GPIO234")
1623         ),
1624         MTK_PIN(
1625                 PINCTRL_PIN(235, "GPIO235"),
1626                 NULL, "mt7623",
1627                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1628                 MTK_FUNCTION(0, "GPIO235")
1629         ),
1630         MTK_PIN(
1631                 PINCTRL_PIN(236, "EXT_SDIO3"),
1632                 "A8", "mt7623",
1633                 MTK_EINT_FUNCTION(0, 122),
1634                 MTK_FUNCTION(0, "GPIO236"),
1635                 MTK_FUNCTION(1, "EXT_SDIO3"),
1636                 MTK_FUNCTION(2, "IDDIG")
1637         ),
1638         MTK_PIN(
1639                 PINCTRL_PIN(237, "EXT_SDIO2"),
1640                 "D8", "mt7623",
1641                 MTK_EINT_FUNCTION(0, 123),
1642                 MTK_FUNCTION(0, "GPIO237"),
1643                 MTK_FUNCTION(1, "EXT_SDIO2"),
1644                 MTK_FUNCTION(2, "DRV_VBUS")
1645         ),
1646         MTK_PIN(
1647                 PINCTRL_PIN(238, "EXT_SDIO1"),
1648                 "D9", "mt7623",
1649                 MTK_EINT_FUNCTION(0, 124),
1650                 MTK_FUNCTION(0, "GPIO238"),
1651                 MTK_FUNCTION(1, "EXT_SDIO1")
1652         ),
1653         MTK_PIN(
1654                 PINCTRL_PIN(239, "EXT_SDIO0"),
1655                 "B8", "mt7623",
1656                 MTK_EINT_FUNCTION(0, 125),
1657                 MTK_FUNCTION(0, "GPIO239"),
1658                 MTK_FUNCTION(1, "EXT_SDIO0")
1659         ),
1660         MTK_PIN(
1661                 PINCTRL_PIN(240, "EXT_XCS"),
1662                 "C9", "mt7623",
1663                 MTK_EINT_FUNCTION(0, 126),
1664                 MTK_FUNCTION(0, "GPIO240"),
1665                 MTK_FUNCTION(1, "EXT_XCS")
1666         ),
1667         MTK_PIN(
1668                 PINCTRL_PIN(241, "EXT_SCK"),
1669                 "C8", "mt7623",
1670                 MTK_EINT_FUNCTION(0, 127),
1671                 MTK_FUNCTION(0, "GPIO241"),
1672                 MTK_FUNCTION(1, "EXT_SCK")
1673         ),
1674         MTK_PIN(
1675                 PINCTRL_PIN(242, "URTS2"),
1676                 "G18", "mt7623",
1677                 MTK_EINT_FUNCTION(0, 128),
1678                 MTK_FUNCTION(0, "GPIO242"),
1679                 MTK_FUNCTION(1, "URTS2"),
1680                 MTK_FUNCTION(2, "UTXD3"),
1681                 MTK_FUNCTION(3, "URXD3"),
1682                 MTK_FUNCTION(4, "SCL1")
1683         ),
1684         MTK_PIN(
1685                 PINCTRL_PIN(243, "UCTS2"),
1686                 "H19", "mt7623",
1687                 MTK_EINT_FUNCTION(0, 129),
1688                 MTK_FUNCTION(0, "GPIO243"),
1689                 MTK_FUNCTION(1, "UCTS2"),
1690                 MTK_FUNCTION(2, "URXD3"),
1691                 MTK_FUNCTION(3, "UTXD3"),
1692                 MTK_FUNCTION(4, "SDA1")
1693         ),
1694         MTK_PIN(
1695                 PINCTRL_PIN(244, "GPIO244"),
1696                 NULL, "mt7623",
1697                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1698                 MTK_FUNCTION(0, "GPIO244")
1699         ),
1700         MTK_PIN(
1701                 PINCTRL_PIN(245, "GPIO245"),
1702                 NULL, "mt7623",
1703                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1704                 MTK_FUNCTION(0, "GPIO245")
1705         ),
1706         MTK_PIN(
1707                 PINCTRL_PIN(246, "GPIO246"),
1708                 NULL, "mt7623",
1709                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1710                 MTK_FUNCTION(0, "GPIO246")
1711         ),
1712         MTK_PIN(
1713                 PINCTRL_PIN(247, "GPIO247"),
1714                 NULL, "mt7623",
1715                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1716                 MTK_FUNCTION(0, "GPIO247")
1717         ),
1718         MTK_PIN(
1719                 PINCTRL_PIN(248, "GPIO248"),
1720                 NULL, "mt7623",
1721                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1722                 MTK_FUNCTION(0, "GPIO248")
1723         ),
1724         MTK_PIN(
1725                 PINCTRL_PIN(249, "GPIO249"),
1726                 NULL, "mt7623",
1727                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1728                 MTK_FUNCTION(0, "GPIO249")
1729         ),
1730         MTK_PIN(
1731                 PINCTRL_PIN(250, "GPIO250"),
1732                 "A15", "mt7623",
1733                 MTK_EINT_FUNCTION(0, 135),
1734                 MTK_FUNCTION(0, "GPIO250"),
1735                 MTK_FUNCTION(1, "TEST_MD7"),
1736                 MTK_FUNCTION(6, "PCIE0_CLKREQ_N")
1737         ),
1738         MTK_PIN(
1739                 PINCTRL_PIN(251, "GPIO251"),
1740                 "B15", "mt7623",
1741                 MTK_EINT_FUNCTION(0, 136),
1742                 MTK_FUNCTION(0, "GPIO251"),
1743                 MTK_FUNCTION(1, "TEST_MD6"),
1744                 MTK_FUNCTION(6, "PCIE0_WAKE_N")
1745         ),
1746         MTK_PIN(
1747                 PINCTRL_PIN(252, "GPIO252"),
1748                 "C16", "mt7623",
1749                 MTK_EINT_FUNCTION(0, 137),
1750                 MTK_FUNCTION(0, "GPIO252"),
1751                 MTK_FUNCTION(1, "TEST_MD5"),
1752                 MTK_FUNCTION(6, "PCIE1_CLKREQ_N")
1753         ),
1754         MTK_PIN(
1755                 PINCTRL_PIN(253, "GPIO253"),
1756                 "D17", "mt7623",
1757                 MTK_EINT_FUNCTION(0, 138),
1758                 MTK_FUNCTION(0, "GPIO253"),
1759                 MTK_FUNCTION(1, "TEST_MD4"),
1760                 MTK_FUNCTION(6, "PCIE1_WAKE_N")
1761         ),
1762         MTK_PIN(
1763                 PINCTRL_PIN(254, "GPIO254"),
1764                 "D16", "mt7623",
1765                 MTK_EINT_FUNCTION(0, 139),
1766                 MTK_FUNCTION(0, "GPIO254"),
1767                 MTK_FUNCTION(1, "TEST_MD3"),
1768                 MTK_FUNCTION(6, "PCIE2_CLKREQ_N")
1769         ),
1770         MTK_PIN(
1771                 PINCTRL_PIN(255, "GPIO255"),
1772                 "C17", "mt7623",
1773                 MTK_EINT_FUNCTION(0, 140),
1774                 MTK_FUNCTION(0, "GPIO255"),
1775                 MTK_FUNCTION(1, "TEST_MD2"),
1776                 MTK_FUNCTION(6, "PCIE2_WAKE_N")
1777         ),
1778         MTK_PIN(
1779                 PINCTRL_PIN(256, "GPIO256"),
1780                 "B17", "mt7623",
1781                 MTK_EINT_FUNCTION(0, 141),
1782                 MTK_FUNCTION(0, "GPIO256"),
1783                 MTK_FUNCTION(1, "TEST_MD1")
1784         ),
1785         MTK_PIN(
1786                 PINCTRL_PIN(257, "GPIO257"),
1787                 "C15", "mt7623",
1788                 MTK_EINT_FUNCTION(0, 142),
1789                 MTK_FUNCTION(0, "GPIO257"),
1790                 MTK_FUNCTION(1, "TEST_MD0")
1791         ),
1792         MTK_PIN(
1793                 PINCTRL_PIN(258, "GPIO258"),
1794                 NULL, "mt7623",
1795                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1796                 MTK_FUNCTION(0, "GPIO258")
1797         ),
1798         MTK_PIN(
1799                 PINCTRL_PIN(259, "GPIO259"),
1800                 NULL, "mt7623",
1801                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1802                 MTK_FUNCTION(0, "GPIO259")
1803         ),
1804         MTK_PIN(
1805                 PINCTRL_PIN(260, "GPIO260"),
1806                 NULL, "mt7623",
1807                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1808                 MTK_FUNCTION(0, "GPIO260")
1809         ),
1810         MTK_PIN(
1811                 PINCTRL_PIN(261, "MSDC1_INS"),
1812                 "AD1", "mt7623",
1813                 MTK_EINT_FUNCTION(0, 146),
1814                 MTK_FUNCTION(0, "GPIO261"),
1815                 MTK_FUNCTION(1, "MSDC1_INS")
1816         ),
1817         MTK_PIN(
1818                 PINCTRL_PIN(262, "G2_TXEN"),
1819                 "A23", "mt7623",
1820                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1821                 MTK_FUNCTION(0, "GPIO262"),
1822                 MTK_FUNCTION(1, "G2_TXEN")
1823         ),
1824         MTK_PIN(
1825                 PINCTRL_PIN(263, "G2_TXD3"),
1826                 NULL, "mt7623",
1827                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1828                 MTK_FUNCTION(0, "GPIO263"),
1829                 MTK_FUNCTION(1, "G2_TXD3")
1830         ),
1831         MTK_PIN(
1832                 PINCTRL_PIN(264, "G2_TXD2"),
1833                 "C24", "mt7623",
1834                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1835                 MTK_FUNCTION(0, "GPIO264"),
1836                 MTK_FUNCTION(1, "G2_TXD2")
1837         ),
1838         MTK_PIN(
1839                 PINCTRL_PIN(265, "G2_TXD1"),
1840                 "B25", "mt7623",
1841                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1842                 MTK_FUNCTION(0, "GPIO265"),
1843                 MTK_FUNCTION(1, "G2_TXD1")
1844         ),
1845         MTK_PIN(
1846                 PINCTRL_PIN(266, "G2_TXD0"),
1847                 "A24", "mt7623",
1848                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1849                 MTK_FUNCTION(0, "GPIO266"),
1850                 MTK_FUNCTION(1, "G2_TXD0")
1851         ),
1852         MTK_PIN(
1853                 PINCTRL_PIN(267, "G2_TXCLK"),
1854                 "C23", "mt7623",
1855                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1856                 MTK_FUNCTION(0, "GPIO267"),
1857                 MTK_FUNCTION(1, "G2_TXC")
1858         ),
1859         MTK_PIN(
1860                 PINCTRL_PIN(268, "G2_RXCLK"),
1861                 "B23", "mt7623",
1862                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1863                 MTK_FUNCTION(0, "GPIO268"),
1864                 MTK_FUNCTION(1, "G2_RXC")
1865         ),
1866         MTK_PIN(
1867                 PINCTRL_PIN(269, "G2_RXD0"),
1868                 "D21", "mt7623",
1869                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1870                 MTK_FUNCTION(0, "GPIO269"),
1871                 MTK_FUNCTION(1, "G2_RXD0")
1872         ),
1873         MTK_PIN(
1874                 PINCTRL_PIN(270, "G2_RXD1"),
1875                 "B22", "mt7623",
1876                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1877                 MTK_FUNCTION(0, "GPIO270"),
1878                 MTK_FUNCTION(1, "G2_RXD1")
1879         ),
1880         MTK_PIN(
1881                 PINCTRL_PIN(271, "G2_RXD2"),
1882                 "A22", "mt7623",
1883                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1884                 MTK_FUNCTION(0, "GPIO271"),
1885                 MTK_FUNCTION(1, "G2_RXD2")
1886         ),
1887         MTK_PIN(
1888                 PINCTRL_PIN(272, "G2_RXD3"),
1889                 "C22", "mt7623",
1890                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1891                 MTK_FUNCTION(0, "GPIO272"),
1892                 MTK_FUNCTION(1, "G2_RXD3")
1893         ),
1894         MTK_PIN(
1895                 PINCTRL_PIN(273, "GPIO273"),
1896                 NULL, "mt7623",
1897                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1898                 MTK_FUNCTION(0, "GPIO273")
1899         ),
1900         MTK_PIN(
1901                 PINCTRL_PIN(274, "G2_RXDV"),
1902                 "C21", "mt7623",
1903                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1904                 MTK_FUNCTION(0, "GPIO274"),
1905                 MTK_FUNCTION(1, "G2_RXDV")
1906         ),
1907         MTK_PIN(
1908                 PINCTRL_PIN(275, "G2_MDC"),
1909                 NULL, "mt7623",
1910                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1911                 MTK_FUNCTION(0, "GPIO275"),
1912                 MTK_FUNCTION(1, "MDC")
1913         ),
1914         MTK_PIN(
1915                 PINCTRL_PIN(276, "G2_MDIO"),
1916                 NULL, "mt7623",
1917                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1918                 MTK_FUNCTION(0, "GPIO276"),
1919                 MTK_FUNCTION(1, "MDIO")
1920         ),
1921         MTK_PIN(
1922                 PINCTRL_PIN(277, "GPIO277"),
1923                 NULL, "mt7623",
1924                 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1925                 MTK_FUNCTION(0, "GPIO277")
1926         ),
1927         MTK_PIN(
1928                 PINCTRL_PIN(278, "JTAG_RESET"),
1929                 "H20", "mt7623",
1930                 MTK_EINT_FUNCTION(0, 147),
1931                 MTK_FUNCTION(0, "GPIO278"),
1932                 MTK_FUNCTION(1, "JTAG_RESET")
1933         ),
1934 };
1935
1936 #endif /* __PINCTRL_MTK_MT7623_H */