Commit 181d9b28 authored by Arnaud Ebalard's avatar Arnaud Ebalard Committed by Jason Cooper

arm: mvebu: add uartX labels for Armada SoC serial nodes

This patch adds uartX labels for Armada SoC serial nodes. This is
a preliminary work to be able to easily reference the serial lines
in Device Tree files. One expected use is when providing stdout-path
property for barebox.
Reviewed-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: default avatarAndrew Lunn <andrew@lunn.ch>
Signed-off-by: default avatarArnaud Ebalard <arno@natisbad.org>
Link: https://lkml.kernel.org/r/0683d1a823fe9b75849f3dafcf1cf6ee291cdca6.1416613429.git.arno@natisbad.orgSigned-off-by: default avatarJason Cooper <jason@lakedaemon.net>
parent a0d3c221
...@@ -151,7 +151,7 @@ i2c1: i2c@11100 { ...@@ -151,7 +151,7 @@ i2c1: i2c@11100 {
status = "disabled"; status = "disabled";
}; };
serial@12000 { uart0: serial@12000 {
compatible = "snps,dw-apb-uart"; compatible = "snps,dw-apb-uart";
reg = <0x12000 0x100>; reg = <0x12000 0x100>;
reg-shift = <2>; reg-shift = <2>;
...@@ -160,7 +160,8 @@ serial@12000 { ...@@ -160,7 +160,8 @@ serial@12000 {
clocks = <&coreclk 0>; clocks = <&coreclk 0>;
status = "disabled"; status = "disabled";
}; };
serial@12100 {
uart1: serial@12100 {
compatible = "snps,dw-apb-uart"; compatible = "snps,dw-apb-uart";
reg = <0x12100 0x100>; reg = <0x12100 0x100>;
reg-shift = <2>; reg-shift = <2>;
......
...@@ -53,7 +53,7 @@ i2c1: i2c@11100 { ...@@ -53,7 +53,7 @@ i2c1: i2c@11100 {
reg = <0x11100 0x100>; reg = <0x11100 0x100>;
}; };
serial@12200 { uart2: serial@12200 {
compatible = "snps,dw-apb-uart"; compatible = "snps,dw-apb-uart";
reg = <0x12200 0x100>; reg = <0x12200 0x100>;
reg-shift = <2>; reg-shift = <2>;
...@@ -62,7 +62,8 @@ serial@12200 { ...@@ -62,7 +62,8 @@ serial@12200 {
clocks = <&coreclk 0>; clocks = <&coreclk 0>;
status = "disabled"; status = "disabled";
}; };
serial@12300 {
uart3: serial@12300 {
compatible = "snps,dw-apb-uart"; compatible = "snps,dw-apb-uart";
reg = <0x12300 0x100>; reg = <0x12300 0x100>;
reg-shift = <2>; reg-shift = <2>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment