Lines Matching +full:6 +full:- +full:3
1 // SPDX-License-Identifier: GPL-2.0
10 #include "pinctrl-mtk-mt6765.h"
11 #include "pinctrl-paris.h"
15 * iocfg[3]:0x10002A00, iocfg[4]:0x10002000, iocfg[5]:0x10002200,
16 * iocfg[6]:0x10002500, iocfg[7]:0x10002600.
45 PINS_FIELD_BASE(0, 3, 2, 0x00b0, 0x10, 4, 1),
47 PIN_FIELD_BASE(8, 8, 3, 0x0080, 0x10, 3, 1),
48 PINS_FIELD_BASE(9, 11, 2, 0x00b0, 0x10, 6, 1),
50 PINS_FIELD_BASE(13, 16, 6, 0x00b0, 0x10, 10, 1),
51 PINS_FIELD_BASE(17, 20, 6, 0x00b0, 0x10, 8, 1),
52 PINS_FIELD_BASE(21, 24, 6, 0x00b0, 0x10, 9, 1),
53 PINS_FIELD_BASE(25, 28, 6, 0x00b0, 0x10, 7, 1),
54 PIN_FIELD_BASE(29, 29, 6, 0x00b0, 0x10, 0, 1),
55 PIN_FIELD_BASE(30, 30, 6, 0x00b0, 0x10, 1, 1),
56 PINS_FIELD_BASE(31, 34, 6, 0x00b0, 0x10, 2, 1),
57 PINS_FIELD_BASE(35, 36, 6, 0x00b0, 0x10, 5, 1),
58 PIN_FIELD_BASE(37, 37, 6, 0x00b0, 0x10, 6, 1),
59 PIN_FIELD_BASE(38, 38, 6, 0x00b0, 0x10, 4, 1),
60 PINS_FIELD_BASE(39, 40, 6, 0x00b0, 0x10, 3, 1),
61 PINS_FIELD_BASE(41, 42, 7, 0x00c0, 0x10, 6, 1),
62 PIN_FIELD_BASE(43, 43, 7, 0x00c0, 0x10, 3, 1),
72 PINS_FIELD_BASE(61, 62, 3, 0x0080, 0x10, 5, 1),
73 PINS_FIELD_BASE(63, 64, 3, 0x0080, 0x10, 4, 1),
74 PINS_FIELD_BASE(65, 66, 3, 0x0080, 0x10, 7, 1),
75 PINS_FIELD_BASE(67, 68, 3, 0x0080, 0x10, 6, 1),
76 PINS_FIELD_BASE(69, 73, 3, 0x0080, 0x10, 1, 1),
77 PINS_FIELD_BASE(74, 78, 3, 0x0080, 0x10, 2, 1),
78 PINS_FIELD_BASE(79, 80, 3, 0x0080, 0x10, 0, 1),
79 PIN_FIELD_BASE(81, 81, 3, 0x0080, 0x10, 12, 1),
80 PIN_FIELD_BASE(82, 82, 3, 0x0080, 0x10, 11, 1),
81 PIN_FIELD_BASE(83, 83, 3, 0x0080, 0x10, 9, 1),
82 PIN_FIELD_BASE(84, 84, 3, 0x0080, 0x10, 10, 1),
88 PIN_FIELD_BASE(90, 90, 3, 0x0080, 0x10, 8, 1),
95 PINS_FIELD_BASE(101, 102, 2, 0x00b0, 0x10, 3, 1),
101 PIN_FIELD_BASE(108, 108, 1, 0x0080, 0x10, 3, 1),
108 PIN_FIELD_BASE(115, 115, 1, 0x0080, 0x10, 6, 1),
116 PIN_FIELD_BASE(123, 123, 4, 0x0080, 0x10, 3, 1),
125 PIN_FIELD_BASE(132, 132, 4, 0x0080, 0x10, 6, 1),
134 PIN_FIELD_BASE(141, 141, 5, 0x0060, 0x10, 6, 1),
136 PIN_FIELD_BASE(143, 143, 5, 0x0060, 0x10, 3, 1),
142 PINS_FIELD_BASE(155, 158, 3, 0x0080, 0x10, 13, 1),
152 PIN_FIELD_BASE(0, 0, 2, 0x0040, 0x10, 6, 1),
155 PIN_FIELD_BASE(3, 3, 2, 0x0040, 0x10, 11, 1),
158 PIN_FIELD_BASE(6, 6, 2, 0x0040, 0x10, 14, 1),
160 PIN_FIELD_BASE(8, 8, 3, 0x0040, 0x10, 12, 1),
165 PIN_FIELD_BASE(13, 13, 6, 0x0040, 0x10, 14, 1),
166 PIN_FIELD_BASE(14, 14, 6, 0x0040, 0x10, 13, 1),
167 PIN_FIELD_BASE(15, 15, 6, 0x0040, 0x10, 15, 1),
168 PIN_FIELD_BASE(16, 16, 6, 0x0040, 0x10, 12, 1),
169 PIN_FIELD_BASE(17, 17, 6, 0x0040, 0x10, 7, 1),
170 PIN_FIELD_BASE(18, 18, 6, 0x0040, 0x10, 4, 1),
171 PIN_FIELD_BASE(19, 19, 6, 0x0040, 0x10, 6, 1),
172 PIN_FIELD_BASE(20, 20, 6, 0x0040, 0x10, 5, 1),
173 PIN_FIELD_BASE(21, 21, 6, 0x0040, 0x10, 10, 1),
174 PIN_FIELD_BASE(22, 22, 6, 0x0040, 0x10, 9, 1),
175 PIN_FIELD_BASE(23, 23, 6, 0x0040, 0x10, 11, 1),
176 PIN_FIELD_BASE(24, 24, 6, 0x0040, 0x10, 8, 1),
177 PIN_FIELD_BASE(25, 25, 6, 0x0040, 0x10, 2, 1),
178 PIN_FIELD_BASE(26, 26, 6, 0x0040, 0x10, 1, 1),
179 PIN_FIELD_BASE(27, 27, 6, 0x0040, 0x10, 3, 1),
180 PINS_FIELD_BASE(28, 40, 6, 0x0040, 0x10, 0, 1),
188 PIN_FIELD_BASE(48, 48, 7, 0x0070, 0x10, 3, 1),
195 PIN_FIELD_BASE(55, 55, 7, 0x0060, 0x10, 3, 1),
201 PIN_FIELD_BASE(61, 61, 3, 0x0040, 0x10, 18, 1),
202 PIN_FIELD_BASE(62, 62, 3, 0x0040, 0x10, 14, 1),
203 PIN_FIELD_BASE(63, 63, 3, 0x0040, 0x10, 17, 1),
204 PIN_FIELD_BASE(64, 64, 3, 0x0040, 0x10, 13, 1),
205 PIN_FIELD_BASE(65, 65, 3, 0x0040, 0x10, 20, 1),
206 PIN_FIELD_BASE(66, 66, 3, 0x0040, 0x10, 16, 1),
207 PIN_FIELD_BASE(67, 67, 3, 0x0040, 0x10, 19, 1),
208 PIN_FIELD_BASE(68, 68, 3, 0x0040, 0x10, 15, 1),
209 PIN_FIELD_BASE(69, 69, 3, 0x0040, 0x10, 8, 1),
210 PIN_FIELD_BASE(70, 70, 3, 0x0040, 0x10, 7, 1),
211 PIN_FIELD_BASE(71, 71, 3, 0x0040, 0x10, 6, 1),
212 PIN_FIELD_BASE(72, 72, 3, 0x0040, 0x10, 5, 1),
213 PIN_FIELD_BASE(73, 73, 3, 0x0040, 0x10, 4, 1),
214 PIN_FIELD_BASE(74, 74, 3, 0x0040, 0x10, 3, 1),
215 PIN_FIELD_BASE(75, 75, 3, 0x0040, 0x10, 2, 1),
216 PIN_FIELD_BASE(76, 76, 3, 0x0040, 0x10, 1, 1),
217 PIN_FIELD_BASE(77, 77, 3, 0x0040, 0x10, 0, 1),
218 PIN_FIELD_BASE(78, 78, 3, 0x0040, 0x10, 9, 1),
219 PIN_FIELD_BASE(79, 79, 3, 0x0040, 0x10, 11, 1),
220 PIN_FIELD_BASE(80, 80, 3, 0x0040, 0x10, 10, 1),
221 PIN_FIELD_BASE(81, 81, 3, 0x0040, 0x10, 25, 1),
222 PIN_FIELD_BASE(82, 82, 3, 0x0040, 0x10, 24, 1),
223 PIN_FIELD_BASE(83, 83, 3, 0x0040, 0x10, 22, 1),
224 PIN_FIELD_BASE(84, 84, 3, 0x0040, 0x10, 23, 1),
228 PIN_FIELD_BASE(88, 88, 7, 0x0060, 0x10, 6, 1),
230 PINS_FIELD_BASE(90, 94, 3, 0x0040, 0x10, 21, 1),
234 PIN_FIELD_BASE(98, 98, 2, 0x0040, 0x10, 3, 1),
244 PIN_FIELD_BASE(108, 108, 1, 0x0040, 0x10, 3, 1),
251 PIN_FIELD_BASE(115, 115, 1, 0x0040, 0x10, 6, 1),
265 PIN_FIELD_BASE(141, 141, 5, 0x0030, 0x10, 6, 1),
267 PIN_FIELD_BASE(143, 143, 5, 0x0030, 0x10, 3, 1),
279 PIN_FIELD_BASE(155, 155, 3, 0x0040, 0x10, 28, 1),
280 PIN_FIELD_BASE(156, 156, 3, 0x0040, 0x10, 27, 1),
281 PIN_FIELD_BASE(157, 157, 3, 0x0040, 0x10, 29, 1),
282 PIN_FIELD_BASE(158, 158, 3, 0x0040, 0x10, 26, 1),
290 PIN_FIELD_BASE(166, 166, 4, 0x0020, 0x10, 3, 1),
293 PIN_FIELD_BASE(169, 169, 4, 0x0020, 0x10, 6, 1),
306 PIN_FIELD_BASE(0, 0, 2, 0x0060, 0x10, 6, 1),
309 PIN_FIELD_BASE(3, 3, 2, 0x0060, 0x10, 11, 1),
312 PIN_FIELD_BASE(6, 6, 2, 0x0060, 0x10, 14, 1),
314 PIN_FIELD_BASE(8, 8, 3, 0x0050, 0x10, 12, 1),
319 PIN_FIELD_BASE(13, 13, 6, 0x0060, 0x10, 14, 1),
320 PIN_FIELD_BASE(14, 14, 6, 0x0060, 0x10, 13, 1),
321 PIN_FIELD_BASE(15, 15, 6, 0x0060, 0x10, 15, 1),
322 PIN_FIELD_BASE(16, 16, 6, 0x0060, 0x10, 12, 1),
323 PIN_FIELD_BASE(17, 17, 6, 0x0060, 0x10, 7, 1),
324 PIN_FIELD_BASE(18, 18, 6, 0x0060, 0x10, 4, 1),
325 PIN_FIELD_BASE(19, 19, 6, 0x0060, 0x10, 6, 1),
326 PIN_FIELD_BASE(20, 20, 6, 0x0060, 0x10, 5, 1),
327 PIN_FIELD_BASE(21, 21, 6, 0x0060, 0x10, 10, 1),
328 PIN_FIELD_BASE(22, 22, 6, 0x0060, 0x10, 9, 1),
329 PIN_FIELD_BASE(23, 23, 6, 0x0060, 0x10, 11, 1),
330 PIN_FIELD_BASE(24, 24, 6, 0x0060, 0x10, 8, 1),
331 PIN_FIELD_BASE(25, 25, 6, 0x0060, 0x10, 2, 1),
332 PIN_FIELD_BASE(26, 26, 6, 0x0060, 0x10, 1, 1),
333 PIN_FIELD_BASE(27, 27, 6, 0x0060, 0x10, 3, 1),
334 PINS_FIELD_BASE(28, 40, 6, 0x0060, 0x10, 0, 1),
342 PIN_FIELD_BASE(48, 48, 7, 0x0090, 0x10, 3, 1),
349 PIN_FIELD_BASE(55, 55, 7, 0x0080, 0x10, 3, 1),
355 PIN_FIELD_BASE(61, 61, 3, 0x0050, 0x10, 18, 1),
356 PIN_FIELD_BASE(62, 62, 3, 0x0050, 0x10, 14, 1),
357 PIN_FIELD_BASE(63, 63, 3, 0x0050, 0x10, 17, 1),
358 PIN_FIELD_BASE(64, 64, 3, 0x0050, 0x10, 13, 1),
359 PIN_FIELD_BASE(65, 65, 3, 0x0050, 0x10, 20, 1),
360 PIN_FIELD_BASE(66, 66, 3, 0x0050, 0x10, 16, 1),
361 PIN_FIELD_BASE(67, 67, 3, 0x0050, 0x10, 19, 1),
362 PIN_FIELD_BASE(68, 68, 3, 0x0050, 0x10, 15, 1),
363 PIN_FIELD_BASE(69, 69, 3, 0x0050, 0x10, 8, 1),
364 PIN_FIELD_BASE(70, 70, 3, 0x0050, 0x10, 7, 1),
365 PIN_FIELD_BASE(71, 71, 3, 0x0050, 0x10, 6, 1),
366 PIN_FIELD_BASE(72, 72, 3, 0x0050, 0x10, 5, 1),
367 PIN_FIELD_BASE(73, 73, 3, 0x0050, 0x10, 4, 1),
368 PIN_FIELD_BASE(74, 74, 3, 0x0050, 0x10, 3, 1),
369 PIN_FIELD_BASE(75, 75, 3, 0x0050, 0x10, 2, 1),
370 PIN_FIELD_BASE(76, 76, 3, 0x0050, 0x10, 1, 1),
371 PIN_FIELD_BASE(77, 77, 3, 0x0050, 0x10, 0, 1),
372 PIN_FIELD_BASE(78, 78, 3, 0x0050, 0x10, 9, 1),
373 PIN_FIELD_BASE(79, 79, 3, 0x0050, 0x10, 11, 1),
374 PIN_FIELD_BASE(80, 80, 3, 0x0050, 0x10, 10, 1),
375 PIN_FIELD_BASE(81, 81, 3, 0x0050, 0x10, 25, 1),
376 PIN_FIELD_BASE(82, 82, 3, 0x0050, 0x10, 24, 1),
377 PIN_FIELD_BASE(83, 83, 3, 0x0050, 0x10, 22, 1),
378 PIN_FIELD_BASE(84, 84, 3, 0x0050, 0x10, 23, 1),
382 PIN_FIELD_BASE(88, 88, 7, 0x0080, 0x10, 6, 1),
384 PINS_FIELD_BASE(90, 94, 3, 0x0050, 0x10, 21, 1),
388 PIN_FIELD_BASE(98, 98, 2, 0x0060, 0x10, 3, 1),
398 PIN_FIELD_BASE(108, 108, 1, 0x0050, 0x10, 3, 1),
405 PIN_FIELD_BASE(115, 115, 1, 0x0050, 0x10, 6, 1),
419 PIN_FIELD_BASE(141, 141, 5, 0x0040, 0x10, 6, 1),
421 PIN_FIELD_BASE(143, 143, 5, 0x0040, 0x10, 3, 1),
433 PIN_FIELD_BASE(155, 155, 3, 0x0050, 0x10, 28, 1),
434 PIN_FIELD_BASE(156, 156, 3, 0x0050, 0x10, 27, 1),
435 PIN_FIELD_BASE(157, 157, 3, 0x0050, 0x10, 29, 1),
436 PIN_FIELD_BASE(158, 158, 3, 0x0050, 0x10, 26, 1),
444 PIN_FIELD_BASE(166, 166, 4, 0x0040, 0x10, 3, 1),
447 PIN_FIELD_BASE(169, 169, 4, 0x0040, 0x10, 6, 1),
460 PINS_FIELD_BASE(0, 3, 2, 0x00c0, 0x10, 16, 4),
462 PIN_FIELD_BASE(8, 8, 3, 0x0090, 0x10, 12, 4),
465 PINS_FIELD_BASE(13, 16, 6, 0x00e0, 0x10, 8, 4),
466 PINS_FIELD_BASE(17, 20, 6, 0x00e0, 0x10, 0, 4),
467 PINS_FIELD_BASE(21, 24, 6, 0x00e0, 0x10, 4, 4),
468 PINS_FIELD_BASE(25, 28, 6, 0x00d0, 0x10, 28, 4),
469 PIN_FIELD_BASE(29, 29, 6, 0x00d0, 0x10, 0, 4),
470 PIN_FIELD_BASE(30, 30, 6, 0x00d0, 0x10, 4, 4),
471 PINS_FIELD_BASE(31, 34, 6, 0x00d0, 0x10, 8, 4),
472 PINS_FIELD_BASE(35, 36, 6, 0x00d0, 0x10, 20, 4),
473 PIN_FIELD_BASE(37, 37, 6, 0x00d0, 0x10, 24, 4),
474 PIN_FIELD_BASE(38, 38, 6, 0x00d0, 0x10, 16, 4),
475 PINS_FIELD_BASE(39, 40, 6, 0x00d0, 0x10, 12, 4),
485 PINS_FIELD_BASE(61, 62, 3, 0x0090, 0x10, 20, 4),
486 PINS_FIELD_BASE(63, 64, 3, 0x0090, 0x10, 16, 4),
487 PINS_FIELD_BASE(65, 66, 3, 0x0090, 0x10, 28, 4),
488 PINS_FIELD_BASE(67, 68, 3, 0x0090, 0x10, 24, 4),
489 PINS_FIELD_BASE(69, 73, 3, 0x0090, 0x10, 4, 4),
490 PINS_FIELD_BASE(74, 78, 3, 0x0090, 0x10, 8, 4),
491 PINS_FIELD_BASE(79, 80, 3, 0x0090, 0x10, 0, 4),
492 PIN_FIELD_BASE(81, 81, 3, 0x00a0, 0x10, 8, 4),
493 PINS_FIELD_BASE(82, 83, 3, 0x00a0, 0x10, 4, 4),
494 PIN_FIELD_BASE(84, 84, 3, 0x00a0, 0x10, 8, 4),
500 PIN_FIELD_BASE(90, 90, 3, 0x00a0, 0x10, 0, 4),
547 PINS_FIELD_BASE(155, 158, 3, 0x00a0, 0x10, 12, 4),
556 PINS_FIELD_BASE(0, 3, 2, 0x0090, 0x10, 8, 2),
558 PIN_FIELD_BASE(8, 8, 3, 0x0060, 0x10, 6, 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),
565 PIN_FIELD_BASE(29, 29, 6, 0x0090, 0x10, 0, 6),
566 PIN_FIELD_BASE(30, 30, 6, 0x0090, 0x10, 6, 6),
567 PINS_FIELD_BASE(31, 34, 6, 0x0090, 0x10, 12, 6),
568 PINS_FIELD_BASE(35, 36, 6, 0x00a0, 0x10, 0, 6),
569 PIN_FIELD_BASE(37, 37, 6, 0x00a0, 0x10, 6, 6),
570 PIN_FIELD_BASE(38, 38, 6, 0x0090, 0x10, 24, 6),
571 PINS_FIELD_BASE(39, 40, 6, 0x0090, 0x10, 18, 6),
573 PIN_FIELD_BASE(43, 43, 7, 0x00a0, 0x10, 6, 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),
596 PIN_FIELD_BASE(90, 90, 3, 0x0060, 0x10, 16, 2),
603 PINS_FIELD_BASE(101, 102, 2, 0x0090, 0x10, 6, 2),
607 PIN_FIELD_BASE(108, 108, 1, 0x0060, 0x10, 6, 2),
621 PIN_FIELD_BASE(122, 122, 4, 0x0070, 0x10, 8, 6),
622 PIN_FIELD_BASE(123, 123, 4, 0x0070, 0x10, 14, 6),
623 PIN_FIELD_BASE(124, 124, 4, 0x0070, 0x10, 2, 6),
624 PINS_FIELD_BASE(125, 130, 4, 0x0070, 0x10, 14, 6),
625 PIN_FIELD_BASE(131, 131, 4, 0x0070, 0x10, 20, 6),
626 PIN_FIELD_BASE(132, 132, 4, 0x0070, 0x10, 14, 6),
627 PIN_FIELD_BASE(133, 133, 4, 0x0070, 0x10, 26, 6),
637 PIN_FIELD_BASE(143, 143, 5, 0x0050, 0x10, 6, 2),
643 PINS_FIELD_BASE(155, 158, 3, 0x0060, 0x10, 22, 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),
656 PIN_FIELD_BASE(8, 8, 3, 0x0000, 0x10, 9, 3),
657 PINS_FIELD_BASE(9, 11, 2, 0x0000, 0x10, 24, 3),
658 PIN_FIELD_BASE(12, 12, 5, 0x0000, 0x10, 27, 3),
659 PINS_FIELD_BASE(13, 15, 6, 0x0010, 0x10, 3, 3),
660 PIN_FIELD_BASE(16, 16, 6, 0x0010, 0x10, 6, 3),
661 PIN_FIELD_BASE(17, 17, 6, 0x0000, 0x10, 23, 3),
662 PIN_FIELD_BASE(18, 18, 6, 0x0000, 0x10, 26, 3),
663 PINS_FIELD_BASE(19, 20, 6, 0x0000, 0x10, 23, 3),
664 PINS_FIELD_BASE(21, 23, 6, 0x0000, 0x10, 29, 3),
665 PIN_FIELD_BASE(24, 24, 6, 0x0010, 0x10, 0, 3),
666 PINS_FIELD_BASE(25, 27, 6, 0x0000, 0x10, 17, 3),
667 PIN_FIELD_BASE(28, 28, 6, 0x0000, 0x10, 20, 3),
668 PIN_FIELD_BASE(29, 29, 6, 0x0000, 0x10, 0, 3),
669 PIN_FIELD_BASE(30, 30, 6, 0x0000, 0x10, 3, 3),
670 PINS_FIELD_BASE(31, 34, 6, 0x0000, 0x10, 6, 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),
684 PINS_FIELD_BASE(61, 62, 3, 0x0000, 0x10, 15, 3),
685 PINS_FIELD_BASE(63, 64, 3, 0x0000, 0x10, 12, 3),
686 PINS_FIELD_BASE(65, 66, 3, 0x0000, 0x10, 21, 3),
687 PINS_FIELD_BASE(67, 68, 3, 0x0000, 0x10, 18, 3),
688 PINS_FIELD_BASE(69, 73, 3, 0x0000, 0x10, 3, 3),
689 PINS_FIELD_BASE(74, 78, 3, 0x0000, 0x10, 6, 3),
690 PINS_FIELD_BASE(79, 80, 3, 0x0000, 0x10, 0, 3),
691 PIN_FIELD_BASE(81, 81, 3, 0x0010, 0x10, 0, 3),
692 PINS_FIELD_BASE(82, 83, 3, 0x0000, 0x10, 27, 3),
693 PIN_FIELD_BASE(84, 84, 3, 0x0010, 0x10, 0, 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),
699 PIN_FIELD_BASE(90, 90, 3, 0x0000, 0x10, 24, 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),
711 PIN_FIELD_BASE(107, 107, 1, 0x0000, 0x10, 12, 3),
712 PIN_FIELD_BASE(108, 108, 1, 0x0000, 0x10, 9, 3),
713 PIN_FIELD_BASE(109, 109, 1, 0x0000, 0x10, 15, 3),
714 PIN_FIELD_BASE(110, 110, 1, 0x0000, 0x10, 0, 3),
715 PIN_FIELD_BASE(111, 111, 1, 0x0000, 0x10, 3, 3),
716 PIN_FIELD_BASE(112, 112, 1, 0x0000, 0x10, 6, 3),
717 PIN_FIELD_BASE(113, 113, 1, 0x0000, 0x10, 27, 3),
718 PIN_FIELD_BASE(114, 114, 1, 0x0010, 0x10, 0, 3),
719 PIN_FIELD_BASE(115, 115, 1, 0x0000, 0x10, 18, 3),
720 PIN_FIELD_BASE(116, 116, 1, 0x0000, 0x10, 21, 3),
721 PIN_FIELD_BASE(117, 117, 1, 0x0010, 0x10, 6, 3),
722 PIN_FIELD_BASE(118, 118, 1, 0x0010, 0x10, 9, 3),
723 PIN_FIELD_BASE(119, 119, 1, 0x0010, 0x10, 12, 3),
724 PIN_FIELD_BASE(120, 120, 1, 0x0010, 0x10, 3, 3),
725 PIN_FIELD_BASE(121, 121, 1, 0x0000, 0x10, 24, 3),
726 PIN_FIELD_BASE(122, 122, 4, 0x0000, 0x10, 9, 3),
727 PIN_FIELD_BASE(123, 123, 4, 0x0000, 0x10, 12, 3),
728 PIN_FIELD_BASE(124, 124, 4, 0x0000, 0x10, 6, 3),
729 PINS_FIELD_BASE(125, 130, 4, 0x0000, 0x10, 12, 3),
730 PIN_FIELD_BASE(131, 131, 4, 0x0000, 0x10, 15, 3),
731 PIN_FIELD_BASE(132, 132, 4, 0x0000, 0x10, 12, 3),
732 PIN_FIELD_BASE(133, 133, 4, 0x0000, 0x10, 18, 3),
733 PIN_FIELD_BASE(134, 134, 5, 0x0010, 0x10, 6, 3),
734 PIN_FIELD_BASE(135, 135, 5, 0x0010, 0x10, 12, 3),
735 PIN_FIELD_BASE(136, 136, 5, 0x0000, 0x10, 3, 3),
736 PIN_FIELD_BASE(137, 137, 5, 0x0000, 0x10, 21, 3),
737 PIN_FIELD_BASE(138, 138, 5, 0x0000, 0x10, 12, 3),
738 PIN_FIELD_BASE(139, 139, 5, 0x0000, 0x10, 15, 3),
739 PIN_FIELD_BASE(140, 140, 5, 0x0000, 0x10, 0, 3),
740 PIN_FIELD_BASE(141, 141, 5, 0x0000, 0x10, 18, 3),
741 PIN_FIELD_BASE(142, 142, 5, 0x0000, 0x10, 6, 3),
742 PIN_FIELD_BASE(143, 143, 5, 0x0000, 0x10, 9, 3),
743 PINS_FIELD_BASE(144, 146, 5, 0x0010, 0x10, 0, 3),
744 PIN_FIELD_BASE(147, 147, 5, 0x0010, 0x10, 3, 3),
745 PINS_FIELD_BASE(148, 149, 5, 0x0010, 0x10, 9, 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),
749 PINS_FIELD_BASE(155, 157, 3, 0x0010, 0x10, 3, 3),
750 PIN_FIELD_BASE(158, 158, 3, 0x0010, 0x10, 6, 3),
751 PIN_FIELD_BASE(159, 159, 7, 0x0010, 0x10, 6, 3),
752 PIN_FIELD_BASE(160, 160, 5, 0x0000, 0x10, 24, 3),
753 PINS_FIELD_BASE(161, 162, 1, 0x0010, 0x10, 15, 3),
754 PINS_FIELD_BASE(163, 166, 4, 0x0000, 0x10, 0, 3),
755 PINS_FIELD_BASE(167, 170, 4, 0x0000, 0x10, 3, 3),
756 PINS_FIELD_BASE(171, 174, 7, 0x0000, 0x10, 18, 3),
757 PINS_FIELD_BASE(175, 179, 7, 0x0000, 0x10, 15, 3),
762 PIN_FIELD_BASE(29, 29, 6, 0x0050, 0x10, 0, 1),
763 PIN_FIELD_BASE(30, 30, 6, 0x0050, 0x10, 1, 1),
764 PIN_FIELD_BASE(31, 31, 6, 0x0050, 0x10, 5, 1),
765 PIN_FIELD_BASE(32, 32, 6, 0x0050, 0x10, 2, 1),
766 PIN_FIELD_BASE(33, 33, 6, 0x0050, 0x10, 4, 1),
767 PIN_FIELD_BASE(34, 34, 6, 0x0050, 0x10, 3, 1),
768 PIN_FIELD_BASE(35, 35, 6, 0x0050, 0x10, 10, 1),
769 PIN_FIELD_BASE(36, 36, 6, 0x0050, 0x10, 11, 1),
770 PIN_FIELD_BASE(37, 37, 6, 0x0050, 0x10, 9, 1),
771 PIN_FIELD_BASE(38, 38, 6, 0x0050, 0x10, 6, 1),
772 PIN_FIELD_BASE(39, 39, 6, 0x0050, 0x10, 8, 1),
773 PINS_FIELD_BASE(40, 90, 6, 0x0050, 0x10, 7, 1),
774 PIN_FIELD_BASE(91, 91, 2, 0x0050, 0x10, 3, 1),
782 PIN_FIELD_BASE(126, 126, 4, 0x0030, 0x10, 6, 1),
784 PIN_FIELD_BASE(128, 128, 4, 0x0030, 0x10, 3, 1),
794 PIN_FIELD_BASE(29, 29, 6, 0x0070, 0x10, 0, 1),
795 PIN_FIELD_BASE(30, 30, 6, 0x0070, 0x10, 1, 1),
796 PIN_FIELD_BASE(31, 31, 6, 0x0070, 0x10, 5, 1),
797 PIN_FIELD_BASE(32, 32, 6, 0x0070, 0x10, 2, 1),
798 PIN_FIELD_BASE(33, 33, 6, 0x0070, 0x10, 4, 1),
799 PIN_FIELD_BASE(34, 34, 6, 0x0070, 0x10, 3, 1),
800 PIN_FIELD_BASE(35, 35, 6, 0x0070, 0x10, 10, 1),
801 PIN_FIELD_BASE(36, 36, 6, 0x0070, 0x10, 11, 1),
802 PIN_FIELD_BASE(37, 37, 6, 0x0070, 0x10, 9, 1),
803 PIN_FIELD_BASE(38, 38, 6, 0x0070, 0x10, 6, 1),
804 PIN_FIELD_BASE(39, 39, 6, 0x0070, 0x10, 8, 1),
805 PINS_FIELD_BASE(40, 90, 6, 0x0070, 0x10, 7, 1),
806 PIN_FIELD_BASE(91, 91, 2, 0x0070, 0x10, 3, 1),
814 PIN_FIELD_BASE(126, 126, 4, 0x0050, 0x10, 6, 1),
816 PIN_FIELD_BASE(128, 128, 4, 0x0050, 0x10, 3, 1),
826 PIN_FIELD_BASE(29, 29, 6, 0x0080, 0x10, 0, 1),
827 PIN_FIELD_BASE(30, 30, 6, 0x0080, 0x10, 1, 1),
828 PIN_FIELD_BASE(31, 31, 6, 0x0080, 0x10, 5, 1),
829 PIN_FIELD_BASE(32, 32, 6, 0x0080, 0x10, 2, 1),
830 PIN_FIELD_BASE(33, 33, 6, 0x0080, 0x10, 4, 1),
831 PIN_FIELD_BASE(34, 34, 6, 0x0080, 0x10, 3, 1),
832 PIN_FIELD_BASE(35, 35, 6, 0x0080, 0x10, 10, 1),
833 PIN_FIELD_BASE(36, 36, 6, 0x0080, 0x10, 11, 1),
834 PIN_FIELD_BASE(37, 37, 6, 0x0080, 0x10, 9, 1),
835 PIN_FIELD_BASE(38, 38, 6, 0x0080, 0x10, 6, 1),
836 PIN_FIELD_BASE(39, 39, 6, 0x0080, 0x10, 8, 1),
837 PINS_FIELD_BASE(40, 90, 6, 0x0080, 0x10, 7, 1),
838 PIN_FIELD_BASE(91, 91, 2, 0x0080, 0x10, 3, 1),
846 PIN_FIELD_BASE(126, 126, 4, 0x0060, 0x10, 6, 1),
848 PIN_FIELD_BASE(128, 128, 4, 0x0060, 0x10, 3, 1),
857 PIN_FIELD_BASE(0, 0, 2, 0x0030, 0x10, 6, 1),
860 PIN_FIELD_BASE(3, 3, 2, 0x0030, 0x10, 11, 1),
863 PIN_FIELD_BASE(6, 6, 2, 0x0030, 0x10, 14, 1),
865 PIN_FIELD_BASE(8, 8, 3, 0x0030, 0x10, 12, 1),
870 PIN_FIELD_BASE(13, 13, 6, 0x0020, 0x10, 26, 1),
871 PIN_FIELD_BASE(14, 14, 6, 0x0020, 0x10, 25, 1),
872 PIN_FIELD_BASE(15, 15, 6, 0x0020, 0x10, 27, 1),
873 PIN_FIELD_BASE(16, 16, 6, 0x0020, 0x10, 24, 1),
874 PIN_FIELD_BASE(17, 17, 6, 0x0020, 0x10, 19, 1),
875 PIN_FIELD_BASE(18, 18, 6, 0x0020, 0x10, 16, 1),
876 PIN_FIELD_BASE(19, 19, 6, 0x0020, 0x10, 18, 1),
877 PIN_FIELD_BASE(20, 20, 6, 0x0020, 0x10, 17, 1),
878 PIN_FIELD_BASE(21, 21, 6, 0x0020, 0x10, 22, 1),
879 PIN_FIELD_BASE(22, 22, 6, 0x0020, 0x10, 21, 1),
880 PIN_FIELD_BASE(23, 23, 6, 0x0020, 0x10, 23, 1),
881 PIN_FIELD_BASE(24, 24, 6, 0x0020, 0x10, 20, 1),
882 PIN_FIELD_BASE(25, 25, 6, 0x0020, 0x10, 14, 1),
883 PIN_FIELD_BASE(26, 26, 6, 0x0020, 0x10, 13, 1),
884 PIN_FIELD_BASE(27, 27, 6, 0x0020, 0x10, 15, 1),
885 PIN_FIELD_BASE(28, 28, 6, 0x0020, 0x10, 12, 1),
886 PIN_FIELD_BASE(29, 29, 6, 0x0020, 0x10, 0, 1),
887 PIN_FIELD_BASE(30, 30, 6, 0x0020, 0x10, 1, 1),
888 PIN_FIELD_BASE(31, 31, 6, 0x0020, 0x10, 5, 1),
889 PIN_FIELD_BASE(32, 32, 6, 0x0020, 0x10, 2, 1),
890 PIN_FIELD_BASE(33, 33, 6, 0x0020, 0x10, 4, 1),
891 PIN_FIELD_BASE(34, 34, 6, 0x0020, 0x10, 3, 1),
892 PIN_FIELD_BASE(35, 35, 6, 0x0020, 0x10, 10, 1),
893 PIN_FIELD_BASE(36, 36, 6, 0x0020, 0x10, 11, 1),
894 PIN_FIELD_BASE(37, 37, 6, 0x0020, 0x10, 9, 1),
895 PIN_FIELD_BASE(38, 38, 6, 0x0020, 0x10, 6, 1),
896 PIN_FIELD_BASE(39, 39, 6, 0x0020, 0x10, 8, 1),
897 PIN_FIELD_BASE(40, 40, 6, 0x0020, 0x10, 7, 1),
905 PIN_FIELD_BASE(48, 48, 7, 0x0050, 0x10, 3, 1),
912 PIN_FIELD_BASE(55, 55, 7, 0x0040, 0x10, 3, 1),
918 PIN_FIELD_BASE(61, 61, 3, 0x0030, 0x10, 18, 1),
919 PIN_FIELD_BASE(62, 62, 3, 0x0030, 0x10, 14, 1),
920 PIN_FIELD_BASE(63, 63, 3, 0x0030, 0x10, 17, 1),
921 PIN_FIELD_BASE(64, 64, 3, 0x0030, 0x10, 13, 1),
922 PIN_FIELD_BASE(65, 65, 3, 0x0030, 0x10, 20, 1),
923 PIN_FIELD_BASE(66, 66, 3, 0x0030, 0x10, 16, 1),
924 PIN_FIELD_BASE(67, 67, 3, 0x0030, 0x10, 19, 1),
925 PIN_FIELD_BASE(68, 68, 3, 0x0030, 0x10, 15, 1),
926 PIN_FIELD_BASE(69, 69, 3, 0x0030, 0x10, 8, 1),
927 PIN_FIELD_BASE(70, 70, 3, 0x0030, 0x10, 7, 1),
928 PIN_FIELD_BASE(71, 71, 3, 0x0030, 0x10, 6, 1),
929 PIN_FIELD_BASE(72, 72, 3, 0x0030, 0x10, 5, 1),
930 PIN_FIELD_BASE(73, 73, 3, 0x0030, 0x10, 4, 1),
931 PIN_FIELD_BASE(74, 74, 3, 0x0030, 0x10, 3, 1),
932 PIN_FIELD_BASE(75, 75, 3, 0x0030, 0x10, 2, 1),
933 PIN_FIELD_BASE(76, 76, 3, 0x0030, 0x10, 1, 1),
934 PIN_FIELD_BASE(77, 77, 3, 0x0030, 0x10, 0, 1),
935 PIN_FIELD_BASE(78, 78, 3, 0x0030, 0x10, 9, 1),
936 PIN_FIELD_BASE(79, 79, 3, 0x0030, 0x10, 11, 1),
937 PIN_FIELD_BASE(80, 80, 3, 0x0030, 0x10, 10, 1),
938 PIN_FIELD_BASE(81, 81, 3, 0x0030, 0x10, 25, 1),
939 PIN_FIELD_BASE(82, 82, 3, 0x0030, 0x10, 24, 1),
940 PIN_FIELD_BASE(83, 83, 3, 0x0030, 0x10, 22, 1),
941 PIN_FIELD_BASE(84, 84, 3, 0x0030, 0x10, 23, 1),
945 PIN_FIELD_BASE(88, 88, 7, 0x0040, 0x10, 6, 1),
947 PIN_FIELD_BASE(90, 90, 3, 0x0030, 0x10, 21, 1),
955 PIN_FIELD_BASE(98, 98, 2, 0x0030, 0x10, 3, 1),
965 PIN_FIELD_BASE(108, 108, 1, 0x0030, 0x10, 3, 1),
972 PIN_FIELD_BASE(115, 115, 1, 0x0030, 0x10, 6, 1),
998 PIN_FIELD_BASE(141, 141, 5, 0x0020, 0x10, 6, 1),
1000 PIN_FIELD_BASE(143, 143, 5, 0x0020, 0x10, 3, 1),
1012 PIN_FIELD_BASE(155, 155, 3, 0x0030, 0x10, 28, 1),
1013 PIN_FIELD_BASE(156, 156, 3, 0x0030, 0x10, 27, 1),
1014 PIN_FIELD_BASE(157, 157, 3, 0x0030, 0x10, 29, 1),
1015 PIN_FIELD_BASE(158, 158, 3, 0x0030, 0x10, 26, 1),
1023 PIN_FIELD_BASE(166, 166, 4, 0x0010, 0x10, 3, 1),
1026 PIN_FIELD_BASE(169, 169, 4, 0x0010, 0x10, 6, 1),
1062 .ports = 6,
1086 { .compatible = "mediatek,mt6765-pinctrl", .data = &mt6765_data },
1093 .name = "mt6765-pinctrl",