ramips: rtxxxx: convert to nvmem-layout
[openwrt/staging/hauke.git] / target / linux / ramips / dts / rt3883_trendnet_tew-692gr.dts
index daf92b90f01638e3374764b13478f1b589e86914..84fb9affd2d2d8ad5baf2840d9dd26432331befa 100644 (file)
                        };
 
                        factory: partition@40000 {
-                               compatible = "nvmem-cells";
-                               label = "factory";
                                reg = <0x00040000 0x00010000>;
-                               #address-cells = <1>;
-                               #size-cells = <1>;
+                               label = "factory";
                                read-only;
 
-                               eeprom_factory_0: eeprom@0 {
-                                       reg = <0x0 0x200>;
-                               };
+                               nvmem-layout {
+                                       compatible = "fixed-layout";
+                                       #address-cells = <1>;
+                                       #size-cells = <1>;
+
+                                       eeprom_factory_0: eeprom@0 {
+                                               reg = <0x0 0x200>;
+                                       };
 
-                               macaddr_factory_4: macaddr@4 {
-                                       reg = <0x4 0x6>;
+                                       macaddr_factory_4: macaddr@4 {
+                                               reg = <0x4 0x6>;
+                                       };
                                };
                        };