ramips: mt7621: convert to nvmem-layout
[openwrt/openwrt.git] / target / linux / ramips / dts / mt7621_glinet_gl-mt1300.dts
index 1565666a5d82e53be4a041abc227f235442f908c..94a9b1c092b6a6673687567f40f9a47b5d65e37d 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 0x4da8>;
-                               };
+                               nvmem-layout {
+                                       compatible = "fixed-layout";
+                                       #address-cells = <1>;
+                                       #size-cells = <1>;
+
+                                       eeprom_factory_0: eeprom@0 {
+                                               reg = <0x0 0x4da8>;
+                                       };
 
-                               macaddr_factory_4000: macaddr@4000 {
-                                       reg = <0x4000 0x6>;
+                                       macaddr_factory_4000: macaddr@4000 {
+                                               reg = <0x4000 0x6>;
+                                       };
                                };
                        };