aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/sun4i-a10.dtsi
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/boot/dts/sun4i-a10.dtsi')
-rw-r--r--arch/arm/boot/dts/sun4i-a10.dtsi84
1 files changed, 81 insertions, 3 deletions
diff --git a/arch/arm/boot/dts/sun4i-a10.dtsi b/arch/arm/boot/dts/sun4i-a10.dtsi
index 9174724571e2..d96e179490ce 100644
--- a/arch/arm/boot/dts/sun4i-a10.dtsi
+++ b/arch/arm/boot/dts/sun4i-a10.dtsi
@@ -377,6 +377,42 @@
377 #size-cells = <0>; 377 #size-cells = <0>;
378 }; 378 };
379 379
380 mmc0: mmc@01c0f000 {
381 compatible = "allwinner,sun4i-a10-mmc";
382 reg = <0x01c0f000 0x1000>;
383 clocks = <&ahb_gates 8>, <&mmc0_clk>;
384 clock-names = "ahb", "mmc";
385 interrupts = <32>;
386 status = "disabled";
387 };
388
389 mmc1: mmc@01c10000 {
390 compatible = "allwinner,sun4i-a10-mmc";
391 reg = <0x01c10000 0x1000>;
392 clocks = <&ahb_gates 9>, <&mmc1_clk>;
393 clock-names = "ahb", "mmc";
394 interrupts = <33>;
395 status = "disabled";
396 };
397
398 mmc2: mmc@01c11000 {
399 compatible = "allwinner,sun4i-a10-mmc";
400 reg = <0x01c11000 0x1000>;
401 clocks = <&ahb_gates 10>, <&mmc2_clk>;
402 clock-names = "ahb", "mmc";
403 interrupts = <34>;
404 status = "disabled";
405 };
406
407 mmc3: mmc@01c12000 {
408 compatible = "allwinner,sun4i-a10-mmc";
409 reg = <0x01c12000 0x1000>;
410 clocks = <&ahb_gates 11>, <&mmc3_clk>;
411 clock-names = "ahb", "mmc";
412 interrupts = <35>;
413 status = "disabled";
414 };
415
380 usbphy: phy@01c13400 { 416 usbphy: phy@01c13400 {
381 #phy-cells = <1>; 417 #phy-cells = <1>;
382 compatible = "allwinner,sun4i-a10-usb-phy"; 418 compatible = "allwinner,sun4i-a10-usb-phy";
@@ -477,6 +513,20 @@
477 #size-cells = <0>; 513 #size-cells = <0>;
478 #gpio-cells = <3>; 514 #gpio-cells = <3>;
479 515
516 pwm0_pins_a: pwm0@0 {
517 allwinner,pins = "PB2";
518 allwinner,function = "pwm";
519 allwinner,drive = <0>;
520 allwinner,pull = <0>;
521 };
522
523 pwm1_pins_a: pwm1@0 {
524 allwinner,pins = "PI3";
525 allwinner,function = "pwm";
526 allwinner,drive = <0>;
527 allwinner,pull = <0>;
528 };
529
480 uart0_pins_a: uart0@0 { 530 uart0_pins_a: uart0@0 {
481 allwinner,pins = "PB22", "PB23"; 531 allwinner,pins = "PB22", "PB23";
482 allwinner,function = "uart0"; 532 allwinner,function = "uart0";
@@ -529,6 +579,20 @@
529 allwinner,drive = <0>; 579 allwinner,drive = <0>;
530 allwinner,pull = <0>; 580 allwinner,pull = <0>;
531 }; 581 };
582
583 mmc0_pins_a: mmc0@0 {
584 allwinner,pins = "PF0","PF1","PF2","PF3","PF4","PF5";
585 allwinner,function = "mmc0";
586 allwinner,drive = <2>;
587 allwinner,pull = <0>;
588 };
589
590 mmc0_cd_pin_reference_design: mmc0_cd_pin@0 {
591 allwinner,pins = "PH1";
592 allwinner,function = "gpio_in";
593 allwinner,drive = <0>;
594 allwinner,pull = <1>;
595 };
532 }; 596 };
533 597
534 timer@01c20c00 { 598 timer@01c20c00 {
@@ -549,6 +613,14 @@
549 interrupts = <24>; 613 interrupts = <24>;
550 }; 614 };
551 615
616 pwm: pwm@01c20e00 {
617 compatible = "allwinner,sun4i-a10-pwm";
618 reg = <0x01c20e00 0xc>;
619 clocks = <&osc24M>;
620 #pwm-cells = <3>;
621 status = "disabled";
622 };
623
552 sid: eeprom@01c23800 { 624 sid: eeprom@01c23800 {
553 compatible = "allwinner,sun4i-a10-sid"; 625 compatible = "allwinner,sun4i-a10-sid";
554 reg = <0x01c23800 0x10>; 626 reg = <0x01c23800 0x10>;
@@ -641,30 +713,36 @@
641 }; 713 };
642 714
643 i2c0: i2c@01c2ac00 { 715 i2c0: i2c@01c2ac00 {
644 compatible = "allwinner,sun4i-i2c"; 716 compatible = "allwinner,sun4i-a10-i2c";
645 reg = <0x01c2ac00 0x400>; 717 reg = <0x01c2ac00 0x400>;
646 interrupts = <7>; 718 interrupts = <7>;
647 clocks = <&apb1_gates 0>; 719 clocks = <&apb1_gates 0>;
648 clock-frequency = <100000>; 720 clock-frequency = <100000>;
649 status = "disabled"; 721 status = "disabled";
722 #address-cells = <1>;
723 #size-cells = <0>;
650 }; 724 };
651 725
652 i2c1: i2c@01c2b000 { 726 i2c1: i2c@01c2b000 {
653 compatible = "allwinner,sun4i-i2c"; 727 compatible = "allwinner,sun4i-a10-i2c";
654 reg = <0x01c2b000 0x400>; 728 reg = <0x01c2b000 0x400>;
655 interrupts = <8>; 729 interrupts = <8>;
656 clocks = <&apb1_gates 1>; 730 clocks = <&apb1_gates 1>;
657 clock-frequency = <100000>; 731 clock-frequency = <100000>;
658 status = "disabled"; 732 status = "disabled";
733 #address-cells = <1>;
734 #size-cells = <0>;
659 }; 735 };
660 736
661 i2c2: i2c@01c2b400 { 737 i2c2: i2c@01c2b400 {
662 compatible = "allwinner,sun4i-i2c"; 738 compatible = "allwinner,sun4i-a10-i2c";
663 reg = <0x01c2b400 0x400>; 739 reg = <0x01c2b400 0x400>;
664 interrupts = <9>; 740 interrupts = <9>;
665 clocks = <&apb1_gates 2>; 741 clocks = <&apb1_gates 2>;
666 clock-frequency = <100000>; 742 clock-frequency = <100000>;
667 status = "disabled"; 743 status = "disabled";
744 #address-cells = <1>;
745 #size-cells = <0>;
668 }; 746 };
669 }; 747 };
670}; 748};