Lines Matching +full:2 +full:- +full:7

1 // SPDX-License-Identifier: GPL-2.0
10 #include "pinctrl-mtk-mt6765.h"
11 #include "pinctrl-paris.h"
14 * iocfg[0]:0x10005000, iocfg[1]:0x10002C00, iocfg[2]:0x10002800,
16 * iocfg[6]:0x10002500, iocfg[7]:0x10002600.
45 PINS_FIELD_BASE(0, 3, 2, 0x00b0, 0x10, 4, 1),
46 PINS_FIELD_BASE(4, 7, 2, 0x00b0, 0x10, 5, 1),
48 PINS_FIELD_BASE(9, 11, 2, 0x00b0, 0x10, 6, 1),
53 PINS_FIELD_BASE(25, 28, 6, 0x00b0, 0x10, 7, 1),
56 PINS_FIELD_BASE(31, 34, 6, 0x00b0, 0x10, 2, 1),
61 PINS_FIELD_BASE(41, 42, 7, 0x00c0, 0x10, 6, 1),
62 PIN_FIELD_BASE(43, 43, 7, 0x00c0, 0x10, 3, 1),
63 PIN_FIELD_BASE(44, 44, 7, 0x00c0, 0x10, 4, 1),
64 PIN_FIELD_BASE(45, 45, 7, 0x00c0, 0x10, 8, 1),
65 PINS_FIELD_BASE(46, 47, 7, 0x00c0, 0x10, 7, 1),
66 PIN_FIELD_BASE(48, 48, 7, 0x00c0, 0x10, 15, 1),
67 PIN_FIELD_BASE(49, 49, 7, 0x00c0, 0x10, 17, 1),
68 PIN_FIELD_BASE(50, 50, 7, 0x00c0, 0x10, 14, 1),
69 PIN_FIELD_BASE(51, 51, 7, 0x00c0, 0x10, 16, 1),
70 PINS_FIELD_BASE(52, 57, 7, 0x00c0, 0x10, 0, 1),
71 PINS_FIELD_BASE(58, 60, 7, 0x00c0, 0x10, 12, 1),
74 PINS_FIELD_BASE(65, 66, 3, 0x0080, 0x10, 7, 1),
77 PINS_FIELD_BASE(74, 78, 3, 0x0080, 0x10, 2, 1),
83 PIN_FIELD_BASE(85, 85, 7, 0x00c0, 0x10, 12, 1),
84 PIN_FIELD_BASE(86, 86, 7, 0x00c0, 0x10, 13, 1),
85 PIN_FIELD_BASE(87, 87, 7, 0x00c0, 0x10, 2, 1),
86 PIN_FIELD_BASE(88, 88, 7, 0x00c0, 0x10, 1, 1),
87 PIN_FIELD_BASE(89, 89, 2, 0x00b0, 0x10, 13, 1),
89 PINS_FIELD_BASE(91, 92, 2, 0x00b0, 0x10, 8, 1),
90 PINS_FIELD_BASE(93, 94, 2, 0x00b0, 0x10, 7, 1),
91 PINS_FIELD_BASE(95, 96, 2, 0x00b0, 0x10, 14, 1),
92 PINS_FIELD_BASE(97, 98, 2, 0x00b0, 0x10, 2, 1),
93 PIN_FIELD_BASE(99, 99, 2, 0x00b0, 0x10, 0, 1),
94 PIN_FIELD_BASE(100, 100, 2, 0x00b0, 0x10, 1, 1),
95 PINS_FIELD_BASE(101, 102, 2, 0x00b0, 0x10, 3, 1),
96 PIN_FIELD_BASE(103, 103, 2, 0x00b0, 0x10, 9, 1),
97 PIN_FIELD_BASE(104, 104, 2, 0x00b0, 0x10, 11, 1),
98 PIN_FIELD_BASE(105, 105, 2, 0x00b0, 0x10, 10, 1),
99 PIN_FIELD_BASE(106, 106, 2, 0x00b0, 0x10, 12, 1),
105 PIN_FIELD_BASE(112, 112, 1, 0x0080, 0x10, 2, 1),
109 PIN_FIELD_BASE(116, 116, 1, 0x0080, 0x10, 7, 1),
115 PIN_FIELD_BASE(122, 122, 4, 0x0080, 0x10, 2, 1),
119 PIN_FIELD_BASE(126, 126, 4, 0x0080, 0x10, 7, 1),
130 PIN_FIELD_BASE(137, 137, 5, 0x0060, 0x10, 7, 1),
135 PIN_FIELD_BASE(142, 142, 5, 0x0060, 0x10, 2, 1),
139 PINS_FIELD_BASE(150, 151, 7, 0x00c0, 0x10, 9, 1),
140 PINS_FIELD_BASE(152, 153, 7, 0x00c0, 0x10, 10, 1),
141 PIN_FIELD_BASE(154, 154, 7, 0x00c0, 0x10, 11, 1),
143 PIN_FIELD_BASE(159, 159, 7, 0x00c0, 0x10, 11, 1),
148 PINS_FIELD_BASE(171, 179, 7, 0x00c0, 0x10, 5, 1),
152 PIN_FIELD_BASE(0, 0, 2, 0x0040, 0x10, 6, 1),
153 PIN_FIELD_BASE(1, 1, 2, 0x0040, 0x10, 7, 1),
154 PIN_FIELD_BASE(2, 2, 2, 0x0040, 0x10, 10, 1),
155 PIN_FIELD_BASE(3, 3, 2, 0x0040, 0x10, 11, 1),
156 PIN_FIELD_BASE(4, 4, 2, 0x0040, 0x10, 12, 1),
157 PIN_FIELD_BASE(5, 5, 2, 0x0040, 0x10, 13, 1),
158 PIN_FIELD_BASE(6, 6, 2, 0x0040, 0x10, 14, 1),
159 PIN_FIELD_BASE(7, 7, 2, 0x0040, 0x10, 15, 1),
161 PIN_FIELD_BASE(9, 9, 2, 0x0040, 0x10, 16, 1),
162 PIN_FIELD_BASE(10, 10, 2, 0x0040, 0x10, 8, 1),
163 PIN_FIELD_BASE(11, 11, 2, 0x0040, 0x10, 9, 1),
169 PIN_FIELD_BASE(17, 17, 6, 0x0040, 0x10, 7, 1),
177 PIN_FIELD_BASE(25, 25, 6, 0x0040, 0x10, 2, 1),
181 PIN_FIELD_BASE(41, 41, 7, 0x0060, 0x10, 19, 1),
182 PIN_FIELD_BASE(42, 42, 7, 0x0060, 0x10, 9, 1),
183 PIN_FIELD_BASE(43, 43, 7, 0x0060, 0x10, 8, 1),
184 PIN_FIELD_BASE(44, 44, 7, 0x0060, 0x10, 10, 1),
185 PIN_FIELD_BASE(45, 45, 7, 0x0060, 0x10, 22, 1),
186 PIN_FIELD_BASE(46, 46, 7, 0x0060, 0x10, 21, 1),
187 PIN_FIELD_BASE(47, 47, 7, 0x0060, 0x10, 20, 1),
188 PIN_FIELD_BASE(48, 48, 7, 0x0070, 0x10, 3, 1),
189 PIN_FIELD_BASE(49, 49, 7, 0x0070, 0x10, 5, 1),
190 PIN_FIELD_BASE(50, 50, 7, 0x0070, 0x10, 2, 1),
191 PIN_FIELD_BASE(51, 51, 7, 0x0070, 0x10, 4, 1),
192 PIN_FIELD_BASE(52, 52, 7, 0x0060, 0x10, 1, 1),
193 PIN_FIELD_BASE(53, 53, 7, 0x0060, 0x10, 0, 1),
194 PIN_FIELD_BASE(54, 54, 7, 0x0060, 0x10, 5, 1),
195 PIN_FIELD_BASE(55, 55, 7, 0x0060, 0x10, 3, 1),
196 PIN_FIELD_BASE(56, 56, 7, 0x0060, 0x10, 4, 1),
197 PIN_FIELD_BASE(57, 57, 7, 0x0060, 0x10, 2, 1),
198 PIN_FIELD_BASE(58, 58, 7, 0x0070, 0x10, 0, 1),
199 PIN_FIELD_BASE(59, 59, 7, 0x0060, 0x10, 31, 1),
200 PIN_FIELD_BASE(60, 60, 7, 0x0060, 0x10, 30, 1),
210 PIN_FIELD_BASE(70, 70, 3, 0x0040, 0x10, 7, 1),
215 PIN_FIELD_BASE(75, 75, 3, 0x0040, 0x10, 2, 1),
225 PIN_FIELD_BASE(85, 85, 7, 0x0070, 0x10, 1, 1),
226 PIN_FIELD_BASE(86, 86, 7, 0x0060, 0x10, 29, 1),
227 PIN_FIELD_BASE(87, 87, 7, 0x0060, 0x10, 7, 1),
228 PIN_FIELD_BASE(88, 88, 7, 0x0060, 0x10, 6, 1),
229 PIN_FIELD_BASE(89, 89, 2, 0x0040, 0x10, 21, 1),
231 PIN_FIELD_BASE(95, 95, 2, 0x0040, 0x10, 22, 1),
232 PIN_FIELD_BASE(96, 96, 2, 0x0040, 0x10, 23, 1),
233 PIN_FIELD_BASE(97, 97, 2, 0x0040, 0x10, 2, 1),
234 PIN_FIELD_BASE(98, 98, 2, 0x0040, 0x10, 3, 1),
235 PIN_FIELD_BASE(99, 99, 2, 0x0040, 0x10, 0, 1),
236 PIN_FIELD_BASE(100, 100, 2, 0x0040, 0x10, 1, 1),
237 PIN_FIELD_BASE(101, 101, 2, 0x0040, 0x10, 4, 1),
238 PIN_FIELD_BASE(102, 102, 2, 0x0040, 0x10, 5, 1),
239 PIN_FIELD_BASE(103, 103, 2, 0x0040, 0x10, 17, 1),
240 PIN_FIELD_BASE(104, 104, 2, 0x0040, 0x10, 19, 1),
241 PIN_FIELD_BASE(105, 105, 2, 0x0040, 0x10, 18, 1),
242 PIN_FIELD_BASE(106, 106, 2, 0x0040, 0x10, 20, 1),
248 PIN_FIELD_BASE(112, 112, 1, 0x0040, 0x10, 2, 1),
252 PIN_FIELD_BASE(116, 116, 1, 0x0040, 0x10, 7, 1),
261 PIN_FIELD_BASE(137, 137, 5, 0x0030, 0x10, 7, 1),
266 PIN_FIELD_BASE(142, 142, 5, 0x0030, 0x10, 2, 1),
274 PIN_FIELD_BASE(150, 150, 7, 0x0060, 0x10, 23, 1),
275 PIN_FIELD_BASE(151, 151, 7, 0x0060, 0x10, 24, 1),
276 PIN_FIELD_BASE(152, 152, 7, 0x0060, 0x10, 25, 1),
277 PIN_FIELD_BASE(153, 153, 7, 0x0060, 0x10, 26, 1),
278 PIN_FIELD_BASE(154, 154, 7, 0x0060, 0x10, 28, 1),
283 PIN_FIELD_BASE(159, 159, 7, 0x0060, 0x10, 27, 1),
289 PIN_FIELD_BASE(165, 165, 4, 0x0020, 0x10, 2, 1),
294 PIN_FIELD_BASE(170, 170, 4, 0x0020, 0x10, 7, 1),
295 PIN_FIELD_BASE(171, 171, 7, 0x0060, 0x10, 17, 1),
296 PIN_FIELD_BASE(172, 172, 7, 0x0060, 0x10, 18, 1),
297 PIN_FIELD_BASE(173, 173, 7, 0x0060, 0x10, 11, 1),
298 PIN_FIELD_BASE(174, 174, 7, 0x0060, 0x10, 12, 1),
299 PIN_FIELD_BASE(175, 175, 7, 0x0060, 0x10, 13, 1),
300 PIN_FIELD_BASE(176, 176, 7, 0x0060, 0x10, 14, 1),
301 PIN_FIELD_BASE(177, 177, 7, 0x0060, 0x10, 15, 1),
302 PINS_FIELD_BASE(178, 179, 7, 0x0060, 0x10, 16, 1),
306 PIN_FIELD_BASE(0, 0, 2, 0x0060, 0x10, 6, 1),
307 PIN_FIELD_BASE(1, 1, 2, 0x0060, 0x10, 7, 1),
308 PIN_FIELD_BASE(2, 2, 2, 0x0060, 0x10, 10, 1),
309 PIN_FIELD_BASE(3, 3, 2, 0x0060, 0x10, 11, 1),
310 PIN_FIELD_BASE(4, 4, 2, 0x0060, 0x10, 12, 1),
311 PIN_FIELD_BASE(5, 5, 2, 0x0060, 0x10, 13, 1),
312 PIN_FIELD_BASE(6, 6, 2, 0x0060, 0x10, 14, 1),
313 PIN_FIELD_BASE(7, 7, 2, 0x0060, 0x10, 15, 1),
315 PIN_FIELD_BASE(9, 9, 2, 0x0060, 0x10, 16, 1),
316 PIN_FIELD_BASE(10, 10, 2, 0x0060, 0x10, 8, 1),
317 PIN_FIELD_BASE(11, 11, 2, 0x0060, 0x10, 9, 1),
323 PIN_FIELD_BASE(17, 17, 6, 0x0060, 0x10, 7, 1),
331 PIN_FIELD_BASE(25, 25, 6, 0x0060, 0x10, 2, 1),
335 PIN_FIELD_BASE(41, 41, 7, 0x0080, 0x10, 19, 1),
336 PIN_FIELD_BASE(42, 42, 7, 0x0080, 0x10, 9, 1),
337 PIN_FIELD_BASE(43, 43, 7, 0x0080, 0x10, 8, 1),
338 PIN_FIELD_BASE(44, 44, 7, 0x0080, 0x10, 10, 1),
339 PIN_FIELD_BASE(45, 45, 7, 0x0080, 0x10, 22, 1),
340 PIN_FIELD_BASE(46, 46, 7, 0x0080, 0x10, 21, 1),
341 PIN_FIELD_BASE(47, 47, 7, 0x0080, 0x10, 20, 1),
342 PIN_FIELD_BASE(48, 48, 7, 0x0090, 0x10, 3, 1),
343 PIN_FIELD_BASE(49, 49, 7, 0x0090, 0x10, 5, 1),
344 PIN_FIELD_BASE(50, 50, 7, 0x0090, 0x10, 2, 1),
345 PIN_FIELD_BASE(51, 51, 7, 0x0090, 0x10, 4, 1),
346 PIN_FIELD_BASE(52, 52, 7, 0x0080, 0x10, 1, 1),
347 PIN_FIELD_BASE(53, 53, 7, 0x0080, 0x10, 0, 1),
348 PIN_FIELD_BASE(54, 54, 7, 0x0080, 0x10, 5, 1),
349 PIN_FIELD_BASE(55, 55, 7, 0x0080, 0x10, 3, 1),
350 PIN_FIELD_BASE(56, 56, 7, 0x0080, 0x10, 4, 1),
351 PIN_FIELD_BASE(57, 57, 7, 0x0080, 0x10, 2, 1),
352 PIN_FIELD_BASE(58, 58, 7, 0x0090, 0x10, 0, 1),
353 PIN_FIELD_BASE(59, 59, 7, 0x0080, 0x10, 31, 1),
354 PIN_FIELD_BASE(60, 60, 7, 0x0080, 0x10, 30, 1),
364 PIN_FIELD_BASE(70, 70, 3, 0x0050, 0x10, 7, 1),
369 PIN_FIELD_BASE(75, 75, 3, 0x0050, 0x10, 2, 1),
379 PIN_FIELD_BASE(85, 85, 7, 0x0090, 0x10, 1, 1),
380 PIN_FIELD_BASE(86, 86, 7, 0x0080, 0x10, 29, 1),
381 PIN_FIELD_BASE(87, 87, 7, 0x0080, 0x10, 7, 1),
382 PIN_FIELD_BASE(88, 88, 7, 0x0080, 0x10, 6, 1),
383 PIN_FIELD_BASE(89, 89, 2, 0x0060, 0x10, 21, 1),
385 PIN_FIELD_BASE(95, 95, 2, 0x0060, 0x10, 22, 1),
386 PIN_FIELD_BASE(96, 96, 2, 0x0060, 0x10, 23, 1),
387 PIN_FIELD_BASE(97, 97, 2, 0x0060, 0x10, 2, 1),
388 PIN_FIELD_BASE(98, 98, 2, 0x0060, 0x10, 3, 1),
389 PIN_FIELD_BASE(99, 99, 2, 0x0060, 0x10, 0, 1),
390 PIN_FIELD_BASE(100, 100, 2, 0x0060, 0x10, 1, 1),
391 PIN_FIELD_BASE(101, 101, 2, 0x0060, 0x10, 4, 1),
392 PIN_FIELD_BASE(102, 102, 2, 0x0060, 0x10, 5, 1),
393 PIN_FIELD_BASE(103, 103, 2, 0x0060, 0x10, 17, 1),
394 PIN_FIELD_BASE(104, 104, 2, 0x0060, 0x10, 19, 1),
395 PIN_FIELD_BASE(105, 105, 2, 0x0060, 0x10, 18, 1),
396 PIN_FIELD_BASE(106, 106, 2, 0x0060, 0x10, 20, 1),
402 PIN_FIELD_BASE(112, 112, 1, 0x0050, 0x10, 2, 1),
406 PIN_FIELD_BASE(116, 116, 1, 0x0050, 0x10, 7, 1),
415 PIN_FIELD_BASE(137, 137, 5, 0x0040, 0x10, 7, 1),
420 PIN_FIELD_BASE(142, 142, 5, 0x0040, 0x10, 2, 1),
428 PIN_FIELD_BASE(150, 150, 7, 0x0080, 0x10, 23, 1),
429 PIN_FIELD_BASE(151, 151, 7, 0x0080, 0x10, 24, 1),
430 PIN_FIELD_BASE(152, 152, 7, 0x0080, 0x10, 25, 1),
431 PIN_FIELD_BASE(153, 153, 7, 0x0080, 0x10, 26, 1),
432 PIN_FIELD_BASE(154, 154, 7, 0x0080, 0x10, 28, 1),
437 PIN_FIELD_BASE(159, 159, 7, 0x0080, 0x10, 27, 1),
443 PIN_FIELD_BASE(165, 165, 4, 0x0040, 0x10, 2, 1),
448 PIN_FIELD_BASE(170, 170, 4, 0x0040, 0x10, 7, 1),
449 PIN_FIELD_BASE(171, 171, 7, 0x0080, 0x10, 17, 1),
450 PIN_FIELD_BASE(172, 172, 7, 0x0080, 0x10, 18, 1),
451 PIN_FIELD_BASE(173, 173, 7, 0x0080, 0x10, 11, 1),
452 PIN_FIELD_BASE(174, 174, 7, 0x0080, 0x10, 12, 1),
453 PIN_FIELD_BASE(175, 175, 7, 0x0080, 0x10, 13, 1),
454 PIN_FIELD_BASE(176, 176, 7, 0x0080, 0x10, 14, 1),
455 PIN_FIELD_BASE(177, 177, 7, 0x0080, 0x10, 15, 1),
456 PINS_FIELD_BASE(178, 179, 7, 0x0080, 0x10, 16, 1),
460 PINS_FIELD_BASE(0, 3, 2, 0x00c0, 0x10, 16, 4),
461 PINS_FIELD_BASE(4, 7, 2, 0x00c0, 0x10, 20, 4),
463 PINS_FIELD_BASE(9, 11, 2, 0x00c0, 0x10, 24, 4),
476 PINS_FIELD_BASE(41, 42, 7, 0x00d0, 0x10, 24, 4),
477 PIN_FIELD_BASE(43, 43, 7, 0x00d0, 0x10, 12, 4),
478 PIN_FIELD_BASE(44, 44, 7, 0x00d0, 0x10, 16, 4),
479 PIN_FIELD_BASE(45, 45, 7, 0x00e0, 0x10, 0, 4),
480 PINS_FIELD_BASE(46, 47, 7, 0x00d0, 0x10, 28, 4),
481 PINS_FIELD_BASE(48, 49, 7, 0x00e0, 0x10, 28, 4),
482 PINS_FIELD_BASE(50, 51, 7, 0x00e0, 0x10, 24, 4),
483 PINS_FIELD_BASE(52, 57, 7, 0x00d0, 0x10, 0, 4),
484 PINS_FIELD_BASE(58, 60, 7, 0x00e0, 0x10, 16, 4),
495 PIN_FIELD_BASE(85, 85, 7, 0x00e0, 0x10, 16, 4),
496 PIN_FIELD_BASE(86, 86, 7, 0x00e0, 0x10, 20, 4),
497 PIN_FIELD_BASE(87, 87, 7, 0x00d0, 0x10, 8, 4),
498 PIN_FIELD_BASE(88, 88, 7, 0x00d0, 0x10, 4, 4),
499 PIN_FIELD_BASE(89, 89, 2, 0x00d0, 0x10, 12, 4),
501 PINS_FIELD_BASE(91, 92, 2, 0x00d0, 0x10, 0, 4),
502 PINS_FIELD_BASE(93, 94, 2, 0x00c0, 0x10, 28, 4),
503 PINS_FIELD_BASE(95, 96, 2, 0x00d0, 0x10, 16, 4),
504 PINS_FIELD_BASE(97, 98, 2, 0x00c0, 0x10, 8, 4),
505 PIN_FIELD_BASE(99, 99, 2, 0x00c0, 0x10, 0, 4),
506 PIN_FIELD_BASE(100, 100, 2, 0x00c0, 0x10, 4, 4),
507 PINS_FIELD_BASE(101, 102, 2, 0x00c0, 0x10, 12, 4),
508 PINS_FIELD_BASE(103, 104, 2, 0x00d0, 0x10, 4, 4),
509 PINS_FIELD_BASE(105, 106, 2, 0x00d0, 0x10, 8, 4),
544 PINS_FIELD_BASE(150, 151, 7, 0x00e0, 0x10, 4, 4),
545 PINS_FIELD_BASE(152, 153, 7, 0x00e0, 0x10, 8, 4),
546 PIN_FIELD_BASE(154, 154, 7, 0x00e0, 0x10, 12, 4),
548 PIN_FIELD_BASE(159, 159, 7, 0x00e0, 0x10, 12, 4),
552 PINS_FIELD_BASE(171, 179, 7, 0x00d0, 0x10, 20, 4),
556 PINS_FIELD_BASE(0, 3, 2, 0x0090, 0x10, 8, 2),
557 PINS_FIELD_BASE(4, 7, 2, 0x0090, 0x10, 10, 2),
558 PIN_FIELD_BASE(8, 8, 3, 0x0060, 0x10, 6, 2),
559 PINS_FIELD_BASE(9, 11, 2, 0x0090, 0x10, 12, 2),
560 PIN_FIELD_BASE(12, 12, 5, 0x0050, 0x10, 18, 2),
561 PINS_FIELD_BASE(13, 16, 6, 0x00a0, 0x10, 18, 2),
562 PINS_FIELD_BASE(17, 20, 6, 0x00a0, 0x10, 14, 2),
563 PINS_FIELD_BASE(21, 24, 6, 0x00a0, 0x10, 16, 2),
564 PINS_FIELD_BASE(25, 28, 6, 0x00a0, 0x10, 12, 2),
572 PINS_FIELD_BASE(41, 42, 7, 0x00a0, 0x10, 12, 2),
573 PIN_FIELD_BASE(43, 43, 7, 0x00a0, 0x10, 6, 2),
574 PIN_FIELD_BASE(44, 44, 7, 0x00a0, 0x10, 8, 2),
575 PIN_FIELD_BASE(45, 45, 7, 0x00a0, 0x10, 16, 2),
576 PINS_FIELD_BASE(46, 47, 7, 0x00a0, 0x10, 14, 2),
577 PINS_FIELD_BASE(48, 49, 7, 0x00a0, 0x10, 30, 2),
578 PINS_FIELD_BASE(50, 51, 7, 0x00a0, 0x10, 28, 2),
579 PINS_FIELD_BASE(52, 57, 7, 0x00a0, 0x10, 0, 2),
580 PINS_FIELD_BASE(58, 60, 7, 0x00a0, 0x10, 24, 2),
581 PINS_FIELD_BASE(61, 62, 3, 0x0060, 0x10, 10, 2),
582 PINS_FIELD_BASE(63, 64, 3, 0x0060, 0x10, 8, 2),
583 PINS_FIELD_BASE(65, 66, 3, 0x0060, 0x10, 14, 2),
584 PINS_FIELD_BASE(67, 68, 3, 0x0060, 0x10, 12, 2),
585 PINS_FIELD_BASE(69, 73, 3, 0x0060, 0x10, 2, 2),
586 PINS_FIELD_BASE(74, 78, 3, 0x0060, 0x10, 4, 2),
587 PINS_FIELD_BASE(79, 80, 3, 0x0060, 0x10, 0, 2),
588 PIN_FIELD_BASE(81, 81, 3, 0x0060, 0x10, 20, 2),
589 PINS_FIELD_BASE(82, 83, 3, 0x0060, 0x10, 18, 2),
590 PIN_FIELD_BASE(84, 84, 3, 0x0060, 0x10, 20, 2),
591 PIN_FIELD_BASE(85, 85, 7, 0x00a0, 0x10, 24, 2),
592 PIN_FIELD_BASE(86, 86, 7, 0x00a0, 0x10, 26, 2),
593 PIN_FIELD_BASE(87, 87, 7, 0x00a0, 0x10, 4, 2),
594 PIN_FIELD_BASE(88, 88, 7, 0x00a0, 0x10, 2, 2),
595 PIN_FIELD_BASE(89, 89, 2, 0x0090, 0x10, 22, 2),
596 PIN_FIELD_BASE(90, 90, 3, 0x0060, 0x10, 16, 2),
597 PINS_FIELD_BASE(91, 92, 2, 0x0090, 0x10, 16, 2),
598 PINS_FIELD_BASE(93, 94, 2, 0x0090, 0x10, 14, 2),
599 PINS_FIELD_BASE(95, 96, 2, 0x0090, 0x10, 24, 2),
600 PINS_FIELD_BASE(97, 98, 2, 0x0090, 0x10, 4, 2),
601 PIN_FIELD_BASE(99, 99, 2, 0x0090, 0x10, 0, 2),
602 PIN_FIELD_BASE(100, 100, 2, 0x0090, 0x10, 2, 2),
603 PINS_FIELD_BASE(101, 102, 2, 0x0090, 0x10, 6, 2),
604 PINS_FIELD_BASE(103, 104, 2, 0x0090, 0x10, 18, 2),
605 PINS_FIELD_BASE(105, 106, 2, 0x0090, 0x10, 20, 2),
606 PIN_FIELD_BASE(107, 107, 1, 0x0060, 0x10, 8, 2),
607 PIN_FIELD_BASE(108, 108, 1, 0x0060, 0x10, 6, 2),
608 PIN_FIELD_BASE(109, 109, 1, 0x0060, 0x10, 10, 2),
609 PIN_FIELD_BASE(110, 110, 1, 0x0060, 0x10, 0, 2),
610 PIN_FIELD_BASE(111, 111, 1, 0x0060, 0x10, 2, 2),
611 PIN_FIELD_BASE(112, 112, 1, 0x0060, 0x10, 4, 2),
612 PIN_FIELD_BASE(113, 113, 1, 0x0060, 0x10, 18, 2),
613 PIN_FIELD_BASE(114, 114, 1, 0x0060, 0x10, 20, 2),
614 PIN_FIELD_BASE(115, 115, 1, 0x0060, 0x10, 12, 2),
615 PIN_FIELD_BASE(116, 116, 1, 0x0060, 0x10, 14, 2),
616 PIN_FIELD_BASE(117, 117, 1, 0x0060, 0x10, 24, 2),
617 PIN_FIELD_BASE(118, 118, 1, 0x0060, 0x10, 26, 2),
618 PIN_FIELD_BASE(119, 119, 1, 0x0060, 0x10, 28, 2),
619 PIN_FIELD_BASE(120, 120, 1, 0x0060, 0x10, 22, 2),
620 PIN_FIELD_BASE(121, 121, 1, 0x0060, 0x10, 16, 2),
623 PIN_FIELD_BASE(124, 124, 4, 0x0070, 0x10, 2, 6),
628 PIN_FIELD_BASE(134, 134, 5, 0x0050, 0x10, 22, 2),
629 PIN_FIELD_BASE(135, 135, 5, 0x0050, 0x10, 30, 2),
630 PIN_FIELD_BASE(136, 136, 5, 0x0050, 0x10, 2, 2),
631 PIN_FIELD_BASE(137, 137, 5, 0x0050, 0x10, 14, 2),
632 PIN_FIELD_BASE(138, 138, 5, 0x0050, 0x10, 8, 2),
633 PIN_FIELD_BASE(139, 139, 5, 0x0050, 0x10, 10, 2),
634 PIN_FIELD_BASE(140, 140, 5, 0x0050, 0x10, 0, 2),
635 PIN_FIELD_BASE(141, 141, 5, 0x0050, 0x10, 12, 2),
636 PIN_FIELD_BASE(142, 142, 5, 0x0050, 0x10, 4, 2),
637 PIN_FIELD_BASE(143, 143, 5, 0x0050, 0x10, 6, 2),
638 PINS_FIELD_BASE(144, 147, 5, 0x0050, 0x10, 20, 2),
639 PINS_FIELD_BASE(148, 149, 5, 0x0050, 0x10, 24, 2),
640 PINS_FIELD_BASE(150, 151, 7, 0x00a0, 0x10, 18, 2),
641 PINS_FIELD_BASE(152, 153, 7, 0x00a0, 0x10, 20, 2),
642 PIN_FIELD_BASE(154, 154, 7, 0x00a0, 0x10, 22, 2),
643 PINS_FIELD_BASE(155, 158, 3, 0x0060, 0x10, 22, 2),
644 PIN_FIELD_BASE(159, 159, 7, 0x00a0, 0x10, 22, 2),
645 PIN_FIELD_BASE(160, 160, 5, 0x0050, 0x10, 16, 2),
646 PINS_FIELD_BASE(161, 162, 1, 0x0060, 0x10, 30, 2),
647 PINS_FIELD_BASE(163, 170, 4, 0x0070, 0x10, 0, 2),
648 PINS_FIELD_BASE(171, 179, 7, 0x00a0, 0x10, 10, 2),
652 PINS_FIELD_BASE(0, 2, 2, 0x0000, 0x10, 12, 3),
653 PIN_FIELD_BASE(3, 3, 2, 0x0000, 0x10, 15, 3),
654 PINS_FIELD_BASE(4, 6, 2, 0x0000, 0x10, 18, 3),
655 PIN_FIELD_BASE(7, 7, 2, 0x0000, 0x10, 21, 3),
657 PINS_FIELD_BASE(9, 11, 2, 0x0000, 0x10, 24, 3),
671 PINS_FIELD_BASE(35, 36, 6, 0x0000, 0x10, 13, 2),
672 PIN_FIELD_BASE(37, 37, 6, 0x0000, 0x10, 15, 2),
673 PIN_FIELD_BASE(38, 38, 6, 0x0000, 0x10, 11, 2),
674 PINS_FIELD_BASE(39, 40, 6, 0x0000, 0x10, 9, 2),
675 PINS_FIELD_BASE(41, 42, 7, 0x0000, 0x10, 21, 3),
676 PIN_FIELD_BASE(43, 43, 7, 0x0000, 0x10, 9, 3),
677 PIN_FIELD_BASE(44, 44, 7, 0x0000, 0x10, 12, 3),
678 PIN_FIELD_BASE(45, 45, 7, 0x0000, 0x10, 27, 3),
679 PINS_FIELD_BASE(46, 47, 7, 0x0000, 0x10, 24, 3),
680 PINS_FIELD_BASE(48, 49, 7, 0x0010, 0x10, 18, 3),
681 PINS_FIELD_BASE(50, 51, 7, 0x0010, 0x10, 15, 3),
682 PINS_FIELD_BASE(52, 57, 7, 0x0000, 0x10, 0, 3),
683 PINS_FIELD_BASE(58, 60, 7, 0x0010, 0x10, 9, 3),
694 PIN_FIELD_BASE(85, 85, 7, 0x0010, 0x10, 9, 3),
695 PIN_FIELD_BASE(86, 86, 7, 0x0010, 0x10, 12, 3),
696 PIN_FIELD_BASE(87, 87, 7, 0x0000, 0x10, 6, 3),
697 PIN_FIELD_BASE(88, 88, 7, 0x0000, 0x10, 3, 3),
698 PIN_FIELD_BASE(89, 89, 2, 0x0010, 0x10, 15, 3),
700 PIN_FIELD_BASE(91, 91, 2, 0x0010, 0x10, 6, 3),
701 PIN_FIELD_BASE(92, 92, 2, 0x0010, 0x10, 3, 3),
702 PIN_FIELD_BASE(93, 93, 2, 0x0000, 0x10, 27, 3),
703 PIN_FIELD_BASE(94, 94, 2, 0x0010, 0x10, 0, 3),
704 PINS_FIELD_BASE(95, 96, 2, 0x0010, 0x10, 18, 3),
705 PINS_FIELD_BASE(97, 98, 2, 0x0000, 0x10, 6, 3),
706 PIN_FIELD_BASE(99, 99, 2, 0x0000, 0x10, 0, 3),
707 PIN_FIELD_BASE(100, 100, 2, 0x0000, 0x10, 3, 3),
708 PINS_FIELD_BASE(101, 102, 2, 0x0000, 0x10, 9, 3),
709 PINS_FIELD_BASE(103, 104, 2, 0x0010, 0x10, 9, 3),
710 PINS_FIELD_BASE(105, 106, 2, 0x0010, 0x10, 12, 3),
746 PINS_FIELD_BASE(150, 151, 7, 0x0010, 0x10, 0, 3),
747 PINS_FIELD_BASE(152, 153, 7, 0x0010, 0x10, 3, 3),
748 PIN_FIELD_BASE(154, 154, 7, 0x0010, 0x10, 6, 3),
751 PIN_FIELD_BASE(159, 159, 7, 0x0010, 0x10, 6, 3),
756 PINS_FIELD_BASE(171, 174, 7, 0x0000, 0x10, 18, 3),
757 PINS_FIELD_BASE(175, 179, 7, 0x0000, 0x10, 15, 3),
765 PIN_FIELD_BASE(32, 32, 6, 0x0050, 0x10, 2, 1),
773 PINS_FIELD_BASE(40, 90, 6, 0x0050, 0x10, 7, 1),
774 PIN_FIELD_BASE(91, 91, 2, 0x0050, 0x10, 3, 1),
775 PIN_FIELD_BASE(92, 92, 2, 0x0050, 0x10, 2, 1),
776 PIN_FIELD_BASE(93, 93, 2, 0x0050, 0x10, 0, 1),
777 PINS_FIELD_BASE(94, 121, 2, 0x0050, 0x10, 1, 1),
779 PIN_FIELD_BASE(123, 123, 4, 0x0030, 0x10, 2, 1),
785 PIN_FIELD_BASE(129, 129, 4, 0x0030, 0x10, 7, 1),
797 PIN_FIELD_BASE(32, 32, 6, 0x0070, 0x10, 2, 1),
805 PINS_FIELD_BASE(40, 90, 6, 0x0070, 0x10, 7, 1),
806 PIN_FIELD_BASE(91, 91, 2, 0x0070, 0x10, 3, 1),
807 PIN_FIELD_BASE(92, 92, 2, 0x0070, 0x10, 2, 1),
808 PIN_FIELD_BASE(93, 93, 2, 0x0070, 0x10, 0, 1),
809 PINS_FIELD_BASE(94, 121, 2, 0x0070, 0x10, 1, 1),
811 PIN_FIELD_BASE(123, 123, 4, 0x0050, 0x10, 2, 1),
817 PIN_FIELD_BASE(129, 129, 4, 0x0050, 0x10, 7, 1),
829 PIN_FIELD_BASE(32, 32, 6, 0x0080, 0x10, 2, 1),
837 PINS_FIELD_BASE(40, 90, 6, 0x0080, 0x10, 7, 1),
838 PIN_FIELD_BASE(91, 91, 2, 0x0080, 0x10, 3, 1),
839 PIN_FIELD_BASE(92, 92, 2, 0x0080, 0x10, 2, 1),
840 PIN_FIELD_BASE(93, 93, 2, 0x0080, 0x10, 0, 1),
841 PINS_FIELD_BASE(94, 121, 2, 0x0080, 0x10, 1, 1),
843 PIN_FIELD_BASE(123, 123, 4, 0x0060, 0x10, 2, 1),
849 PIN_FIELD_BASE(129, 129, 4, 0x0060, 0x10, 7, 1),
857 PIN_FIELD_BASE(0, 0, 2, 0x0030, 0x10, 6, 1),
858 PIN_FIELD_BASE(1, 1, 2, 0x0030, 0x10, 7, 1),
859 PIN_FIELD_BASE(2, 2, 2, 0x0030, 0x10, 10, 1),
860 PIN_FIELD_BASE(3, 3, 2, 0x0030, 0x10, 11, 1),
861 PIN_FIELD_BASE(4, 4, 2, 0x0030, 0x10, 12, 1),
862 PIN_FIELD_BASE(5, 5, 2, 0x0030, 0x10, 13, 1),
863 PIN_FIELD_BASE(6, 6, 2, 0x0030, 0x10, 14, 1),
864 PIN_FIELD_BASE(7, 7, 2, 0x0030, 0x10, 15, 1),
866 PIN_FIELD_BASE(9, 9, 2, 0x0030, 0x10, 16, 1),
867 PIN_FIELD_BASE(10, 10, 2, 0x0030, 0x10, 8, 1),
868 PIN_FIELD_BASE(11, 11, 2, 0x0030, 0x10, 9, 1),
889 PIN_FIELD_BASE(32, 32, 6, 0x0020, 0x10, 2, 1),
897 PIN_FIELD_BASE(40, 40, 6, 0x0020, 0x10, 7, 1),
898 PIN_FIELD_BASE(41, 41, 7, 0x0040, 0x10, 19, 1),
899 PIN_FIELD_BASE(42, 42, 7, 0x0040, 0x10, 9, 1),
900 PIN_FIELD_BASE(43, 43, 7, 0x0040, 0x10, 8, 1),
901 PIN_FIELD_BASE(44, 44, 7, 0x0040, 0x10, 10, 1),
902 PIN_FIELD_BASE(45, 45, 7, 0x0040, 0x10, 22, 1),
903 PIN_FIELD_BASE(46, 46, 7, 0x0040, 0x10, 21, 1),
904 PIN_FIELD_BASE(47, 47, 7, 0x0040, 0x10, 20, 1),
905 PIN_FIELD_BASE(48, 48, 7, 0x0050, 0x10, 3, 1),
906 PIN_FIELD_BASE(49, 49, 7, 0x0050, 0x10, 5, 1),
907 PIN_FIELD_BASE(50, 50, 7, 0x0050, 0x10, 2, 1),
908 PIN_FIELD_BASE(51, 51, 7, 0x0050, 0x10, 4, 1),
909 PIN_FIELD_BASE(52, 52, 7, 0x0040, 0x10, 1, 1),
910 PIN_FIELD_BASE(53, 53, 7, 0x0040, 0x10, 0, 1),
911 PIN_FIELD_BASE(54, 54, 7, 0x0040, 0x10, 5, 1),
912 PIN_FIELD_BASE(55, 55, 7, 0x0040, 0x10, 3, 1),
913 PIN_FIELD_BASE(56, 56, 7, 0x0040, 0x10, 4, 1),
914 PIN_FIELD_BASE(57, 57, 7, 0x0040, 0x10, 2, 1),
915 PIN_FIELD_BASE(58, 58, 7, 0x0050, 0x10, 0, 1),
916 PIN_FIELD_BASE(59, 59, 7, 0x0040, 0x10, 31, 1),
917 PIN_FIELD_BASE(60, 60, 7, 0x0040, 0x10, 30, 1),
927 PIN_FIELD_BASE(70, 70, 3, 0x0030, 0x10, 7, 1),
932 PIN_FIELD_BASE(75, 75, 3, 0x0030, 0x10, 2, 1),
942 PIN_FIELD_BASE(85, 85, 7, 0x0050, 0x10, 1, 1),
943 PIN_FIELD_BASE(86, 86, 7, 0x0040, 0x10, 29, 1),
944 PIN_FIELD_BASE(87, 87, 7, 0x0040, 0x10, 7, 1),
945 PIN_FIELD_BASE(88, 88, 7, 0x0040, 0x10, 6, 1),
946 PIN_FIELD_BASE(89, 89, 2, 0x0030, 0x10, 25, 1),
948 PIN_FIELD_BASE(91, 91, 2, 0x0030, 0x10, 20, 1),
949 PIN_FIELD_BASE(92, 92, 2, 0x0030, 0x10, 19, 1),
950 PIN_FIELD_BASE(93, 93, 2, 0x0030, 0x10, 17, 1),
951 PIN_FIELD_BASE(94, 94, 2, 0x0030, 0x10, 18, 1),
952 PIN_FIELD_BASE(95, 95, 2, 0x0030, 0x10, 26, 1),
953 PIN_FIELD_BASE(96, 96, 2, 0x0030, 0x10, 27, 1),
954 PIN_FIELD_BASE(97, 97, 2, 0x0030, 0x10, 2, 1),
955 PIN_FIELD_BASE(98, 98, 2, 0x0030, 0x10, 3, 1),
956 PIN_FIELD_BASE(99, 99, 2, 0x0030, 0x10, 0, 1),
957 PIN_FIELD_BASE(100, 100, 2, 0x0030, 0x10, 1, 1),
958 PIN_FIELD_BASE(101, 101, 2, 0x0030, 0x10, 4, 1),
959 PIN_FIELD_BASE(102, 102, 2, 0x0030, 0x10, 5, 1),
960 PIN_FIELD_BASE(103, 103, 2, 0x0030, 0x10, 21, 1),
961 PIN_FIELD_BASE(104, 104, 2, 0x0030, 0x10, 23, 1),
962 PIN_FIELD_BASE(105, 105, 2, 0x0030, 0x10, 22, 1),
963 PIN_FIELD_BASE(106, 106, 2, 0x0030, 0x10, 24, 1),
969 PIN_FIELD_BASE(112, 112, 1, 0x0030, 0x10, 2, 1),
973 PIN_FIELD_BASE(116, 116, 1, 0x0030, 0x10, 7, 1),
994 PIN_FIELD_BASE(137, 137, 5, 0x0020, 0x10, 7, 1),
999 PIN_FIELD_BASE(142, 142, 5, 0x0020, 0x10, 2, 1),
1007 PIN_FIELD_BASE(150, 150, 7, 0x0040, 0x10, 23, 1),
1008 PIN_FIELD_BASE(151, 151, 7, 0x0040, 0x10, 24, 1),
1009 PIN_FIELD_BASE(152, 152, 7, 0x0040, 0x10, 25, 1),
1010 PIN_FIELD_BASE(153, 153, 7, 0x0040, 0x10, 26, 1),
1011 PIN_FIELD_BASE(154, 154, 7, 0x0040, 0x10, 28, 1),
1016 PIN_FIELD_BASE(159, 159, 7, 0x0040, 0x10, 27, 1),
1022 PIN_FIELD_BASE(165, 165, 4, 0x0010, 0x10, 2, 1),
1027 PIN_FIELD_BASE(170, 170, 4, 0x0010, 0x10, 7, 1),
1028 PIN_FIELD_BASE(171, 171, 7, 0x0040, 0x10, 17, 1),
1029 PIN_FIELD_BASE(172, 172, 7, 0x0040, 0x10, 18, 1),
1030 PIN_FIELD_BASE(173, 173, 7, 0x0040, 0x10, 11, 1),
1031 PIN_FIELD_BASE(174, 174, 7, 0x0040, 0x10, 12, 1),
1032 PIN_FIELD_BASE(175, 175, 7, 0x0040, 0x10, 13, 1),
1033 PIN_FIELD_BASE(176, 176, 7, 0x0040, 0x10, 14, 1),
1034 PIN_FIELD_BASE(177, 177, 7, 0x0040, 0x10, 15, 1),
1035 PINS_FIELD_BASE(178, 179, 7, 0x0040, 0x10, 16, 1),
1061 .port_mask = 7,
1086 { .compatible = "mediatek,mt6765-pinctrl", .data = &mt6765_data },
1093 .name = "mt6765-pinctrl",