ramips: mt7628: use nvmem-layout
[openwrt/staging/hauke.git] / target / linux / ramips / dts / mt7628an_mercury_mac1200r-v2.dts
index fee64bc53fc0612d41074f0baf19b04f50aee16c..074011fbb9b2c404cb5ed8d85295086d8cdf0ebe 100644 (file)
                        };
 
                        factory: partition@1d800 {
-                               compatible = "nvmem-cells";
                                label = "factory_info";
                                reg = <0x1d800 0x800>;
-                               #address-cells = <1>;
-                               #size-cells = <1>;
                                read-only;
 
-                               eeprom_factory_0: eeprom@0 {
-                                       reg = <0x0 0x400>;
-                               };
+                               nvmem-layout {
+                                       compatible = "fixed-layout";
+                                       #address-cells = <1>;
+                                       #size-cells = <1>;
+
+                                       eeprom_factory_0: eeprom@0 {
+                                               reg = <0x0 0x400>;
+                                       };
 
-                               macaddr_factory_d: macaddr@d {
-                                       reg = <0xd 0x6>;
+                                       macaddr_factory_d: macaddr@d {
+                                               reg = <0xd 0x6>;
+                                       };
                                };
                        };
 
                        art: partition@1e000 {
-                               compatible = "nvmem-cells";
                                label = "art";
                                reg = <0x1e000 0x2000>;
-                               #address-cells = <1>;
-                               #size-cells = <1>;
                                read-only;
 
-                               eeprom_art_1000: eeprom@1000 {
-                                       reg = <0x1000 0x200>;
+                               nvmem-layout {
+                                       compatible = "fixed-layout";
+                                       #address-cells = <1>;
+                                       #size-cells = <1>;
+
+                                       eeprom_art_1000: eeprom@1000 {
+                                               reg = <0x1000 0x200>;
+                                       };
                                };
                        };