Enable both usb0 as a peripheral for use with DFU and

Signed-off-by: Sjoerd Simons <sjo...@collabora.com>

---

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

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

diff --git a/arch/arm/dts/k3-am625-sk-u-boot.dtsi 
b/arch/arm/dts/k3-am625-sk-u-boot.dtsi
index 5f90a4b56f1..2746451572d 100644
--- a/arch/arm/dts/k3-am625-sk-u-boot.dtsi
+++ b/arch/arm/dts/k3-am625-sk-u-boot.dtsi
@@ -154,3 +154,14 @@
 &cpsw_port2 {
        status = "disabled";
 };
+
+&usbss0 {
+       bootph-pre-ram;
+};
+
+&usb0 {
+       dr_mode = "peripheral";
+       /* Since role switching is not supported in U-Boot */
+       /delete-property/ extcon;
+       bootph-pre-ram;
+};
-- 
2.40.0

Reply via email to