ramips: mt7620a: convert to nvmem-layout
[openwrt/staging/blocktrron.git] / target / linux / ramips / dts / mt7620a_dlink_dir-510l.dts
index f73feb58c967695a481873521e3d13cacbca1e0a..7b9145a74153c593ccc943d6eae7770dbf86fc74 100644 (file)
                        };
 
                        config: partition@ff0000 {
-                               compatible = "nvmem-cells";
                                label = "config";
                                reg = <0xff0000 0x10000>;
-                               #address-cells = <1>;
-                               #size-cells = <1>;
                                read-only;
 
-                               eeprom_config_e05d: eeprom@e05d {
-                                       reg = <0xe05d 0x200>;
-                               };
+                               nvmem-layout {
+                                       compatible = "fixed-layout";
+                                       #address-cells = <1>;
+                                       #size-cells = <1>;
+
+                                       eeprom_config_e05d: eeprom@e05d {
+                                               reg = <0xe05d 0x200>;
+                                       };
 
-                               macaddr_config_e490: macaddr@e490 {
-                                       reg = <0xe490 0x6>;
+                                       macaddr_config_e490: macaddr@e490 {
+                                               reg = <0xe490 0x6>;
+                                       };
                                };
                        };
                };