]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
arm64: dts: enable the MUSB controller of Pine64 in host-only mode
authorIcenowy Zheng <icenowy@aosc.xyz>
Tue, 22 Nov 2016 16:59:02 +0000 (00:59 +0800)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Thu, 5 Jan 2017 21:44:21 +0000 (22:44 +0100)
A64 has a MUSB controller wired to the USB PHY 0, which is connected
to the upper USB Type-A port of Pine64.

As the port is a Type-A female port, enable it in host-only mode in the
device tree, which makes devices with USB Type-A male port can work on
this port (which is originally designed by Pine64 team).

Signed-off-by: Icenowy Zheng <icenowy@aosc.xyz>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts

index f9a11e68bfd6c7457e2e5fa35d24ed01d32e9c43..cf9105179bcb3a28a3b4d03ab0757160b54ac056 100644 (file)
@@ -81,6 +81,11 @@ &uart0 {
        status = "okay";
 };
 
+&usb_otg {
+       dr_mode = "host";
+       status = "okay";
+};
+
 &usbphy {
        status = "okay";
 };