arm64: dts: qcom: sdm845-tama: Set serial indices and stdout-path
authorKonrad Dybcio <konrad.dybcio@linaro.org>
Tue, 27 Jun 2023 17:27:50 +0000 (19:27 +0200)
committerBjorn Andersson <andersson@kernel.org>
Mon, 10 Jul 2023 04:35:44 +0000 (21:35 -0700)
UART6 is used for debug (routed via uSD pins) and UART9 is connected
to the bluetooth chip.

Set indexed aliases to make the GENI UART driver happy and route serial
traffic through the debug uart by default.

Fixes: 30a7f99befc6 ("arm64: dts: qcom: Add support for SONY Xperia XZ2 / XZ2C / XZ3 (Tama platform)")
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Reviewed-by: Marijn Suijten <marijn.suijten@somainline.org>
Link: https://lore.kernel.org/r/20230627-topic-tama_uart-v1-1-0fa790248db8@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama.dtsi

index 3bc187a..7ee61b2 100644 (file)
        qcom,msm-id = <321 0x20001>; /* SDM845 v2.1 */
        qcom,board-id = <8 0>;
 
+       aliases {
+               serial0 = &uart6;
+               serial1 = &uart9;
+       };
+
+       chosen {
+               stdout-path = "serial0:115200n8";
+       };
+
        gpio-keys {
                compatible = "gpio-keys";