From 22e067f79b5c620e3649108bb1e287334dff8f03 Mon Sep 17 00:00:00 2001 From: Jerome Forissier Date: Mon, 14 Nov 2022 11:54:08 +0100 Subject: [PATCH] arm64: dt: rockpi4: disable node usbdrd_dwc3_0 **not for mainline** 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 Acked-by: Jens Wiklander Acked-by: Joakim Bech --- arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 401e1ae9d94432..77a56638916de3 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dtsi @@ -740,7 +740,7 @@ }; &usbdrd_dwc3_0 { - status = "okay"; + status = "disabled"; dr_mode = "host"; };