ramips: mt7620a: convert to nvmem-layout
[openwrt/openwrt.git] / target / linux / ramips / dts / mt7620a_hiwifi_hc5761.dts
index d1a7f69e176549b3dc9619f09e1afcb3c3f0217a..741a466769632d79fd83c7e1336ad17ac160c0b9 100644 (file)
@@ -64,7 +64,8 @@
 &pcie0 {
        mt76@0,0 {
                reg = <0x0000 0 0 0 0>;
-               mediatek,mtd-eeprom = <&factory 0x8000>;
+               nvmem-cells = <&eeprom_factory_8000>;
+               nvmem-cell-names = "eeprom";
                ieee80211-freq-limit = <5000000 6000000>;
        };
 };