* [PATCH 0/2] ARM: qcom: enable console output on IPQ806x @ 2015-08-18 22:05 Mathieu Olivari 2015-08-18 22:05 ` [PATCH 1/2] ARM: qcom: add uart labels to IPQ806x dts Mathieu Olivari 2015-08-18 22:05 ` [PATCH 2/2] ARM: qcom: enable uart output by default on AP148 Mathieu Olivari 0 siblings, 2 replies; 3+ messages in thread From: Mathieu Olivari @ 2015-08-18 22:05 UTC (permalink / raw) To: linux-arm-kernel This change set adds uart nodes in ipq806x dtsi and add the chosen node in AP148 dts file to use it as a console. Mathieu Olivari (2): ARM: qcom: add uart labels to IPQ806x dts ARCH: qcom: enable uart output by default on AP148 arch/arm/boot/dts/qcom-ipq8064-ap148.dts | 8 ++++++++ arch/arm/boot/dts/qcom-ipq8064.dtsi | 15 +++++++++------ 2 files changed, 17 insertions(+), 6 deletions(-) -- 2.1.4 ^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 1/2] ARM: qcom: add uart labels to IPQ806x dts 2015-08-18 22:05 [PATCH 0/2] ARM: qcom: enable console output on IPQ806x Mathieu Olivari @ 2015-08-18 22:05 ` Mathieu Olivari 2015-08-18 22:05 ` [PATCH 2/2] ARM: qcom: enable uart output by default on AP148 Mathieu Olivari 1 sibling, 0 replies; 3+ messages in thread From: Mathieu Olivari @ 2015-08-18 22:05 UTC (permalink / raw) To: linux-arm-kernel We want to use references to UART devices from the board specific dts files, so we'll label them according to their gsbi number. Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> --- arch/arm/boot/dts/qcom-ipq8064.dtsi | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/arch/arm/boot/dts/qcom-ipq8064.dtsi b/arch/arm/boot/dts/qcom-ipq8064.dtsi index 9834c94..2f270d7 100644 --- a/arch/arm/boot/dts/qcom-ipq8064.dtsi +++ b/arch/arm/boot/dts/qcom-ipq8064.dtsi @@ -159,8 +159,9 @@ syscon-tcsr = <&tcsr>; - serial at 12490000 { - compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm"; + uart2: serial at 12490000 { + compatible = "qcom,msm-uartdm-v1.3", + "qcom,msm-uartdm"; reg = <0x12490000 0x1000>, <0x12480000 0x1000>; interrupts = <0 195 0x0>; @@ -197,8 +198,9 @@ syscon-tcsr = <&tcsr>; - serial at 16340000 { - compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm"; + uart4: serial at 16340000 { + compatible = "qcom,msm-uartdm-v1.3", + "qcom,msm-uartdm"; reg = <0x16340000 0x1000>, <0x16300000 0x1000>; interrupts = <0 152 0x0>; @@ -234,8 +236,9 @@ syscon-tcsr = <&tcsr>; - serial at 1a240000 { - compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm"; + uart5: serial at 1a240000 { + compatible = "qcom,msm-uartdm-v1.3", + "qcom,msm-uartdm"; reg = <0x1a240000 0x1000>, <0x1a200000 0x1000>; interrupts = <0 154 0x0>; -- 2.1.4 ^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH 2/2] ARM: qcom: enable uart output by default on AP148 2015-08-18 22:05 [PATCH 0/2] ARM: qcom: enable console output on IPQ806x Mathieu Olivari 2015-08-18 22:05 ` [PATCH 1/2] ARM: qcom: add uart labels to IPQ806x dts Mathieu Olivari @ 2015-08-18 22:05 ` Mathieu Olivari 1 sibling, 0 replies; 3+ messages in thread From: Mathieu Olivari @ 2015-08-18 22:05 UTC (permalink / raw) To: linux-arm-kernel This change adds a new chosen node to boot using UART console on AP148 Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> --- arch/arm/boot/dts/qcom-ipq8064-ap148.dts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/qcom-ipq8064-ap148.dts b/arch/arm/boot/dts/qcom-ipq8064-ap148.dts index 55b2910..b08907a 100644 --- a/arch/arm/boot/dts/qcom-ipq8064-ap148.dts +++ b/arch/arm/boot/dts/qcom-ipq8064-ap148.dts @@ -14,6 +14,14 @@ }; }; + alias { + serial0 = &uart4; + }; + + chosen { + linux,stdout-path = "serial0:115200n8"; + }; + soc { pinmux at 800000 { i2c4_pins: i2c4_pinmux { -- 2.1.4 ^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-08-18 22:05 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2015-08-18 22:05 [PATCH 0/2] ARM: qcom: enable console output on IPQ806x Mathieu Olivari 2015-08-18 22:05 ` [PATCH 1/2] ARM: qcom: add uart labels to IPQ806x dts Mathieu Olivari 2015-08-18 22:05 ` [PATCH 2/2] ARM: qcom: enable uart output by default on AP148 Mathieu Olivari
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).