]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: am335x-sl50: set dr_mode to otg
authorEnric Balletbo i Serra <enric.balletbo@collabora.com>
Wed, 6 Jun 2018 15:54:09 +0000 (17:54 +0200)
committerTony Lindgren <tony@atomide.com>
Tue, 3 Jul 2018 07:14:31 +0000 (00:14 -0700)
The board can be either a host, or a peripheral, so set the controller as
OTG mode to reflect this.

Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/am335x-sl50.dts

index c6165d2b09ae0de058348385d006898c5fc6b469..133e90970f1ef09ec9566795661a6ba45070621b 100644 (file)
@@ -476,7 +476,7 @@ &usb1_phy {
 
 &usb0 {
        status = "okay";
-       dr_mode = "peripheral";
+       dr_mode = "otg";
 };
 
 &usb1 {