ramips: mt7620a: convert to nvmem-layout
[openwrt/staging/jow.git] / target / linux / ramips / dts / mt7620a_tplink_archer.dtsi
index 6edb7012c8e255620e74b310ecc053092fc86fa3..e860d3ed13d518d8fd0b98491533d0d44e2ccfa8 100644 (file)
                        };
 
                        rom: partition@7d0000 {
-                               compatible = "nvmem-cells";
                                label = "rom";
                                reg = <0x7d0000 0x10000>;
-                               #address-cells = <1>;
-                               #size-cells = <1>;
                                read-only;
 
-                               macaddr_rom_f100: macaddr@f100 {
-                                       reg = <0xf100 0x6>;
+                               nvmem-layout {
+                                       compatible = "fixed-layout";
+                                       #address-cells = <1>;
+                                       #size-cells = <1>;
+
+                                       macaddr_rom_f100: macaddr@f100 {
+                                               reg = <0xf100 0x6>;
+                                       };
                                };
                        };
 
                        };
 
                        radio: partition@7f0000 {
-                               compatible = "nvmem-cells";
                                label = "radio";
                                reg = <0x7f0000 0x10000>;
-                               #address-cells = <1>;
-                               #size-cells = <1>;
                                read-only;
 
-                               eeprom_radio_0: eeprom@0 {
-                                       reg = <0x0 0x200>;
-                               };
+                               nvmem-layout {
+                                       compatible = "fixed-layout";
+                                       #address-cells = <1>;
+                                       #size-cells = <1>;
+
+                                       eeprom_radio_0: eeprom@0 {
+                                               reg = <0x0 0x200>;
+                                       };
 
-                               eeprom_radio_8000: eeprom@8000 {
-                                       reg = <0x8000 0x200>;
+                                       eeprom_radio_8000: eeprom@8000 {
+                                               reg = <0x8000 0x200>;
+                                       };
                                };
                        };
                };