]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
ARM: dts: ipq4019: Add a default chosen node
authorSricharan R <sricharan@codeaurora.org>
Fri, 25 May 2018 06:11:11 +0000 (11:41 +0530)
committerAndy Gross <andy.gross@linaro.org>
Fri, 25 May 2018 20:40:21 +0000 (15:40 -0500)
Add a 'chosen' node to select the serial console.
This is needed when bootloaders do not pass the
'console=' bootargs.

Acked-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Sricharan R <sricharan@codeaurora.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
arch/arm/boot/dts/qcom-ipq4019-ap.dk01.1.dtsi
arch/arm/boot/dts/qcom-ipq4019.dtsi

index e413b21ee3319be02927dca42aeef0c837698d00..ef8d8c88ed7b38ee0e012007327fdc97d8f220e7 100644 (file)
        model = "Qualcomm Technologies, Inc. IPQ4019/AP-DK01.1";
        compatible = "qcom,ipq4019";
 
+       aliases {
+               serial0 = &blsp1_uart1;
+       };
+
+       chosen {
+               stdout-path = "serial0:115200n8";
+       };
+
        soc {
                rng@22000 {
                        status = "ok";
index b25daf3680125ce2f77d10daa5b2d4b50ffb87bf..2efc8a2d41a7f06fe47a7848a5eb3fc79a0dc804 100644 (file)
                         regulator;
                 };
 
-               serial@78af000 {
+               blsp1_uart1: serial@78af000 {
                        compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
                        reg = <0x78af000 0x200>;
                        interrupts = <0 107 0>;