linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: dev@lynxeye.de (Lucas Stach)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: tegra: add serial aliases to Tegra124 DT
Date: Mon,  3 Nov 2014 23:20:04 +0100	[thread overview]
Message-ID: <1415053204-30114-1-git-send-email-dev@lynxeye.de> (raw)

Provides consistent numbering of consoles across boards.

Signed-off-by: Lucas Stach <dev@lynxeye.de>
---
These aliases are already present in the base DTs for all
other Tegra SoCs.
---
 arch/arm/boot/dts/tegra124.dtsi | 15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)

diff --git a/arch/arm/boot/dts/tegra124.dtsi b/arch/arm/boot/dts/tegra124.dtsi
index 478c555..9b53649 100644
--- a/arch/arm/boot/dts/tegra124.dtsi
+++ b/arch/arm/boot/dts/tegra124.dtsi
@@ -12,6 +12,13 @@
 	#address-cells = <2>;
 	#size-cells = <2>;
 
+	aliases {
+		serial0 = &uarta;
+		serial1 = &uartb;
+		serial2 = &uartc;
+		serial3 = &uartd;
+	};
+
 	pcie-controller at 0,01003000 {
 		compatible = "nvidia,tegra124-pcie";
 		device_type = "pci";
@@ -286,7 +293,7 @@
 	 * the APB DMA based serial driver, the comptible is
 	 * "nvidia,tegra124-hsuart", "nvidia,tegra30-hsuart".
 	 */
-	serial at 0,70006000 {
+	uarta: serial at 0,70006000 {
 		compatible = "nvidia,tegra124-uart", "nvidia,tegra20-uart";
 		reg = <0x0 0x70006000 0x0 0x40>;
 		reg-shift = <2>;
@@ -299,7 +306,7 @@
 		status = "disabled";
 	};
 
-	serial at 0,70006040 {
+	uartb: serial at 0,70006040 {
 		compatible = "nvidia,tegra124-uart", "nvidia,tegra20-uart";
 		reg = <0x0 0x70006040 0x0 0x40>;
 		reg-shift = <2>;
@@ -312,7 +319,7 @@
 		status = "disabled";
 	};
 
-	serial at 0,70006200 {
+	uartc: serial at 0,70006200 {
 		compatible = "nvidia,tegra124-uart", "nvidia,tegra20-uart";
 		reg = <0x0 0x70006200 0x0 0x40>;
 		reg-shift = <2>;
@@ -325,7 +332,7 @@
 		status = "disabled";
 	};
 
-	serial at 0,70006300 {
+	uartd: serial at 0,70006300 {
 		compatible = "nvidia,tegra124-uart", "nvidia,tegra20-uart";
 		reg = <0x0 0x70006300 0x0 0x40>;
 		reg-shift = <2>;
-- 
1.9.3

             reply	other threads:[~2014-11-03 22:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-03 22:20 Lucas Stach [this message]
2014-11-06 14:42 ` [PATCH] ARM: tegra: add serial aliases to Tegra124 DT Thierry Reding

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=1415053204-30114-1-git-send-email-dev@lynxeye.de \
    --to=dev@lynxeye.de \
    --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 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).