ramips: mt7621: convert to nvmem-layout
[openwrt/staging/blocktrron.git] / target / linux / ramips / dts / mt7621_iodata_wn-ax1167gr.dts
index b08939a451d012ed8ec39ceade8b110b0ea0328b..b93102163fbfeb3bcca99150001d1c0a7077e45d 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_4: macaddr@4 {
-                                       reg = <0x4 0x6>;
+                                       macaddr_factory_4: macaddr@4 {
+                                               reg = <0x4 0x6>;
+                                       };
                                };
                        };
 
                        iNIC_rf: partition@50000 {
-                               compatible = "nvmem-cells";
                                label = "iNIC_rf";
                                reg = <0x50000 0x10000>;
-                               #address-cells = <1>;
-                               #size-cells = <1>;
                                read-only;
 
-                               eeprom_iNIC_rf_0: eeprom@0 {
-                                       reg = <0x0 0x400>;
-                               };
+                               nvmem-layout {
+                                       compatible = "fixed-layout";
+                                       #address-cells = <1>;
+                                       #size-cells = <1>;
+
+                                       eeprom_iNIC_rf_0: eeprom@0 {
+                                               reg = <0x0 0x400>;
+                                       };
 
-                               macaddr_iNIC_rf_4: macaddr@4 {
-                                       reg = <0x4 0x6>;
+                                       macaddr_iNIC_rf_4: macaddr@4 {
+                                               reg = <0x4 0x6>;
+                                       };
                                };
                        };