arm64: dts: qcom: sm8250-edo: Set UART alias and stdout-path
authorKonrad Dybcio <konrad.dybcio@linaro.org>
Tue, 12 Sep 2023 13:48:31 +0000 (15:48 +0200)
committerBjorn Andersson <andersson@kernel.org>
Thu, 14 Sep 2023 13:34:27 +0000 (06:34 -0700)
The GENI UART driver requires one specifies a numeric alias. Do so and
set the stdout-path to route the console to the debug uart in the microSD
slot by default.

Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20230912-topic-edoconsole-v1-1-b392ea67e539@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/sm8250-sony-xperia-edo.dtsi

index ecdc20bc10f579fe7c768cbba3ccdc8f8f9fee6a..e07d0311ecb5c92fbada36a8f9313aa99edc8142 100644 (file)
        qcom,msm-id = <356 0x20001>; /* SM8250 v2.1 */
        qcom,board-id = <0x10008 0>;
 
+       aliases {
+               serial0 = &uart12;
+       };
+
        chosen {
+               stdout-path = "serial0:115200n8";
                #address-cells = <2>;
                #size-cells = <2>;
                ranges;