summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/s3c24xx.dtsi
diff options
context:
space:
mode:
authorTomasz Figa <t.figa@samsung.com>2014-06-26 15:24:35 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-07-10 04:22:55 +0400
commit1e64f48ea7c59fb94acd7551dd9fa68b8a752efc (patch)
tree95d1a81797d2382b2a9724dfc23421e65f22036e /arch/arm/boot/dts/s3c24xx.dtsi
parent13a9f6c64fdc55eb6c5e129c1f56cb022613a96f (diff)
downloadlinux-1e64f48ea7c59fb94acd7551dd9fa68b8a752efc.tar.xz
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/s3c24xx.dtsi')
-rw-r--r--arch/arm/boot/dts/s3c24xx.dtsi9
1 files changed, 6 insertions, 3 deletions
diff --git a/arch/arm/boot/dts/s3c24xx.dtsi b/arch/arm/boot/dts/s3c24xx.dtsi
index 2d1d7dc9418a..5ed43b857cc4 100644
--- a/arch/arm/boot/dts/s3c24xx.dtsi
+++ b/arch/arm/boot/dts/s3c24xx.dtsi
@@ -16,6 +16,9 @@
aliases {
pinctrl0 = &pinctrl_0;
+ serial0 = &uart0;
+ serial1 = &uart1;
+ serial2 = &uart2;
};
intc:interrupt-controller@4a000000 {
@@ -46,21 +49,21 @@
#pwm-cells = <4>;
};
- serial@50000000 {
+ uart0: serial@50000000 {
compatible = "samsung,s3c2410-uart";
reg = <0x50000000 0x4000>;
interrupts = <1 28 0 4>, <1 28 1 4>;
status = "disabled";
};
- serial@50004000 {
+ uart1: serial@50004000 {
compatible = "samsung,s3c2410-uart";
reg = <0x50004000 0x4000>;
interrupts = <1 23 3 4>, <1 23 4 4>;
status = "disabled";
};
- serial@50008000 {
+ uart2: serial@50008000 {
compatible = "samsung,s3c2410-uart";
reg = <0x50008000 0x4000>;
interrupts = <1 15 6 4>, <1 15 7 4>;