summaryrefslogtreecommitdiff
path: root/target/linux/ramips/dts/mt7620n.dtsi
diff options
context:
space:
mode:
authorStanislav Galabov <stanislav_galabov@smartcom.bg>2016-05-09 07:20:02 +0300
committerJo-Philipp Wich <jo@mein.io>2016-05-10 10:43:17 +0200
commitb8f73d7f0a1ddc0c0070eef05a017037b1d4b8da (patch)
tree53761eb51242856280391f7fac52436094275cdf /target/linux/ramips/dts/mt7620n.dtsi
parentb062266ad650f5dac98f1e1779f371274c9b2237 (diff)
downloadmtk-20170518-b8f73d7f0a1ddc0c0070eef05a017037b1d4b8da.zip
mtk-20170518-b8f73d7f0a1ddc0c0070eef05a017037b1d4b8da.tar.gz
mtk-20170518-b8f73d7f0a1ddc0c0070eef05a017037b1d4b8da.tar.bz2
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/mt7620n.dtsi')
-rw-r--r--target/linux/ramips/dts/mt7620n.dtsi3
1 files changed, 2 insertions, 1 deletions
diff --git a/target/linux/ramips/dts/mt7620n.dtsi b/target/linux/ramips/dts/mt7620n.dtsi
index e8ce3b2..7e66abe 100644
--- a/target/linux/ramips/dts/mt7620n.dtsi
+++ b/target/linux/ramips/dts/mt7620n.dtsi
@@ -23,6 +23,7 @@
aliases {
spi0 = &spi0;
spi1 = &spi1;
+ serial0 = &uartlite;
};
palmbus@10000000 {
@@ -191,7 +192,7 @@
pinctrl-0 = <&spi_cs1>;
};
- uartlite@c00 {
+ uartlite: uartlite@c00 {
compatible = "ralink,mt7620a-uart", "ralink,rt2880-uart", "ns16550a";
reg = <0xc00 0x100>;