Override USB dr_mode to "peripheral" for both usb_1 and usb_2 nodes
to enable fastboot and USB download functionality in U-Boot. The
upstream device tree configures these as "host" mode for Linux
runtime, but U-Boot requires peripheral mode for flashing operations.

Signed-off-by: Balaji Selvanathan <[email protected]>
---
 arch/arm/dts/talos-evk-u-boot.dtsi | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/arch/arm/dts/talos-evk-u-boot.dtsi 
b/arch/arm/dts/talos-evk-u-boot.dtsi
new file mode 100644
index 00000000000..74c3d37e2d9
--- /dev/null
+++ b/arch/arm/dts/talos-evk-u-boot.dtsi
@@ -0,0 +1,12 @@
+// SPDX-License-Identifier: BSD-3-Clause
+/*
+ * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
+ */
+
+&usb_1 {
+       dr_mode = "peripheral";
+};
+
+&usb_2 {
+       dr_mode = "peripheral";
+};

---
base-commit: 38dbe637c9dfcadbd1bc201bfbb27f96b2ad525a
change-id: 20260519-talos_fastboot-d9fe9351692a

Best regards,
-- 
Balaji Selvanathan <[email protected]>

Reply via email to