aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoman Byshko <rbyshko@gmail.com>2014-03-01 14:26:25 -0500
committerMaxime Ripard <maxime.ripard@free-electrons.com>2014-03-04 11:43:45 -0500
commit9debd0a2af9335900e4cc6fb1ed75ea467bb5c30 (patch)
treedc5f66844bbb1797ae4ea820f10e0140aa61edc9
parent06c7d52fd08189b400b1a78165efe0b94df58ba9 (diff)
ARM: sun7i: dt: Add USB host bindings
Add nodes for the usb-phy and ehci- and ohci-usb-host controllers. Signed-off-by: Roman Byshko <rbyshko@gmail.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
-rw-r--r--arch/arm/boot/dts/sun7i-a20.dtsi52
1 files changed, 52 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi
index 38916fbffaa8..f1d903f678ca 100644
--- a/arch/arm/boot/dts/sun7i-a20.dtsi
+++ b/arch/arm/boot/dts/sun7i-a20.dtsi
@@ -439,6 +439,38 @@
439 #size-cells = <0>; 439 #size-cells = <0>;
440 }; 440 };
441 441
442 usbphy: phy@01c13400 {
443 #phy-cells = <1>;
444 compatible = "allwinner,sun7i-a20-usb-phy";
445 reg = <0x01c13400 0x10 0x01c14800 0x4 0x01c1c800 0x4>;
446 reg-names = "phy_ctrl", "pmu1", "pmu2";
447 clocks = <&usb_clk 8>;
448 clock-names = "usb_phy";
449 resets = <&usb_clk 1>, <&usb_clk 2>;
450 reset-names = "usb1_reset", "usb2_reset";
451 status = "disabled";
452 };
453
454 ehci0: usb@01c14000 {
455 compatible = "allwinner,sun7i-a20-ehci", "generic-ehci";
456 reg = <0x01c14000 0x100>;
457 interrupts = <0 39 4>;
458 clocks = <&ahb_gates 1>;
459 phys = <&usbphy 1>;
460 phy-names = "usb";
461 status = "disabled";
462 };
463
464 ohci0: usb@01c14400 {
465 compatible = "allwinner,sun7i-a20-ohci", "generic-ohci";
466 reg = <0x01c14400 0x100>;
467 interrupts = <0 64 4>;
468 clocks = <&usb_clk 6>, <&ahb_gates 2>;
469 phys = <&usbphy 1>;
470 phy-names = "usb";
471 status = "disabled";
472 };
473
442 spi2: spi@01c17000 { 474 spi2: spi@01c17000 {
443 compatible = "allwinner,sun4i-a10-spi"; 475 compatible = "allwinner,sun4i-a10-spi";
444 reg = <0x01c17000 0x1000>; 476 reg = <0x01c17000 0x1000>;
@@ -458,6 +490,26 @@
458 status = "disabled"; 490 status = "disabled";
459 }; 491 };
460 492
493 ehci1: usb@01c1c000 {
494 compatible = "allwinner,sun7i-a20-ehci", "generic-ehci";
495 reg = <0x01c1c000 0x100>;
496 interrupts = <0 40 4>;
497 clocks = <&ahb_gates 3>;
498 phys = <&usbphy 2>;
499 phy-names = "usb";
500 status = "disabled";
501 };
502
503 ohci1: usb@01c1c400 {
504 compatible = "allwinner,sun7i-a20-ohci", "generic-ohci";
505 reg = <0x01c1c400 0x100>;
506 interrupts = <0 65 4>;
507 clocks = <&usb_clk 7>, <&ahb_gates 4>;
508 phys = <&usbphy 2>;
509 phy-names = "usb";
510 status = "disabled";
511 };
512
461 spi3: spi@01c1f000 { 513 spi3: spi@01c1f000 {
462 compatible = "allwinner,sun4i-a10-spi"; 514 compatible = "allwinner,sun4i-a10-spi";
463 reg = <0x01c1f000 0x1000>; 515 reg = <0x01c1f000 0x1000>;