]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
dts: qcs6490-rb3gen2-u-boot: USB host mode
authorCaleb Connolly <caleb.connolly@linaro.org>
Wed, 21 Aug 2024 13:41:48 +0000 (15:41 +0200)
committerCaleb Connolly <caleb.connolly@linaro.org>
Fri, 6 Sep 2024 08:47:47 +0000 (10:47 +0200)
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

index c3ec4a317f7c2265c0db058cdbd8749e1f34975a..fbe72595f5aca305d68e207429984b5c2fa2120e 100644 (file)
        };
 };
 
+&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