arm64: dts: qcom: qrb4210-rb2: don't force usb peripheral mode
authorCaleb Connolly <caleb.connolly@linaro.org>
Tue, 10 Oct 2023 10:46:58 +0000 (11:46 +0100)
committerBjorn Andersson <andersson@kernel.org>
Mon, 16 Oct 2023 18:45:05 +0000 (11:45 -0700)
The rb2 only has a single USB controller, it can be switched between a
type-c port and an internal USB hub via a DIP switch. Until dynamic
role switching is available it's preferable to put the USB controller
in host mode so that the type-A ports and ethernet are available.

Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
Reviewed-by: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
Fixes: eaa53a85748d ("arm64: dts: qcom: qrb4210-rb2: Enable USB node")
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Link: https://lore.kernel.org/r/20231010-caleb-rb2-host-mode-v1-1-b057d443cd62@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/qrb4210-rb2.dts

index a7278a9472ed9bfed1bea6dbb8c9d28e1499fce8..9738c0dacd58cdf05afb2b918d30e637d0cae0b7 100644 (file)
 
 &usb_dwc3 {
        maximum-speed = "super-speed";
-       dr_mode = "peripheral";
 };
 
 &usb_hsphy {