ramips: add support for Sercomm CPJ routers
[openwrt/openwrt.git] / target / linux / ramips / dts / mt7628an_tplink_archer-c50-v3.dts
index 4966d56a68fe58f74dbb07e8814dacb3daa51dba..f628908b9806fbdf0adb122c1eed674ee8586cc5 100644 (file)
@@ -94,9 +94,9 @@
 &pcie0 {
        mt76@0,0 {
                reg = <0x0000 0 0 0 0>;
-               mediatek,mtd-eeprom = <&factory 0x28000>;
                ieee80211-freq-limit = <5000000 6000000>;
-               mtd-mac-address = <&factory 0xf100>;
-               mtd-mac-address-increment = <(-1)>;
+               nvmem-cells = <&eeprom_factory_28000>, <&macaddr_factory_f100>;
+               nvmem-cell-names = "eeprom", "mac-address";
+               mac-address-increment = <(-1)>;
        };
 };