Skip to content

Commit

Permalink
arm64: dt: rockpi4: disable node usbdrd_dwc3_0 **not for mainline**
Browse files Browse the repository at this point in the history
If a USB-A to USB-A cable is used to flash the RockPi4 eMMC as described
in [1], it is likely that the board will be booted with the cable still
plugged into the board and into the computer on the other side. Such a
configuration results in periodic error messages from the kernel:

 [    4.832697] usb usb6-port1: Cannot enable. Maybe the USB cable is bad?
 [    4.833416] usb usb6-port1: config error

That is annoying, especially since the messages are also sent to the
console by default, which could mess up with CI scripts. Therefore,
disable this port (it is the upper USB3 blue port; the lower one will
still work fine).

Link: [1] https://wiki.radxa.com/Rockpi4/dev/usb-install
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
Acked-by: Joakim Bech <joakim.bech@linaro.org>
  • Loading branch information
jforissier committed Nov 16, 2022
1 parent 29aee39 commit 22e067f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -740,7 +740,7 @@
};

&usbdrd_dwc3_0 {
status = "okay";
status = "disabled";
dr_mode = "host";
};

Expand Down

0 comments on commit 22e067f

Please sign in to comment.