ramips: convert MT7613 and MT7615 EEPROM to NVMEM format for MT7621
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / mt7621_iodata_wn-dx1200gr.dts
index e723bf5a6182272e65a23e1dbbb74de2ca3470c8..19868fa078b446b6cab05a51737ecb3eb5ac6cbe 100644 (file)
                                reg = <0x0 0x400>;
                        };
 
+                       eeprom_factory_8000: eeprom@8000 {
+                               reg = <0x8000 0x4da8>;
+                       };
+
                        macaddr_factory_1e000: macaddr@1e000 {
                                reg = <0x1e000 0x6>;
                        };
        wifi@0,0 {
                compatible = "mediatek,mt76";
                reg = <0x0000 0 0 0 0>;
-
-               mediatek,mtd-eeprom = <&factory 0x8000>;
                ieee80211-freq-limit = <5000000 6000000>;
+
+               nvmem-cells = <&eeprom_factory_8000>;
+               nvmem-cell-names = "eeprom";
        };
 };