brcm63xx: register serial through device tree
[openwrt/openwrt.git] / target / linux / brcm63xx / dts / bcm96318ref_p300.dts
index 8fae7fa78aa89335c93eac8182e36765e51761d6..db9d5eccd67b935ad2a7927a591d0ca82b832607 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 {
@@ -79,3 +80,7 @@
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_usb_pwron>;
 };
+
+&uart0 {
+       status = "ok";
+};