1 // SPDX-License-Identifier: GPL-2.0
3 * Samsung's Exynos5420 SoC pin-mux and pin-config device tree source
5 * Copyright (c) 2013 Samsung Electronics Co., Ltd.
6 * http://www.samsung.com
8 * Samsung's Exynos5420 SoC pin-mux and pin-config options are listed as device
9 * tree nodes are listed in this file.
12 #include <dt-bindings/pinctrl/samsung.h>
20 #interrupt-cells = <2>;
28 interrupt-parent = <&combiner>;
29 #interrupt-cells = <2>;
30 interrupts = <23 0>, <24 0>, <25 0>, <25 1>,
31 <26 0>, <26 1>, <27 0>, <27 1>;
39 interrupt-parent = <&combiner>;
40 #interrupt-cells = <2>;
41 interrupts = <28 0>, <28 1>, <29 0>, <29 1>,
42 <30 0>, <30 1>, <31 0>, <31 1>;
50 #interrupt-cells = <2>;
58 #interrupt-cells = <2>;
62 samsung,pins = "gpx0-7";
63 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
64 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
65 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
69 samsung,pins = "gpx3-6";
70 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
71 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
72 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
82 #interrupt-cells = <2>;
90 #interrupt-cells = <2>;
98 #interrupt-cells = <2>;
105 interrupt-controller;
106 #interrupt-cells = <2>;
113 interrupt-controller;
114 #interrupt-cells = <2>;
121 interrupt-controller;
122 #interrupt-cells = <2>;
161 samsung,pins = "gpc0-0";
162 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
163 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
164 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
168 samsung,pins = "gpc0-1";
169 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
170 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
171 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
175 samsung,pins = "gpc0-2";
176 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
177 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
178 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
181 sd0_bus1: sd0-bus-width1 {
182 samsung,pins = "gpc0-3";
183 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
184 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
185 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
188 sd0_bus4: sd0-bus-width4 {
189 samsung,pins = "gpc0-4", "gpc0-5", "gpc0-6";
190 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
191 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
192 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
195 sd0_bus8: sd0-bus-width8 {
196 samsung,pins = "gpc3-0", "gpc3-1", "gpc3-2", "gpc3-3";
197 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
198 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
199 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
203 samsung,pins = "gpc0-7";
204 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
205 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
206 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
210 samsung,pins = "gpc1-0";
211 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
212 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
213 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
217 samsung,pins = "gpc1-1";
218 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
219 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
220 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
224 samsung,pins = "gpc1-2";
225 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
226 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
227 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
231 samsung,pins = "gpd1-1";
232 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
233 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
234 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
237 sd1_bus1: sd1-bus-width1 {
238 samsung,pins = "gpc1-3";
239 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
240 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
241 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
244 sd1_bus4: sd1-bus-width4 {
245 samsung,pins = "gpc1-4", "gpc1-5", "gpc1-6";
246 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
247 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
248 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
251 sd1_bus8: sd1-bus-width8 {
252 samsung,pins = "gpd1-4", "gpd1-5", "gpd1-6", "gpd1-7";
253 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
254 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
255 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
259 samsung,pins = "gpc2-0";
260 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
261 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
262 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
266 samsung,pins = "gpc2-1";
267 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
268 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
269 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
273 samsung,pins = "gpc2-2";
274 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
275 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
276 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
279 sd2_bus1: sd2-bus-width1 {
280 samsung,pins = "gpc2-3";
281 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
282 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
283 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
286 sd2_bus4: sd2-bus-width4 {
287 samsung,pins = "gpc2-4", "gpc2-5", "gpc2-6";
288 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
289 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
290 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
294 samsung,pins = "gpc4-0";
295 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
296 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
297 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
306 interrupt-controller;
307 #interrupt-cells = <2>;
314 interrupt-controller;
315 #interrupt-cells = <2>;
322 interrupt-controller;
323 #interrupt-cells = <2>;
330 interrupt-controller;
331 #interrupt-cells = <2>;
338 interrupt-controller;
339 #interrupt-cells = <2>;
346 interrupt-controller;
347 #interrupt-cells = <2>;
354 interrupt-controller;
355 #interrupt-cells = <2>;
362 interrupt-controller;
363 #interrupt-cells = <2>;
366 cam_gpio_a: cam-gpio-a {
367 samsung,pins = "gpe0-0", "gpe0-1", "gpe0-2", "gpe0-3",
368 "gpe0-4", "gpe0-5", "gpe0-6", "gpe0-7",
370 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
371 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
372 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
375 cam_gpio_b: cam-gpio-b {
376 samsung,pins = "gpf0-0", "gpf0-1", "gpf0-2", "gpf0-3",
377 "gpf1-0", "gpf1-1", "gpf1-2", "gpf1-3";
378 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
379 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
380 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
383 cam_i2c2_bus: cam-i2c2-bus {
384 samsung,pins = "gpf0-4", "gpf0-5";
385 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
386 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
387 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
390 cam_spi1_bus: cam-spi1-bus {
391 samsung,pins = "gpe0-4", "gpe0-5", "gpf0-2", "gpf0-3";
392 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
393 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
394 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
397 cam_i2c1_bus: cam-i2c1-bus {
398 samsung,pins = "gpf0-2", "gpf0-3";
399 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
400 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
401 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
404 cam_i2c0_bus: cam-i2c0-bus {
405 samsung,pins = "gpf0-0", "gpf0-1";
406 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
407 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
408 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
411 cam_spi0_bus: cam-spi0-bus {
412 samsung,pins = "gpf1-0", "gpf1-1", "gpf1-2", "gpf1-3";
413 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
414 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
415 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
418 cam_bayrgb_bus: cam-bayrgb-bus {
419 samsung,pins = "gpg0-0", "gpg0-1", "gpg0-2", "gpg0-3",
420 "gpg0-4", "gpg0-5", "gpg0-6", "gpg0-7",
421 "gpg1-0", "gpg1-1", "gpg1-2", "gpg1-3",
422 "gpg1-4", "gpg1-5", "gpg1-6", "gpg1-7",
424 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
425 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
426 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
435 interrupt-controller;
436 #interrupt-cells = <2>;
443 interrupt-controller;
444 #interrupt-cells = <2>;
451 interrupt-controller;
452 #interrupt-cells = <2>;
459 interrupt-controller;
460 #interrupt-cells = <2>;
467 interrupt-controller;
468 #interrupt-cells = <2>;
475 interrupt-controller;
476 #interrupt-cells = <2>;
483 interrupt-controller;
484 #interrupt-cells = <2>;
491 interrupt-controller;
492 #interrupt-cells = <2>;
499 interrupt-controller;
500 #interrupt-cells = <2>;
503 uart0_data: uart0-data {
504 samsung,pins = "gpa0-0", "gpa0-1";
505 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
506 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
507 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
510 uart0_fctl: uart0-fctl {
511 samsung,pins = "gpa0-2", "gpa0-3";
512 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
513 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
514 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
517 uart1_data: uart1-data {
518 samsung,pins = "gpa0-4", "gpa0-5";
519 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
520 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
521 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
524 uart1_fctl: uart1-fctl {
525 samsung,pins = "gpa0-6", "gpa0-7";
526 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
527 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
528 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
532 samsung,pins = "gpa0-6", "gpa0-7";
533 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
534 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
535 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
538 uart2_data: uart2-data {
539 samsung,pins = "gpa1-0", "gpa1-1";
540 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
541 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
542 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
545 uart2_fctl: uart2-fctl {
546 samsung,pins = "gpa1-2", "gpa1-3";
547 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
548 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
549 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
553 samsung,pins = "gpa1-2", "gpa1-3";
554 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
555 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
556 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
559 uart3_data: uart3-data {
560 samsung,pins = "gpa1-4", "gpa1-5";
561 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
562 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
563 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
567 samsung,pins = "gpa2-0", "gpa2-1", "gpa2-2", "gpa2-3";
568 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
569 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
570 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
574 samsung,pins = "gpa2-4", "gpa2-6", "gpa2-7";
575 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
576 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
577 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
580 i2c4_hs_bus: i2c4-hs-bus {
581 samsung,pins = "gpa2-0", "gpa2-1";
582 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
583 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
584 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
587 i2c5_hs_bus: i2c5-hs-bus {
588 samsung,pins = "gpa2-2", "gpa2-3";
589 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
590 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
591 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
595 samsung,pins = "gpb0-0", "gpb0-1", "gpb0-2", "gpb0-3",
597 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
598 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
599 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
603 samsung,pins = "gpb0-0", "gpb0-1", "gpb0-2", "gpb0-3",
605 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
606 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
607 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
611 samsung,pins = "gpb1-0", "gpb1-1", "gpb1-2", "gpb1-3",
613 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
614 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
615 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
619 samsung,pins = "gpb1-0", "gpb1-1", "gpb1-2", "gpb1-3",
621 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
622 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
623 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
626 spdif_bus: spdif-bus {
627 samsung,pins = "gpb1-0", "gpb1-1";
628 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
629 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
630 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
634 samsung,pins = "gpb1-1", "gpb1-3", "gpb1-4";
635 samsung,pin-function = <EXYNOS_PIN_FUNC_5>;
636 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
637 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
640 i2c6_hs_bus: i2c6-hs-bus {
641 samsung,pins = "gpb1-3", "gpb1-4";
642 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
643 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
644 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
648 samsung,pins = "gpb2-0";
649 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
650 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
651 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
655 samsung,pins = "gpb2-1";
656 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
657 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
658 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
662 samsung,pins = "gpb2-2";
663 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
664 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
665 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
669 samsung,pins = "gpb2-3";
670 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
671 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
672 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
675 i2c7_hs_bus: i2c7-hs-bus {
676 samsung,pins = "gpb2-2", "gpb2-3";
677 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
678 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
679 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
683 samsung,pins = "gpb3-0", "gpb3-1";
684 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
685 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
686 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
690 samsung,pins = "gpb3-2", "gpb3-3";
691 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
692 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
693 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
696 i2c8_hs_bus: i2c8-hs-bus {
697 samsung,pins = "gpb3-4", "gpb3-5";
698 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
699 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
700 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
703 i2c9_hs_bus: i2c9-hs-bus {
704 samsung,pins = "gpb3-6", "gpb3-7";
705 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
706 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
707 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
710 i2c10_hs_bus: i2c10-hs-bus {
711 samsung,pins = "gpb4-0", "gpb4-1";
712 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
713 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
714 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
723 interrupt-controller;
724 #interrupt-cells = <2>;
728 samsung,pins = "gpz-0", "gpz-1", "gpz-2", "gpz-3",
729 "gpz-4", "gpz-5", "gpz-6";
730 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
731 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
732 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;