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>;
299 interrupt-controller;
300 #interrupt-cells = <2>;
307 interrupt-controller;
308 #interrupt-cells = <2>;
315 interrupt-controller;
316 #interrupt-cells = <2>;
323 interrupt-controller;
324 #interrupt-cells = <2>;
331 interrupt-controller;
332 #interrupt-cells = <2>;
339 interrupt-controller;
340 #interrupt-cells = <2>;
347 interrupt-controller;
348 #interrupt-cells = <2>;
355 interrupt-controller;
356 #interrupt-cells = <2>;
359 cam_gpio_a: cam-gpio-a {
360 samsung,pins = "gpe0-0", "gpe0-1", "gpe0-2", "gpe0-3",
361 "gpe0-4", "gpe0-5", "gpe0-6", "gpe0-7",
363 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
364 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
365 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
368 cam_gpio_b: cam-gpio-b {
369 samsung,pins = "gpf0-0", "gpf0-1", "gpf0-2", "gpf0-3",
370 "gpf1-0", "gpf1-1", "gpf1-2", "gpf1-3";
371 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
372 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
373 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
376 cam_i2c2_bus: cam-i2c2-bus {
377 samsung,pins = "gpf0-4", "gpf0-5";
378 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
379 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
380 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
383 cam_spi1_bus: cam-spi1-bus {
384 samsung,pins = "gpe0-4", "gpe0-5", "gpf0-2", "gpf0-3";
385 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
386 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
387 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
390 cam_i2c1_bus: cam-i2c1-bus {
391 samsung,pins = "gpf0-2", "gpf0-3";
392 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
393 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
394 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
397 cam_i2c0_bus: cam-i2c0-bus {
398 samsung,pins = "gpf0-0", "gpf0-1";
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_spi0_bus: cam-spi0-bus {
405 samsung,pins = "gpf1-0", "gpf1-1", "gpf1-2", "gpf1-3";
406 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
407 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
408 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
411 cam_bayrgb_bus: cam-bayrgb-bus {
412 samsung,pins = "gpg0-0", "gpg0-1", "gpg0-2", "gpg0-3",
413 "gpg0-4", "gpg0-5", "gpg0-6", "gpg0-7",
414 "gpg1-0", "gpg1-1", "gpg1-2", "gpg1-3",
415 "gpg1-4", "gpg1-5", "gpg1-6", "gpg1-7",
417 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
418 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
419 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
428 interrupt-controller;
429 #interrupt-cells = <2>;
436 interrupt-controller;
437 #interrupt-cells = <2>;
444 interrupt-controller;
445 #interrupt-cells = <2>;
452 interrupt-controller;
453 #interrupt-cells = <2>;
460 interrupt-controller;
461 #interrupt-cells = <2>;
468 interrupt-controller;
469 #interrupt-cells = <2>;
476 interrupt-controller;
477 #interrupt-cells = <2>;
484 interrupt-controller;
485 #interrupt-cells = <2>;
492 interrupt-controller;
493 #interrupt-cells = <2>;
496 uart0_data: uart0-data {
497 samsung,pins = "gpa0-0", "gpa0-1";
498 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
499 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
500 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
503 uart0_fctl: uart0-fctl {
504 samsung,pins = "gpa0-2", "gpa0-3";
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 uart1_data: uart1-data {
511 samsung,pins = "gpa0-4", "gpa0-5";
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_fctl: uart1-fctl {
518 samsung,pins = "gpa0-6", "gpa0-7";
519 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
520 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
521 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
525 samsung,pins = "gpa0-6", "gpa0-7";
526 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
527 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
528 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
531 uart2_data: uart2-data {
532 samsung,pins = "gpa1-0", "gpa1-1";
533 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
534 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
535 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
538 uart2_fctl: uart2-fctl {
539 samsung,pins = "gpa1-2", "gpa1-3";
540 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
541 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
542 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
546 samsung,pins = "gpa1-2", "gpa1-3";
547 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
548 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
549 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
552 uart3_data: uart3-data {
553 samsung,pins = "gpa1-4", "gpa1-5";
554 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
555 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
556 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
560 samsung,pins = "gpa2-0", "gpa2-1", "gpa2-2", "gpa2-3";
561 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
562 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
563 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
567 samsung,pins = "gpa2-4", "gpa2-6", "gpa2-7";
568 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
569 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
570 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
573 i2c4_hs_bus: i2c4-hs-bus {
574 samsung,pins = "gpa2-0", "gpa2-1";
575 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
576 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
577 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
580 i2c5_hs_bus: i2c5-hs-bus {
581 samsung,pins = "gpa2-2", "gpa2-3";
582 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
583 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
584 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
588 samsung,pins = "gpb0-0", "gpb0-1", "gpb0-2", "gpb0-3",
590 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
591 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
592 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
596 samsung,pins = "gpb0-0", "gpb0-1", "gpb0-2", "gpb0-3",
598 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
599 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
600 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
604 samsung,pins = "gpb1-0", "gpb1-1", "gpb1-2", "gpb1-3",
606 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
607 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
608 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
612 samsung,pins = "gpb1-0", "gpb1-1", "gpb1-2", "gpb1-3",
614 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
615 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
616 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
619 spdif_bus: spdif-bus {
620 samsung,pins = "gpb1-0", "gpb1-1";
621 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
622 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
623 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
627 samsung,pins = "gpb1-1", "gpb1-3", "gpb1-4";
628 samsung,pin-function = <EXYNOS_PIN_FUNC_5>;
629 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
630 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
633 i2c6_hs_bus: i2c6-hs-bus {
634 samsung,pins = "gpb1-3", "gpb1-4";
635 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
636 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
637 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
641 samsung,pins = "gpb2-0";
642 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
643 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
644 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
648 samsung,pins = "gpb2-1";
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-2";
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-3";
663 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
664 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
665 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
668 i2c7_hs_bus: i2c7-hs-bus {
669 samsung,pins = "gpb2-2", "gpb2-3";
670 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
671 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
672 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
676 samsung,pins = "gpb3-0", "gpb3-1";
677 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
678 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
679 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
683 samsung,pins = "gpb3-2", "gpb3-3";
684 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
685 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
686 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
689 i2c8_hs_bus: i2c8-hs-bus {
690 samsung,pins = "gpb3-4", "gpb3-5";
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 i2c9_hs_bus: i2c9-hs-bus {
697 samsung,pins = "gpb3-6", "gpb3-7";
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 i2c10_hs_bus: i2c10-hs-bus {
704 samsung,pins = "gpb4-0", "gpb4-1";
705 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
706 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
707 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
716 interrupt-controller;
717 #interrupt-cells = <2>;
721 samsung,pins = "gpz-0", "gpz-1", "gpz-2", "gpz-3",
722 "gpz-4", "gpz-5", "gpz-6";
723 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
724 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
725 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;