ramips: rtxxxx: convert to nvmem-layout
[openwrt/staging/hauke.git] / target / linux / ramips / dts / rt3662_samsung_cy-swr1100.dts
index e4c31ae6b1aec7df5e587f5936cf11d532d7510f..b022b5c2be709a3b424e1a47b6b400dfc55d58ab 100644 (file)
                        };
 
                        factory: partition@34000 {
-                               compatible = "nvmem-cells";
                                label = "factory";
                                reg = <0x34000 0x4000>;
-                               #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>;
+                                       };
 
-                               eeprom_factory_2000: eeprom@2000 {
-                                       reg = <0x2000 0x200>;
+                                       eeprom_factory_2000: eeprom@2000 {
+                                               reg = <0x2000 0x200>;
+                                       };
                                };
                        };