ramips: mt7621: convert to nvmem-layout
[openwrt/staging/stintel.git] / target / linux / ramips / dts / mt7621_sercomm_s1500.dtsi
index 11cf7752aba580dd1cec8555c886da2644a1cb3d..6344f477e8e565e0be69524a3fa995a7286b6f0d 100644 (file)
                };
 
                factory: partition@100000 {
-                       compatible = "nvmem-cells";
                        label = "Factory";
                        reg = <0x100000 0x100000>;
-                       #address-cells = <1>;
-                       #size-cells = <1>;
                        read-only;
 
-                       eeprom_factory_0: eeprom@0 {
-                               reg = <0x0 0x200>;
-                       };
+                       nvmem-layout {
+                               compatible = "fixed-layout";
+                               #address-cells = <1>;
+                               #size-cells = <1>;
 
-                       eeprom_factory_8000: eeprom@8000 {
-                               reg = <0x8000 0x200>;
-                       };
+                               eeprom_factory_0: eeprom@0 {
+                                       reg = <0x0 0x200>;
+                               };
+
+                               eeprom_factory_8000: eeprom@8000 {
+                                       reg = <0x8000 0x200>;
+                               };
 
-                       macaddr_factory_1000: macaddr@1000 {
-                               reg = <0x1000 0x6>;
+                               macaddr_factory_1000: macaddr@1000 {
+                                       reg = <0x1000 0x6>;
+                               };
                        };
                };