summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/exynos5410.dtsi
diff options
context:
space:
mode:
authorTomasz Figa <t.figa@samsung.com>2014-06-26 13:24:35 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-07-10 02:22:55 +0200
commit1e64f48ea7c59fb94acd7551dd9fa68b8a752efc (patch)
tree95d1a81797d2382b2a9724dfc23421e65f22036e /arch/arm/boot/dts/exynos5410.dtsi
parentserial: samsung: Consider DT alias when probing ports (diff)
downloadlinux-1e64f48ea7c59fb94acd7551dd9fa68b8a752efc.tar.xz
linux-1e64f48ea7c59fb94acd7551dd9fa68b8a752efc.zip
ARM: dts: SAMSUNG: Add aliases of UART nodes
This patch adds alias entries for UART nodes of all SoCs using samsung-uart compatible UART controllers, so that the dependency on probe order is removed and deterministic device naming is assured. Signed-off-by: Tomasz Figa <t.figa@samsung.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/arm/boot/dts/exynos5410.dtsi')
-rw-r--r--arch/arm/boot/dts/exynos5410.dtsi6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/exynos5410.dtsi b/arch/arm/boot/dts/exynos5410.dtsi
index 3839c26f467f..52070e54589a 100644
--- a/arch/arm/boot/dts/exynos5410.dtsi
+++ b/arch/arm/boot/dts/exynos5410.dtsi
@@ -20,6 +20,12 @@
compatible = "samsung,exynos5410", "samsung,exynos5";
interrupt-parent = <&gic>;
+ aliases {
+ serial0 = &uart0;
+ serial1 = &uart1;
+ serial2 = &uart2;
+ };
+
cpus {
#address-cells = <1>;
#size-cells = <0>;