summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/s3c2416.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/s3c2416.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/s3c2416.dtsi')
-rw-r--r--arch/arm/boot/dts/s3c2416.dtsi6
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/s3c2416.dtsi b/arch/arm/boot/dts/s3c2416.dtsi
index 955e4a4f8c31..30b8f7e47454 100644
--- a/arch/arm/boot/dts/s3c2416.dtsi
+++ b/arch/arm/boot/dts/s3c2416.dtsi
@@ -16,6 +16,10 @@
model = "Samsung S3C2416 SoC";
compatible = "samsung,s3c2416";
+ aliases {
+ serial3 = &uart3;
+ };
+
cpus {
#address-cells = <1>;
#size-cells = <0>;
@@ -68,7 +72,7 @@
<&clocks SCLK_UART>;
};
- serial@5000C000 {
+ uart3: serial@5000C000 {
compatible = "samsung,s3c2440-uart";
reg = <0x5000C000 0x4000>;
interrupts = <1 18 24 4>, <1 18 25 4>;