aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIcenowy Zheng <icenowy@aosc.xyz>2016-11-22 11:59:01 -0500
committerMaxime Ripard <maxime.ripard@free-electrons.com>2017-01-05 16:44:20 -0500
commit972a3ecdf27f3ebdd1ce0dccd1b548ef3c04b8ed (patch)
treec59b4bd013627aed0cfb59d508ea34922caed2a4
parentd49f9dbc8f0c4521fa56477d051a3bd1158f2595 (diff)
arm64: dts: add MUSB node to Allwinner A64 dtsi
Allwinner A64 SoC has a MUSB controller like the one in A33, so add a node for it, just use the compatible of A33 MUSB. Host mode is tested to work properly on Pine64 and will be added into the device tree of Pine64 in next patch. Peripheral mode is also tested on Pine64, by changing dr_mode property of usb_otg node and use a non-standard USB Type-A to Type-A cable. Signed-off-by: Icenowy Zheng <icenowy@aosc.xyz> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
-rw-r--r--arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
index 692611e86c98..99b6bb1e141c 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
@@ -122,6 +122,19 @@
122 #size-cells = <1>; 122 #size-cells = <1>;
123 ranges; 123 ranges;
124 124
125 usb_otg: usb@01c19000 {
126 compatible = "allwinner,sun8i-a33-musb";
127 reg = <0x01c19000 0x0400>;
128 clocks = <&ccu CLK_BUS_OTG>;
129 resets = <&ccu RST_BUS_OTG>;
130 interrupts = <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
131 interrupt-names = "mc";
132 phys = <&usbphy 0>;
133 phy-names = "usb";
134 extcon = <&usbphy 0>;
135 status = "disabled";
136 };
137
125 usbphy: phy@01c19400 { 138 usbphy: phy@01c19400 {
126 compatible = "allwinner,sun50i-a64-usb-phy"; 139 compatible = "allwinner,sun50i-a64-usb-phy";
127 reg = <0x01c19400 0x14>, 140 reg = <0x01c19400 0x14>,