Lines Matching +full:3 +full:- +full:8

1 // SPDX-License-Identifier: GPL-2.0
9 #include "pinctrl-mtk-mt8183.h"
10 #include "pinctrl-paris.h"
14 * iocfg[3]:0x11E70000, iocfg[4]:0x11E90000, iocfg[5]:0x11D30000,
15 * iocfg[6]:0x11D20000, iocfg[7]:0x11C50000, iocfg[8]:0x11F30000.
44 PINS_FIELD_BASE(0, 3, 6, 0x000, 0x10, 3, 1),
46 PIN_FIELD_BASE(8, 8, 6, 0x000, 0x10, 0, 1),
48 PIN_FIELD_BASE(11, 11, 1, 0x000, 0x10, 3, 1),
51 PINS_FIELD_BASE(17, 20, 2, 0x000, 0x10, 3, 1),
56 PINS_FIELD_BASE(31, 31, 2, 0x000, 0x10, 8, 1),
58 PINS_FIELD_BASE(35, 37, 3, 0x000, 0x10, 0, 1),
59 PINS_FIELD_BASE(38, 40, 3, 0x000, 0x10, 1, 1),
60 PINS_FIELD_BASE(41, 42, 3, 0x000, 0x10, 2, 1),
61 PINS_FIELD_BASE(43, 45, 3, 0x000, 0x10, 3, 1),
62 PINS_FIELD_BASE(46, 47, 3, 0x000, 0x10, 4, 1),
63 PINS_FIELD_BASE(48, 49, 3, 0x000, 0x10, 5, 1),
70 PINS_FIELD_BASE(69, 71, 5, 0x000, 0x10, 3, 1),
76 PINS_FIELD_BASE(85, 88, 5, 0x000, 0x10, 8, 1),
82 PIN_FIELD_BASE(99, 99, 6, 0x000, 0x10, 8, 1),
91 PIN_FIELD_BASE(111, 111, 7, 0x000, 0x10, 3, 1),
97 PIN_FIELD_BASE(117, 117, 7, 0x000, 0x10, 8, 1),
102 PIN_FIELD_BASE(122, 122, 8, 0x000, 0x10, 0, 1),
103 PIN_FIELD_BASE(123, 123, 8, 0x000, 0x10, 1, 1),
104 PIN_FIELD_BASE(124, 124, 8, 0x000, 0x10, 2, 1),
105 PINS_FIELD_BASE(125, 130, 8, 0x000, 0x10, 1, 1),
106 PIN_FIELD_BASE(131, 131, 8, 0x000, 0x10, 3, 1),
107 PIN_FIELD_BASE(132, 132, 8, 0x000, 0x10, 1, 1),
108 PIN_FIELD_BASE(133, 133, 8, 0x000, 0x10, 4, 1),
115 PINS_FIELD_BASE(150, 153, 1, 0x000, 0x10, 8, 1),
118 PINS_FIELD_BASE(158, 160, 1, 0x000, 0x10, 8, 1),
122 PIN_FIELD_BASE(169, 169, 4, 0x000, 0x10, 3, 1),
124 PINS_FIELD_BASE(175, 176, 4, 0x000, 0x10, 3, 1),
129 PINS_FIELD_BASE(0, 3, 6, 0x010, 0x10, 3, 1),
131 PIN_FIELD_BASE(8, 8, 6, 0x010, 0x10, 0, 1),
133 PIN_FIELD_BASE(11, 11, 1, 0x010, 0x10, 3, 1),
136 PINS_FIELD_BASE(17, 20, 2, 0x010, 0x10, 3, 1),
141 PINS_FIELD_BASE(31, 31, 2, 0x010, 0x10, 8, 1),
143 PINS_FIELD_BASE(35, 37, 3, 0x010, 0x10, 0, 1),
144 PINS_FIELD_BASE(38, 40, 3, 0x010, 0x10, 1, 1),
145 PINS_FIELD_BASE(41, 42, 3, 0x010, 0x10, 2, 1),
146 PINS_FIELD_BASE(43, 45, 3, 0x010, 0x10, 3, 1),
147 PINS_FIELD_BASE(46, 47, 3, 0x010, 0x10, 4, 1),
148 PINS_FIELD_BASE(48, 49, 3, 0x010, 0x10, 5, 1),
155 PINS_FIELD_BASE(69, 71, 5, 0x010, 0x10, 3, 1),
161 PINS_FIELD_BASE(85, 88, 5, 0x010, 0x10, 8, 1),
167 PIN_FIELD_BASE(99, 99, 6, 0x010, 0x10, 8, 1),
176 PIN_FIELD_BASE(111, 111, 7, 0x010, 0x10, 3, 1),
182 PIN_FIELD_BASE(117, 117, 7, 0x010, 0x10, 8, 1),
187 PIN_FIELD_BASE(122, 122, 8, 0x010, 0x10, 0, 1),
188 PIN_FIELD_BASE(123, 123, 8, 0x010, 0x10, 1, 1),
189 PIN_FIELD_BASE(124, 124, 8, 0x010, 0x10, 2, 1),
190 PINS_FIELD_BASE(125, 130, 8, 0x010, 0x10, 1, 1),
191 PIN_FIELD_BASE(131, 131, 8, 0x010, 0x10, 3, 1),
192 PIN_FIELD_BASE(132, 132, 8, 0x010, 0x10, 1, 1),
193 PIN_FIELD_BASE(133, 133, 8, 0x010, 0x10, 4, 1),
200 PINS_FIELD_BASE(150, 153, 1, 0x010, 0x10, 8, 1),
203 PINS_FIELD_BASE(158, 160, 1, 0x010, 0x10, 8, 1),
207 PIN_FIELD_BASE(169, 169, 4, 0x010, 0x10, 3, 1),
209 PINS_FIELD_BASE(175, 176, 4, 0x010, 0x10, 3, 1),
214 PIN_FIELD_BASE(0, 3, 6, 0x060, 0x10, 6, 1),
216 PIN_FIELD_BASE(8, 8, 6, 0x060, 0x10, 0, 1),
221 PIN_FIELD_BASE(43, 49, 3, 0x060, 0x10, 8, 1),
241 PIN_FIELD_BASE(0, 3, 6, 0x080, 0x10, 6, 1),
243 PIN_FIELD_BASE(8, 8, 6, 0x080, 0x10, 0, 1),
248 PIN_FIELD_BASE(43, 49, 3, 0x080, 0x10, 8, 1),
268 PINS_FIELD_BASE(0, 3, 6, 0x0A0, 0x10, 12, 3),
269 PINS_FIELD_BASE(4, 7, 6, 0x0A0, 0x10, 20, 3),
270 PIN_FIELD_BASE(8, 8, 6, 0x0A0, 0x10, 0, 3),
271 PINS_FIELD_BASE(9, 10, 6, 0x0B0, 0x10, 16, 3),
272 PIN_FIELD_BASE(11, 11, 1, 0x0A0, 0x10, 12, 3),
273 PIN_FIELD_BASE(12, 12, 1, 0x0A0, 0x10, 28, 3),
274 PINS_FIELD_BASE(13, 16, 2, 0x0A0, 0x10, 8, 3),
275 PINS_FIELD_BASE(17, 20, 2, 0x0A0, 0x10, 12, 3),
276 PINS_FIELD_BASE(21, 24, 2, 0x0A0, 0x10, 16, 3),
277 PINS_FIELD_BASE(25, 28, 2, 0x0A0, 0x10, 20, 3),
278 PIN_FIELD_BASE(29, 29, 2, 0x0A0, 0x10, 24, 3),
279 PIN_FIELD_BASE(30, 30, 2, 0x0A0, 0x10, 28, 3),
280 PINS_FIELD_BASE(31, 31, 2, 0x0B0, 0x10, 0, 3),
281 PINS_FIELD_BASE(32, 34, 2, 0x0A0, 0x10, 28, 3),
282 PINS_FIELD_BASE(35, 37, 3, 0x0A0, 0x10, 0, 3),
283 PINS_FIELD_BASE(38, 40, 3, 0x0A0, 0x10, 4, 3),
284 PINS_FIELD_BASE(41, 42, 3, 0x0A0, 0x10, 8, 3),
285 PINS_FIELD_BASE(43, 45, 3, 0x0A0, 0x10, 12, 3),
286 PINS_FIELD_BASE(46, 47, 3, 0x0A0, 0x10, 16, 3),
287 PINS_FIELD_BASE(48, 49, 3, 0x0A0, 0x10, 20, 3),
288 PINS_FIELD_BASE(50, 51, 4, 0x0A0, 0x10, 0, 3),
289 PINS_FIELD_BASE(52, 57, 4, 0x0A0, 0x10, 4, 3),
290 PINS_FIELD_BASE(58, 60, 4, 0x0A0, 0x10, 8, 3),
291 PINS_FIELD_BASE(61, 64, 5, 0x0A0, 0x10, 0, 3),
292 PINS_FIELD_BASE(65, 66, 5, 0x0A0, 0x10, 4, 3),
293 PINS_FIELD_BASE(67, 68, 5, 0x0A0, 0x10, 8, 3),
294 PINS_FIELD_BASE(69, 71, 5, 0x0A0, 0x10, 12, 3),
295 PINS_FIELD_BASE(72, 76, 5, 0x0A0, 0x10, 16, 3),
296 PINS_FIELD_BASE(77, 80, 5, 0x0A0, 0x10, 20, 3),
297 PIN_FIELD_BASE(81, 81, 5, 0x0A0, 0x10, 24, 3),
298 PINS_FIELD_BASE(82, 83, 5, 0x0A0, 0x10, 28, 3),
299 PIN_FIELD_BASE(84, 84, 5, 0x0A0, 0x10, 24, 3),
300 PINS_FIELD_BASE(85, 88, 5, 0x0B0, 0x10, 0, 3),
301 PIN_FIELD_BASE(89, 89, 6, 0x0B0, 0x10, 12, 3),
302 PIN_FIELD_BASE(90, 90, 6, 0x0A0, 0x10, 4, 3),
303 PINS_FIELD_BASE(91, 94, 6, 0x0A0, 0x10, 8, 3),
304 PINS_FIELD_BASE(95, 96, 6, 0x0A0, 0x10, 24, 3),
305 PINS_FIELD_BASE(97, 98, 6, 0x0A0, 0x10, 28, 3),
306 PIN_FIELD_BASE(99, 99, 6, 0x0B0, 0x10, 0, 3),
307 PIN_FIELD_BASE(100, 100, 6, 0x0B0, 0x10, 4, 3),
308 PINS_FIELD_BASE(101, 102, 6, 0x0B0, 0x10, 8, 3),
309 PINS_FIELD_BASE(103, 104, 6, 0x0B0, 0x10, 20, 3),
310 PINS_FIELD_BASE(105, 106, 6, 0x0B0, 0x10, 24, 3),
311 PIN_FIELD_BASE(107, 107, 7, 0x0A0, 0x10, 0, 3),
312 PIN_FIELD_BASE(108, 108, 7, 0x0A0, 0x10, 4, 3),
313 PIN_FIELD_BASE(109, 109, 7, 0x0A0, 0x10, 8, 3),
314 PIN_FIELD_BASE(110, 110, 7, 0x0A0, 0x10, 0, 3),
315 PIN_FIELD_BASE(111, 111, 7, 0x0A0, 0x10, 4, 3),
316 PIN_FIELD_BASE(112, 112, 7, 0x0A0, 0x10, 8, 3),
317 PIN_FIELD_BASE(113, 113, 7, 0x0A0, 0x10, 16, 3),
318 PIN_FIELD_BASE(114, 114, 7, 0x0A0, 0x10, 20, 3),
319 PIN_FIELD_BASE(115, 115, 7, 0x0A0, 0x10, 24, 3),
320 PIN_FIELD_BASE(116, 116, 7, 0x0A0, 0x10, 28, 3),
321 PIN_FIELD_BASE(117, 117, 7, 0x0B0, 0x10, 0, 3),
322 PIN_FIELD_BASE(118, 118, 7, 0x0B0, 0x10, 4, 3),
323 PIN_FIELD_BASE(119, 119, 7, 0x0B0, 0x10, 8, 3),
324 PIN_FIELD_BASE(120, 120, 7, 0x0B0, 0x10, 12, 3),
325 PIN_FIELD_BASE(121, 121, 7, 0x0B0, 0x10, 16, 3),
326 PIN_FIELD_BASE(122, 122, 8, 0x0A0, 0x10, 0, 3),
327 PIN_FIELD_BASE(123, 123, 8, 0x0A0, 0x10, 4, 3),
328 PIN_FIELD_BASE(124, 124, 8, 0x0A0, 0x10, 8, 3),
329 PINS_FIELD_BASE(125, 130, 8, 0x0A0, 0x10, 4, 3),
330 PIN_FIELD_BASE(131, 131, 8, 0x0A0, 0x10, 12, 3),
331 PIN_FIELD_BASE(132, 132, 8, 0x0A0, 0x10, 4, 3),
332 PIN_FIELD_BASE(133, 133, 8, 0x0A0, 0x10, 16, 3),
333 PIN_FIELD_BASE(134, 134, 1, 0x0A0, 0x10, 0, 3),
334 PIN_FIELD_BASE(135, 135, 1, 0x0A0, 0x10, 4, 3),
335 PINS_FIELD_BASE(136, 143, 1, 0x0A0, 0x10, 8, 3),
336 PINS_FIELD_BASE(144, 147, 1, 0x0A0, 0x10, 16, 3),
337 PIN_FIELD_BASE(148, 148, 1, 0x0A0, 0x10, 20, 3),
338 PIN_FIELD_BASE(149, 149, 1, 0x0A0, 0x10, 24, 3),
339 PINS_FIELD_BASE(150, 153, 1, 0x0B0, 0x10, 0, 3),
340 PIN_FIELD_BASE(154, 154, 1, 0x0B0, 0x10, 4, 3),
341 PINS_FIELD_BASE(155, 157, 1, 0x0B0, 0x10, 8, 3),
342 PINS_FIELD_BASE(158, 160, 1, 0x0B0, 0x10, 0, 3),
343 PINS_FIELD_BASE(161, 164, 2, 0x0A0, 0x10, 0, 3),
344 PINS_FIELD_BASE(165, 166, 2, 0x0A0, 0x10, 4, 3),
345 PINS_FIELD_BASE(167, 168, 4, 0x0A0, 0x10, 8, 3),
346 PIN_FIELD_BASE(169, 169, 4, 0x0A0, 0x10, 12, 3),
347 PINS_FIELD_BASE(170, 174, 4, 0x0A0, 0x10, 16, 3),
348 PINS_FIELD_BASE(175, 176, 4, 0x0A0, 0x10, 12, 3),
349 PINS_FIELD_BASE(177, 179, 6, 0x0A0, 0x10, 16, 3),
359 PIN_FIELD_BASE(35, 35, 3, 0x0C0, 0x10, 2, 1),
360 PIN_FIELD_BASE(36, 36, 3, 0x0C0, 0x10, 6, 1),
361 PIN_FIELD_BASE(37, 37, 3, 0x0C0, 0x10, 10, 1),
362 PIN_FIELD_BASE(38, 38, 3, 0x0C0, 0x10, 14, 1),
363 PIN_FIELD_BASE(39, 39, 3, 0x0C0, 0x10, 18, 1),
364 PIN_FIELD_BASE(40, 40, 3, 0x0C0, 0x10, 22, 1),
365 PIN_FIELD_BASE(41, 41, 3, 0x0C0, 0x10, 26, 1),
366 PIN_FIELD_BASE(42, 42, 3, 0x0C0, 0x10, 30, 1),
371 PIN_FIELD_BASE(122, 122, 8, 0x0C0, 0x10, 2, 1),
372 PIN_FIELD_BASE(123, 123, 8, 0x0C0, 0x10, 6, 1),
373 PIN_FIELD_BASE(124, 124, 8, 0x0C0, 0x10, 10, 1),
374 PIN_FIELD_BASE(125, 125, 8, 0x0C0, 0x10, 14, 1),
375 PIN_FIELD_BASE(126, 126, 8, 0x0C0, 0x10, 18, 1),
376 PIN_FIELD_BASE(127, 127, 8, 0x0C0, 0x10, 22, 1),
377 PIN_FIELD_BASE(128, 128, 8, 0x0C0, 0x10, 26, 1),
378 PIN_FIELD_BASE(129, 129, 8, 0x0C0, 0x10, 30, 1),
379 PIN_FIELD_BASE(130, 130, 8, 0x0D0, 0x10, 2, 1),
380 PIN_FIELD_BASE(131, 131, 8, 0x0D0, 0x10, 6, 1),
381 PIN_FIELD_BASE(132, 132, 8, 0x0D0, 0x10, 10, 1),
382 PIN_FIELD_BASE(133, 133, 8, 0x0D0, 0x10, 14, 1),
388 PIN_FIELD_BASE(31, 31, 2, 0x0C0, 0x10, 8, 1),
392 PIN_FIELD_BASE(35, 35, 3, 0x0C0, 0x10, 0, 1),
393 PIN_FIELD_BASE(36, 36, 3, 0x0C0, 0x10, 4, 1),
394 PIN_FIELD_BASE(37, 37, 3, 0x0C0, 0x10, 8, 1),
395 PIN_FIELD_BASE(38, 38, 3, 0x0C0, 0x10, 12, 1),
396 PIN_FIELD_BASE(39, 39, 3, 0x0C0, 0x10, 16, 1),
397 PIN_FIELD_BASE(40, 40, 3, 0x0C0, 0x10, 20, 1),
398 PIN_FIELD_BASE(41, 41, 3, 0x0C0, 0x10, 24, 1),
399 PIN_FIELD_BASE(42, 42, 3, 0x0C0, 0x10, 28, 1),
400 PIN_FIELD_BASE(48, 48, 3, 0x0F0, 0x10, 18, 1),
401 PIN_FIELD_BASE(49, 49, 3, 0x0F0, 0x10, 13, 1),
410 PIN_FIELD_BASE(93, 93, 6, 0x0C0, 0x10, 8, 1),
416 PIN_FIELD_BASE(122, 122, 8, 0x0C0, 0x10, 0, 1),
417 PIN_FIELD_BASE(123, 123, 8, 0x0C0, 0x10, 4, 1),
418 PIN_FIELD_BASE(124, 124, 8, 0x0C0, 0x10, 8, 1),
419 PIN_FIELD_BASE(125, 125, 8, 0x0C0, 0x10, 12, 1),
420 PIN_FIELD_BASE(126, 126, 8, 0x0C0, 0x10, 16, 1),
421 PIN_FIELD_BASE(127, 127, 8, 0x0C0, 0x10, 20, 1),
422 PIN_FIELD_BASE(128, 128, 8, 0x0C0, 0x10, 24, 1),
423 PIN_FIELD_BASE(129, 129, 8, 0x0C0, 0x10, 28, 1),
424 PIN_FIELD_BASE(130, 130, 8, 0x0D0, 0x10, 0, 1),
425 PIN_FIELD_BASE(131, 131, 8, 0x0D0, 0x10, 4, 1),
426 PIN_FIELD_BASE(132, 132, 8, 0x0D0, 0x10, 8, 1),
427 PIN_FIELD_BASE(133, 133, 8, 0x0D0, 0x10, 12, 1),
437 PIN_FIELD_BASE(35, 35, 3, 0x0C0, 0x10, 1, 1),
438 PIN_FIELD_BASE(36, 36, 3, 0x0C0, 0x10, 5, 1),
439 PIN_FIELD_BASE(37, 37, 3, 0x0C0, 0x10, 9, 1),
440 PIN_FIELD_BASE(38, 38, 3, 0x0C0, 0x10, 13, 1),
441 PIN_FIELD_BASE(39, 39, 3, 0x0C0, 0x10, 17, 1),
442 PIN_FIELD_BASE(40, 40, 3, 0x0C0, 0x10, 21, 1),
443 PIN_FIELD_BASE(41, 41, 3, 0x0C0, 0x10, 25, 1),
444 PIN_FIELD_BASE(42, 42, 3, 0x0C0, 0x10, 29, 1),
445 PIN_FIELD_BASE(48, 48, 3, 0x0F0, 0x10, 19, 1),
446 PIN_FIELD_BASE(49, 49, 3, 0x0F0, 0x10, 14, 1),
449 PIN_FIELD_BASE(81, 81, 5, 0x0F0, 0x10, 8, 1),
461 PIN_FIELD_BASE(122, 122, 8, 0x0C0, 0x10, 1, 1),
462 PIN_FIELD_BASE(123, 123, 8, 0x0C0, 0x10, 5, 1),
463 PIN_FIELD_BASE(124, 124, 8, 0x0C0, 0x10, 9, 1),
464 PIN_FIELD_BASE(125, 125, 8, 0x0C0, 0x10, 13, 1),
465 PIN_FIELD_BASE(126, 126, 8, 0x0C0, 0x10, 17, 1),
466 PIN_FIELD_BASE(127, 127, 8, 0x0C0, 0x10, 21, 1),
467 PIN_FIELD_BASE(128, 128, 8, 0x0C0, 0x10, 25, 1),
468 PIN_FIELD_BASE(129, 129, 8, 0x0C0, 0x10, 29, 1),
469 PIN_FIELD_BASE(130, 130, 8, 0x0D0, 0x10, 1, 1),
470 PIN_FIELD_BASE(131, 131, 8, 0x0D0, 0x10, 5, 1),
471 PIN_FIELD_BASE(132, 132, 8, 0x0D0, 0x10, 9, 1),
472 PIN_FIELD_BASE(133, 133, 8, 0x0D0, 0x10, 13, 1),
476 PIN_FIELD_BASE(48, 48, 3, 0x0F0, 0x10, 20, 1),
477 PIN_FIELD_BASE(49, 49, 3, 0x0F0, 0x10, 15, 1),
491 PIN_FIELD_BASE(48, 48, 3, 0x0F0, 0x10, 21, 1),
492 PIN_FIELD_BASE(49, 49, 3, 0x0F0, 0x10, 16, 1),
494 PIN_FIELD_BASE(51, 51, 4, 0x0F0, 0x10, 8, 1),
506 PIN_FIELD_BASE(48, 48, 3, 0x0F0, 0x10, 22, 1),
507 PIN_FIELD_BASE(49, 49, 3, 0x0F0, 0x10, 17, 1),
571 { .compatible = "mediatek,mt8183-pinctrl", .data = &mt8183_data },
577 .name = "mt8183-pinctrl",