ramips: convert mt76 PCIe NIC EEPROM to NVMEM format for legacy SoCs
[openwrt/staging/hauke.git] / target / linux / ramips / dts / mt7628an_tplink_re305-v1.dts
index 6b52583273420bb7fd94d6f99a44579d2b4f03be..88d96bfa02027a39f92a0852f3734c48b3ead7b2 100644 (file)
                                eeprom_radio_0: eeprom@0 {
                                        reg = <0x0 0x400>;
                                };
+
+                               eeprom_radio_8000: eeprom@8000 {
+                                       reg = <0x8000 0x200>;
+                               };
                        };
                };
        };
 };
 
 &wlan5g {
-       mediatek,mtd-eeprom = <&radio 0x8000>;
-
-       nvmem-cells = <&macaddr_config_10008>;
-       nvmem-cell-names = "mac-address";
+       nvmem-cells = <&eeprom_radio_8000>, <&macaddr_config_10008>;
+       nvmem-cell-names = "eeprom", "mac-address";
        mac-address-increment = <2>;
 };