ramips: mt7621: convert to nvmem-layout
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / mt7621_arcadyan_we420223-99.dts
index 1d55453c8d53071d8ed2cccd7938c71ce61f27da..fbf276c320e15bf8024dc1b2fc35c1ba71c5bdf2 100644 (file)
                        };
 
                        factory: partition@40000 {
-                               compatible = "nvmem-cells";
                                label = "Factory";
                                reg = <0x40000 0x10000>;
-                               #address-cells = <1>;
-                               #size-cells = <1>;
                                read-only;
 
-                               eeprom_factory_0: eeprom@0 {
-                                       reg = <0x0 0x4da8>;
+                               nvmem-layout {
+                                       compatible = "fixed-layout";
+                                       #address-cells = <1>;
+                                       #size-cells = <1>;
+
+                                       eeprom_factory_0: eeprom@0 {
+                                               reg = <0x0 0x4da8>;
+                                       };
                                };
                        };