summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/sun6i-a31.dtsi
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2015-06-01 14:29:49 +0300
committerMaxime Ripard <maxime.ripard@free-electrons.com>2015-07-06 14:35:43 +0300
commitd208eaf23217548e08fe31a797cdb654e0ccc94b (patch)
tree38554cb79135abb8bc85c3ca843e9bcc16abcab5 /arch/arm/boot/dts/sun6i-a31.dtsi
parent482f178cc1e4de0768372cbf7fba206fec2179ac (diff)
downloadlinux-d208eaf23217548e08fe31a797cdb654e0ccc94b.tar.xz
ARM: dts: sun6i: Add USB Dual Role Controller
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>
Diffstat (limited to 'arch/arm/boot/dts/sun6i-a31.dtsi')
-rw-r--r--arch/arm/boot/dts/sun6i-a31.dtsi13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun6i-a31.dtsi b/arch/arm/boot/dts/sun6i-a31.dtsi
index 008047a018cf..c9b5bfd7b3b4 100644
--- a/arch/arm/boot/dts/sun6i-a31.dtsi
+++ b/arch/arm/boot/dts/sun6i-a31.dtsi
@@ -512,6 +512,19 @@
#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>,