arm64: dts: qcom: qrb2210-rb1: Swap UART index
authorKonrad Dybcio <konrad.dybcio@linaro.org>
Wed, 6 Sep 2023 09:24:55 +0000 (11:24 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 20 Nov 2023 10:59:14 +0000 (11:59 +0100)
[ Upstream commit 973c015facabcbd320063648010942c51992c1a1 ]

Newer RB1 board revisions have a debug UART on QUP0. Sadly, it looks
like even when ordering one in retail, customers receive prototype
boards with "Enginering Sample" written on them.

Use QUP4 for UART to make all known RB1 boards boot.

Fixes: e18771961336 ("arm64: dts: qcom: Add initial QTI RB1 device tree")
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reported-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20230906-topic-rb1_features_sans_icc-v1-1-e92ce6fbde16@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm64/boot/dts/qcom/qrb2210-rb1.dts

index eadba06..5cda5b7 100644 (file)
@@ -13,7 +13,7 @@
        compatible = "qcom,qrb2210-rb1", "qcom,qrb2210", "qcom,qcm2290";
 
        aliases {
-               serial0 = &uart0;
+               serial0 = &uart4;
                sdhc1 = &sdhc_1;
                sdhc2 = &sdhc_2;
        };
 };
 
 /* UART connected to the Micro-USB port via a FTDI chip */
-&uart0 {
+&uart4 {
        compatible = "qcom,geni-debug-uart";
        status = "okay";
 };