]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
ARM: dts: exynos: fix roles of USB 3.0 ports on Odroid XU
authorKrzysztof Kozlowski <krzk@kernel.org>
Thu, 15 Oct 2020 18:20:41 +0000 (20:20 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 30 Dec 2020 10:25:47 +0000 (11:25 +0100)
commit ecc1ff532b499d20304a4f682247137025814c34 upstream.

On Odroid XU board the USB3-0 port is a microUSB and USB3-1 port is USB
type A (host).  The roles were copied from Odroid XU3 (Exynos5422)
design which has it reversed.

Fixes: 8149afe4dbf9 ("ARM: dts: exynos: Add initial support for Odroid XU board")
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20201015182044.480562-1-krzk@kernel.org
Tested-by: Gabriel Ribba Esteva <gabriel.ribbae@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm/boot/dts/exynos5410-odroidxu.dts

index a2046f5f998c1127e722f2ecf34751e05bdac8ba..64727e0b2cf22d6f1f1910aec219aca82ca8c4a0 100644 (file)
 };
 
 &usbdrd_dwc3_0 {
-       dr_mode = "host";
+       dr_mode = "peripheral";
 };
 
 &usbdrd_dwc3_1 {
-       dr_mode = "peripheral";
+       dr_mode = "host";
 };
 
 &usbdrd3_0 {