ramips: mt7621: convert to nvmem-layout
[openwrt/openwrt.git] / target / linux / ramips / dts / mt7621_raisecom_msg1500-x-00.dts
index 6dd4b58139976e3fcba52b542d663d4c5c30c412..4a9e420370a47b92397094d5fa7d9d5d16041645 100644 (file)
@@ -81,8 +81,6 @@
                        reg = <0x80000 0x80000>;
                        read-only;
 
-                       compatible = "nvmem-cells";
-
                        nvmem-layout {
                                compatible = "fixed-layout";
                                #address-cells = <1>;
                };
 
                factory: partition@100000 {
-                       compatible = "nvmem-cells";
                        label = "Factory";
                        reg = <0x100000 0x40000>;
-                       #address-cells = <1>;
-                       #size-cells = <1>;
                        read-only;
 
-                       eeprom_factory_0: eeprom@0 {
-                               reg = <0x0 0x4da8>;
-                       };
+                       nvmem-layout {
+                               compatible = "fixed-layout";
+                               #address-cells = <1>;
+                               #size-cells = <1>;
+
+                               eeprom_factory_0: eeprom@0 {
+                                       reg = <0x0 0x4da8>;
+                               };
 
-                       macaddr_factory_4: macaddr@4 {
-                               reg = <0x4 0x6>;
+                               macaddr_factory_4: macaddr@4 {
+                                       reg = <0x4 0x6>;
+                               };
                        };
                };