add ofpart info to the devicetrees
[openwrt/staging/lynxis/omap.git] / target / linux / ramips / dts / DIR-600-B2.dts
index 99c305070ea35e038b13ee9014ad54daa409b50b..2a970b0eac2fe75107c5e4657c328f9a5a076ab2 100644 (file)
@@ -3,8 +3,6 @@
 /include/ "rt3050.dtsi"
 
 / {
-       #address-cells = <1>;
-       #size-cells = <1>;
        compatible = "DIR-600-B2", "ralink,rt3050-soc";
        model = "D-Link DIR-600 B2";
 
@@ -18,7 +16,7 @@
 
        palmbus@10000000 {
                sysc@0 {
-                       ralink,pinmmux = "i2c", "spi", "uartlite", "jtag", "mdio", "sdram", "rgmii";
+                       ralink,pinmux = "i2c", "spi", "uartlite", "jtag", "mdio", "sdram", "rgmii";
                        ralink,uartmux = "gpio";
                        ralink,wdtmux = <1>;
                };
                device-width = <2>;
                #address-cells = <1>;
                #size-cells = <1>;
+
+               partition@0 {
+                       label = "u-boot";
+                       reg = <0x0 0x30000>;
+                       read-only;
+               };
+
+               partition@30000 {
+                       label = "devdata";
+                       reg = <0x30000 0x10000>;
+                       read-only;
+               };
+
+               partition@40000 {
+                       label = "devconf";
+                       reg = <0x40000 0x10000>;
+                       read-only;
+               };
+
+               partition@50000 {
+                       label = "firmware";
+                       reg = <0x50000 0x3b0000>;
+               };
        };
 
        ethernet@10100000 {