summaryrefslogtreecommitdiffstats
path: root/arch/arm64
diff options
context:
space:
mode:
authorVicente Bergas <vicencb@gmail.com>2020-12-01 16:41:32 +0100
committerHeiko Stuebner <heiko@sntech.de>2020-12-04 11:23:52 +0100
commite12f67fe83446432ef16704c22ec23bd1dbcd094 (patch)
treeafe6d830cece0d1015885ad4ad2af5be38e8ef2b /arch/arm64
parentarm64: dts: rockchip: fix I2S conflict on rk3399-rock-pi-4 (diff)
downloadlinux-e12f67fe83446432ef16704c22ec23bd1dbcd094.tar.xz
linux-e12f67fe83446432ef16704c22ec23bd1dbcd094.zip
arm64: dts: rockchip: use USB host by default on rk3399-rock-pi-4
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 <vicencb@gmail.com> Link: https://lore.kernel.org/r/20201201154132.1286-4-vicencb@gmail.com Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Diffstat (limited to 'arch/arm64')
-rw-r--r--arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dtsi2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dtsi
index 63b029a543c1..fb7599f07af4 100644
--- a/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dtsi
@@ -673,7 +673,7 @@
&usbdrd_dwc3_0 {
status = "okay";
- dr_mode = "otg";
+ dr_mode = "host";
};
&usbdrd3_1 {