ramips: mt7621: convert to nvmem-layout
[openwrt/staging/blocktrron.git] / target / linux / ramips / dts / mt7621_netgear_wax202.dts
index eb7d1bb7e5fede46f48e4c2d3b2af0b2f39eadc9..c0c3500af25ad98a9ec76113952f44a02879f993 100644 (file)
                };
 
                factory: partition@100000 {
-                       compatible = "nvmem-cells";
                        label = "Factory";
                        reg = <0x100000 0x80000>;
-                       #address-cells = <1>;
-                       #size-cells = <1>;
                        read-only;
 
-                       eeprom_factory_0: eeprom@0 {
-                               reg = <0x0 0xe00>;
+                       nvmem-layout {
+                               compatible = "fixed-layout";
+                               #address-cells = <1>;
+                               #size-cells = <1>;
+
+                               eeprom_factory_0: eeprom@0 {
+                                       reg = <0x0 0xe00>;
+                               };
                        };
                };