lantiq: dts: move partitions into partition node
[openwrt/staging/lynxis.git] / target / linux / lantiq / files / arch / mips / boot / dts / WBMR300.dts
index 77e105d6a736aae857f4ae7bc2bd626c02449384..65f2e82c65c34712979542fd36e29c6018546c4a 100644 (file)
        pinctrl-0 = <&pins_spi_default>;
 
        m25p80@4 {
-               #address-cells = <1>;
-               #size-cells = <1>;
                compatible = "jedec,spi-nor";
                reg = <4>;
                spi-max-frequency = <20000000>;
 
-               partition@0 {
-                       reg = <0x0 0x10000>;
-                       label = "u-boot";
-                       read-only;
-               };
-
-               partition@10000 {
-                       reg = <0x10000 0x10000>;
-                       label = "gphyfirmware";
-                       read-only;
-               };
-
-               partition@20000 {
-                       reg = <0x20000 0x80000>;
-                       label = "dsl_fw";
-               };
-
-               partition@de0000 {
-                       reg = <0xa0000 0xf40000>;
-                       label = "firmware";
-               };
-
-               partition@fe0000 {
-                       reg = <0xfe0000 0x10000>;
-                       label = "sysconfig";
-                       read-only;
-               };
-
-               partition@ff0000 {
-                       reg = <0xff0000 0x2000>;
-                       label = "ubootconfig";
-               };
-
-               partition@ff3000 {
-                       reg = <0xff3000 0x2000>;
-                       label = "board_config";
-                       read-only;
+               partitions {
+                       #address-cells = <1>;
+                       #size-cells = <1>;
+
+                       partition@0 {
+                               reg = <0x0 0x10000>;
+                               label = "u-boot";
+                               read-only;
+                       };
+
+                       partition@10000 {
+                               reg = <0x10000 0x10000>;
+                               label = "gphyfirmware";
+                               read-only;
+                       };
+
+                       partition@20000 {
+                               reg = <0x20000 0x80000>;
+                               label = "dsl_fw";
+                       };
+
+                       partition@de0000 {
+                               reg = <0xa0000 0xf40000>;
+                               label = "firmware";
+                       };
+
+                       partition@fe0000 {
+                               reg = <0xfe0000 0x10000>;
+                               label = "sysconfig";
+                               read-only;
+                       };
+
+                       partition@ff0000 {
+                               reg = <0xff0000 0x2000>;
+                               label = "ubootconfig";
+                       };
+
+                       partition@ff3000 {
+                               reg = <0xff3000 0x2000>;
+                               label = "board_config";
+                               read-only;
+                       };
                };
        };
 };