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

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


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

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

diff --git a/arch/arm/dts/am335x-icev2-u-boot.dtsi b/arch/arm/dts/am335x-icev2-u-boot.dtsi
index 67bfac916eee..7dcd5ec00605 100644
--- a/arch/arm/dts/am335x-icev2-u-boot.dtsi
+++ b/arch/arm/dts/am335x-icev2-u-boot.dtsi
@@ -22,3 +22,7 @@
 		xtal-load-pf = <0>;
 	};
 };
+
+&usb0 {
+	dr_mode = "peripheral";
+};

-- 
2.37.3



More information about the U-Boot mailing list