ramips: rtxxxx: convert to nvmem-layout
[openwrt/staging/jow.git] / target / linux / ramips / dts / rt3052_ralink_v22rw-2x2.dts
index 6f08cecacb037ff125c858c35c596141c0588a7c..1b5ba03feb8dcaa85e7c93ec8e22daafda172eb6 100644 (file)
                        };
 
                        factory: partition@40000 {
-                               compatible = "nvmem-cells";
                                label = "factory";
                                reg = <0x40000 0x10000>;
-                               #address-cells = <1>;
-                               #size-cells = <1>;
                                read-only;
 
-                               eeprom_factory_0: eeprom@0 {
-                                       reg = <0x0 0x200>;
+                               nvmem-layout {
+                                       compatible = "fixed-layout";
+                                       #address-cells = <1>;
+                                       #size-cells = <1>;
+
+                                       eeprom_factory_0: eeprom@0 {
+                                               reg = <0x0 0x200>;
+                                       };
                                };
                        };