Add U-Boot tags and fix the dr_mode as peripheral in U-Boot to support DFU
by default.

Signed-off-by: Aswath Govindraju <a-govindr...@ti.com>
---
 arch/arm/dts/k3-am642-evm-u-boot.dtsi | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/arch/arm/dts/k3-am642-evm-u-boot.dtsi 
b/arch/arm/dts/k3-am642-evm-u-boot.dtsi
index 10dea7a1cc46..ed38b7269ee5 100644
--- a/arch/arm/dts/k3-am642-evm-u-boot.dtsi
+++ b/arch/arm/dts/k3-am642-evm-u-boot.dtsi
@@ -50,6 +50,19 @@
        u-boot,dm-spl;
 };
 
+&usb0 {
+       dr_mode="peripheral";
+       u-boot,dm-spl;
+};
+
+&usbss0 {
+       u-boot,dm-spl;
+};
+
+&main_usb0_pins_default {
+       u-boot,dm-spl;
+};
+
 &dmss {
        u-boot,dm-spl;
 };
-- 
2.17.1

Reply via email to