ramips: mt7620a: convert to nvmem-layout
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / mt7620a_glinet_gl-mt300n.dts
index e261f1c4bb5e7d3809a0437457b2c2684a09bd82..9b21689d8d1195b3d18a4c191834c925d22e597d 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_4000: macaddr@4000 {
-                                       reg = <0x4000 0x6>;
+                                       macaddr_factory_4000: macaddr@4000 {
+                                               reg = <0x4000 0x6>;
+                                       };
                                };
                        };