brcm63xx: register serial through device tree
[openwrt/openwrt.git] / target / linux / brcm63xx / dts / dg834g_v4.dts
index 0af695d90226d2c46fec4b6a5ebf4631142ea1be..369a67c2220ba8dd3ddb1b97d7dccb19eaeaffd6 100644 (file)
@@ -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";
+};