ramips: rtxxxx: convert to nvmem-layout
[openwrt/staging/jow.git] / target / linux / ramips / dts / rt3883_sitecom_wlr-6000.dts
index cb54cf0f8f288ebc29718d82c0106a506805ac2c..4b4297a56899f2e5049ebb3ac8116f537c74d4e8 100644 (file)
                        };
 
                        factory: partition@40000 {
-                               compatible = "nvmem-cells";
                                label = "factory";
                                reg = <0x40000 0x10000>;
-                               #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_8004: macaddr@8004 {
-                                       reg = <0x8004 0x6>;
+                                       macaddr_factory_8004: macaddr@8004 {
+                                               reg = <0x8004 0x6>;
+                                       };
                                };
                        };