ramips: mt7628: use nvmem-layout
[openwrt/staging/hauke.git] / target / linux / ramips / dts / mt7628an_tplink_tl-wr840n-v5.dts
index e5bb9f233bd4cba6900cc0f3d5bbea69ca7ab47d..3e639668bbaa0df62e7d7bbf0593507d1549dfe9 100644 (file)
                        };
 
                        factory: partition@3f0000 {
-                               compatible = "nvmem-cells";
                                label = "factory";
                                reg = <0x3f0000 0x10000>;
-                               #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_f100: macaddr@f100 {
-                                       reg = <0xf100 0x6>;
+                                       macaddr_factory_f100: macaddr@f100 {
+                                               reg = <0xf100 0x6>;
+                                       };
                                };
                        };
                };