brcm63xx: register serial through device tree
[openwrt/openwrt.git] / target / linux / brcm63xx / dts / magic.dts
index 9053c26e65683130acc7cd1d133b2ae2ee8657de..c78b836dff3c7230def93737e0cfe662686367ed 100644 (file)
@@ -10,6 +10,7 @@
 
        chosen {
                bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+               stdout-path = "serial0:115200n8";
        };
 
        gpio-leds {
@@ -79,3 +80,7 @@
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_pci &pinctrl_ext_mii &pinctrl_mii_pccard>;
 };
+
+&uart0 {
+       status = "ok";
+};