ramips: rtxxxx: convert to nvmem-layout
[openwrt/staging/jow.git] / target / linux / ramips / dts / rt2880_ralink_v11st-fe.dts
index 5d518df2528e0f959b0f0c9696f2f44cdf45d89b..3f4142f50895c4ac3b7a446db219e1ac823cf414 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>;
+                                       };
                                };
                        };