ramips: rtxxxx: convert to nvmem-layout
[openwrt/staging/hauke.git] / target / linux / ramips / dts / rt3050_dlink_dir-600-b1.dts
index bc3d5646a88611ed796df002a3bfa13289ae440a..73e65128e592e7a357599772fae6a8c17195b81a 100644 (file)
                        };
 
                        devdata: partition@30000 {
-                               compatible = "nvmem-cells";
                                label = "devdata";
                                reg = <0x30000 0x10000>;
-                               #address-cells = <1>;
-                               #size-cells = <1>;
                                read-only;
 
-                               eeprom_devdata_4000: eeprom@4000 {
-                                       reg = <0x4000 0x200>;
-                               };
+                               nvmem-layout {
+                                       compatible = "fixed-layout";
+                                       #address-cells = <1>;
+                                       #size-cells = <1>;
+
+                                       eeprom_devdata_4000: eeprom@4000 {
+                                               reg = <0x4000 0x200>;
+                                       };
 
-                               macaddr_devdata_4004: macaddr@4004 {
-                                       reg = <0x4004 0x6>;
+                                       macaddr_devdata_4004: macaddr@4004 {
+                                               reg = <0x4004 0x6>;
+                                       };
                                };
                        };