brcm63xx: register serial through device tree
[openwrt/staging/mkresin.git] / target / linux / brcm63xx / dts / gw6000.dts
index 14c6330680d6fc013fee0060a6a53a72aba307f6..31555b3ad2f8a10097df576a95a7638f8c26e40e 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 {
@@ -21,7 +22,7 @@
 
                reset {
                        label = "reset";
-                       gpios = <&gpio1 4 1>;
+                       gpios = <&pinctrl 36 1>;
                        linux,code = <KEY_RESTART>;
                };
        };
                reg = <0x3f0000 0x010000>;
        };
 };
+
+&pinctrl {
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_pci &pinctrl_ext_mii>;
+};
+
+&uart0 {
+       status = "ok";
+};