All of lore.kernel.org
 help / color / mirror / Atom feed
From: mathieu@codeaurora.org (Mathieu Olivari)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/2] ARM: qcom: add uart labels to IPQ806x dts
Date: Tue, 18 Aug 2015 15:05:37 -0700	[thread overview]
Message-ID: <1439935538-13932-2-git-send-email-mathieu@codeaurora.org> (raw)
In-Reply-To: <1439935538-13932-1-git-send-email-mathieu@codeaurora.org>

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

WARNING: multiple messages have this Message-ID (diff)
From: Mathieu Olivari <mathieu@codeaurora.org>
To: galak@codeaurora.org, agross@codeaurora.org,
	sboyd@codeaurora.org, robh+dt@kernel.org, pawel.moll@arm.com,
	mark.rutland@arm.com, ijc+devicetree@hellion.org.uk,
	linux@arm.linux.org.uk
Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org,
	Mathieu Olivari <mathieu@codeaurora.org>
Subject: [PATCH 1/2] ARM: qcom: add uart labels to IPQ806x dts
Date: Tue, 18 Aug 2015 15:05:37 -0700	[thread overview]
Message-ID: <1439935538-13932-2-git-send-email-mathieu@codeaurora.org> (raw)
In-Reply-To: <1439935538-13932-1-git-send-email-mathieu@codeaurora.org>

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@12490000 {
-				compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
+			uart2: serial@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@16340000 {
-				compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
+			uart4: serial@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@1a240000 {
-				compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
+			uart5: serial@1a240000 {
+				compatible = "qcom,msm-uartdm-v1.3",
+					     "qcom,msm-uartdm";
 				reg = <0x1a240000 0x1000>,
 				      <0x1a200000 0x1000>;
 				interrupts = <0 154 0x0>;
-- 
2.1.4

  reply	other threads:[~2015-08-18 22:05 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 ` Mathieu Olivari
2015-08-18 22:05 ` Mathieu Olivari [this message]
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
2015-08-18 22:05   ` Mathieu Olivari

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1439935538-13932-2-git-send-email-mathieu@codeaurora.org \
    --to=mathieu@codeaurora.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.