[PATCH v3 3/4] arm: dts: k3-am625-sk: Enable usb ports in u-boot

Sjoerd Simons sjoerd at collabora.com
Tue Dec 12 22:02:23 CET 2023


Enable both usb0 as a peripheral for use with DFU and

Signed-off-by: Sjoerd Simons <sjoerd at collabora.com>

---

Changes in v3:
- Enable usb nodes in all boot phases

Changes in v2:
- Only enable usb port 0 DFU in SPL

 arch/arm/dts/k3-am625-sk-u-boot.dtsi | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/arch/arm/dts/k3-am625-sk-u-boot.dtsi b/arch/arm/dts/k3-am625-sk-u-boot.dtsi
index fa778b0ff4c..1fc0d407cbf 100644
--- a/arch/arm/dts/k3-am625-sk-u-boot.dtsi
+++ b/arch/arm/dts/k3-am625-sk-u-boot.dtsi
@@ -46,3 +46,12 @@
 &cpsw_port2 {
 	status = "disabled";
 };
+
+&usbss0 {
+	bootph-all;
+};
+
+&usb0 {
+	dr_mode = "peripheral";
+	bootph-all;
+};
-- 
2.43.0



More information about the U-Boot mailing list