From: Jean-Jacques Hiblot Date: Tue, 22 Jan 2019 15:48:17 +0000 (+0100) Subject: ARM: DTS: am335x-evm: Use USB0 in peripheral mode X-Git-Url: http://git.dujemihanovic.xyz/img/static/gitweb.css?a=commitdiff_plain;h=db34e0ede036f0abab95a4b60864ed799a7d0374;p=u-boot.git ARM: DTS: am335x-evm: Use USB0 in peripheral mode 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 Reviewed-by: Tom Rini --- diff --git a/arch/arm/dts/am335x-evm-u-boot.dtsi b/arch/arm/dts/am335x-evm-u-boot.dtsi index 0341600342..b6b97ed16d 100644 --- a/arch/arm/dts/am335x-evm-u-boot.dtsi +++ b/arch/arm/dts/am335x-evm-u-boot.dtsi @@ -7,3 +7,7 @@ &mmc3 { status = "disabled"; }; + +&usb0 { + dr_mode = "peripheral"; +};