ramips: rtxxxx: convert to nvmem-layout
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / rt3052_dlink_dap-1350.dts
index 9902e0b5b5799090f24df65878ed9d1ed217f89a..75cc1385cdd35fa06bdf9419792c30b85fad63bb 100644 (file)
                        };
 
                        devdata: partition@30000 {
-                               compatible = "nvmem-cells";
                                label = "devdata";
                                reg = <0x30000 0x10000>;
-                               #address-cells = <1>;
-                               #size-cells = <1>;
                                read-only;
 
-                               eeprom_devdata_0: eeprom@0 {
-                                       reg = <0x0 0x200>;
-                               };
+                               nvmem-layout {
+                                       compatible = "fixed-layout";
+                                       #address-cells = <1>;
+                                       #size-cells = <1>;
+
+                                       eeprom_devdata_0: eeprom@0 {
+                                               reg = <0x0 0x200>;
+                                       };
 
-                               macaddr_devdata_2e: macaddr@2e {
-                                       reg = <0x2e 0x6>;
+                                       macaddr_devdata_2e: macaddr@2e {
+                                               reg = <0x2e 0x6>;
+                                       };
                                };
                        };