ramips: rtxxxx: convert to nvmem-layout
[openwrt/staging/hauke.git] / target / linux / ramips / dts / rt5350_dlink_dwr-512-b.dts
index acf03bb732b2f5d0100474f095a68b739d7a606d..3475f4ccf70be9dd7b96b9113fa35bd05cbceb10 100644 (file)
                        };
 
                        config: partition@7f0000 {
-                               compatible = "nvmem-cells";
                                label = "config";
                                reg = <0x7f0000 0x10000>;
-                               #address-cells = <1>;
-                               #size-cells = <1>;
 
-                               macaddr_config_e07e: macaddr@e07e {
-                                       reg = <0xe07e 0x6>;
-                               };
+                               nvmem-layout {
+                                       compatible = "fixed-layout";
+                                       #address-cells = <1>;
+                                       #size-cells = <1>;
+
+                                       macaddr_config_e07e: macaddr@e07e {
+                                               reg = <0xe07e 0x6>;
+                                       };
 
-                               eeprom_config_e08a: eeprom@e08a {
-                                       reg = <0xe08a 0x200>;
+                                       eeprom_config_e08a: eeprom@e08a {
+                                               reg = <0xe08a 0x200>;
+                                       };
                                };
                        };
                };