ramips: mt7620a: convert to nvmem-layout
[openwrt/staging/hauke.git] / target / linux / ramips / dts / mt7620a_dlink_dwr-118-a1.dts
index 8c9ab02f447029f86e1cae2fba5d830d93649340..19acb0bb3a5cf35f6565cccc2b64adb50102acd3 100644 (file)
                        };
 
                        config: partition@ff0000 {
-                               compatible = "nvmem-cells";
                                label = "config";
                                reg = <0xff0000 0x10000>;
-                               #address-cells = <1>;
-                               #size-cells = <1>;
                                read-only;
 
-                               eeprom_config_e083: eeprom@e083 {
-                                       reg = <0xe083 0x200>;
-                               };
+                               nvmem-layout {
+                                       compatible = "fixed-layout";
+                                       #address-cells = <1>;
+                                       #size-cells = <1>;
+
+                                       eeprom_config_e083: eeprom@e083 {
+                                               reg = <0xe083 0x200>;
+                                       };
 
-                               macaddr_config_e496: macaddr@e496 {
-                                       reg = <0xe496 0x6>;
+                                       macaddr_config_e496: macaddr@e496 {
+                                               reg = <0xe496 0x6>;
+                                       };
                                };
                        };
                };