diff options
author | Stanislav Galabov <stanislav_galabov@smartcom.bg> | 2016-05-09 07:20:02 +0300 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2016-05-10 10:43:17 +0200 |
commit | b8f73d7f0a1ddc0c0070eef05a017037b1d4b8da (patch) | |
tree | 53761eb51242856280391f7fac52436094275cdf /target/linux/ramips/dts/mt7628an.dtsi | |
parent | b062266ad650f5dac98f1e1779f371274c9b2237 (diff) | |
download | upstream-b8f73d7f0a1ddc0c0070eef05a017037b1d4b8da.tar.gz upstream-b8f73d7f0a1ddc0c0070eef05a017037b1d4b8da.tar.bz2 upstream-b8f73d7f0a1ddc0c0070eef05a017037b1d4b8da.zip |
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 <sgalabov@gmail.com>
Diffstat (limited to 'target/linux/ramips/dts/mt7628an.dtsi')
-rw-r--r-- | target/linux/ramips/dts/mt7628an.dtsi | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/mt7628an.dtsi b/target/linux/ramips/dts/mt7628an.dtsi index e120e56cf4..c1f03fc76c 100644 --- a/target/linux/ramips/dts/mt7628an.dtsi +++ b/target/linux/ramips/dts/mt7628an.dtsi @@ -13,6 +13,10 @@ bootargs = "console=ttyS0,57600"; }; + aliases { + serial0 = &uartlite; + }; + cpuintc: cpuintc@0 { #address-cells = <0>; #interrupt-cells = <1>; @@ -154,7 +158,7 @@ status = "disabled"; }; - uartlite@c00 { + uartlite: uartlite@c00 { compatible = "ns16550a"; reg = <0xc00 0x100>; @@ -192,7 +196,7 @@ status = "disabled"; }; - uart2@e00 { + uart2: uart2@e00 { compatible = "ns16550a"; reg = <0xe00 0x100>; |