brcm63xx: switch to new partition layout specification
[openwrt/staging/chunkeey.git] / target / linux / brcm63xx / dts / vr-3026e.dts
index 49790e224db0c28db325592d380f59ad673a6e95..7acf52e34b2323977f2ac8cbebbcec41d7aa4d2f 100644 (file)
@@ -8,6 +8,11 @@
        model = "Comtrend VR-3026e";
        compatible = "comtrend,vr-3026e", "brcm,bcm6368";
 
+       chosen {
+               bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+               stdout-path = "serial0:115200n8";
+       };
+
        gpio-keys-polled {
                compatible = "gpio-keys-polled";
                #address-cells = <1>;
@@ -17,7 +22,7 @@
 
                reset {
                        label = "reset";
-                       gpios = <&gpio1 2 1>;
+                       gpios = <&pinctrl 34 1>;
                        linux,code = <KEY_RESTART>;
                };
        };
 
                dsl_green {
                        label = "VR-3026e:green:dsl";
-                       gpios = <&gpio0 2 1>;
+                       gpios = <&pinctrl 2 1>;
                };
                inet_green {
                        label = "VR-3026e:green:inet";
-                       gpios = <&gpio0 5 0>;
-               };
-               lan1_green {
-                       label = "VR-3026e:green:lan1";
-                       gpios = <&gpio0 6 1>;
-               };
-               lan2_green {
-                       label = "VR-3026e:green:lan2";
-                       gpios = <&gpio0 7 1>;
-               };
-               lan3_green {
-                       label = "VR-3026e:green:lan3";
-                       gpios = <&gpio0 8 1>;
-               };
-               lan4_green {
-                       label = "VR-3026e:green:lan4";
-                       gpios = <&gpio0 9 1>;
+                       gpios = <&pinctrl 5 0>;
                };
                power_green {
                        label = "VR-3026e:green:power";
-                       gpios = <&gpio0 22 0>;
+                       gpios = <&pinctrl 22 0>;
                        default-state = "on";
                };
                power_red {
                        label = "VR-3026e:red:power";
-                       gpios = <&gpio0 24 0>;
+                       gpios = <&pinctrl 24 0>;
                };
                inet_red {
                        label = "VR-3026e:red:inet";
-                       gpios = <&gpio0 31 0>;
+                       gpios = <&pinctrl 31 0>;
                };
        };
 };
 
        linux,part-probe = "bcm63xxpart";
 
-       cfe@0 {
-               label = "CFE";
-               reg = <0x000000 0x010000>;
-               read-only;
-       };
+       partitions {
+               compatible = "fixed-partitions";
+               #address-cells = <1>;
+               #size-cells = <1>;
 
-       linux@10000 {
-               label = "linux";
-               reg = <0x010000 0x7e0000>;
-       };
+               cfe@0 {
+                       label = "CFE";
+                       reg = <0x000000 0x010000>;
+                       read-only;
+               };
+
+               linux@10000 {
+                       label = "linux";
+                       reg = <0x010000 0x7e0000>;
+                       compatible = "brcm,bcm963xx-imagetag";
+               };
 
-       nvram@7f0000 {
-               label = "nvram";
-               reg = <0x7f0000 0x010000>;
+               nvram@7f0000 {
+                       label = "nvram";
+                       reg = <0x7f0000 0x010000>;
+               };
        };
 };
+
+&pinctrl {
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_pci &pinctrl_ephy0_led &pinctrl_ephy1_led
+                    &pinctrl_ephy2_led &pinctrl_ephy3_led>;
+};
+
+&uart0 {
+       status = "ok";
+};