ramips: convert mt76 PCIe NIC EEPROM to NVMEM format for legacy SoCs
[openwrt/openwrt.git] / target / linux / ramips / dts / mt7620a_tplink_archer-c2-v1.dts
index 4bce556de855c887b1e32f1274049c859645e730..a75cbf43fcb4e4e94445c98298acb5949007fd29 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_rom_f100>;
-               nvmem-cell-names = "mac-address";
+               nvmem-cells = <&eeprom_radio_8000>, <&macaddr_rom_f100>;
+               nvmem-cell-names = "eeprom", "mac-address";
                mac-address-increment = <(-1)>;
        };
 };