ramips: mt7620a: convert to nvmem-layout
[openwrt/staging/hauke.git] / target / linux / ramips / dts / mt7620a_glinet_gl-mt300a.dts
index 939ced87c04bbd46f4672edce74d7d84cea7eaa4..122654d67926166215ce9659e5608347aff33117 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>;
+                                       };
                                };
                        };