From b8f73d7f0a1ddc0c0070eef05a017037b1d4b8da Mon Sep 17 00:00:00 2001 From: Stanislav Galabov Date: Mon, 9 May 2016 07:20:02 +0300 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 --- target/linux/ramips/dts/rt3352.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'target/linux/ramips/dts/rt3352.dtsi') diff --git a/target/linux/ramips/dts/rt3352.dtsi b/target/linux/ramips/dts/rt3352.dtsi index 0932b52406..f9721d89e0 100644 --- a/target/linux/ramips/dts/rt3352.dtsi +++ b/target/linux/ramips/dts/rt3352.dtsi @@ -23,6 +23,7 @@ aliases { spi0 = &spi0; spi1 = &spi1; + serial0 = &uartlite; }; palmbus@10000000 { @@ -175,7 +176,7 @@ status = "disabled"; }; - uartlite@c00 { + uartlite: uartlite@c00 { compatible = "ralink,rt3352-uart", "ralink,rt2880-uart", "ns16550a"; reg = <0xc00 0x100>; -- cgit v1.2.3