summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonrad Dybcio <konrad.dybcio@linaro.org>2023-09-12 16:48:31 +0300
committerBjorn Andersson <andersson@kernel.org>2023-09-14 16:34:27 +0300
commit2e754956848889d5b04d8023753fa28de679373d (patch)
tree8031b31bca0ade258e39ccc411ce44286b60c856
parent1cec289a3ced45b7f4a5e136acd79e401167c1ba (diff)
downloadlinux-2e754956848889d5b04d8023753fa28de679373d.tar.xz
arm64: dts: qcom: sm8250-edo: Set UART alias and stdout-path
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>
-rw-r--r--arch/arm64/boot/dts/qcom/sm8250-sony-xperia-edo.dtsi5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/qcom/sm8250-sony-xperia-edo.dtsi b/arch/arm64/boot/dts/qcom/sm8250-sony-xperia-edo.dtsi
index ecdc20bc10f5..e07d0311ecb5 100644
--- a/arch/arm64/boot/dts/qcom/sm8250-sony-xperia-edo.dtsi
+++ b/arch/arm64/boot/dts/qcom/sm8250-sony-xperia-edo.dtsi
@@ -18,7 +18,12 @@
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;