ramips: rtxxxx: convert to nvmem-layout
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / rt3052_jcg_jhr-n825r.dts
index fff1f2b0b584c1cf101a77bba827c92c15e3fbf6..6fb85b237400ebc7ccae998ceadeaefa2c985ee3 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>;
+                                       };
 
-                               macaddr_factory_2e: macaddr@2e {
-                                       reg = <0x2e 0x6>;
+                                       macaddr_factory_2e: macaddr@2e {
+                                               reg = <0x2e 0x6>;
+                                       };
                                };
                        };