ARM: dts: sun4i: Add USB Dual Role Controller
authorHans de Goede <hdegoede@redhat.com>
Tue, 3 Feb 2015 18:17:35 +0000 (19:17 +0100)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Mon, 6 Jul 2015 11:35:40 +0000 (13:35 +0200)
Add a node for the otg/drc usb controller to sun4i-a10.dtsi.

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

index 61c03d1fe5303301a7ee44f1069c3865da958313..5ce2e8e3e114ad13b2384996c35fc26ddbddb055 100644 (file)
                        #size-cells = <0>;
                };
 
+               usb_otg: usb@01c13000 {
+                       compatible = "allwinner,sun4i-a10-musb";
+                       reg = <0x01c13000 0x0400>;
+                       clocks = <&ahb_gates 0>;
+                       interrupts = <38>;
+                       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,sun4i-a10-usb-phy";