ramips: mt7620a: convert to nvmem-layout
[openwrt/staging/hauke.git] / target / linux / ramips / dts / mt7620a_ralink_mt7620a-mt7610e-evb.dts
index 46f3cfd3abcfd894e7227f437a79aacfbc1c76b9..02481e5e5575b860196226feb5b32dab9c1225e5 100644 (file)
                        };
 
                        factory: partition@40000 {
-                               compatible = "nvmem-cells";
                                label = "factory";
                                reg = <0x40000 0x10000>;
-                               #address-cells = <1>;
-                               #size-cells = <1>;
                                read-only;
 
-                               eeprom_factory_8000: eeprom@8000 {
-                                       reg = <0x8000 0x200>;
+                               nvmem-layout {
+                                       compatible = "fixed-layout";
+                                       #address-cells = <1>;
+                                       #size-cells = <1>;
+
+                                       eeprom_factory_8000: eeprom@8000 {
+                                               reg = <0x8000 0x200>;
+                                       };
                                };
                        };