Commit e1c69efc authored by Sjoerd Simons's avatar Sjoerd Simons Committed by Kukjin Kim

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: default avatarSjoerd Simons <sjoerd.simons@collabora.co.uk>
Reviewed-by: default avatarAndreas Faerber <afaerber@suse.de>
Signed-off-by: default avatarKukjin Kim <kgene.kim@samsung.com>
parent 508423be
...@@ -427,6 +427,14 @@ &uart_3 { ...@@ -427,6 +427,14 @@ &uart_3 {
status = "okay"; status = "okay";
}; };
&usbdrd_dwc3_0 {
dr_mode = "host";
};
&usbdrd_dwc3_1 {
dr_mode = "host";
};
&usbdrd_phy0 { &usbdrd_phy0 {
vbus-supply = <&usb300_vbus_reg>; vbus-supply = <&usb300_vbus_reg>;
}; };
......
...@@ -815,7 +815,7 @@ usbdrd3_0: usb@12000000 { ...@@ -815,7 +815,7 @@ usbdrd3_0: usb@12000000 {
#size-cells = <1>; #size-cells = <1>;
ranges; ranges;
dwc3 { usbdrd_dwc3_0: dwc3 {
compatible = "snps,dwc3"; compatible = "snps,dwc3";
reg = <0x12000000 0x10000>; reg = <0x12000000 0x10000>;
interrupts = <0 72 0>; interrupts = <0 72 0>;
...@@ -841,7 +841,7 @@ usbdrd3_1: usb@12400000 { ...@@ -841,7 +841,7 @@ usbdrd3_1: usb@12400000 {
#size-cells = <1>; #size-cells = <1>;
ranges; ranges;
dwc3 { usbdrd_dwc3_1: dwc3 {
compatible = "snps,dwc3"; compatible = "snps,dwc3";
reg = <0x12400000 0x10000>; reg = <0x12400000 0x10000>;
interrupts = <0 73 0>; interrupts = <0 73 0>;
......
...@@ -425,6 +425,14 @@ &uart_3 { ...@@ -425,6 +425,14 @@ &uart_3 {
status = "okay"; status = "okay";
}; };
&usbdrd_dwc3_0 {
dr_mode = "host";
};
&usbdrd_dwc3_1 {
dr_mode = "host";
};
&usbdrd_phy0 { &usbdrd_phy0 {
vbus-supply = <&usb300_vbus_reg>; vbus-supply = <&usb300_vbus_reg>;
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment