]> Git Repo - linux.git/commitdiff
arm64: dts: rockchip: use USB host by default on rk3399-rock-pi-4
authorVicente Bergas <[email protected]>
Tue, 1 Dec 2020 15:41:32 +0000 (16:41 +0100)
committerHeiko Stuebner <[email protected]>
Fri, 4 Dec 2020 10:23:52 +0000 (11:23 +0100)
Based on the board schematics at
https://dl.radxa.com/rockpi4/docs/hw/rockpi4/rockpi_4c_v12_sch_20200620.pdf
on page 19 there is an USB Type-A receptacle being used as an USB-OTG port.

But the Type-A connector is not valid for OTG operation, for this reason
there is a switch to select host or device role.
This is non-compliant and error prone because switching is manual.
So, use host mode as it corresponds for a Type-A receptacle.

Signed-off-by: Vicente Bergas <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Heiko Stuebner <[email protected]>
arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dtsi

index 63b029a543c1fffa84a74c7c79f59f9e82f67526..fb7599f07af4817feb36c216a2d9c1b00dff8d3c 100644 (file)
 
 &usbdrd_dwc3_0 {
        status = "okay";
-       dr_mode = "otg";
+       dr_mode = "host";
 };
 
 &usbdrd3_1 {
This page took 0.057454 seconds and 4 git commands to generate.