ARM: dts: sun6i: Add USB Dual Role Controller
authorHans de Goede <hdegoede@redhat.com>
Mon, 1 Jun 2015 11:29:49 +0000 (13:29 +0200)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Mon, 6 Jul 2015 11:35:43 +0000 (13:35 +0200)
Add a node for the otg/drc usb controller to sun6i-a31.dtsi.

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

index 008047a018cf2b645cc85136c194be665376c5ef..c9b5bfd7b3b4a6c57561001f0e6885ebdb6c4253 100644 (file)
                        #size-cells = <0>;
                };
 
+               usb_otg: usb@01c19000 {
+                       compatible = "allwinner,sun6i-a31-musb";
+                       reg = <0x01c19000 0x0400>;
+                       clocks = <&ahb1_gates 24>;
+                       resets = <&ahb1_rst 24>;
+                       interrupts = <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
+                       interrupt-names = "mc";
+                       phys = <&usbphy 0>;
+                       phy-names = "usb";
+                       extcon = <&usbphy 0>;
+                       status = "disabled";
+               };
+
                usbphy: phy@01c19400 {
                        compatible = "allwinner,sun6i-a31-usb-phy";
                        reg = <0x01c19400 0x10>,