mpc85xx: tl-wdr4900-v1: convert to mtdsplit image
[openwrt/staging/lynxis.git] / target / linux / mpc85xx / files / arch / powerpc / boot / dts / tl-wdr4900-v1.dts
index c54cab95118b25971c814d96520f0eb23327622a..0969b272a84b845c5e5c584758801e411b31b2f9 100644 (file)
 
                spi0: spi@7000 {
                        flash@0 {
-                               #address-cells = <1>;
-                               #size-cells = <1>;
                                compatible = "jedec,spi-nor";
                                reg = <0>;
                                spi-max-frequency = <25000000>;
 
-                               u-boot@0 {
-                                       reg = <0x0 0x0050000>;
-                                       label = "u-boot";
-                                       read-only;
-                               };
-
-                               dtb@50000 {
-                                       reg = <0x00050000 0x00010000>;
-                                       label = "dtb";
-                                       read-only;
-                               };
-
-                               kernel@60000 {
-                                       reg = <0x00060000 0x002a0000>;
-                                       label = "kernel";
-                               };
-
-                               rootfs@300000 {
-                                       reg = <0x00300000 0x00ce0000>;
-                                       label = "rootfs";
-                               };
-
-                               config: config@fe0000 {
-                                       reg = <0x00fe0000 0x00010000>;
-                                       label = "config";
-                                       read-only;
-                               };
-
-                               caldata@ff0000 {
-                                       reg = <0x00ff0000 0x00010000>;
-                                       label = "caldata";
-                                       read-only;
-                               };
-
-                               firmware@60000 {
-                                       reg = <0x00060000 0x00f80000>;
-                                       label = "firmware";
+                               partitions {
+                                       compatible = "fixed-partitions";
+                                       #address-cells = <1>;
+                                       #size-cells = <1>;
+
+                                       partition@0 {
+                                               reg = <0x0 0x0050000>;
+                                               label = "u-boot";
+                                               read-only;
+                                       };
+
+                                       partition@50000 {
+                                               reg = <0x00050000 0x00010000>;
+                                               label = "dtb";
+                                               read-only;
+                                       };
+
+                                       partition@60000 {
+                                               compatible = "tplink,firmware";
+                                               reg = <0x00060000 0x00f80000>;
+                                               label = "firmware";
+                                       };
+
+                                       config: partition@fe0000 {
+                                               reg = <0x00fe0000 0x00010000>;
+                                               label = "config";
+                                               read-only;
+                                       };
+
+                                       partition@ff0000 {
+                                               reg = <0x00ff0000 0x00010000>;
+                                               label = "caldata";
+                                               read-only;
+                                       };
                                };
                        };
                };