aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/dts/dg834g_v4.dts
diff options
context:
space:
mode:
authorJonas Gorski <jonas.gorski@gmail.com>2017-07-31 21:03:37 +0200
committerJonas Gorski <jonas.gorski@gmail.com>2017-12-16 12:57:05 +0100
commitaba4e29eadfb82ef7f52f85cdb4cd10a4abad622 (patch)
tree623fbf65cee966aed29b170859a92efa099552e2 /target/linux/brcm63xx/dts/dg834g_v4.dts
parenta3384088a212cb1458746624f016f93ff98135f3 (diff)
downloadupstream-aba4e29eadfb82ef7f52f85cdb4cd10a4abad622.tar.gz
upstream-aba4e29eadfb82ef7f52f85cdb4cd10a4abad622.tar.bz2
upstream-aba4e29eadfb82ef7f52f85cdb4cd10a4abad622.zip
brcm63xx: register serial through device tree
Register serial consoles through device tree instead of through board data. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
Diffstat (limited to 'target/linux/brcm63xx/dts/dg834g_v4.dts')
-rw-r--r--target/linux/brcm63xx/dts/dg834g_v4.dts5
1 files changed, 5 insertions, 0 deletions
diff --git a/target/linux/brcm63xx/dts/dg834g_v4.dts b/target/linux/brcm63xx/dts/dg834g_v4.dts
index 0af695d902..369a67c222 100644
--- a/target/linux/brcm63xx/dts/dg834g_v4.dts
+++ b/target/linux/brcm63xx/dts/dg834g_v4.dts
@@ -10,6 +10,7 @@
chosen {
bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+ stdout-path = "serial0:115200n8";
};
gpio-keys-polled {
@@ -75,3 +76,7 @@
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_pci &pinctrl_ext_mii>;
};
+
+&uart0 {
+ status = "ok";
+};