diff mbox series

[v2,3/7] dts: qcs6490-rb3gen2-u-boot: USB host mode

Message ID 20240821-b4-rb3gen2-v2-3-49b07633f3a8@linaro.org
State New
Headers show
Series Qualcomm: add support for SC7280 and the RB3 Gen 2 | expand

Commit Message

Caleb Connolly Aug. 21, 2024, 1:41 p.m. UTC
Adjust DTS so USB runs in host mode. The type-c port is the only
supported port (since the others need PCIe). Booting from USB is
possible with a powered type-c dock.

Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
---
 arch/arm/dts/qcs6490-rb3gen2-u-boot.dtsi | 5 +++++
 1 file changed, 5 insertions(+)
diff mbox series

Patch

diff --git a/arch/arm/dts/qcs6490-rb3gen2-u-boot.dtsi b/arch/arm/dts/qcs6490-rb3gen2-u-boot.dtsi
index c3ec4a317f7c..fbe72595f5ac 100644
--- a/arch/arm/dts/qcs6490-rb3gen2-u-boot.dtsi
+++ b/arch/arm/dts/qcs6490-rb3gen2-u-boot.dtsi
@@ -16,8 +16,13 @@ 
 		      <1 0x00000000 1 0x00000000>;
 	};
 };
 
+&usb_1_dwc3 {
+	dr_mode = "host";
+	/delete-property/ usb-role-switch;
+};
+
 // RAM Entry 0 : Base 0x0080000000  Size 0x003A800000
 // RAM Entry 1 : Base 0x00C0000000  Size 0x0001800000
 // RAM Entry 2 : Base 0x00C3400000  Size 0x003CC00000
 // RAM Entry 3 : Base 0x0100000000  Size 0x0100000000