ramips: mt7621: convert to nvmem-layout
[openwrt/staging/hauke.git] / target / linux / ramips / dts / mt7621_linksys_e5600.dts
index c1b8048f0cf22adcafe415e9dab56a64289b57b5..3f23aa69a4325d6a74d3bddc3ed9b8dd4543b327 100644 (file)
                };
 
                factory: partition@c0000 {
-                       compatible = "nvmem-cells";
                        label = "factory";
                        reg = <0xc0000 0x40000>;
-                       #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>;
+                               };
 
-                       eeprom_factory_8000: eeprom@8000 {
-                               reg = <0x8000 0x4da8>;
+                               eeprom_factory_8000: eeprom@8000 {
+                                       reg = <0x8000 0x4da8>;
+                               };
                        };
                };