ramips: convert mt76 PCIe NIC EEPROM to NVMEM format for legacy SoCs
[openwrt/staging/xback.git] / target / linux / ramips / dts / mt7620a_tplink_re2x0-v1.dtsi
index 9e4e646020969eb060f9401f09f51cd162136bca..e0cb10aac69b6af87f2f346c096b2f621fab04b4 100644 (file)
                                eeprom_radio_0: eeprom@0 {
                                        reg = <0x0 0x200>;
                                };
+
+                               eeprom_radio_8000: eeprom@8000 {
+                                       reg = <0x8000 0x200>;
+                               };
                        };
                };
        };
 &pcie0 {
        mt76@0,0 {
                reg = <0x0000 0 0 0 0>;
-               mediatek,mtd-eeprom = <&radio 0x8000>;
-               nvmem-cells = <&macaddr_uboot_1fc00>;
-               nvmem-cell-names = "mac-address";
-               mac-address-increment = <2>;
                ieee80211-freq-limit = <5000000 6000000>;
+               nvmem-cells = <&eeprom_radio_8000>, <&macaddr_uboot_1fc00>;
+               nvmem-cell-names = "eeprom", "mac-address";
+               mac-address-increment = <2>;
        };
 };