[PATCH v2 2/2] arm: dts: am335x-evmsk-u-boot: Configure peripheral mode for usb0

Julien Panis jpanis at baylibre.com
Thu Jun 22 16:34:36 CEST 2023


This patch configures usb0 dr_mode as peripheral
on am335x-evmsk board.

Signed-off-by: Julien Panis <jpanis at baylibre.com>
---
 arch/arm/dts/am335x-evmsk-u-boot.dtsi | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm/dts/am335x-evmsk-u-boot.dtsi b/arch/arm/dts/am335x-evmsk-u-boot.dtsi
index 669cb6bf1655..010005c45091 100644
--- a/arch/arm/dts/am335x-evmsk-u-boot.dtsi
+++ b/arch/arm/dts/am335x-evmsk-u-boot.dtsi
@@ -20,3 +20,7 @@
 		};
 	};
 };
+
+&usb0 {
+	dr_mode = "peripheral";
+};

-- 
2.37.3



More information about the U-Boot mailing list