diff options
author | Sricharan R <sricharan@codeaurora.org> | 2018-05-25 11:41:11 +0530 |
---|---|---|
committer | Andy Gross <andy.gross@linaro.org> | 2018-05-25 15:40:21 -0500 |
commit | c696a020193e7f96ead97b6b19a2bcd929b299d3 (patch) | |
tree | 427579f9af745d5191c8bd9388f6de0a19ed0102 | |
parent | 5567f9ddaf734dd09b732153d0411a41abd61061 (diff) | |
download | linux-stable-c696a020193e7f96ead97b6b19a2bcd929b299d3.tar.gz linux-stable-c696a020193e7f96ead97b6b19a2bcd929b299d3.tar.bz2 linux-stable-c696a020193e7f96ead97b6b19a2bcd929b299d3.zip |
ARM: dts: ipq4019: Add a default chosen node
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>
-rw-r--r-- | arch/arm/boot/dts/qcom-ipq4019-ap.dk01.1.dtsi | 8 | ||||
-rw-r--r-- | arch/arm/boot/dts/qcom-ipq4019.dtsi | 2 |
2 files changed, 9 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/qcom-ipq4019-ap.dk01.1.dtsi b/arch/arm/boot/dts/qcom-ipq4019-ap.dk01.1.dtsi index e413b21ee331..ef8d8c88ed7b 100644 --- a/arch/arm/boot/dts/qcom-ipq4019-ap.dk01.1.dtsi +++ b/arch/arm/boot/dts/qcom-ipq4019-ap.dk01.1.dtsi @@ -20,6 +20,14 @@ 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"; diff --git a/arch/arm/boot/dts/qcom-ipq4019.dtsi b/arch/arm/boot/dts/qcom-ipq4019.dtsi index b25daf368012..2efc8a2d41a7 100644 --- a/arch/arm/boot/dts/qcom-ipq4019.dtsi +++ b/arch/arm/boot/dts/qcom-ipq4019.dtsi @@ -272,7 +272,7 @@ regulator; }; - serial@78af000 { + blsp1_uart1: serial@78af000 { compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm"; reg = <0x78af000 0x200>; interrupts = <0 107 0>; |