ramips: mt7621: convert to nvmem-layout
[openwrt/staging/stintel.git] / target / linux / ramips / dts / mt7621_beeline_smartbox-turbo-plus.dts
index b07346bacb46ddd300dd6b082bda3c1550e0a822..2a1f2758158c84964849a4b1ebcf7204f6ae0acd 100644 (file)
                };
 
                factory: partition@200000 {
-                       compatible = "nvmem-cells";
                        label = "Factory";
                        reg = <0x200000 0x100000>;
-                       #address-cells = <1>;
-                       #size-cells = <1>;
                        sercomm,scpart-id = <2>;
                        read-only;
 
-                       eeprom_factory_0: eeprom@0 {
-                               reg = <0x0 0x400>;
-                       };
+                       nvmem-layout {
+                               compatible = "fixed-layout";
+                               #address-cells = <1>;
+                               #size-cells = <1>;
 
-                       eeprom_factory_8000: eeprom@8000 {
-                               reg = <0x8000 0x4da8>;
-                       };
+                               eeprom_factory_0: eeprom@0 {
+                                       reg = <0x0 0x400>;
+                               };
+
+                               eeprom_factory_8000: eeprom@8000 {
+                                       reg = <0x8000 0x4da8>;
+                               };
 
-                       macaddr_factory_21000: macaddr@21000 {
-                               reg = <0x21000 0x6>;
+                               macaddr_factory_21000: macaddr@21000 {
+                                       reg = <0x21000 0x6>;
+                               };
                        };
                };