lantiq: dts: move partitions into partition node
[openwrt/staging/dedeckeh.git] / target / linux / lantiq / files / arch / mips / boot / dts / FRITZ3370-REV2.dtsi
index aba0d2c81e747733d4f8b2d81d11525b3556600d..7197537490fb3fb45278920bad05ddb100567a78 100644 (file)
        pinctrl-0 = <&pins_spi_default>;
 
        m25p80@4 {
-               #address-cells = <1>;
-               #size-cells = <1>;
                compatible = "jedec,spi-nor";
                reg = <4>;
                spi-max-frequency = <1000000>;
 
-               urlader: partition@0 {
-                       reg = <0x0 0x20000>;
-                       label = "urlader";
-                       read-only;
-               };
-
-               partition@20000 {
-                       reg = <0x20000 0x10000>;
-                       label = "tffs (1)";
-                       read-only;
-               };
-
-               partition@30000 {
-                       reg = <0x30000 0x10000>;
-                       label = "tffs (2)";
-                       read-only;
+               partitions {
+                       compatible = "fixed-partitions";
+                       #address-cells = <1>;
+                       #size-cells = <1>;
+
+                       urlader: partition@0 {
+                               reg = <0x0 0x20000>;
+                               label = "urlader";
+                               read-only;
+                       };
+
+                       partition@20000 {
+                               reg = <0x20000 0x10000>;
+                               label = "tffs (1)";
+                               read-only;
+                       };
+
+                       partition@30000 {
+                               reg = <0x30000 0x10000>;
+                               label = "tffs (2)";
+                               read-only;
+                       };
                };
        };
 };