From 6950b976664a688d278c07d68e3102d0e0fbfd34 Mon Sep 17 00:00:00 2001 From: Luka Perkov Date: Tue, 10 May 2016 22:37:14 +0000 Subject: ramips: introduce serial0 aliases This patch introduces serial0 aliases in the ramips DTS files, which can then be used to denote the active console instead of relying on bootargs. Signed-off-by: Stanislav Galabov git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49355 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/ramips/dts/rt3883.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'target/linux/ramips/dts/rt3883.dtsi') diff --git a/target/linux/ramips/dts/rt3883.dtsi b/target/linux/ramips/dts/rt3883.dtsi index cd96b74bc7..fa070a1ec9 100644 --- a/target/linux/ramips/dts/rt3883.dtsi +++ b/target/linux/ramips/dts/rt3883.dtsi @@ -16,6 +16,7 @@ aliases { spi0 = &spi0; spi1 = &spi1; + serial0 = &uartlite; }; cpuintc: cpuintc@0 { @@ -195,7 +196,7 @@ status = "disabled"; }; - uartlite@c00 { + uartlite: uartlite@c00 { compatible = "ralink,rt3883-uart", "ralink,rt2880-uart", "ns16550a"; reg = <0xc00 0x100>; -- cgit v1.2.3