arm64: dts: rockchip: move px30-evb console output to uart 5
authorHeiko Stuebner <heiko@sntech.de>
Tue, 17 Sep 2019 08:26:53 +0000 (10:26 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Thu, 3 Oct 2019 21:23:59 +0000 (23:23 +0200)
The px30-evb exposes uart2 through a uart-to-usb converter on the board
but these pins are shared with the sdmmc controller. With both activated
this results in a race condition depending in the probe order.
Whichever of the two probes first will break the other peripheral.

The px30-evb also exposes uart5 through pin its pin headers, so it's way
saner to use these pins for serial output and keep the sdmmc working in
all cases.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://lore.kernel.org/r/20190917082659.25549-7-heiko@sntech.de
arch/arm64/boot/dts/rockchip/px30-evb.dts

index 6d50f6a..80524af 100644 (file)
@@ -14,7 +14,7 @@
        compatible = "rockchip,px30-evb", "rockchip,px30";
 
        chosen {
-               stdout-path = "serial2:1500000n8";
+               stdout-path = "serial5:115200n8";
        };
 
        adc-keys {
        status = "okay";
 };
 
-&uart2 {
+&uart5 {
        status = "okay";
 };