aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts
diff options
context:
space:
mode:
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>2014-09-25 04:32:14 -0400
committerKukjin Kim <kgene.kim@samsung.com>2014-10-16 19:17:35 -0400
commite1c69efc52bbad7fa289694672d467ab4fdf9f52 (patch)
tree4361d5a7eb06c05ad324db4db074079faf05543b /arch/arm/boot/dts
parent508423bebcda29eb0ba7c627f895387dad7cdcd6 (diff)
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')
-rw-r--r--arch/arm/boot/dts/exynos5420-peach-pit.dts8
-rw-r--r--arch/arm/boot/dts/exynos5420.dtsi4
-rw-r--r--arch/arm/boot/dts/exynos5800-peach-pi.dts8
3 files changed, 18 insertions, 2 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 @@
427 status = "okay"; 427 status = "okay";
428}; 428};
429 429
430&usbdrd_dwc3_0 {
431 dr_mode = "host";
432};
433
434&usbdrd_dwc3_1 {
435 dr_mode = "host";
436};
437
430&usbdrd_phy0 { 438&usbdrd_phy0 {
431 vbus-supply = <&usb300_vbus_reg>; 439 vbus-supply = <&usb300_vbus_reg>;
432}; 440};
diff --git a/arch/arm/boot/dts/exynos5420.dtsi b/arch/arm/boot/dts/exynos5420.dtsi
index bfe056d9148c..8617a031cbc0 100644
--- a/arch/arm/boot/dts/exynos5420.dtsi
+++ b/arch/arm/boot/dts/exynos5420.dtsi
@@ -815,7 +815,7 @@
815 #size-cells = <1>; 815 #size-cells = <1>;
816 ranges; 816 ranges;
817 817
818 dwc3 { 818 usbdrd_dwc3_0: dwc3 {
819 compatible = "snps,dwc3"; 819 compatible = "snps,dwc3";
820 reg = <0x12000000 0x10000>; 820 reg = <0x12000000 0x10000>;
821 interrupts = <0 72 0>; 821 interrupts = <0 72 0>;
@@ -841,7 +841,7 @@
841 #size-cells = <1>; 841 #size-cells = <1>;
842 ranges; 842 ranges;
843 843
844 dwc3 { 844 usbdrd_dwc3_1: dwc3 {
845 compatible = "snps,dwc3"; 845 compatible = "snps,dwc3";
846 reg = <0x12400000 0x10000>; 846 reg = <0x12400000 0x10000>;
847 interrupts = <0 73 0>; 847 interrupts = <0 73 0>;
diff --git a/arch/arm/boot/dts/exynos5800-peach-pi.dts b/arch/arm/boot/dts/exynos5800-peach-pi.dts
index f3ee48bbe05f..20645502fecb 100644
--- a/arch/arm/boot/dts/exynos5800-peach-pi.dts
+++ b/arch/arm/boot/dts/exynos5800-peach-pi.dts
@@ -425,6 +425,14 @@
425 status = "okay"; 425 status = "okay";
426}; 426};
427 427
428&usbdrd_dwc3_0 {
429 dr_mode = "host";
430};
431
432&usbdrd_dwc3_1 {
433 dr_mode = "host";
434};
435
428&usbdrd_phy0 { 436&usbdrd_phy0 {
429 vbus-supply = <&usb300_vbus_reg>; 437 vbus-supply = <&usb300_vbus_reg>;
430}; 438};