blob: b2b390da65976aa194295e1b9f47dd0ea235486e [file] [log] [blame]
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001/*
2 * Copyright (c) 2014 MediaTek Inc.
3 * Author: Hongzhou.Yang <hongzhou.yang@mediatek.com>
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 as
7 * published by the Free Software Foundation.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 */
14
15#ifndef __PINCTRL_MTK_MT8135_H
16#define __PINCTRL_MTK_MT8135_H
17
18#include <linux/pinctrl/pinctrl.h>
Guenter Roeckd48c5322015-03-11 09:05:20 -070019#include "pinctrl-mtk-common.h"
Hongzhou Yanga6df4102015-01-21 13:28:15 +080020
21static const struct mtk_desc_pin mtk_pins_mt8135[] = {
Zhiyong Taoe6c462d2018-03-22 10:58:43 +080022 MTK_PIN(PINCTRL_PIN(0, "MSDC0_DAT7"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +080023 "D21", "mt8135",
24 MTK_EINT_FUNCTION(2, 49),
25 MTK_FUNCTION(0, "GPIO0"),
26 MTK_FUNCTION(1, "MSDC0_DAT7"),
27 MTK_FUNCTION(2, "EINT49"),
28 MTK_FUNCTION(3, "I2SOUT_DAT"),
29 MTK_FUNCTION(4, "DAC_DAT_OUT"),
30 MTK_FUNCTION(5, "PCM1_DO"),
31 MTK_FUNCTION(6, "SPI1_MO"),
32 MTK_FUNCTION(7, "NALE")
33 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +080034 MTK_PIN(PINCTRL_PIN(1, "MSDC0_DAT6"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +080035 "D22", "mt8135",
36 MTK_EINT_FUNCTION(2, 48),
37 MTK_FUNCTION(0, "GPIO1"),
38 MTK_FUNCTION(1, "MSDC0_DAT6"),
39 MTK_FUNCTION(2, "EINT48"),
40 MTK_FUNCTION(3, "I2SIN_WS"),
41 MTK_FUNCTION(4, "DAC_WS"),
42 MTK_FUNCTION(5, "PCM1_WS"),
43 MTK_FUNCTION(6, "SPI1_CSN"),
44 MTK_FUNCTION(7, "NCLE")
45 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +080046 MTK_PIN(PINCTRL_PIN(2, "MSDC0_DAT5"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +080047 "E22", "mt8135",
48 MTK_EINT_FUNCTION(2, 47),
49 MTK_FUNCTION(0, "GPIO2"),
50 MTK_FUNCTION(1, "MSDC0_DAT5"),
51 MTK_FUNCTION(2, "EINT47"),
52 MTK_FUNCTION(3, "I2SIN_CK"),
53 MTK_FUNCTION(4, "DAC_CK"),
54 MTK_FUNCTION(5, "PCM1_CK"),
55 MTK_FUNCTION(6, "SPI1_CLK"),
56 MTK_FUNCTION(7, "NLD4")
57 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +080058 MTK_PIN(PINCTRL_PIN(3, "MSDC0_DAT4"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +080059 "F21", "mt8135",
60 MTK_EINT_FUNCTION(2, 46),
61 MTK_FUNCTION(0, "GPIO3"),
62 MTK_FUNCTION(1, "MSDC0_DAT4"),
63 MTK_FUNCTION(2, "EINT46"),
64 MTK_FUNCTION(3, "A_FUNC_CK"),
65 MTK_FUNCTION(6, "LSCE1B_2X"),
66 MTK_FUNCTION(7, "NLD5")
67 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +080068 MTK_PIN(PINCTRL_PIN(4, "MSDC0_CMD"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +080069 "F20", "mt8135",
70 MTK_EINT_FUNCTION(2, 41),
71 MTK_FUNCTION(0, "GPIO4"),
72 MTK_FUNCTION(1, "MSDC0_CMD"),
73 MTK_FUNCTION(2, "EINT41"),
74 MTK_FUNCTION(3, "A_FUNC_DOUT[0]"),
75 MTK_FUNCTION(5, "USB_TEST_IO[0]"),
76 MTK_FUNCTION(6, "LRSTB_2X"),
77 MTK_FUNCTION(7, "NRNB")
78 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +080079 MTK_PIN(PINCTRL_PIN(5, "MSDC0_CLK"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +080080 "G18", "mt8135",
81 MTK_EINT_FUNCTION(2, 40),
82 MTK_FUNCTION(0, "GPIO5"),
83 MTK_FUNCTION(1, "MSDC0_CLK"),
84 MTK_FUNCTION(2, "EINT40"),
85 MTK_FUNCTION(3, "A_FUNC_DOUT[1]"),
86 MTK_FUNCTION(5, "USB_TEST_IO[1]"),
87 MTK_FUNCTION(6, "LPTE"),
88 MTK_FUNCTION(7, "NREB")
89 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +080090 MTK_PIN(PINCTRL_PIN(6, "MSDC0_DAT3"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +080091 "G21", "mt8135",
92 MTK_EINT_FUNCTION(2, 45),
93 MTK_FUNCTION(0, "GPIO6"),
94 MTK_FUNCTION(1, "MSDC0_DAT3"),
95 MTK_FUNCTION(2, "EINT45"),
96 MTK_FUNCTION(3, "A_FUNC_DOUT[2]"),
97 MTK_FUNCTION(5, "USB_TEST_IO[2]"),
98 MTK_FUNCTION(6, "LSCE0B_2X"),
99 MTK_FUNCTION(7, "NLD7")
100 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +0800101 MTK_PIN(PINCTRL_PIN(7, "MSDC0_DAT2"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +0800102 "E21", "mt8135",
103 MTK_EINT_FUNCTION(2, 44),
104 MTK_FUNCTION(0, "GPIO7"),
105 MTK_FUNCTION(1, "MSDC0_DAT2"),
106 MTK_FUNCTION(2, "EINT44"),
107 MTK_FUNCTION(3, "A_FUNC_DOUT[3]"),
108 MTK_FUNCTION(5, "USB_TEST_IO[3]"),
109 MTK_FUNCTION(6, "LSA0_2X"),
110 MTK_FUNCTION(7, "NLD14")
111 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +0800112 MTK_PIN(PINCTRL_PIN(8, "MSDC0_DAT1"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +0800113 "E23", "mt8135",
114 MTK_EINT_FUNCTION(2, 43),
115 MTK_FUNCTION(0, "GPIO8"),
116 MTK_FUNCTION(1, "MSDC0_DAT1"),
117 MTK_FUNCTION(2, "EINT43"),
118 MTK_FUNCTION(5, "USB_TEST_IO[4]"),
119 MTK_FUNCTION(6, "LSCK_2X"),
120 MTK_FUNCTION(7, "NLD11")
121 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +0800122 MTK_PIN(PINCTRL_PIN(9, "MSDC0_DAT0"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +0800123 "F22", "mt8135",
124 MTK_EINT_FUNCTION(2, 42),
125 MTK_FUNCTION(0, "GPIO9"),
126 MTK_FUNCTION(1, "MSDC0_DAT0"),
127 MTK_FUNCTION(2, "EINT42"),
128 MTK_FUNCTION(5, "USB_TEST_IO[5]"),
129 MTK_FUNCTION(6, "LSDA_2X")
130 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +0800131 MTK_PIN(PINCTRL_PIN(10, "NCEB0"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +0800132 "G20", "mt8135",
133 MTK_EINT_FUNCTION(2, 139),
134 MTK_FUNCTION(0, "GPIO10"),
135 MTK_FUNCTION(1, "NCEB0"),
136 MTK_FUNCTION(2, "EINT139"),
137 MTK_FUNCTION(7, "TESTA_OUT4")
138 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +0800139 MTK_PIN(PINCTRL_PIN(11, "NCEB1"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +0800140 "L17", "mt8135",
141 MTK_EINT_FUNCTION(2, 140),
142 MTK_FUNCTION(0, "GPIO11"),
143 MTK_FUNCTION(1, "NCEB1"),
144 MTK_FUNCTION(2, "EINT140"),
145 MTK_FUNCTION(6, "USB_DRVVBUS"),
146 MTK_FUNCTION(7, "TESTA_OUT5")
147 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +0800148 MTK_PIN(PINCTRL_PIN(12, "NRNB"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +0800149 "G19", "mt8135",
150 MTK_EINT_FUNCTION(2, 141),
151 MTK_FUNCTION(0, "GPIO12"),
152 MTK_FUNCTION(1, "NRNB"),
153 MTK_FUNCTION(2, "EINT141"),
154 MTK_FUNCTION(3, "A_FUNC_DOUT[4]"),
155 MTK_FUNCTION(7, "TESTA_OUT6")
156 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +0800157 MTK_PIN(PINCTRL_PIN(13, "NCLE"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +0800158 "J18", "mt8135",
159 MTK_EINT_FUNCTION(2, 142),
160 MTK_FUNCTION(0, "GPIO13"),
161 MTK_FUNCTION(1, "NCLE"),
162 MTK_FUNCTION(2, "EINT142"),
163 MTK_FUNCTION(3, "A_FUNC_DOUT[5]"),
164 MTK_FUNCTION(4, "CM2PDN_1X"),
165 MTK_FUNCTION(6, "NALE"),
166 MTK_FUNCTION(7, "TESTA_OUT7")
167 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +0800168 MTK_PIN(PINCTRL_PIN(14, "NALE"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +0800169 "J19", "mt8135",
170 MTK_EINT_FUNCTION(2, 143),
171 MTK_FUNCTION(0, "GPIO14"),
172 MTK_FUNCTION(1, "NALE"),
173 MTK_FUNCTION(2, "EINT143"),
174 MTK_FUNCTION(3, "A_FUNC_DOUT[6]"),
175 MTK_FUNCTION(4, "CM2MCLK_1X"),
176 MTK_FUNCTION(5, "IRDA_RXD"),
177 MTK_FUNCTION(6, "NCLE"),
178 MTK_FUNCTION(7, "TESTA_OUT8")
179 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +0800180 MTK_PIN(PINCTRL_PIN(15, "NREB"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +0800181 "L18", "mt8135",
182 MTK_EINT_FUNCTION(2, 144),
183 MTK_FUNCTION(0, "GPIO15"),
184 MTK_FUNCTION(1, "NREB"),
185 MTK_FUNCTION(2, "EINT144"),
186 MTK_FUNCTION(3, "A_FUNC_DOUT[7]"),
187 MTK_FUNCTION(4, "CM2RST_1X"),
188 MTK_FUNCTION(5, "IRDA_TXD"),
189 MTK_FUNCTION(7, "TESTA_OUT9")
190 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +0800191 MTK_PIN(PINCTRL_PIN(16, "NWEB"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +0800192 "J20", "mt8135",
193 MTK_EINT_FUNCTION(2, 145),
194 MTK_FUNCTION(0, "GPIO16"),
195 MTK_FUNCTION(1, "NWEB"),
196 MTK_FUNCTION(2, "EINT145"),
197 MTK_FUNCTION(3, "A_FUNC_DIN[0]"),
198 MTK_FUNCTION(4, "CM2PCLK_1X"),
199 MTK_FUNCTION(5, "IRDA_PDN"),
200 MTK_FUNCTION(7, "TESTA_OUT10")
201 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +0800202 MTK_PIN(PINCTRL_PIN(17, "NLD0"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +0800203 "K21", "mt8135",
204 MTK_EINT_FUNCTION(2, 146),
205 MTK_FUNCTION(0, "GPIO17"),
206 MTK_FUNCTION(1, "NLD0"),
207 MTK_FUNCTION(2, "EINT146"),
208 MTK_FUNCTION(3, "A_FUNC_DIN[1]"),
209 MTK_FUNCTION(4, "CM2DAT_1X[0]"),
210 MTK_FUNCTION(5, "I2SIN_CK"),
211 MTK_FUNCTION(6, "DAC_CK"),
212 MTK_FUNCTION(7, "TESTA_OUT11")
213 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +0800214 MTK_PIN(PINCTRL_PIN(18, "NLD1"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +0800215 "K22", "mt8135",
216 MTK_EINT_FUNCTION(2, 147),
217 MTK_FUNCTION(0, "GPIO18"),
218 MTK_FUNCTION(1, "NLD1"),
219 MTK_FUNCTION(2, "EINT147"),
220 MTK_FUNCTION(3, "A_FUNC_DIN[2]"),
221 MTK_FUNCTION(4, "CM2DAT_1X[1]"),
222 MTK_FUNCTION(5, "I2SIN_WS"),
223 MTK_FUNCTION(6, "DAC_WS"),
224 MTK_FUNCTION(7, "TESTA_OUT12")
225 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +0800226 MTK_PIN(PINCTRL_PIN(19, "NLD2"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +0800227 "J21", "mt8135",
228 MTK_EINT_FUNCTION(2, 148),
229 MTK_FUNCTION(0, "GPIO19"),
230 MTK_FUNCTION(1, "NLD2"),
231 MTK_FUNCTION(2, "EINT148"),
232 MTK_FUNCTION(3, "A_FUNC_DIN[3]"),
233 MTK_FUNCTION(4, "CM2DAT_1X[2]"),
234 MTK_FUNCTION(5, "I2SOUT_DAT"),
235 MTK_FUNCTION(6, "DAC_DAT_OUT"),
236 MTK_FUNCTION(7, "TESTA_OUT13")
237 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +0800238 MTK_PIN(PINCTRL_PIN(20, "NLD3"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +0800239 "J23", "mt8135",
240 MTK_EINT_FUNCTION(2, 149),
241 MTK_FUNCTION(0, "GPIO20"),
242 MTK_FUNCTION(1, "NLD3"),
243 MTK_FUNCTION(2, "EINT149"),
244 MTK_FUNCTION(3, "A_FUNC_DIN[4]"),
245 MTK_FUNCTION(4, "CM2DAT_1X[3]"),
246 MTK_FUNCTION(7, "TESTA_OUT14")
247 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +0800248 MTK_PIN(PINCTRL_PIN(21, "NLD4"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +0800249 "J22", "mt8135",
250 MTK_EINT_FUNCTION(2, 150),
251 MTK_FUNCTION(0, "GPIO21"),
252 MTK_FUNCTION(1, "NLD4"),
253 MTK_FUNCTION(2, "EINT150"),
254 MTK_FUNCTION(3, "A_FUNC_DIN[5]"),
255 MTK_FUNCTION(4, "CM2DAT_1X[4]"),
256 MTK_FUNCTION(7, "TESTA_OUT15")
257 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +0800258 MTK_PIN(PINCTRL_PIN(22, "NLD5"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +0800259 "H21", "mt8135",
260 MTK_EINT_FUNCTION(2, 151),
261 MTK_FUNCTION(0, "GPIO22"),
262 MTK_FUNCTION(1, "NLD5"),
263 MTK_FUNCTION(2, "EINT151"),
264 MTK_FUNCTION(3, "A_FUNC_DIN[6]"),
265 MTK_FUNCTION(4, "CM2DAT_1X[5]"),
266 MTK_FUNCTION(7, "TESTA_OUT16")
267 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +0800268 MTK_PIN(PINCTRL_PIN(23, "NLD6"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +0800269 "H22", "mt8135",
270 MTK_EINT_FUNCTION(2, 152),
271 MTK_FUNCTION(0, "GPIO23"),
272 MTK_FUNCTION(1, "NLD6"),
273 MTK_FUNCTION(2, "EINT152"),
274 MTK_FUNCTION(3, "A_FUNC_DIN[7]"),
275 MTK_FUNCTION(4, "CM2DAT_1X[6]"),
276 MTK_FUNCTION(7, "TESTA_OUT17")
277 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +0800278 MTK_PIN(PINCTRL_PIN(24, "NLD7"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +0800279 "H20", "mt8135",
280 MTK_EINT_FUNCTION(2, 153),
281 MTK_FUNCTION(0, "GPIO24"),
282 MTK_FUNCTION(1, "NLD7"),
283 MTK_FUNCTION(2, "EINT153"),
284 MTK_FUNCTION(3, "A_FUNC_DIN[8]"),
285 MTK_FUNCTION(4, "CM2DAT_1X[7]"),
286 MTK_FUNCTION(7, "TESTA_OUT18")
287 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +0800288 MTK_PIN(PINCTRL_PIN(25, "NLD8"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +0800289 NULL, "mt8135",
290 MTK_EINT_FUNCTION(2, 154),
291 MTK_FUNCTION(0, "GPIO25"),
292 MTK_FUNCTION(1, "NLD8"),
293 MTK_FUNCTION(2, "EINT154"),
294 MTK_FUNCTION(4, "CM2DAT_1X[8]")
295 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +0800296 MTK_PIN(PINCTRL_PIN(26, "NLD9"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +0800297 NULL, "mt8135",
298 MTK_EINT_FUNCTION(2, 155),
299 MTK_FUNCTION(0, "GPIO26"),
300 MTK_FUNCTION(1, "NLD9"),
301 MTK_FUNCTION(2, "EINT155"),
302 MTK_FUNCTION(4, "CM2DAT_1X[9]"),
303 MTK_FUNCTION(5, "PWM1")
304 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +0800305 MTK_PIN(PINCTRL_PIN(27, "NLD10"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +0800306 NULL, "mt8135",
307 MTK_EINT_FUNCTION(2, 156),
308 MTK_FUNCTION(0, "GPIO27"),
309 MTK_FUNCTION(1, "NLD10"),
310 MTK_FUNCTION(2, "EINT156"),
311 MTK_FUNCTION(4, "CM2VSYNC_1X"),
312 MTK_FUNCTION(5, "PWM2")
313 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +0800314 MTK_PIN(PINCTRL_PIN(28, "NLD11"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +0800315 NULL, "mt8135",
316 MTK_EINT_FUNCTION(2, 157),
317 MTK_FUNCTION(0, "GPIO28"),
318 MTK_FUNCTION(1, "NLD11"),
319 MTK_FUNCTION(2, "EINT157"),
320 MTK_FUNCTION(4, "CM2HSYNC_1X"),
321 MTK_FUNCTION(5, "PWM3")
322 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +0800323 MTK_PIN(PINCTRL_PIN(29, "NLD12"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +0800324 NULL, "mt8135",
325 MTK_EINT_FUNCTION(2, 158),
326 MTK_FUNCTION(0, "GPIO29"),
327 MTK_FUNCTION(1, "NLD12"),
328 MTK_FUNCTION(2, "EINT158"),
329 MTK_FUNCTION(3, "I2SIN_CK"),
330 MTK_FUNCTION(4, "DAC_CK"),
331 MTK_FUNCTION(5, "PCM1_CK")
332 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +0800333 MTK_PIN(PINCTRL_PIN(30, "NLD13"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +0800334 NULL, "mt8135",
335 MTK_EINT_FUNCTION(2, 159),
336 MTK_FUNCTION(0, "GPIO30"),
337 MTK_FUNCTION(1, "NLD13"),
338 MTK_FUNCTION(2, "EINT159"),
339 MTK_FUNCTION(3, "I2SIN_WS"),
340 MTK_FUNCTION(4, "DAC_WS"),
341 MTK_FUNCTION(5, "PCM1_WS")
342 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +0800343 MTK_PIN(PINCTRL_PIN(31, "NLD14"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +0800344 NULL, "mt8135",
345 MTK_EINT_FUNCTION(2, 160),
346 MTK_FUNCTION(0, "GPIO31"),
347 MTK_FUNCTION(1, "NLD14"),
348 MTK_FUNCTION(2, "EINT160"),
349 MTK_FUNCTION(3, "I2SOUT_DAT"),
350 MTK_FUNCTION(4, "DAC_DAT_OUT"),
351 MTK_FUNCTION(5, "PCM1_DO")
352 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +0800353 MTK_PIN(PINCTRL_PIN(32, "NLD15"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +0800354 NULL, "mt8135",
355 MTK_EINT_FUNCTION(2, 161),
356 MTK_FUNCTION(0, "GPIO32"),
357 MTK_FUNCTION(1, "NLD15"),
358 MTK_FUNCTION(2, "EINT161"),
359 MTK_FUNCTION(3, "DISP_PWM"),
360 MTK_FUNCTION(4, "PWM4"),
361 MTK_FUNCTION(5, "PCM1_DI")
362 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +0800363 MTK_PIN(PINCTRL_PIN(33, "MSDC0_RSTB"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +0800364 "G22", "mt8135",
365 MTK_EINT_FUNCTION(2, 50),
366 MTK_FUNCTION(0, "GPIO33"),
367 MTK_FUNCTION(1, "MSDC0_RSTB"),
368 MTK_FUNCTION(2, "EINT50"),
369 MTK_FUNCTION(3, "I2SIN_DAT"),
370 MTK_FUNCTION(5, "PCM1_DI"),
371 MTK_FUNCTION(6, "SPI1_MI"),
372 MTK_FUNCTION(7, "NLD10")
373 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +0800374 MTK_PIN(PINCTRL_PIN(34, "IDDIG"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +0800375 "N17", "mt8135",
376 MTK_EINT_FUNCTION(2, 34),
377 MTK_FUNCTION(0, "GPIO34"),
378 MTK_FUNCTION(1, "IDDIG"),
379 MTK_FUNCTION(2, "EINT34")
380 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +0800381 MTK_PIN(PINCTRL_PIN(35, "SCL3"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +0800382 "L19", "mt8135",
383 MTK_EINT_FUNCTION(2, 96),
384 MTK_FUNCTION(0, "GPIO35"),
385 MTK_FUNCTION(1, "SCL3"),
386 MTK_FUNCTION(2, "EINT96"),
387 MTK_FUNCTION(3, "CLKM6"),
388 MTK_FUNCTION(4, "PWM6")
389 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +0800390 MTK_PIN(PINCTRL_PIN(36, "SDA3"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +0800391 "L20", "mt8135",
392 MTK_EINT_FUNCTION(2, 97),
393 MTK_FUNCTION(0, "GPIO36"),
394 MTK_FUNCTION(1, "SDA3"),
395 MTK_FUNCTION(2, "EINT97")
396 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +0800397 MTK_PIN(PINCTRL_PIN(37, "AUD_CLK_MOSI"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +0800398 "L21", "mt8135",
399 MTK_EINT_FUNCTION(4, 19),
400 MTK_FUNCTION(0, "GPIO37"),
401 MTK_FUNCTION(1, "AUD_CLK"),
402 MTK_FUNCTION(2, "ADC_CK"),
403 MTK_FUNCTION(3, " HDMI_SDATA0"),
404 MTK_FUNCTION(4, "EINT19"),
405 MTK_FUNCTION(5, "USB_TEST_IO[6]"),
406 MTK_FUNCTION(7, "TESTA_OUT19")
407 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +0800408 MTK_PIN(PINCTRL_PIN(38, "AUD_DAT_MOSI"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +0800409 "L23", "mt8135",
410 MTK_EINT_FUNCTION(4, 21),
411 MTK_FUNCTION(0, "GPIO38"),
412 MTK_FUNCTION(1, "AUD_DAT_MOSI"),
413 MTK_FUNCTION(2, "ADC_WS"),
414 MTK_FUNCTION(3, "AUD_DAT_MISO"),
415 MTK_FUNCTION(4, "EINT21"),
416 MTK_FUNCTION(5, "USB_TEST_IO[7]"),
417 MTK_FUNCTION(7, "TESTA_OUT20")
418 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +0800419 MTK_PIN(PINCTRL_PIN(39, "AUD_DAT_MISO"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +0800420 "L22", "mt8135",
421 MTK_EINT_FUNCTION(4, 20),
422 MTK_FUNCTION(0, "GPIO39"),
423 MTK_FUNCTION(1, "AUD_DAT_MISO"),
424 MTK_FUNCTION(2, "ADC_DAT_IN"),
425 MTK_FUNCTION(3, "AUD_DAT_MOSI"),
426 MTK_FUNCTION(4, "EINT20"),
427 MTK_FUNCTION(5, "USB_TEST_IO[8]"),
428 MTK_FUNCTION(7, "TESTA_OUT21")
429 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +0800430 MTK_PIN(PINCTRL_PIN(40, "DAC_CLK"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +0800431 "P21", "mt8135",
432 MTK_EINT_FUNCTION(2, 22),
433 MTK_FUNCTION(0, "GPIO40"),
434 MTK_FUNCTION(1, "DAC_CK"),
435 MTK_FUNCTION(2, "EINT22"),
436 MTK_FUNCTION(3, " HDMI_SDATA1"),
437 MTK_FUNCTION(5, "USB_TEST_IO[9]"),
438 MTK_FUNCTION(7, "TESTA_OUT22")
439 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +0800440 MTK_PIN(PINCTRL_PIN(41, "DAC_WS"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +0800441 "N18", "mt8135",
442 MTK_EINT_FUNCTION(2, 24),
443 MTK_FUNCTION(0, "GPIO41"),
444 MTK_FUNCTION(1, "DAC_WS"),
445 MTK_FUNCTION(2, "EINT24"),
446 MTK_FUNCTION(3, " HDMI_SDATA2"),
447 MTK_FUNCTION(5, "USB_TEST_IO[10]"),
448 MTK_FUNCTION(7, "TESTA_OUT23")
449 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +0800450 MTK_PIN(PINCTRL_PIN(42, "DAC_DAT_OUT"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +0800451 "N22", "mt8135",
452 MTK_EINT_FUNCTION(2, 23),
453 MTK_FUNCTION(0, "GPIO42"),
454 MTK_FUNCTION(1, "DAC_DAT_OUT"),
455 MTK_FUNCTION(2, "EINT23"),
456 MTK_FUNCTION(3, " HDMI_SDATA3"),
457 MTK_FUNCTION(5, "USB_TEST_IO[11]"),
458 MTK_FUNCTION(7, "TESTA_OUT24")
459 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +0800460 MTK_PIN(PINCTRL_PIN(43, "PWRAP_SPI0_MO"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +0800461 "M22", "mt8135",
462 MTK_EINT_FUNCTION(2, 29),
463 MTK_FUNCTION(0, "GPIO43"),
464 MTK_FUNCTION(1, "PWRAP_SPIDI"),
465 MTK_FUNCTION(2, "EINT29")
466 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +0800467 MTK_PIN(PINCTRL_PIN(44, "PWRAP_SPI0_MI"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +0800468 "P23", "mt8135",
469 MTK_EINT_FUNCTION(2, 28),
470 MTK_FUNCTION(0, "GPIO44"),
471 MTK_FUNCTION(1, "PWRAP_SPIDO"),
472 MTK_FUNCTION(2, "EINT28")
473 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +0800474 MTK_PIN(PINCTRL_PIN(45, "PWRAP_SPI0_CSN"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +0800475 "M21", "mt8135",
476 MTK_EINT_FUNCTION(2, 27),
477 MTK_FUNCTION(0, "GPIO45"),
478 MTK_FUNCTION(1, "PWRAP_SPICS_B_I"),
479 MTK_FUNCTION(2, "EINT27")
480 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +0800481 MTK_PIN(PINCTRL_PIN(46, "PWRAP_SPI0_CLK"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +0800482 "P22", "mt8135",
483 MTK_EINT_FUNCTION(2, 26),
484 MTK_FUNCTION(0, "GPIO46"),
485 MTK_FUNCTION(1, "PWRAP_SPICK_I"),
486 MTK_FUNCTION(2, "EINT26")
487 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +0800488 MTK_PIN(PINCTRL_PIN(47, "PWRAP_EVENT"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +0800489 "M23", "mt8135",
490 MTK_EINT_FUNCTION(2, 25),
491 MTK_FUNCTION(0, "GPIO47"),
492 MTK_FUNCTION(1, "PWRAP_EVENT_IN"),
493 MTK_FUNCTION(2, "EINT25"),
494 MTK_FUNCTION(7, "TESTA_OUT2")
495 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +0800496 MTK_PIN(PINCTRL_PIN(48, "RTC32K_CK"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +0800497 "N20", "mt8135",
498 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
499 MTK_FUNCTION(0, "GPIO48"),
500 MTK_FUNCTION(1, "RTC32K_CK")
501 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +0800502 MTK_PIN(PINCTRL_PIN(49, "WATCHDOG"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +0800503 "R22", "mt8135",
504 MTK_EINT_FUNCTION(2, 36),
505 MTK_FUNCTION(0, "GPIO49"),
506 MTK_FUNCTION(1, "WATCHDOG"),
507 MTK_FUNCTION(2, "EINT36")
508 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +0800509 MTK_PIN(PINCTRL_PIN(50, "SRCLKENA"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +0800510 "T22", "mt8135",
511 MTK_EINT_FUNCTION(2, 38),
512 MTK_FUNCTION(0, "GPIO50"),
513 MTK_FUNCTION(1, "SRCLKENA"),
514 MTK_FUNCTION(2, "EINT38")
515 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +0800516 MTK_PIN(PINCTRL_PIN(51, "SRCVOLTEN"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +0800517 "T23", "mt8135",
518 MTK_EINT_FUNCTION(2, 37),
519 MTK_FUNCTION(0, "GPIO51"),
520 MTK_FUNCTION(1, "SRCVOLTEN"),
521 MTK_FUNCTION(2, "EINT37")
522 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +0800523 MTK_PIN(PINCTRL_PIN(52, "EINT0"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +0800524 "T21", "mt8135",
525 MTK_EINT_FUNCTION(1, 0),
526 MTK_FUNCTION(0, "GPIO52"),
527 MTK_FUNCTION(1, "EINT0"),
528 MTK_FUNCTION(2, "PWM1"),
529 MTK_FUNCTION(3, "CLKM0"),
530 MTK_FUNCTION(4, " SPDIF_OUT"),
531 MTK_FUNCTION(5, "USB_TEST_IO[12]"),
532 MTK_FUNCTION(7, "USB_SCL")
533 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +0800534 MTK_PIN(PINCTRL_PIN(53, "URXD2"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +0800535 "R18", "mt8135",
536 MTK_EINT_FUNCTION(2, 83),
537 MTK_FUNCTION(0, "GPIO53"),
538 MTK_FUNCTION(1, "URXD2"),
539 MTK_FUNCTION(2, "EINT83"),
540 MTK_FUNCTION(4, " HDMI_LRCK"),
541 MTK_FUNCTION(5, "CLKM3"),
542 MTK_FUNCTION(7, "UTXD2")
543 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +0800544 MTK_PIN(PINCTRL_PIN(54, "UTXD2"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +0800545 "R17", "mt8135",
546 MTK_EINT_FUNCTION(2, 82),
547 MTK_FUNCTION(0, "GPIO54"),
548 MTK_FUNCTION(1, "UTXD2"),
549 MTK_FUNCTION(2, "EINT82"),
550 MTK_FUNCTION(4, " HDMI_BCK_OUT"),
551 MTK_FUNCTION(5, "CLKM2"),
552 MTK_FUNCTION(7, "URXD2")
553 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +0800554 MTK_PIN(PINCTRL_PIN(55, "UCTS2"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +0800555 "R20", "mt8135",
556 MTK_EINT_FUNCTION(2, 84),
557 MTK_FUNCTION(0, "GPIO55"),
558 MTK_FUNCTION(1, "UCTS2"),
559 MTK_FUNCTION(2, "EINT84"),
560 MTK_FUNCTION(5, "PWM1"),
561 MTK_FUNCTION(7, "URTS2")
562 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +0800563 MTK_PIN(PINCTRL_PIN(56, "URTS2"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +0800564 "R19", "mt8135",
565 MTK_EINT_FUNCTION(2, 85),
566 MTK_FUNCTION(0, "GPIO56"),
567 MTK_FUNCTION(1, "URTS2"),
568 MTK_FUNCTION(2, "EINT85"),
569 MTK_FUNCTION(5, "PWM2"),
570 MTK_FUNCTION(7, "UCTS2")
571 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +0800572 MTK_PIN(PINCTRL_PIN(57, "JTCK"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +0800573 "V17", "mt8135",
574 MTK_EINT_FUNCTION(2, 188),
575 MTK_FUNCTION(0, "GPIO57"),
576 MTK_FUNCTION(1, "JTCK"),
577 MTK_FUNCTION(2, "EINT188"),
578 MTK_FUNCTION(3, "DSP1_ICK")
579 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +0800580 MTK_PIN(PINCTRL_PIN(58, "JTDO"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +0800581 "T16", "mt8135",
582 MTK_EINT_FUNCTION(2, 190),
583 MTK_FUNCTION(0, "GPIO58"),
584 MTK_FUNCTION(1, "JTDO"),
585 MTK_FUNCTION(2, "EINT190"),
586 MTK_FUNCTION(3, "DSP2_IMS")
587 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +0800588 MTK_PIN(PINCTRL_PIN(59, "JTRST_B"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +0800589 "T19", "mt8135",
590 MTK_EINT_FUNCTION(2, 0),
591 MTK_FUNCTION(0, "GPIO59"),
592 MTK_FUNCTION(1, "JTRST_B"),
593 MTK_FUNCTION(2, "EINT0"),
594 MTK_FUNCTION(3, "DSP2_ICK")
595 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +0800596 MTK_PIN(PINCTRL_PIN(60, "JTDI"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +0800597 "T18", "mt8135",
598 MTK_EINT_FUNCTION(2, 189),
599 MTK_FUNCTION(0, "GPIO60"),
600 MTK_FUNCTION(1, "JTDI"),
601 MTK_FUNCTION(2, "EINT189"),
602 MTK_FUNCTION(3, "DSP1_IMS")
603 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +0800604 MTK_PIN(PINCTRL_PIN(61, "JRTCK"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +0800605 "T20", "mt8135",
606 MTK_EINT_FUNCTION(2, 187),
607 MTK_FUNCTION(0, "GPIO61"),
608 MTK_FUNCTION(1, "JRTCK"),
609 MTK_FUNCTION(2, "EINT187"),
610 MTK_FUNCTION(3, "DSP1_ID")
611 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +0800612 MTK_PIN(PINCTRL_PIN(62, "JTMS"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +0800613 "T17", "mt8135",
614 MTK_EINT_FUNCTION(2, 191),
615 MTK_FUNCTION(0, "GPIO62"),
616 MTK_FUNCTION(1, "JTMS"),
617 MTK_FUNCTION(2, "EINT191"),
618 MTK_FUNCTION(3, "DSP2_ID")
619 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +0800620 MTK_PIN(PINCTRL_PIN(63, "MSDC1_INSI"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +0800621 "V18", "mt8135",
622 MTK_EINT_FUNCTION(1, 15),
623 MTK_FUNCTION(0, "GPIO63"),
624 MTK_FUNCTION(1, "MSDC1_INSI"),
625 MTK_FUNCTION(3, "SCL5"),
626 MTK_FUNCTION(4, "PWM6"),
627 MTK_FUNCTION(5, "CLKM5"),
628 MTK_FUNCTION(7, "TESTB_OUT6")
629 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +0800630 MTK_PIN(PINCTRL_PIN(64, "MSDC1_SDWPI"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +0800631 "W18", "mt8135",
632 MTK_EINT_FUNCTION(2, 58),
633 MTK_FUNCTION(0, "GPIO64"),
634 MTK_FUNCTION(1, "MSDC1_SDWPI"),
635 MTK_FUNCTION(2, "EINT58"),
636 MTK_FUNCTION(3, "SDA5"),
637 MTK_FUNCTION(4, "PWM7"),
638 MTK_FUNCTION(5, "CLKM6"),
639 MTK_FUNCTION(7, "TESTB_OUT7")
640 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +0800641 MTK_PIN(PINCTRL_PIN(65, "MSDC2_INSI"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +0800642 "U22", "mt8135",
643 MTK_EINT_FUNCTION(1, 14),
644 MTK_FUNCTION(0, "GPIO65"),
645 MTK_FUNCTION(1, "MSDC2_INSI"),
646 MTK_FUNCTION(5, "USB_TEST_IO[27]"),
647 MTK_FUNCTION(7, "TESTA_OUT3")
648 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +0800649 MTK_PIN(PINCTRL_PIN(66, "MSDC2_SDWPI"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +0800650 "U21", "mt8135",
651 MTK_EINT_FUNCTION(2, 66),
652 MTK_FUNCTION(0, "GPIO66"),
653 MTK_FUNCTION(1, "MSDC2_SDWPI"),
654 MTK_FUNCTION(2, "EINT66"),
655 MTK_FUNCTION(5, "USB_TEST_IO[28]")
656 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +0800657 MTK_PIN(PINCTRL_PIN(67, "URXD4"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +0800658 "V23", "mt8135",
659 MTK_EINT_FUNCTION(2, 89),
660 MTK_FUNCTION(0, "GPIO67"),
661 MTK_FUNCTION(1, "URXD4"),
662 MTK_FUNCTION(2, "EINT89"),
663 MTK_FUNCTION(3, "URXD1"),
664 MTK_FUNCTION(6, "UTXD4"),
665 MTK_FUNCTION(7, "TESTB_OUT10")
666 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +0800667 MTK_PIN(PINCTRL_PIN(68, "UTXD4"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +0800668 "V22", "mt8135",
669 MTK_EINT_FUNCTION(2, 88),
670 MTK_FUNCTION(0, "GPIO68"),
671 MTK_FUNCTION(1, "UTXD4"),
672 MTK_FUNCTION(2, "EINT88"),
673 MTK_FUNCTION(3, "UTXD1"),
674 MTK_FUNCTION(6, "URXD4"),
675 MTK_FUNCTION(7, "TESTB_OUT11")
676 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +0800677 MTK_PIN(PINCTRL_PIN(69, "URXD1"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +0800678 "W22", "mt8135",
679 MTK_EINT_FUNCTION(2, 79),
680 MTK_FUNCTION(0, "GPIO69"),
681 MTK_FUNCTION(1, "URXD1"),
682 MTK_FUNCTION(2, "EINT79"),
683 MTK_FUNCTION(3, "URXD4"),
684 MTK_FUNCTION(6, "UTXD1"),
685 MTK_FUNCTION(7, "TESTB_OUT24")
686 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +0800687 MTK_PIN(PINCTRL_PIN(70, "UTXD1"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +0800688 "V21", "mt8135",
689 MTK_EINT_FUNCTION(2, 78),
690 MTK_FUNCTION(0, "GPIO70"),
691 MTK_FUNCTION(1, "UTXD1"),
692 MTK_FUNCTION(2, "EINT78"),
693 MTK_FUNCTION(3, "UTXD4"),
694 MTK_FUNCTION(6, "URXD1"),
695 MTK_FUNCTION(7, "TESTB_OUT25")
696 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +0800697 MTK_PIN(PINCTRL_PIN(71, "UCTS1"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +0800698 "V19", "mt8135",
699 MTK_EINT_FUNCTION(2, 80),
700 MTK_FUNCTION(0, "GPIO71"),
701 MTK_FUNCTION(1, "UCTS1"),
702 MTK_FUNCTION(2, "EINT80"),
703 MTK_FUNCTION(5, "CLKM0"),
704 MTK_FUNCTION(6, "URTS1"),
705 MTK_FUNCTION(7, "TESTB_OUT31")
706 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +0800707 MTK_PIN(PINCTRL_PIN(72, "URTS1"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +0800708 "V20", "mt8135",
709 MTK_EINT_FUNCTION(2, 81),
710 MTK_FUNCTION(0, "GPIO72"),
711 MTK_FUNCTION(1, "URTS1"),
712 MTK_FUNCTION(2, "EINT81"),
713 MTK_FUNCTION(5, "CLKM1"),
714 MTK_FUNCTION(6, "UCTS1"),
715 MTK_FUNCTION(7, "TESTB_OUT21")
716 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +0800717 MTK_PIN(PINCTRL_PIN(73, "PWM1"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +0800718 "W17", "mt8135",
719 MTK_EINT_FUNCTION(2, 73),
720 MTK_FUNCTION(0, "GPIO73"),
721 MTK_FUNCTION(1, "PWM1"),
722 MTK_FUNCTION(2, "EINT73"),
723 MTK_FUNCTION(5, "USB_DRVVBUS"),
724 MTK_FUNCTION(6, "DISP_PWM"),
725 MTK_FUNCTION(7, "TESTB_OUT8")
726 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +0800727 MTK_PIN(PINCTRL_PIN(74, "PWM2"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +0800728 "Y17", "mt8135",
729 MTK_EINT_FUNCTION(2, 74),
730 MTK_FUNCTION(0, "GPIO74"),
731 MTK_FUNCTION(1, "PWM2"),
732 MTK_FUNCTION(2, "EINT74"),
733 MTK_FUNCTION(3, "DPI33_CK"),
734 MTK_FUNCTION(4, "PWM5"),
735 MTK_FUNCTION(5, "URXD2"),
736 MTK_FUNCTION(6, "DISP_PWM"),
737 MTK_FUNCTION(7, "TESTB_OUT9")
738 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +0800739 MTK_PIN(PINCTRL_PIN(75, "PWM3"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +0800740 "Y19", "mt8135",
741 MTK_EINT_FUNCTION(2, 75),
742 MTK_FUNCTION(0, "GPIO75"),
743 MTK_FUNCTION(1, "PWM3"),
744 MTK_FUNCTION(2, "EINT75"),
745 MTK_FUNCTION(3, "DPI33_D0"),
746 MTK_FUNCTION(4, "PWM6"),
747 MTK_FUNCTION(5, "UTXD2"),
748 MTK_FUNCTION(6, "DISP_PWM"),
749 MTK_FUNCTION(7, "TESTB_OUT12")
750 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +0800751 MTK_PIN(PINCTRL_PIN(76, "PWM4"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +0800752 "W19", "mt8135",
753 MTK_EINT_FUNCTION(2, 76),
754 MTK_FUNCTION(0, "GPIO76"),
755 MTK_FUNCTION(1, "PWM4"),
756 MTK_FUNCTION(2, "EINT76"),
757 MTK_FUNCTION(3, "DPI33_D1"),
758 MTK_FUNCTION(4, "PWM7"),
759 MTK_FUNCTION(6, "DISP_PWM"),
760 MTK_FUNCTION(7, "TESTB_OUT13")
761 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +0800762 MTK_PIN(PINCTRL_PIN(77, "MSDC2_DAT2"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +0800763 "W21", "mt8135",
764 MTK_EINT_FUNCTION(2, 63),
765 MTK_FUNCTION(0, "GPIO77"),
766 MTK_FUNCTION(1, "MSDC2_DAT2"),
767 MTK_FUNCTION(2, "EINT63"),
768 MTK_FUNCTION(4, "DSP2_IMS"),
769 MTK_FUNCTION(6, "DPI33_D6"),
770 MTK_FUNCTION(7, "TESTA_OUT25")
771 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +0800772 MTK_PIN(PINCTRL_PIN(78, "MSDC2_DAT3"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +0800773 "AA23", "mt8135",
774 MTK_EINT_FUNCTION(2, 64),
775 MTK_FUNCTION(0, "GPIO78"),
776 MTK_FUNCTION(1, "MSDC2_DAT3"),
777 MTK_FUNCTION(2, "EINT64"),
778 MTK_FUNCTION(4, "DSP2_ID"),
779 MTK_FUNCTION(6, "DPI33_D7"),
780 MTK_FUNCTION(7, "TESTA_OUT26")
781 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +0800782 MTK_PIN(PINCTRL_PIN(79, "MSDC2_CMD"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +0800783 "Y22", "mt8135",
784 MTK_EINT_FUNCTION(2, 60),
785 MTK_FUNCTION(0, "GPIO79"),
786 MTK_FUNCTION(1, "MSDC2_CMD"),
787 MTK_FUNCTION(2, "EINT60"),
788 MTK_FUNCTION(4, "DSP1_IMS"),
789 MTK_FUNCTION(5, "PCM1_WS"),
790 MTK_FUNCTION(6, "DPI33_D3"),
791 MTK_FUNCTION(7, "TESTA_OUT0")
792 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +0800793 MTK_PIN(PINCTRL_PIN(80, "MSDC2_CLK"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +0800794 "AA22", "mt8135",
795 MTK_EINT_FUNCTION(2, 59),
796 MTK_FUNCTION(0, "GPIO80"),
797 MTK_FUNCTION(1, "MSDC2_CLK"),
798 MTK_FUNCTION(2, "EINT59"),
799 MTK_FUNCTION(4, "DSP1_ICK"),
800 MTK_FUNCTION(5, "PCM1_CK"),
801 MTK_FUNCTION(6, "DPI33_D2"),
802 MTK_FUNCTION(7, "TESTA_OUT1")
803 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +0800804 MTK_PIN(PINCTRL_PIN(81, "MSDC2_DAT1"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +0800805 "Y21", "mt8135",
806 MTK_EINT_FUNCTION(2, 62),
807 MTK_FUNCTION(0, "GPIO81"),
808 MTK_FUNCTION(1, "MSDC2_DAT1"),
809 MTK_FUNCTION(2, "EINT62"),
810 MTK_FUNCTION(4, "DSP2_ICK"),
811 MTK_FUNCTION(5, "PCM1_DO"),
812 MTK_FUNCTION(6, "DPI33_D5")
813 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +0800814 MTK_PIN(PINCTRL_PIN(82, "MSDC2_DAT0"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +0800815 "AB22", "mt8135",
816 MTK_EINT_FUNCTION(2, 61),
817 MTK_FUNCTION(0, "GPIO82"),
818 MTK_FUNCTION(1, "MSDC2_DAT0"),
819 MTK_FUNCTION(2, "EINT61"),
820 MTK_FUNCTION(4, "DSP1_ID"),
821 MTK_FUNCTION(5, "PCM1_DI"),
822 MTK_FUNCTION(6, "DPI33_D4")
823 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +0800824 MTK_PIN(PINCTRL_PIN(83, "MSDC1_DAT0"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +0800825 "AC19", "mt8135",
826 MTK_EINT_FUNCTION(2, 53),
827 MTK_FUNCTION(0, "GPIO83"),
828 MTK_FUNCTION(1, "MSDC1_DAT0"),
829 MTK_FUNCTION(2, "EINT53"),
830 MTK_FUNCTION(3, "SCL1"),
831 MTK_FUNCTION(4, "PWM2"),
832 MTK_FUNCTION(5, "CLKM1"),
833 MTK_FUNCTION(7, "TESTB_OUT2")
834 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +0800835 MTK_PIN(PINCTRL_PIN(84, "MSDC1_DAT1"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +0800836 "AA19", "mt8135",
837 MTK_EINT_FUNCTION(2, 54),
838 MTK_FUNCTION(0, "GPIO84"),
839 MTK_FUNCTION(1, "MSDC1_DAT1"),
840 MTK_FUNCTION(2, "EINT54"),
841 MTK_FUNCTION(3, "SDA1"),
842 MTK_FUNCTION(4, "PWM3"),
843 MTK_FUNCTION(5, "CLKM2"),
844 MTK_FUNCTION(7, "TESTB_OUT3")
845 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +0800846 MTK_PIN(PINCTRL_PIN(85, "MSDC1_CMD"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +0800847 "AA20", "mt8135",
848 MTK_EINT_FUNCTION(2, 52),
849 MTK_FUNCTION(0, "GPIO85"),
850 MTK_FUNCTION(1, "MSDC1_CMD"),
851 MTK_FUNCTION(2, "EINT52"),
852 MTK_FUNCTION(3, "SDA0"),
853 MTK_FUNCTION(4, "PWM1"),
854 MTK_FUNCTION(5, "CLKM0"),
855 MTK_FUNCTION(7, "TESTB_OUT1")
856 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +0800857 MTK_PIN(PINCTRL_PIN(86, "MSDC1_CLK"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +0800858 "AB19", "mt8135",
859 MTK_EINT_FUNCTION(2, 51),
860 MTK_FUNCTION(0, "GPIO86"),
861 MTK_FUNCTION(1, "MSDC1_CLK"),
862 MTK_FUNCTION(2, "EINT51"),
863 MTK_FUNCTION(3, "SCL0"),
864 MTK_FUNCTION(4, "DISP_PWM"),
865 MTK_FUNCTION(7, "TESTB_OUT0")
866 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +0800867 MTK_PIN(PINCTRL_PIN(87, "MSDC1_DAT2"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +0800868 "AA21", "mt8135",
869 MTK_EINT_FUNCTION(2, 55),
870 MTK_FUNCTION(0, "GPIO87"),
871 MTK_FUNCTION(1, "MSDC1_DAT2"),
872 MTK_FUNCTION(2, "EINT55"),
873 MTK_FUNCTION(3, "SCL4"),
874 MTK_FUNCTION(4, "PWM4"),
875 MTK_FUNCTION(5, "CLKM3"),
876 MTK_FUNCTION(7, "TESTB_OUT4")
877 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +0800878 MTK_PIN(PINCTRL_PIN(88, "MSDC1_DAT3"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +0800879 "AB20", "mt8135",
880 MTK_EINT_FUNCTION(2, 56),
881 MTK_FUNCTION(0, "GPIO88"),
882 MTK_FUNCTION(1, "MSDC1_DAT3"),
883 MTK_FUNCTION(2, "EINT56"),
884 MTK_FUNCTION(3, "SDA4"),
885 MTK_FUNCTION(4, "PWM5"),
886 MTK_FUNCTION(5, "CLKM4"),
887 MTK_FUNCTION(7, "TESTB_OUT5")
888 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +0800889 MTK_PIN(PINCTRL_PIN(89, "MSDC4_DAT0"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +0800890 "AB8", "mt8135",
891 MTK_EINT_FUNCTION(2, 133),
892 MTK_FUNCTION(0, "GPIO89"),
893 MTK_FUNCTION(1, "MSDC4_DAT0"),
894 MTK_FUNCTION(2, "EINT133"),
895 MTK_FUNCTION(4, "EXT_FRAME_SYNC"),
896 MTK_FUNCTION(5, "USB_DRVVBUS"),
897 MTK_FUNCTION(6, "A_FUNC_DIN[9]"),
898 MTK_FUNCTION(7, "LPTE")
899 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +0800900 MTK_PIN(PINCTRL_PIN(90, "MSDC4_DAT1"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +0800901 "AB7", "mt8135",
902 MTK_EINT_FUNCTION(2, 134),
903 MTK_FUNCTION(0, "GPIO90"),
904 MTK_FUNCTION(1, "MSDC4_DAT1"),
905 MTK_FUNCTION(2, "EINT134"),
906 MTK_FUNCTION(6, "A_FUNC_DIN[10]"),
907 MTK_FUNCTION(7, "LRSTB_1X")
908 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +0800909 MTK_PIN(PINCTRL_PIN(91, "MSDC4_DAT5"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +0800910 "AA8", "mt8135",
911 MTK_EINT_FUNCTION(2, 136),
912 MTK_FUNCTION(0, "GPIO91"),
913 MTK_FUNCTION(1, "MSDC4_DAT5"),
914 MTK_FUNCTION(2, "EINT136"),
915 MTK_FUNCTION(3, "I2SIN_WS"),
916 MTK_FUNCTION(4, "DAC_WS"),
917 MTK_FUNCTION(5, "PCM1_WS"),
918 MTK_FUNCTION(6, "A_FUNC_DIN[11]"),
919 MTK_FUNCTION(7, "SPI1_CSN")
920 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +0800921 MTK_PIN(PINCTRL_PIN(92, "MSDC4_DAT6"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +0800922 "AC4", "mt8135",
923 MTK_EINT_FUNCTION(2, 137),
924 MTK_FUNCTION(0, "GPIO92"),
925 MTK_FUNCTION(1, "MSDC4_DAT6"),
926 MTK_FUNCTION(2, "EINT137"),
927 MTK_FUNCTION(3, "I2SOUT_DAT"),
928 MTK_FUNCTION(4, "DAC_DAT_OUT"),
929 MTK_FUNCTION(5, "PCM1_DO"),
930 MTK_FUNCTION(6, "A_FUNC_DIN[12]"),
931 MTK_FUNCTION(7, "SPI1_MO")
932 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +0800933 MTK_PIN(PINCTRL_PIN(93, "MSDC4_DAT7"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +0800934 "AC6", "mt8135",
935 MTK_EINT_FUNCTION(2, 138),
936 MTK_FUNCTION(0, "GPIO93"),
937 MTK_FUNCTION(1, "MSDC4_DAT7"),
938 MTK_FUNCTION(2, "EINT138"),
939 MTK_FUNCTION(3, "I2SIN_DAT"),
940 MTK_FUNCTION(5, "PCM1_DI"),
941 MTK_FUNCTION(6, "A_FUNC_DIN[13]"),
942 MTK_FUNCTION(7, "SPI1_MI")
943 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +0800944 MTK_PIN(PINCTRL_PIN(94, "MSDC4_DAT4"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +0800945 "AA7", "mt8135",
946 MTK_EINT_FUNCTION(2, 135),
947 MTK_FUNCTION(0, "GPIO94"),
948 MTK_FUNCTION(1, "MSDC4_DAT4"),
949 MTK_FUNCTION(2, "EINT135"),
950 MTK_FUNCTION(3, "I2SIN_CK"),
951 MTK_FUNCTION(4, "DAC_CK"),
952 MTK_FUNCTION(5, "PCM1_CK"),
953 MTK_FUNCTION(6, "A_FUNC_DIN[14]"),
954 MTK_FUNCTION(7, "SPI1_CLK")
955 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +0800956 MTK_PIN(PINCTRL_PIN(95, "MSDC4_DAT2"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +0800957 "AB6", "mt8135",
958 MTK_EINT_FUNCTION(2, 131),
959 MTK_FUNCTION(0, "GPIO95"),
960 MTK_FUNCTION(1, "MSDC4_DAT2"),
961 MTK_FUNCTION(2, "EINT131"),
962 MTK_FUNCTION(3, "I2SIN_WS"),
963 MTK_FUNCTION(4, "CM2PDN_2X"),
964 MTK_FUNCTION(5, "DAC_WS"),
965 MTK_FUNCTION(6, "PCM1_WS"),
966 MTK_FUNCTION(7, "LSCE0B_1X")
967 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +0800968 MTK_PIN(PINCTRL_PIN(96, "MSDC4_CLK"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +0800969 "AB5", "mt8135",
970 MTK_EINT_FUNCTION(2, 129),
971 MTK_FUNCTION(0, "GPIO96"),
972 MTK_FUNCTION(1, "MSDC4_CLK"),
973 MTK_FUNCTION(2, "EINT129"),
974 MTK_FUNCTION(3, "DPI1_CK_2X"),
975 MTK_FUNCTION(4, "CM2PCLK_2X"),
976 MTK_FUNCTION(5, "PWM4"),
977 MTK_FUNCTION(6, "PCM1_DI"),
978 MTK_FUNCTION(7, "LSCK_1X")
979 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +0800980 MTK_PIN(PINCTRL_PIN(97, "MSDC4_DAT3"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +0800981 "Y8", "mt8135",
982 MTK_EINT_FUNCTION(2, 132),
983 MTK_FUNCTION(0, "GPIO97"),
984 MTK_FUNCTION(1, "MSDC4_DAT3"),
985 MTK_FUNCTION(2, "EINT132"),
986 MTK_FUNCTION(3, "I2SOUT_DAT"),
987 MTK_FUNCTION(4, "CM2RST_2X"),
988 MTK_FUNCTION(5, "DAC_DAT_OUT"),
989 MTK_FUNCTION(6, "PCM1_DO"),
990 MTK_FUNCTION(7, "LSCE1B_1X")
991 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +0800992 MTK_PIN(PINCTRL_PIN(98, "MSDC4_CMD"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +0800993 "AC3", "mt8135",
994 MTK_EINT_FUNCTION(2, 128),
995 MTK_FUNCTION(0, "GPIO98"),
996 MTK_FUNCTION(1, "MSDC4_CMD"),
997 MTK_FUNCTION(2, "EINT128"),
998 MTK_FUNCTION(3, "DPI1_DE_2X"),
999 MTK_FUNCTION(5, "PWM3"),
1000 MTK_FUNCTION(7, "LSDA_1X")
1001 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001002 MTK_PIN(PINCTRL_PIN(99, "MSDC4_RSTB"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001003 "AB4", "mt8135",
1004 MTK_EINT_FUNCTION(2, 130),
1005 MTK_FUNCTION(0, "GPIO99"),
1006 MTK_FUNCTION(1, "MSDC4_RSTB"),
1007 MTK_FUNCTION(2, "EINT130"),
1008 MTK_FUNCTION(3, "I2SIN_CK"),
1009 MTK_FUNCTION(4, "CM2MCLK_2X"),
1010 MTK_FUNCTION(5, "DAC_CK"),
1011 MTK_FUNCTION(6, "PCM1_CK"),
1012 MTK_FUNCTION(7, "LSA0_1X")
1013 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001014 MTK_PIN(PINCTRL_PIN(100, "SDA0"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001015 "W9", "mt8135",
1016 MTK_EINT_FUNCTION(2, 91),
1017 MTK_FUNCTION(0, "GPIO100"),
1018 MTK_FUNCTION(1, "SDA0"),
1019 MTK_FUNCTION(2, "EINT91"),
1020 MTK_FUNCTION(3, "CLKM1"),
1021 MTK_FUNCTION(4, "PWM1"),
1022 MTK_FUNCTION(7, "A_FUNC_DIN[15]")
1023 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001024 MTK_PIN(PINCTRL_PIN(101, "SCL0"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001025 "W11", "mt8135",
1026 MTK_EINT_FUNCTION(2, 90),
1027 MTK_FUNCTION(0, "GPIO101"),
1028 MTK_FUNCTION(1, "SCL0"),
1029 MTK_FUNCTION(2, "EINT90"),
1030 MTK_FUNCTION(3, "CLKM0"),
1031 MTK_FUNCTION(4, "DISP_PWM"),
1032 MTK_FUNCTION(7, "A_FUNC_DIN[16]")
1033 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001034 MTK_PIN(PINCTRL_PIN(102, "EINT10_AUXIN2"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001035 "AA3", "mt8135",
1036 MTK_EINT_FUNCTION(1, 10),
1037 MTK_FUNCTION(0, "GPIO102"),
1038 MTK_FUNCTION(1, "EINT10"),
1039 MTK_FUNCTION(5, "USB_TEST_IO[16]"),
1040 MTK_FUNCTION(6, "TESTB_OUT16"),
1041 MTK_FUNCTION(7, "A_FUNC_DIN[17]")
1042 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001043 MTK_PIN(PINCTRL_PIN(103, "EINT11_AUXIN3"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001044 "AB2", "mt8135",
1045 MTK_EINT_FUNCTION(1, 11),
1046 MTK_FUNCTION(0, "GPIO103"),
1047 MTK_FUNCTION(1, "EINT11"),
1048 MTK_FUNCTION(5, "USB_TEST_IO[17]"),
1049 MTK_FUNCTION(6, "TESTB_OUT17"),
1050 MTK_FUNCTION(7, "A_FUNC_DIN[18]")
1051 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001052 MTK_PIN(PINCTRL_PIN(104, "EINT16_AUXIN4"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001053 "AB3", "mt8135",
1054 MTK_EINT_FUNCTION(1, 16),
1055 MTK_FUNCTION(0, "GPIO104"),
1056 MTK_FUNCTION(1, "EINT16"),
1057 MTK_FUNCTION(5, "USB_TEST_IO[18]"),
1058 MTK_FUNCTION(6, "TESTB_OUT18"),
1059 MTK_FUNCTION(7, "A_FUNC_DIN[19]")
1060 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001061 MTK_PIN(PINCTRL_PIN(105, "I2S_CLK"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001062 "W6", "mt8135",
1063 MTK_EINT_FUNCTION(2, 10),
1064 MTK_FUNCTION(0, "GPIO105"),
1065 MTK_FUNCTION(1, "I2SIN_CK"),
1066 MTK_FUNCTION(2, "EINT10"),
1067 MTK_FUNCTION(3, "DAC_CK"),
1068 MTK_FUNCTION(4, "PCM1_CK"),
1069 MTK_FUNCTION(5, "USB_TEST_IO[19]"),
1070 MTK_FUNCTION(6, "TESTB_OUT19"),
1071 MTK_FUNCTION(7, "A_FUNC_DIN[20]")
1072 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001073 MTK_PIN(PINCTRL_PIN(106, "I2S_WS"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001074 "AA6", "mt8135",
1075 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1076 MTK_FUNCTION(0, "GPIO106"),
1077 MTK_FUNCTION(1, "I2SIN_WS"),
1078 MTK_FUNCTION(3, "DAC_WS"),
1079 MTK_FUNCTION(4, "PCM1_WS"),
1080 MTK_FUNCTION(5, "USB_TEST_IO[20]"),
1081 MTK_FUNCTION(6, "TESTB_OUT20"),
1082 MTK_FUNCTION(7, "A_FUNC_DIN[21]")
1083 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001084 MTK_PIN(PINCTRL_PIN(107, "I2S_DATA_IN"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001085 "AA5", "mt8135",
1086 MTK_EINT_FUNCTION(2, 11),
1087 MTK_FUNCTION(0, "GPIO107"),
1088 MTK_FUNCTION(1, "I2SIN_DAT"),
1089 MTK_FUNCTION(2, "EINT11"),
1090 MTK_FUNCTION(4, "PCM1_DI"),
1091 MTK_FUNCTION(5, "USB_TEST_IO[21]"),
1092 MTK_FUNCTION(6, "TESTB_OUT22"),
1093 MTK_FUNCTION(7, "A_FUNC_DIN[22]")
1094 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001095 MTK_PIN(PINCTRL_PIN(108, "I2S_DATA_OUT"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001096 "AA4", "mt8135",
1097 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1098 MTK_FUNCTION(0, "GPIO108"),
1099 MTK_FUNCTION(1, "I2SOUT_DAT"),
1100 MTK_FUNCTION(3, "DAC_DAT_OUT"),
1101 MTK_FUNCTION(4, "PCM1_DO"),
1102 MTK_FUNCTION(5, "USB_TEST_IO[22]"),
1103 MTK_FUNCTION(6, "TESTB_OUT23"),
1104 MTK_FUNCTION(7, "A_FUNC_DIN[23]")
1105 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001106 MTK_PIN(PINCTRL_PIN(109, "EINT5"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001107 "W5", "mt8135",
1108 MTK_EINT_FUNCTION(1, 5),
1109 MTK_FUNCTION(0, "GPIO109"),
1110 MTK_FUNCTION(1, "EINT5"),
1111 MTK_FUNCTION(2, "PWM5"),
1112 MTK_FUNCTION(3, "CLKM3"),
1113 MTK_FUNCTION(4, "GPU_JTRSTB"),
1114 MTK_FUNCTION(5, "USB_TEST_IO[23]"),
1115 MTK_FUNCTION(6, "TESTB_OUT26"),
1116 MTK_FUNCTION(7, "A_FUNC_DIN[24]")
1117 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001118 MTK_PIN(PINCTRL_PIN(110, "EINT6"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001119 "V5", "mt8135",
1120 MTK_EINT_FUNCTION(1, 6),
1121 MTK_FUNCTION(0, "GPIO110"),
1122 MTK_FUNCTION(1, "EINT6"),
1123 MTK_FUNCTION(2, "PWM6"),
1124 MTK_FUNCTION(3, "CLKM4"),
1125 MTK_FUNCTION(4, "GPU_JTMS"),
1126 MTK_FUNCTION(5, "USB_TEST_IO[24]"),
1127 MTK_FUNCTION(6, "TESTB_OUT27"),
1128 MTK_FUNCTION(7, "A_FUNC_DIN[25]")
1129 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001130 MTK_PIN(PINCTRL_PIN(111, "EINT7"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001131 "W3", "mt8135",
1132 MTK_EINT_FUNCTION(1, 7),
1133 MTK_FUNCTION(0, "GPIO111"),
1134 MTK_FUNCTION(1, "EINT7"),
1135 MTK_FUNCTION(2, "PWM7"),
1136 MTK_FUNCTION(3, "CLKM5"),
1137 MTK_FUNCTION(4, "GPU_JTDO"),
1138 MTK_FUNCTION(5, "USB_TEST_IO[25]"),
1139 MTK_FUNCTION(6, "TESTB_OUT28"),
1140 MTK_FUNCTION(7, "A_FUNC_DIN[26]")
1141 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001142 MTK_PIN(PINCTRL_PIN(112, "EINT8"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001143 "V6", "mt8135",
1144 MTK_EINT_FUNCTION(1, 8),
1145 MTK_FUNCTION(0, "GPIO112"),
1146 MTK_FUNCTION(1, "EINT8"),
1147 MTK_FUNCTION(2, "DISP_PWM"),
1148 MTK_FUNCTION(3, "CLKM6"),
1149 MTK_FUNCTION(4, "GPU_JTDI"),
1150 MTK_FUNCTION(5, "USB_TEST_IO[26]"),
1151 MTK_FUNCTION(6, "TESTB_OUT29"),
1152 MTK_FUNCTION(7, "EXT_FRAME_SYNC")
1153 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001154 MTK_PIN(PINCTRL_PIN(113, "EINT9"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001155 "W8", "mt8135",
1156 MTK_EINT_FUNCTION(1, 9),
1157 MTK_FUNCTION(0, "GPIO113"),
1158 MTK_FUNCTION(1, "EINT9"),
1159 MTK_FUNCTION(4, "GPU_JTCK"),
1160 MTK_FUNCTION(5, "USB_DRVVBUS"),
1161 MTK_FUNCTION(6, "TESTB_OUT30"),
1162 MTK_FUNCTION(7, "A_FUNC_DIN[27]")
1163 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001164 MTK_PIN(PINCTRL_PIN(114, "LPCE1B"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001165 "W4", "mt8135",
1166 MTK_EINT_FUNCTION(2, 127),
1167 MTK_FUNCTION(0, "GPIO114"),
1168 MTK_FUNCTION(1, "LPCE1B"),
1169 MTK_FUNCTION(2, "EINT127"),
1170 MTK_FUNCTION(5, "PWM2"),
1171 MTK_FUNCTION(6, "TESTB_OUT14"),
1172 MTK_FUNCTION(7, "A_FUNC_DIN[28]")
1173 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001174 MTK_PIN(PINCTRL_PIN(115, "LPCE0B"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001175 "T5", "mt8135",
1176 MTK_EINT_FUNCTION(2, 126),
1177 MTK_FUNCTION(0, "GPIO115"),
1178 MTK_FUNCTION(1, "LPCE0B"),
1179 MTK_FUNCTION(2, "EINT126"),
1180 MTK_FUNCTION(5, "PWM1"),
1181 MTK_FUNCTION(6, "TESTB_OUT15"),
1182 MTK_FUNCTION(7, "A_FUNC_DIN[29]")
1183 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001184 MTK_PIN(PINCTRL_PIN(116, "DISP_PWM"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001185 "V4", "mt8135",
1186 MTK_EINT_FUNCTION(2, 77),
1187 MTK_FUNCTION(0, "GPIO116"),
1188 MTK_FUNCTION(1, "DISP_PWM"),
1189 MTK_FUNCTION(2, "EINT77"),
1190 MTK_FUNCTION(3, "LSDI"),
1191 MTK_FUNCTION(4, "PWM1"),
1192 MTK_FUNCTION(5, "PWM2"),
1193 MTK_FUNCTION(7, "PWM3")
1194 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001195 MTK_PIN(PINCTRL_PIN(117, "EINT1"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001196 "T6", "mt8135",
1197 MTK_EINT_FUNCTION(1, 1),
1198 MTK_FUNCTION(0, "GPIO117"),
1199 MTK_FUNCTION(1, "EINT1"),
1200 MTK_FUNCTION(2, "PWM2"),
1201 MTK_FUNCTION(3, "CLKM1"),
1202 MTK_FUNCTION(5, "USB_TEST_IO[13]"),
1203 MTK_FUNCTION(7, "USB_SDA")
1204 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001205 MTK_PIN(PINCTRL_PIN(118, "EINT2"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001206 "T4", "mt8135",
1207 MTK_EINT_FUNCTION(1, 2),
1208 MTK_FUNCTION(0, "GPIO118"),
1209 MTK_FUNCTION(1, "EINT2"),
1210 MTK_FUNCTION(2, "PWM3"),
1211 MTK_FUNCTION(3, "CLKM2"),
1212 MTK_FUNCTION(5, "USB_TEST_IO[14]"),
1213 MTK_FUNCTION(6, "SRCLKENAI2"),
1214 MTK_FUNCTION(7, "A_FUNC_DIN[30]")
1215 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001216 MTK_PIN(PINCTRL_PIN(119, "EINT3"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001217 "R4", "mt8135",
1218 MTK_EINT_FUNCTION(1, 3),
1219 MTK_FUNCTION(0, "GPIO119"),
1220 MTK_FUNCTION(1, "EINT3"),
1221 MTK_FUNCTION(5, "USB_TEST_IO[15]"),
1222 MTK_FUNCTION(6, "SRCLKENAI1"),
1223 MTK_FUNCTION(7, "EXT_26M_CK")
1224 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001225 MTK_PIN(PINCTRL_PIN(120, "EINT4"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001226 "R5", "mt8135",
1227 MTK_EINT_FUNCTION(1, 4),
1228 MTK_FUNCTION(0, "GPIO120"),
1229 MTK_FUNCTION(1, "EINT4"),
1230 MTK_FUNCTION(2, "PWM4"),
1231 MTK_FUNCTION(5, "USB_DRVVBUS"),
1232 MTK_FUNCTION(7, "A_FUNC_DIN[31]")
1233 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001234 MTK_PIN(PINCTRL_PIN(121, "DPIDE"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001235 NULL, "mt8135",
1236 MTK_EINT_FUNCTION(2, 100),
1237 MTK_FUNCTION(0, "GPIO121"),
1238 MTK_FUNCTION(1, "DPI0_DE"),
1239 MTK_FUNCTION(2, "EINT100"),
1240 MTK_FUNCTION(3, "I2SOUT_DAT"),
1241 MTK_FUNCTION(4, "DAC_DAT_OUT"),
1242 MTK_FUNCTION(5, "PCM1_DO"),
1243 MTK_FUNCTION(6, "IRDA_TXD")
1244 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001245 MTK_PIN(PINCTRL_PIN(122, "DPICK"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001246 NULL, "mt8135",
1247 MTK_EINT_FUNCTION(2, 101),
1248 MTK_FUNCTION(0, "GPIO122"),
1249 MTK_FUNCTION(1, "DPI0_CK"),
1250 MTK_FUNCTION(2, "EINT101"),
1251 MTK_FUNCTION(3, "I2SIN_DAT"),
1252 MTK_FUNCTION(5, "PCM1_DI"),
1253 MTK_FUNCTION(6, "IRDA_PDN")
1254 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001255 MTK_PIN(PINCTRL_PIN(123, "DPIG4"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001256 NULL, "mt8135",
1257 MTK_EINT_FUNCTION(2, 114),
1258 MTK_FUNCTION(0, "GPIO123"),
1259 MTK_FUNCTION(1, "DPI0_G4"),
1260 MTK_FUNCTION(2, "EINT114"),
1261 MTK_FUNCTION(4, "CM2DAT_2X[0]"),
1262 MTK_FUNCTION(5, "DSP2_ID")
1263 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001264 MTK_PIN(PINCTRL_PIN(124, "DPIG5"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001265 NULL, "mt8135",
1266 MTK_EINT_FUNCTION(2, 115),
1267 MTK_FUNCTION(0, "GPIO124"),
1268 MTK_FUNCTION(1, "DPI0_G5"),
1269 MTK_FUNCTION(2, "EINT115"),
1270 MTK_FUNCTION(4, "CM2DAT_2X[1]"),
1271 MTK_FUNCTION(5, "DSP2_ICK")
1272 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001273 MTK_PIN(PINCTRL_PIN(125, "DPIR3"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001274 NULL, "mt8135",
1275 MTK_EINT_FUNCTION(2, 121),
1276 MTK_FUNCTION(0, "GPIO125"),
1277 MTK_FUNCTION(1, "DPI0_R3"),
1278 MTK_FUNCTION(2, "EINT121"),
1279 MTK_FUNCTION(4, "CM2DAT_2X[7]")
1280 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001281 MTK_PIN(PINCTRL_PIN(126, "DPIG1"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001282 NULL, "mt8135",
1283 MTK_EINT_FUNCTION(2, 111),
1284 MTK_FUNCTION(0, "GPIO126"),
1285 MTK_FUNCTION(1, "DPI0_G1"),
1286 MTK_FUNCTION(2, "EINT111"),
1287 MTK_FUNCTION(5, "DSP1_ICK")
1288 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001289 MTK_PIN(PINCTRL_PIN(127, "DPIVSYNC"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001290 NULL, "mt8135",
1291 MTK_EINT_FUNCTION(2, 98),
1292 MTK_FUNCTION(0, "GPIO127"),
1293 MTK_FUNCTION(1, "DPI0_VSYNC"),
1294 MTK_FUNCTION(2, "EINT98"),
1295 MTK_FUNCTION(3, "I2SIN_CK"),
1296 MTK_FUNCTION(4, "DAC_CK"),
1297 MTK_FUNCTION(5, "PCM1_CK")
1298 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001299 MTK_PIN(PINCTRL_PIN(128, "DPIHSYNC"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001300 NULL, "mt8135",
1301 MTK_EINT_FUNCTION(2, 99),
1302 MTK_FUNCTION(0, "GPIO128"),
1303 MTK_FUNCTION(1, "DPI0_HSYNC"),
1304 MTK_FUNCTION(2, "EINT99"),
1305 MTK_FUNCTION(3, "I2SIN_WS"),
1306 MTK_FUNCTION(4, "DAC_WS"),
1307 MTK_FUNCTION(5, "PCM1_WS"),
1308 MTK_FUNCTION(6, "IRDA_RXD")
1309 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001310 MTK_PIN(PINCTRL_PIN(129, "DPIB0"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001311 NULL, "mt8135",
1312 MTK_EINT_FUNCTION(2, 102),
1313 MTK_FUNCTION(0, "GPIO129"),
1314 MTK_FUNCTION(1, "DPI0_B0"),
1315 MTK_FUNCTION(2, "EINT102"),
1316 MTK_FUNCTION(4, "SCL0"),
1317 MTK_FUNCTION(5, "DISP_PWM")
1318 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001319 MTK_PIN(PINCTRL_PIN(130, "DPIB1"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001320 NULL, "mt8135",
1321 MTK_EINT_FUNCTION(2, 103),
1322 MTK_FUNCTION(0, "GPIO130"),
1323 MTK_FUNCTION(1, "DPI0_B1"),
1324 MTK_FUNCTION(2, "EINT103"),
1325 MTK_FUNCTION(3, "CLKM0"),
1326 MTK_FUNCTION(4, "SDA0"),
1327 MTK_FUNCTION(5, "PWM1")
1328 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001329 MTK_PIN(PINCTRL_PIN(131, "DPIB2"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001330 NULL, "mt8135",
1331 MTK_EINT_FUNCTION(2, 104),
1332 MTK_FUNCTION(0, "GPIO131"),
1333 MTK_FUNCTION(1, "DPI0_B2"),
1334 MTK_FUNCTION(2, "EINT104"),
1335 MTK_FUNCTION(3, "CLKM1"),
1336 MTK_FUNCTION(4, "SCL1"),
1337 MTK_FUNCTION(5, "PWM2")
1338 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001339 MTK_PIN(PINCTRL_PIN(132, "DPIB3"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001340 NULL, "mt8135",
1341 MTK_EINT_FUNCTION(2, 105),
1342 MTK_FUNCTION(0, "GPIO132"),
1343 MTK_FUNCTION(1, "DPI0_B3"),
1344 MTK_FUNCTION(2, "EINT105"),
1345 MTK_FUNCTION(3, "CLKM2"),
1346 MTK_FUNCTION(4, "SDA1"),
1347 MTK_FUNCTION(5, "PWM3")
1348 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001349 MTK_PIN(PINCTRL_PIN(133, "DPIB4"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001350 NULL, "mt8135",
1351 MTK_EINT_FUNCTION(2, 106),
1352 MTK_FUNCTION(0, "GPIO133"),
1353 MTK_FUNCTION(1, "DPI0_B4"),
1354 MTK_FUNCTION(2, "EINT106"),
1355 MTK_FUNCTION(3, "CLKM3"),
1356 MTK_FUNCTION(4, "SCL2"),
1357 MTK_FUNCTION(5, "PWM4")
1358 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001359 MTK_PIN(PINCTRL_PIN(134, "DPIB5"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001360 NULL, "mt8135",
1361 MTK_EINT_FUNCTION(2, 107),
1362 MTK_FUNCTION(0, "GPIO134"),
1363 MTK_FUNCTION(1, "DPI0_B5"),
1364 MTK_FUNCTION(2, "EINT107"),
1365 MTK_FUNCTION(3, "CLKM4"),
1366 MTK_FUNCTION(4, "SDA2"),
1367 MTK_FUNCTION(5, "PWM5")
1368 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001369 MTK_PIN(PINCTRL_PIN(135, "DPIB6"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001370 NULL, "mt8135",
1371 MTK_EINT_FUNCTION(2, 108),
1372 MTK_FUNCTION(0, "GPIO135"),
1373 MTK_FUNCTION(1, "DPI0_B6"),
1374 MTK_FUNCTION(2, "EINT108"),
1375 MTK_FUNCTION(3, "CLKM5"),
1376 MTK_FUNCTION(4, "SCL3"),
1377 MTK_FUNCTION(5, "PWM6")
1378 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001379 MTK_PIN(PINCTRL_PIN(136, "DPIB7"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001380 NULL, "mt8135",
1381 MTK_EINT_FUNCTION(2, 109),
1382 MTK_FUNCTION(0, "GPIO136"),
1383 MTK_FUNCTION(1, "DPI0_B7"),
1384 MTK_FUNCTION(2, "EINT109"),
1385 MTK_FUNCTION(3, "CLKM6"),
1386 MTK_FUNCTION(4, "SDA3"),
1387 MTK_FUNCTION(5, "PWM7")
1388 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001389 MTK_PIN(PINCTRL_PIN(137, "DPIG0"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001390 NULL, "mt8135",
1391 MTK_EINT_FUNCTION(2, 110),
1392 MTK_FUNCTION(0, "GPIO137"),
1393 MTK_FUNCTION(1, "DPI0_G0"),
1394 MTK_FUNCTION(2, "EINT110"),
1395 MTK_FUNCTION(5, "DSP1_ID")
1396 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001397 MTK_PIN(PINCTRL_PIN(138, "DPIG2"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001398 NULL, "mt8135",
1399 MTK_EINT_FUNCTION(2, 112),
1400 MTK_FUNCTION(0, "GPIO138"),
1401 MTK_FUNCTION(1, "DPI0_G2"),
1402 MTK_FUNCTION(2, "EINT112"),
1403 MTK_FUNCTION(5, "DSP1_IMS")
1404 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001405 MTK_PIN(PINCTRL_PIN(139, "DPIG3"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001406 NULL, "mt8135",
1407 MTK_EINT_FUNCTION(2, 113),
1408 MTK_FUNCTION(0, "GPIO139"),
1409 MTK_FUNCTION(1, "DPI0_G3"),
1410 MTK_FUNCTION(2, "EINT113"),
1411 MTK_FUNCTION(5, "DSP2_IMS")
1412 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001413 MTK_PIN(PINCTRL_PIN(140, "DPIG6"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001414 NULL, "mt8135",
1415 MTK_EINT_FUNCTION(2, 116),
1416 MTK_FUNCTION(0, "GPIO140"),
1417 MTK_FUNCTION(1, "DPI0_G6"),
1418 MTK_FUNCTION(2, "EINT116"),
1419 MTK_FUNCTION(4, "CM2DAT_2X[2]")
1420 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001421 MTK_PIN(PINCTRL_PIN(141, "DPIG7"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001422 NULL, "mt8135",
1423 MTK_EINT_FUNCTION(2, 117),
1424 MTK_FUNCTION(0, "GPIO141"),
1425 MTK_FUNCTION(1, "DPI0_G7"),
1426 MTK_FUNCTION(2, "EINT117"),
1427 MTK_FUNCTION(4, "CM2DAT_2X[3]")
1428 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001429 MTK_PIN(PINCTRL_PIN(142, "DPIR0"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001430 NULL, "mt8135",
1431 MTK_EINT_FUNCTION(2, 118),
1432 MTK_FUNCTION(0, "GPIO142"),
1433 MTK_FUNCTION(1, "DPI0_R0"),
1434 MTK_FUNCTION(2, "EINT118"),
1435 MTK_FUNCTION(4, "CM2DAT_2X[4]")
1436 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001437 MTK_PIN(PINCTRL_PIN(143, "DPIR1"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001438 NULL, "mt8135",
1439 MTK_EINT_FUNCTION(2, 119),
1440 MTK_FUNCTION(0, "GPIO143"),
1441 MTK_FUNCTION(1, "DPI0_R1"),
1442 MTK_FUNCTION(2, "EINT119"),
1443 MTK_FUNCTION(4, "CM2DAT_2X[5]")
1444 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001445 MTK_PIN(PINCTRL_PIN(144, "DPIR2"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001446 NULL, "mt8135",
1447 MTK_EINT_FUNCTION(2, 120),
1448 MTK_FUNCTION(0, "GPIO144"),
1449 MTK_FUNCTION(1, "DPI0_R2"),
1450 MTK_FUNCTION(2, "EINT120"),
1451 MTK_FUNCTION(4, "CM2DAT_2X[6]")
1452 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001453 MTK_PIN(PINCTRL_PIN(145, "DPIR4"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001454 NULL, "mt8135",
1455 MTK_EINT_FUNCTION(2, 122),
1456 MTK_FUNCTION(0, "GPIO145"),
1457 MTK_FUNCTION(1, "DPI0_R4"),
1458 MTK_FUNCTION(2, "EINT122"),
1459 MTK_FUNCTION(4, "CM2DAT_2X[8]")
1460 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001461 MTK_PIN(PINCTRL_PIN(146, "DPIR5"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001462 NULL, "mt8135",
1463 MTK_EINT_FUNCTION(2, 123),
1464 MTK_FUNCTION(0, "GPIO146"),
1465 MTK_FUNCTION(1, "DPI0_R5"),
1466 MTK_FUNCTION(2, "EINT123"),
1467 MTK_FUNCTION(4, "CM2DAT_2X[9]")
1468 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001469 MTK_PIN(PINCTRL_PIN(147, "DPIR6"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001470 NULL, "mt8135",
1471 MTK_EINT_FUNCTION(2, 124),
1472 MTK_FUNCTION(0, "GPIO147"),
1473 MTK_FUNCTION(1, "DPI0_R6"),
1474 MTK_FUNCTION(2, "EINT124"),
1475 MTK_FUNCTION(4, "CM2VSYNC_2X")
1476 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001477 MTK_PIN(PINCTRL_PIN(148, "DPIR7"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001478 NULL, "mt8135",
1479 MTK_EINT_FUNCTION(2, 125),
1480 MTK_FUNCTION(0, "GPIO148"),
1481 MTK_FUNCTION(1, "DPI0_R7"),
1482 MTK_FUNCTION(2, "EINT125"),
1483 MTK_FUNCTION(4, "CM2HSYNC_2X")
1484 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001485 MTK_PIN(PINCTRL_PIN(149, "TDN3/LVDS(TDN3)"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001486 "AA2", "mt8135",
1487 MTK_EINT_FUNCTION(2, 36),
1488 MTK_FUNCTION(0, "GPIO149"),
1489 MTK_FUNCTION(2, "EINT36")
1490 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001491 MTK_PIN(PINCTRL_PIN(150, "TDP3/LVDS(TDP3)"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001492 "AA1", "mt8135",
1493 MTK_EINT_FUNCTION(2, 35),
1494 MTK_FUNCTION(0, "GPIO150"),
1495 MTK_FUNCTION(2, "EINT35")
1496 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001497 MTK_PIN(PINCTRL_PIN(151, "TDN2/LVDS(TCN)"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001498 "Y2", "mt8135",
1499 MTK_EINT_FUNCTION(2, 169),
1500 MTK_FUNCTION(0, "GPIO151"),
1501 MTK_FUNCTION(2, "EINT169")
1502 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001503 MTK_PIN(PINCTRL_PIN(152, "TDP2/LVDS(TCP)"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001504 "Y1", "mt8135",
1505 MTK_EINT_FUNCTION(2, 168),
1506 MTK_FUNCTION(0, "GPIO152"),
1507 MTK_FUNCTION(2, "EINT168")
1508 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001509 MTK_PIN(PINCTRL_PIN(153, "TCN/LVDS(TDN2)"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001510 "W2", "mt8135",
1511 MTK_EINT_FUNCTION(2, 163),
1512 MTK_FUNCTION(0, "GPIO153"),
1513 MTK_FUNCTION(2, "EINT163")
1514 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001515 MTK_PIN(PINCTRL_PIN(154, "TCP/LVDS(TDP2)"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001516 "W1", "mt8135",
1517 MTK_EINT_FUNCTION(2, 162),
1518 MTK_FUNCTION(0, "GPIO154"),
1519 MTK_FUNCTION(2, "EINT162")
1520 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001521 MTK_PIN(PINCTRL_PIN(155, "TDN1/LVDS(TDN1)"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001522 "V3", "mt8135",
1523 MTK_EINT_FUNCTION(2, 167),
1524 MTK_FUNCTION(0, "GPIO155"),
1525 MTK_FUNCTION(2, "EINT167")
1526 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001527 MTK_PIN(PINCTRL_PIN(156, "TDP1/LVDS(TDP1)"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001528 "V2", "mt8135",
1529 MTK_EINT_FUNCTION(2, 166),
1530 MTK_FUNCTION(0, "GPIO156"),
1531 MTK_FUNCTION(2, "EINT166")
1532 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001533 MTK_PIN(PINCTRL_PIN(157, "TDN0/LVDS(TDN0)"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001534 "U3", "mt8135",
1535 MTK_EINT_FUNCTION(2, 165),
1536 MTK_FUNCTION(0, "GPIO157"),
1537 MTK_FUNCTION(2, "EINT165")
1538 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001539 MTK_PIN(PINCTRL_PIN(158, "TDP0/LVDS(TDP0)"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001540 "U2", "mt8135",
1541 MTK_EINT_FUNCTION(2, 164),
1542 MTK_FUNCTION(0, "GPIO158"),
1543 MTK_FUNCTION(2, "EINT164")
1544 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001545 MTK_PIN(PINCTRL_PIN(159, "RDN3"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001546 "N5", "mt8135",
1547 MTK_EINT_FUNCTION(2, 18),
1548 MTK_FUNCTION(0, "GPIO159"),
1549 MTK_FUNCTION(2, "EINT18")
1550 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001551 MTK_PIN(PINCTRL_PIN(160, "RDP3"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001552 "N4", "mt8135",
1553 MTK_EINT_FUNCTION(2, 30),
1554 MTK_FUNCTION(0, "GPIO160"),
1555 MTK_FUNCTION(2, "EINT30")
1556 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001557 MTK_PIN(PINCTRL_PIN(161, "RDN2"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001558 "T2", "mt8135",
1559 MTK_EINT_FUNCTION(2, 31),
1560 MTK_FUNCTION(0, "GPIO161"),
1561 MTK_FUNCTION(2, "EINT31")
1562 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001563 MTK_PIN(PINCTRL_PIN(162, "RDP2"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001564 "T3", "mt8135",
1565 MTK_EINT_FUNCTION(2, 32),
1566 MTK_FUNCTION(0, "GPIO162"),
1567 MTK_FUNCTION(2, "EINT32")
1568 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001569 MTK_PIN(PINCTRL_PIN(163, "RCN"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001570 "P2", "mt8135",
1571 MTK_EINT_FUNCTION(2, 33),
1572 MTK_FUNCTION(0, "GPIO163"),
1573 MTK_FUNCTION(2, "EINT33")
1574 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001575 MTK_PIN(PINCTRL_PIN(164, "RCP"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001576 "P3", "mt8135",
1577 MTK_EINT_FUNCTION(2, 39),
1578 MTK_FUNCTION(0, "GPIO164"),
1579 MTK_FUNCTION(2, "EINT39")
1580 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001581 MTK_PIN(PINCTRL_PIN(165, "RDN1"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001582 "R3", "mt8135",
1583 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1584 MTK_FUNCTION(0, "GPIO165")
1585 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001586 MTK_PIN(PINCTRL_PIN(166, "RDP1"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001587 "R2", "mt8135",
1588 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1589 MTK_FUNCTION(0, "GPIO166")
1590 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001591 MTK_PIN(PINCTRL_PIN(167, "RDN0"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001592 "N3", "mt8135",
1593 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1594 MTK_FUNCTION(0, "GPIO167")
1595 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001596 MTK_PIN(PINCTRL_PIN(168, "RDP0"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001597 "N2", "mt8135",
1598 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1599 MTK_FUNCTION(0, "GPIO168")
1600 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001601 MTK_PIN(PINCTRL_PIN(169, "RDN1_A"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001602 "M4", "mt8135",
1603 MTK_EINT_FUNCTION(2, 175),
1604 MTK_FUNCTION(0, "GPIO169"),
1605 MTK_FUNCTION(1, "CMDAT6"),
1606 MTK_FUNCTION(2, "EINT175")
1607 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001608 MTK_PIN(PINCTRL_PIN(170, "RDP1_A"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001609 "M3", "mt8135",
1610 MTK_EINT_FUNCTION(2, 174),
1611 MTK_FUNCTION(0, "GPIO170"),
1612 MTK_FUNCTION(1, "CMDAT7"),
1613 MTK_FUNCTION(2, "EINT174")
1614 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001615 MTK_PIN(PINCTRL_PIN(171, "RCN_A"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001616 "L3", "mt8135",
1617 MTK_EINT_FUNCTION(2, 171),
1618 MTK_FUNCTION(0, "GPIO171"),
1619 MTK_FUNCTION(1, "CMDAT8"),
1620 MTK_FUNCTION(2, "EINT171")
1621 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001622 MTK_PIN(PINCTRL_PIN(172, "RCP_A"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001623 "L2", "mt8135",
1624 MTK_EINT_FUNCTION(2, 170),
1625 MTK_FUNCTION(0, "GPIO172"),
1626 MTK_FUNCTION(1, "CMDAT9"),
1627 MTK_FUNCTION(2, "EINT170")
1628 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001629 MTK_PIN(PINCTRL_PIN(173, "RDN0_A"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001630 "M2", "mt8135",
1631 MTK_EINT_FUNCTION(2, 173),
1632 MTK_FUNCTION(0, "GPIO173"),
1633 MTK_FUNCTION(1, "CMHSYNC"),
1634 MTK_FUNCTION(2, "EINT173")
1635 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001636 MTK_PIN(PINCTRL_PIN(174, "RDP0_A"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001637 "M1", "mt8135",
1638 MTK_EINT_FUNCTION(2, 172),
1639 MTK_FUNCTION(0, "GPIO174"),
1640 MTK_FUNCTION(1, "CMVSYNC"),
1641 MTK_FUNCTION(2, "EINT172")
1642 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001643 MTK_PIN(PINCTRL_PIN(175, "RDN1_B"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001644 "H2", "mt8135",
1645 MTK_EINT_FUNCTION(2, 181),
1646 MTK_FUNCTION(0, "GPIO175"),
1647 MTK_FUNCTION(1, "CMDAT2"),
1648 MTK_FUNCTION(2, "EINT181"),
1649 MTK_FUNCTION(3, "CMCSD2")
1650 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001651 MTK_PIN(PINCTRL_PIN(176, "RDP1_B"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001652 "H1", "mt8135",
1653 MTK_EINT_FUNCTION(2, 180),
1654 MTK_FUNCTION(0, "GPIO176"),
1655 MTK_FUNCTION(1, "CMDAT3"),
1656 MTK_FUNCTION(2, "EINT180"),
1657 MTK_FUNCTION(3, "CMCSD3")
1658 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001659 MTK_PIN(PINCTRL_PIN(177, "RCN_B"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001660 "K3", "mt8135",
1661 MTK_EINT_FUNCTION(2, 177),
1662 MTK_FUNCTION(0, "GPIO177"),
1663 MTK_FUNCTION(1, "CMDAT4"),
1664 MTK_FUNCTION(2, "EINT177")
1665 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001666 MTK_PIN(PINCTRL_PIN(178, "RCP_B"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001667 "K2", "mt8135",
1668 MTK_EINT_FUNCTION(2, 176),
1669 MTK_FUNCTION(0, "GPIO178"),
1670 MTK_FUNCTION(1, "CMDAT5"),
1671 MTK_FUNCTION(2, "EINT176")
1672 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001673 MTK_PIN(PINCTRL_PIN(179, "RDN0_B"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001674 "J3", "mt8135",
1675 MTK_EINT_FUNCTION(2, 179),
1676 MTK_FUNCTION(0, "GPIO179"),
1677 MTK_FUNCTION(1, "CMDAT0"),
1678 MTK_FUNCTION(2, "EINT179"),
1679 MTK_FUNCTION(3, "CMCSD0")
1680 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001681 MTK_PIN(PINCTRL_PIN(180, "RDP0_B"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001682 "J2", "mt8135",
1683 MTK_EINT_FUNCTION(2, 178),
1684 MTK_FUNCTION(0, "GPIO180"),
1685 MTK_FUNCTION(1, "CMDAT1"),
1686 MTK_FUNCTION(2, "EINT178"),
1687 MTK_FUNCTION(3, "CMCSD1")
1688 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001689 MTK_PIN(PINCTRL_PIN(181, "CMPCLK"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001690 "K4", "mt8135",
1691 MTK_EINT_FUNCTION(2, 182),
1692 MTK_FUNCTION(0, "GPIO181"),
1693 MTK_FUNCTION(1, "CMPCLK"),
1694 MTK_FUNCTION(2, "EINT182"),
1695 MTK_FUNCTION(3, "CMCSK"),
1696 MTK_FUNCTION(4, "CM2MCLK_4X"),
1697 MTK_FUNCTION(5, "TS_AUXADC_SEL[3]"),
1698 MTK_FUNCTION(6, "VENC_TEST_CK"),
1699 MTK_FUNCTION(7, "TESTA_OUT27")
1700 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001701 MTK_PIN(PINCTRL_PIN(182, "CMMCLK"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001702 "J5", "mt8135",
1703 MTK_EINT_FUNCTION(2, 183),
1704 MTK_FUNCTION(0, "GPIO182"),
1705 MTK_FUNCTION(1, "CMMCLK"),
1706 MTK_FUNCTION(2, "EINT183"),
1707 MTK_FUNCTION(5, "TS_AUXADC_SEL[2]"),
1708 MTK_FUNCTION(7, "TESTA_OUT28")
1709 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001710 MTK_PIN(PINCTRL_PIN(183, "CMRST"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001711 "J6", "mt8135",
1712 MTK_EINT_FUNCTION(2, 185),
1713 MTK_FUNCTION(0, "GPIO183"),
1714 MTK_FUNCTION(1, "CMRST"),
1715 MTK_FUNCTION(2, "EINT185"),
1716 MTK_FUNCTION(5, "TS_AUXADC_SEL[1]"),
1717 MTK_FUNCTION(7, "TESTA_OUT30")
1718 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001719 MTK_PIN(PINCTRL_PIN(184, "CMPDN"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001720 "J4", "mt8135",
1721 MTK_EINT_FUNCTION(2, 184),
1722 MTK_FUNCTION(0, "GPIO184"),
1723 MTK_FUNCTION(1, "CMPDN"),
1724 MTK_FUNCTION(2, "EINT184"),
1725 MTK_FUNCTION(5, "TS_AUXADC_SEL[0]"),
1726 MTK_FUNCTION(7, "TESTA_OUT29")
1727 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001728 MTK_PIN(PINCTRL_PIN(185, "CMFLASH"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001729 "G4", "mt8135",
1730 MTK_EINT_FUNCTION(2, 186),
1731 MTK_FUNCTION(0, "GPIO185"),
1732 MTK_FUNCTION(1, "CMFLASH"),
1733 MTK_FUNCTION(2, "EINT186"),
1734 MTK_FUNCTION(3, "CM2MCLK_3X"),
1735 MTK_FUNCTION(6, "MFG_TEST_CK_1"),
1736 MTK_FUNCTION(7, "TESTA_OUT31")
1737 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001738 MTK_PIN(PINCTRL_PIN(186, "MRG_I2S_PCM_CLK"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001739 "F5", "mt8135",
1740 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1741 MTK_FUNCTION(0, "GPIO186"),
1742 MTK_FUNCTION(1, "MRG_I2S_PCM_CLK"),
1743 MTK_FUNCTION(3, "I2SIN_CK"),
1744 MTK_FUNCTION(4, "PCM0_CK"),
1745 MTK_FUNCTION(5, "DSP2_ICK"),
1746 MTK_FUNCTION(6, "IMG_TEST_CK"),
1747 MTK_FUNCTION(7, "USB_SCL")
1748 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001749 MTK_PIN(PINCTRL_PIN(187, "MRG_I2S_PCM_SYNC"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001750 "G6", "mt8135",
1751 MTK_EINT_FUNCTION(2, 16),
1752 MTK_FUNCTION(0, "GPIO187"),
1753 MTK_FUNCTION(1, "MRG_I2S_PCM_SYNC"),
1754 MTK_FUNCTION(2, "EINT16"),
1755 MTK_FUNCTION(3, "I2SIN_WS"),
1756 MTK_FUNCTION(4, "PCM0_WS"),
1757 MTK_FUNCTION(6, "DISP_TEST_CK")
1758 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001759 MTK_PIN(PINCTRL_PIN(188, "MRG_I2S_PCM_RX"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001760 "G3", "mt8135",
1761 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1762 MTK_FUNCTION(0, "GPIO188"),
1763 MTK_FUNCTION(1, "MRG_I2S_PCM_RX"),
1764 MTK_FUNCTION(3, "I2SIN_DAT"),
1765 MTK_FUNCTION(4, "PCM0_DI"),
1766 MTK_FUNCTION(5, "DSP2_ID"),
1767 MTK_FUNCTION(6, "MFG_TEST_CK"),
1768 MTK_FUNCTION(7, "USB_SDA")
1769 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001770 MTK_PIN(PINCTRL_PIN(189, "MRG_I2S_PCM_TX"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001771 "G5", "mt8135",
1772 MTK_EINT_FUNCTION(2, 17),
1773 MTK_FUNCTION(0, "GPIO189"),
1774 MTK_FUNCTION(1, "MRG_I2S_PCM_TX"),
1775 MTK_FUNCTION(2, "EINT17"),
1776 MTK_FUNCTION(3, "I2SOUT_DAT"),
1777 MTK_FUNCTION(4, "PCM0_DO"),
1778 MTK_FUNCTION(6, "VDEC_TEST_CK")
1779 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001780 MTK_PIN(PINCTRL_PIN(190, "SRCLKENAI"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001781 "K5", "mt8135",
1782 MTK_EINT_FUNCTION(NO_EINT_SUPPORT, NO_EINT_SUPPORT),
1783 MTK_FUNCTION(0, "GPIO190"),
1784 MTK_FUNCTION(1, "SRCLKENAI")
1785 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001786 MTK_PIN(PINCTRL_PIN(191, "URXD3"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001787 "C3", "mt8135",
1788 MTK_EINT_FUNCTION(2, 87),
1789 MTK_FUNCTION(0, "GPIO191"),
1790 MTK_FUNCTION(1, "URXD3"),
1791 MTK_FUNCTION(2, "EINT87"),
1792 MTK_FUNCTION(3, "UTXD3"),
1793 MTK_FUNCTION(5, "TS_AUX_ST"),
1794 MTK_FUNCTION(6, "PWM4")
1795 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001796 MTK_PIN(PINCTRL_PIN(192, "UTXD3"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001797 "B2", "mt8135",
1798 MTK_EINT_FUNCTION(2, 86),
1799 MTK_FUNCTION(0, "GPIO192"),
1800 MTK_FUNCTION(1, "UTXD3"),
1801 MTK_FUNCTION(2, "EINT86"),
1802 MTK_FUNCTION(3, "URXD3"),
1803 MTK_FUNCTION(5, "TS_AUX_CS_B"),
1804 MTK_FUNCTION(6, "PWM3")
1805 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001806 MTK_PIN(PINCTRL_PIN(193, "SDA2"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001807 "G2", "mt8135",
1808 MTK_EINT_FUNCTION(2, 95),
1809 MTK_FUNCTION(0, "GPIO193"),
1810 MTK_FUNCTION(1, "SDA2"),
1811 MTK_FUNCTION(2, "EINT95"),
1812 MTK_FUNCTION(3, "CLKM5"),
1813 MTK_FUNCTION(4, "PWM5"),
1814 MTK_FUNCTION(5, "TS_AUX_PWDB")
1815 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001816 MTK_PIN(PINCTRL_PIN(194, "SCL2"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001817 "F4", "mt8135",
1818 MTK_EINT_FUNCTION(2, 94),
1819 MTK_FUNCTION(0, "GPIO194"),
1820 MTK_FUNCTION(1, "SCL2"),
1821 MTK_FUNCTION(2, "EINT94"),
1822 MTK_FUNCTION(3, "CLKM4"),
1823 MTK_FUNCTION(4, "PWM4"),
1824 MTK_FUNCTION(5, "TS_AUXADC_TEST_CK")
1825 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001826 MTK_PIN(PINCTRL_PIN(195, "SDA1"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001827 "F2", "mt8135",
1828 MTK_EINT_FUNCTION(2, 93),
1829 MTK_FUNCTION(0, "GPIO195"),
1830 MTK_FUNCTION(1, "SDA1"),
1831 MTK_FUNCTION(2, "EINT93"),
1832 MTK_FUNCTION(3, "CLKM3"),
1833 MTK_FUNCTION(4, "PWM3"),
1834 MTK_FUNCTION(5, "TS_AUX_SCLK_PWDB")
1835 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001836 MTK_PIN(PINCTRL_PIN(196, "SCL1"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001837 "F3", "mt8135",
1838 MTK_EINT_FUNCTION(2, 92),
1839 MTK_FUNCTION(0, "GPIO196"),
1840 MTK_FUNCTION(1, "SCL1"),
1841 MTK_FUNCTION(2, "EINT92"),
1842 MTK_FUNCTION(3, "CLKM2"),
1843 MTK_FUNCTION(4, "PWM2"),
1844 MTK_FUNCTION(5, "TS_AUX_DIN")
1845 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001846 MTK_PIN(PINCTRL_PIN(197, "MSDC3_DAT2"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001847 "E1", "mt8135",
1848 MTK_EINT_FUNCTION(2, 71),
1849 MTK_FUNCTION(0, "GPIO197"),
1850 MTK_FUNCTION(1, "MSDC3_DAT2"),
1851 MTK_FUNCTION(2, "EINT71"),
1852 MTK_FUNCTION(3, "SCL6"),
1853 MTK_FUNCTION(4, "PWM5"),
1854 MTK_FUNCTION(5, "CLKM4"),
1855 MTK_FUNCTION(6, "MFG_TEST_CK_2")
1856 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001857 MTK_PIN(PINCTRL_PIN(198, "MSDC3_DAT3"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001858 "C2", "mt8135",
1859 MTK_EINT_FUNCTION(2, 72),
1860 MTK_FUNCTION(0, "GPIO198"),
1861 MTK_FUNCTION(1, "MSDC3_DAT3"),
1862 MTK_FUNCTION(2, "EINT72"),
1863 MTK_FUNCTION(3, "SDA6"),
1864 MTK_FUNCTION(4, "PWM6"),
1865 MTK_FUNCTION(5, "CLKM5"),
1866 MTK_FUNCTION(6, "MFG_TEST_CK_3")
1867 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001868 MTK_PIN(PINCTRL_PIN(199, "MSDC3_CMD"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001869 "D2", "mt8135",
1870 MTK_EINT_FUNCTION(2, 68),
1871 MTK_FUNCTION(0, "GPIO199"),
1872 MTK_FUNCTION(1, "MSDC3_CMD"),
1873 MTK_FUNCTION(2, "EINT68"),
1874 MTK_FUNCTION(3, "SDA2"),
1875 MTK_FUNCTION(4, "PWM2"),
1876 MTK_FUNCTION(5, "CLKM1"),
1877 MTK_FUNCTION(6, "MFG_TEST_CK_4")
1878 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001879 MTK_PIN(PINCTRL_PIN(200, "MSDC3_CLK"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001880 "E2", "mt8135",
1881 MTK_EINT_FUNCTION(2, 67),
1882 MTK_FUNCTION(0, "GPIO200"),
1883 MTK_FUNCTION(1, "MSDC3_CLK"),
1884 MTK_FUNCTION(2, "EINT67"),
1885 MTK_FUNCTION(3, "SCL2"),
1886 MTK_FUNCTION(4, "PWM1"),
1887 MTK_FUNCTION(5, "CLKM0")
1888 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001889 MTK_PIN(PINCTRL_PIN(201, "MSDC3_DAT1"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001890 "D3", "mt8135",
1891 MTK_EINT_FUNCTION(2, 70),
1892 MTK_FUNCTION(0, "GPIO201"),
1893 MTK_FUNCTION(1, "MSDC3_DAT1"),
1894 MTK_FUNCTION(2, "EINT70"),
1895 MTK_FUNCTION(3, "SDA3"),
1896 MTK_FUNCTION(4, "PWM4"),
1897 MTK_FUNCTION(5, "CLKM3")
1898 ),
Zhiyong Taoe6c462d2018-03-22 10:58:43 +08001899 MTK_PIN(PINCTRL_PIN(202, "MSDC3_DAT0"),
Hongzhou Yanga6df4102015-01-21 13:28:15 +08001900 "E3", "mt8135",
1901 MTK_EINT_FUNCTION(2, 69),
1902 MTK_FUNCTION(0, "GPIO202"),
1903 MTK_FUNCTION(1, "MSDC3_DAT0"),
1904 MTK_FUNCTION(2, "EINT69"),
1905 MTK_FUNCTION(3, "SCL3"),
1906 MTK_FUNCTION(4, "PWM3"),
1907 MTK_FUNCTION(5, "CLKM2")
1908 ),
1909};
1910
1911#endif /* __PINCTRL_MTK_MT8135_H */