From: Sjoerd Simons <[email protected]>

Enable usb0 in all boot phases for use with DFU

Signed-off-by: Sjoerd Simons <[email protected]>
Reviewed-by: Alexander Sverdlin <[email protected]>
Signed-off-by: Martyn Welch <[email protected]>
---
Changes in v5:
- Forcing usb0 into peripheral mode reinstated

Changes in v4:
- Don't force usb0 into peripheral mode

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 fa778b0ff4..1fc0d407cb 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

Reply via email to