ramips: mt7620a: convert to nvmem-layout
[openwrt/staging/hauke.git] / target / linux / ramips / dts / mt7620a_engenius_epg600.dts
index bf4c4347deda0e02003bd005eb31b00c6a8a7773..f64676d8fbb433265d6b9ef6073bbd4a2231632e 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>;
+                                       };
                                };
                        };
 
                        rf: partition@50000 {
-                               compatible = "nvmem-cells";
                                label = "rf";
                                reg = <0x50000 0x10000>;
-                               #address-cells = <1>;
-                               #size-cells = <1>;
                                read-only;
 
-                               eeprom_rf_0: eeprom@0 {
-                                       reg = <0x0 0x200>;
-                               };
+                               nvmem-layout {
+                                       compatible = "fixed-layout";
+                                       #address-cells = <1>;
+                                       #size-cells = <1>;
+
+                                       eeprom_rf_0: eeprom@0 {
+                                               reg = <0x0 0x200>;
+                                       };
 
-                               macaddr_rf_4: macaddr@4 {
-                                       reg = <0x4 0x6>;
+                                       macaddr_rf_4: macaddr@4 {
+                                               reg = <0x4 0x6>;
+                                       };
                                };
                        };