ramips: rtxxxx: convert to nvmem-layout
[openwrt/staging/hauke.git] / target / linux / ramips / dts / rt2880_airlink101_ar670w.dts
index 4c9014b7d8623f8dd82e041236ab3e2c61672fdb..dc61cd9da506d460f033dc1b8af16ed6b556b3f2 100644 (file)
                        };
 
                        factory: partition@30000 {
-                               compatible = "nvmem-cells";
-                               label = "factory";
                                reg = <0x30000 0x10000>;
-                               #address-cells = <1>;
-                               #size-cells = <1>;
+                               label = "factory";
                                read-only;
 
-                               eeprom_factory_2000: eeprom@2000 {
-                                       reg = <0x2000 0x200>;
-                               };
+                               nvmem-layout {
+                                       compatible = "fixed-layout";
+                                       #address-cells = <1>;
+                                       #size-cells = <1>;
+
+                                       eeprom_factory_2000: eeprom@2000 {
+                                               reg = <0x2000 0x200>;
+                                       };
 
-                               macaddr_factory_2004: macaddr@2004 {
-                                       reg = <0x2004 0x6>;
+                                       macaddr_factory_2004: macaddr@2004 {
+                                               reg = <0x2004 0x6>;
+                                       };
                                };
                        };