diff mbox series

[U-Boot,v1,2/4] ARM: DTS: am335x-evm: Use USB0 in peripheral mode

Message ID 20190122154819.3171-3-jjhiblot@ti.com
State Accepted
Commit db34e0ede036f0abab95a4b60864ed799a7d0374
Delegated to: Tom Rini
Headers show
Series Enable DM USB support (host and gadget) and full RNDIS boot flow | expand

Commit Message

Jean-Jacques Hiblot Jan. 22, 2019, 3:48 p.m. UTC
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>
---

 arch/arm/dts/am335x-evm-u-boot.dtsi | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Tom Rini Jan. 22, 2019, 5:06 p.m. UTC | #1
On Tue, Jan 22, 2019 at 04:48:17PM +0100, Jean-Jacques Hiblot wrote:

> 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>
Tom Rini Feb. 3, 2019, 1:07 a.m. UTC | #2
On Tue, Jan 22, 2019 at 04:48:17PM +0100, Jean-Jacques Hiblot wrote:

> 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>

Applied to u-boot/master, thanks!
diff mbox series

Patch

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";
+};