summaryrefslogtreecommitdiffstats
path: root/arch/arm64
diff options
context:
space:
mode:
authorIcenowy Zheng <icenowy@aosc.xyz>2016-11-23 00:59:02 +0800
committerMaxime Ripard <maxime.ripard@free-electrons.com>2017-01-05 22:44:21 +0100
commitf57e8384c5d2417fd8707c577d8e622fc1570b6c (patch)
tree526cb8de203c77d2e4cb0f62467e37c836f4acc5 /arch/arm64
parent972a3ecdf27f3ebdd1ce0dccd1b548ef3c04b8ed (diff)
downloadlinux-f57e8384c5d2417fd8707c577d8e622fc1570b6c.tar.gz
linux-f57e8384c5d2417fd8707c577d8e622fc1570b6c.tar.xz
arm64: dts: enable the MUSB controller of Pine64 in host-only mode
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>
Diffstat (limited to 'arch/arm64')
-rw-r--r--arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts
index f9a11e68bfd6..cf9105179bcb 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts
@@ -81,6 +81,11 @@
status = "okay";
};
+&usb_otg {
+ dr_mode = "host";
+ status = "okay";
+};
+
&usbphy {
status = "okay";
};