1 // SPDX-License-Identifier: GPL-2.0
3 * Exynos5410 SoC pin-mux and pin-config device tree source
5 * Copyright (c) 2013 Hardkernel Co., Ltd.
6 * http://www.hardkernel.com
9 #include <dt-bindings/pinctrl/samsung.h>
17 #interrupt-cells = <2>;
25 #interrupt-cells = <2>;
33 #interrupt-cells = <2>;
41 #interrupt-cells = <2>;
49 #interrupt-cells = <2>;
57 #interrupt-cells = <2>;
65 #interrupt-cells = <2>;
73 #interrupt-cells = <2>;
81 #interrupt-cells = <2>;
89 #interrupt-cells = <2>;
97 #interrupt-cells = <2>;
109 interrupt-controller;
110 #interrupt-cells = <2>;
117 interrupt-controller;
118 #interrupt-cells = <2>;
125 interrupt-controller;
126 #interrupt-cells = <2>;
133 interrupt-controller;
134 #interrupt-cells = <2>;
141 interrupt-controller;
142 #interrupt-cells = <2>;
149 interrupt-controller;
150 #interrupt-cells = <2>;
157 interrupt-controller;
158 #interrupt-cells = <2>;
165 interrupt-controller;
166 #interrupt-cells = <2>;
173 interrupt-controller;
174 #interrupt-cells = <2>;
181 interrupt-controller;
182 #interrupt-cells = <2>;
234 interrupt-controller;
235 interrupt-parent = <&combiner>;
236 #interrupt-cells = <2>;
251 interrupt-controller;
252 interrupt-parent = <&combiner>;
253 #interrupt-cells = <2>;
268 interrupt-controller;
269 #interrupt-cells = <2>;
276 interrupt-controller;
277 #interrupt-cells = <2>;
280 uart0_data: uart0-data {
281 samsung,pins = "gpa0-0", "gpa0-1";
282 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
283 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
284 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
287 uart0_fctl: uart0-fctl {
288 samsung,pins = "gpa0-2", "gpa0-3";
289 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
290 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
291 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
294 uart1_data: uart1-data {
295 samsung,pins = "gpa0-4", "gpa0-5";
296 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
297 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
298 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
301 uart1_fctl: uart1-fctl {
302 samsung,pins = "gpa0-6", "gpa0-7";
303 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
304 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
305 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
309 samsung,pins = "gpa0-6", "gpa0-7";
310 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
311 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
312 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
315 uart2_data: uart2-data {
316 samsung,pins = "gpa1-0", "gpa1-1";
317 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
318 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
319 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
322 uart2_fctl: uart2-fctl {
323 samsung,pins = "gpa1-2", "gpa1-3";
324 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
325 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
326 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
330 samsung,pins = "gpa1-2", "gpa1-3";
331 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
332 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
333 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
336 uart3_data: uart3-data {
337 samsung,pins = "gpa1-4", "gpa1-5";
338 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
339 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
340 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
343 i2c4_hs_bus: i2c4-hs-bus {
344 samsung,pins = "gpa2-0", "gpa2-1";
345 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
346 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
347 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
350 i2c5_hs_bus: i2c5-hs-bus {
351 samsung,pins = "gpa2-2", "gpa2-3";
352 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
353 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
354 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
357 i2c6_hs_bus: i2c6-hs-bus {
358 samsung,pins = "gpb1-3", "gpb1-4";
359 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
360 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
361 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
365 samsung,pins = "gpb2-0";
366 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
367 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
368 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
372 samsung,pins = "gpb2-1";
373 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
374 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
375 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
379 samsung,pins = "gpb2-2";
380 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
381 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
382 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
386 samsung,pins = "gpb2-3";
387 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
388 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
389 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
392 i2c7_hs_bus: i2c7-hs-bus {
393 samsung,pins = "gpb2-2", "gpb2-3";
394 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
395 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
396 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
400 samsung,pins = "gpb3-0", "gpb3-1";
401 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
402 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
403 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
407 samsung,pins = "gpb3-2", "gpb3-3";
408 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
409 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
410 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
414 samsung,pins = "gpc0-0";
415 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
416 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
417 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
421 samsung,pins = "gpc0-1";
422 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
423 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
424 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
428 samsung,pins = "gpc0-2";
429 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
430 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
431 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
434 sd0_bus1: sd0-bus-width1 {
435 samsung,pins = "gpc0-3";
436 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
437 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
438 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
441 sd0_bus4: sd0-bus-width4 {
442 samsung,pins = "gpc0-4", "gpc0-5", "gpc0-6";
443 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
444 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
445 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
449 samsung,pins = "gpc2-0";
450 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
451 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
452 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
456 samsung,pins = "gpc2-1";
457 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
458 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
459 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
463 samsung,pins = "gpc2-2";
464 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
465 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
466 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
469 sd2_bus1: sd2-bus-width1 {
470 samsung,pins = "gpc2-3";
471 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
472 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
473 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
476 sd2_bus4: sd2-bus-width4 {
477 samsung,pins = "gpc2-4", "gpc2-5", "gpc2-6";
478 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
479 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
480 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
483 sd0_bus8: sd0-bus-width8 {
484 samsung,pins = "gpc3-0", "gpc3-1", "gpc3-2", "gpc3-3";
485 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
486 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
487 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>;
496 interrupt-controller;
497 #interrupt-cells = <2>;
504 interrupt-controller;
505 #interrupt-cells = <2>;
512 interrupt-controller;
513 #interrupt-cells = <2>;
520 interrupt-controller;
521 #interrupt-cells = <2>;
528 interrupt-controller;
529 #interrupt-cells = <2>;
536 interrupt-controller;
537 #interrupt-cells = <2>;
544 interrupt-controller;
545 #interrupt-cells = <2>;
552 interrupt-controller;
553 #interrupt-cells = <2>;
560 interrupt-controller;
561 #interrupt-cells = <2>;
564 usb3_1_oc: usb3-1-oc {
565 samsung,pins = "gpk2-4", "gpk2-5";
566 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
567 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
568 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
571 usb3_1_vbusctrl: usb3-1-vbusctrl {
572 samsung,pins = "gpk2-6", "gpk2-7";
573 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
574 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
575 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
578 usb3_0_oc: usb3-0-oc {
579 samsung,pins = "gpk3-0", "gpk3-1";
580 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
581 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
582 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
585 usb3_0_vbusctrl: usb3-0-vbusctrl {
586 samsung,pins = "gpk3-2", "gpk3-3";
587 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
588 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
589 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
598 interrupt-controller;
599 #interrupt-cells = <2>;
606 interrupt-controller;
607 #interrupt-cells = <2>;
614 interrupt-controller;
615 #interrupt-cells = <2>;
622 interrupt-controller;
623 #interrupt-cells = <2>;
630 interrupt-controller;
631 #interrupt-cells = <2>;
640 interrupt-controller;
641 #interrupt-cells = <2>;
644 audi2s0_bus: audi2s0-bus {
645 samsung,pins = "gpz-0", "gpz-1", "gpz-2", "gpz-3",
647 samsung,pin-function = <2>;
648 samsung,pin-pud = <0>;
649 samsung,pin-drv = <0>;