]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: DTS: am335x-evm: Use USB0 in peripheral mode
authorJean-Jacques Hiblot <jjhiblot@ti.com>
Tue, 22 Jan 2019 15:48:17 +0000 (16:48 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 1 Feb 2019 14:09:40 +0000 (09:09 -0500)
This USB port is mainly used for RNDIS and DFU. To be able to use it with
DM_USB and DM_USB_GADGET, we need to provide a dr_mode value in the DTS.

Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
arch/arm/dts/am335x-evm-u-boot.dtsi

index 0341600342ef41d7bfb0075d23ed8a3e41d763c4..b6b97ed16d91d83b95b3593cbc8ef3f6bfc78fb3 100644 (file)
@@ -7,3 +7,7 @@
 &mmc3 {
        status = "disabled";
 };
+
+&usb0 {
+       dr_mode = "peripheral";
+};