summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-03-03 17:41:01 +0300
committerGregory CLEMENT <gregory.clement@free-electrons.com>2015-03-04 17:02:26 +0300
commitbf6acf1657ab906531549d3e8fbe9027d90e4c86 (patch)
tree561c0085cebb33a3bfdedf2b7a46139ed436fc3c
parent9574b2fb1cf7f6bab48714f5cf9e5382b8ca1685 (diff)
downloadlinux-bf6acf1657ab906531549d3e8fbe9027d90e4c86.tar.xz
ARM: mvebu: add serial port aliases on Armada 370/375/38x/XP
This commit adds 'serialX' aliases for the various serial ports on Armada 370, 375, 38x and XP platforms. It will allow the usage of the stdout-path property. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
-rw-r--r--arch/arm/boot/dts/armada-370-xp.dtsi2
-rw-r--r--arch/arm/boot/dts/armada-375.dtsi2
-rw-r--r--arch/arm/boot/dts/armada-38x.dtsi2
-rw-r--r--arch/arm/boot/dts/armada-xp.dtsi2
4 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/armada-370-xp.dtsi b/arch/arm/boot/dts/armada-370-xp.dtsi
index d36b1e58b5b7..1058cf6898fd 100644
--- a/arch/arm/boot/dts/armada-370-xp.dtsi
+++ b/arch/arm/boot/dts/armada-370-xp.dtsi
@@ -59,6 +59,8 @@
compatible = "marvell,armada-370-xp";
aliases {
+ serial0 = &uart0;
+ serial1 = &uart1;
};
cpus {
diff --git a/arch/arm/boot/dts/armada-375.dtsi b/arch/arm/boot/dts/armada-375.dtsi
index 0d02251ede2f..64206939bde5 100644
--- a/arch/arm/boot/dts/armada-375.dtsi
+++ b/arch/arm/boot/dts/armada-375.dtsi
@@ -60,6 +60,8 @@
gpio0 = &gpio0;
gpio1 = &gpio1;
gpio2 = &gpio2;
+ serial0 = &uart0;
+ serial1 = &uart1;
};
clocks {
diff --git a/arch/arm/boot/dts/armada-38x.dtsi b/arch/arm/boot/dts/armada-38x.dtsi
index f74bb01edb1b..1a2dc370792f 100644
--- a/arch/arm/boot/dts/armada-38x.dtsi
+++ b/arch/arm/boot/dts/armada-38x.dtsi
@@ -59,6 +59,8 @@
aliases {
gpio0 = &gpio0;
gpio1 = &gpio1;
+ serial0 = &uart0;
+ serial1 = &uart1;
};
soc {
diff --git a/arch/arm/boot/dts/armada-xp.dtsi b/arch/arm/boot/dts/armada-xp.dtsi
index 975ae64ead9e..bbabee5dd9b5 100644
--- a/arch/arm/boot/dts/armada-xp.dtsi
+++ b/arch/arm/boot/dts/armada-xp.dtsi
@@ -57,6 +57,8 @@
compatible = "marvell,armadaxp", "marvell,armada-370-xp";
aliases {
+ serial2 = &uart2;
+ serial3 = &uart3;
};
soc {