]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: dts: sun7i: Add USB Dual Role Controller
authorRoman Byshko <rbyshko@gmail.com>
Tue, 21 Oct 2014 22:14:03 +0000 (00:14 +0200)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Mon, 6 Jul 2015 11:35:45 +0000 (13:35 +0200)
Add a node for the otg/drc usb controller to sun7i-a20.dtsi

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
arch/arm/boot/dts/sun7i-a20.dtsi

index 6a63f30c9a699d0e4620aac31f64247ad9c1f95b..067f2b00f5e53b411ae87c3faa4e0710258fb54a 100644 (file)
                        #size-cells = <0>;
                };
 
+               usb_otg: usb@01c13000 {
+                       compatible = "allwinner,sun4i-a10-musb";
+                       reg = <0x01c13000 0x0400>;
+                       clocks = <&ahb_gates 0>;
+                       interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
+                       interrupt-names = "mc";
+                       phys = <&usbphy 0>;
+                       phy-names = "usb";
+                       extcon = <&usbphy 0>;
+                       allwinner,sram = <&otg_sram 1>;
+                       status = "disabled";
+               };
+
                usbphy: phy@01c13400 {
                        #phy-cells = <1>;
                        compatible = "allwinner,sun7i-a20-usb-phy";