ramips: mt7621: convert to nvmem-layout
[openwrt/staging/nbd.git] / target / linux / ramips / dts / mt7621_tplink_eap615-wall-v1.dts
index d23ab9c4db4cdcab548c255299bba2d92506aad6..f9bbd9b39286e1fdc34b93310f3f934b7b037733 100644 (file)
                        };
 
                        info: partition@90000 {
-                               compatible = "nvmem-cells";
                                label = "product-info";
                                reg = <0x90000 0x10000>;
-                               #address-cells = <1>;
-                               #size-cells = <1>;
                                read-only;
 
-                               macaddr_info_8: macaddr@8 {
-                                       reg = <0x8 0x6>;
+                               nvmem-layout {
+                                       compatible = "fixed-layout";
+                                       #address-cells = <1>;
+                                       #size-cells = <1>;
+
+                                       macaddr_info_8: macaddr@8 {
+                                               reg = <0x8 0x6>;
+                                       };
                                };
                        };
 
                        };
 
                        radio: partition@ff0000 {
-                               compatible = "nvmem-cells";
                                label = "radio";
                                reg = <0xff0000 0x10000>;
-                               #address-cells = <1>;
-                               #size-cells = <1>;
                                read-only;
-
-                               eeprom_radio_0: eeprom@0 {
-                                       reg = <0x0 0xe00>;
-                               };
                        };
                };
        };
        wifi@0,0 {
                compatible = "mediatek,mt76";
                reg = <0x0000 0 0 0 0>;
-               nvmem-cells = <&eeprom_radio_0>;
-               nvmem-cell-names = "eeprom";
+               mediatek,mtd-eeprom = <&radio 0x0>;
                mediatek,disable-radar-background;
        };
 };