Override usb2 dr_mode to "peripheral" for fastboot gadget mode
on the U-Boot, since the upstream kernel DT defaults it to
host mode.

Signed-off-by: Badhrinath S <[email protected]>
---
 arch/arm/dts/ipq9650-rdp488-u-boot.dtsi | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm/dts/ipq9650-rdp488-u-boot.dtsi 
b/arch/arm/dts/ipq9650-rdp488-u-boot.dtsi
index dd03de98b921..dcf4cda728fe 100644
--- a/arch/arm/dts/ipq9650-rdp488-u-boot.dtsi
+++ b/arch/arm/dts/ipq9650-rdp488-u-boot.dtsi
@@ -13,3 +13,7 @@
        };
 
 };
+
+&usb2 {
+       dr_mode = "peripheral";
+};
-- 
2.34.1

Reply via email to