brcm63xx: register serial through device tree
[openwrt/openwrt.git] / target / linux / brcm63xx / dts / p870hw-51a-v2.dts
index eea30219e0c414688977cde34a699f795a4f99eb..d7e5d3e3f6deb89f7f7ccc4959df42e09f128493 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 {
@@ -84,3 +85,7 @@
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_pci>;
 };
+
+&uart0 {
+       status = "ok";
+};