summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/exynos5420-peach-pit.dts
diff options
context:
space:
mode:
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>2014-09-25 12:32:14 +0400
committerKukjin Kim <kgene.kim@samsung.com>2014-10-17 03:17:35 +0400
commite1c69efc52bbad7fa289694672d467ab4fdf9f52 (patch)
tree4361d5a7eb06c05ad324db4db074079faf05543b /arch/arm/boot/dts/exynos5420-peach-pit.dts
parent508423bebcda29eb0ba7c627f895387dad7cdcd6 (diff)
downloadlinux-e1c69efc52bbad7fa289694672d467ab4fdf9f52.tar.xz
ARM: dts: Explicitly set dr_mode on exynos Peach boards
In case the optional dr_mode property isn't set in the dwc3 nodes the the controller will go into OTG mode if both USB host and USB gadget functionality are enabled in the kernel configuration. Unfortunately this results in USB not working on exynos5420-peach-pit and exynos5800-peach-pi with such a kernel configuration unless manually change the mode. To resolve that explicitly configure the dual role mode as host. Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> Reviewed-by: Andreas Faerber <afaerber@suse.de> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/boot/dts/exynos5420-peach-pit.dts')
-rw-r--r--arch/arm/boot/dts/exynos5420-peach-pit.dts8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/exynos5420-peach-pit.dts b/arch/arm/boot/dts/exynos5420-peach-pit.dts
index 228a6b1e0aa1..29d3a5994df4 100644
--- a/arch/arm/boot/dts/exynos5420-peach-pit.dts
+++ b/arch/arm/boot/dts/exynos5420-peach-pit.dts
@@ -427,6 +427,14 @@
status = "okay";
};
+&usbdrd_dwc3_0 {
+ dr_mode = "host";
+};
+
+&usbdrd_dwc3_1 {
+ dr_mode = "host";
+};
+
&usbdrd_phy0 {
vbus-supply = <&usb300_vbus_reg>;
};