brcm63xx: add pinctrl support
[openwrt/openwrt.git] / target / linux / brcm63xx / dts / gw6000.dts
index 69424e08a04a414d988e60183e799b7a5a3a95b5..5645ae0a8c1367d6e4317290979213fd209f693a 100644 (file)
@@ -8,6 +8,10 @@
        model = "TECOM GW6000";
        compatible = "tecom,gw6000", "brcm,bcm6348";
 
+       chosen {
+               bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+       };
+
        gpio-keys-polled {
                compatible = "gpio-keys-polled";
                #address-cells = <1>;
 
                reset {
                        label = "reset";
-                       gpios = <&gpio1 4 1>;
+                       gpios = <&pinctrl 36 1>;
                        linux,code = <KEY_RESTART>;
                };
        };
 };
+
+&pflash {
+       status = "ok";
+
+       linux,part-probe = "bcm63xxpart";
+
+       cfe@0 {
+               label = "CFE";
+               reg = <0x000000 0x010000>;
+               read-only;
+       };
+
+       linux@10000 {
+               label = "linux";
+               reg = <0x010000 0x3e0000>;
+       };
+
+       nvram@3f0000 {
+               label = "nvram";
+               reg = <0x3f0000 0x010000>;
+       };
+};
+
+&pinctrl {
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_pci &pinctrl_ext_mii>;
+};