diff options
author | Shiji Yang <yangshiji66@qq.com> | 2023-10-02 10:12:02 +0800 |
---|---|---|
committer | Christian Marangi <ansuelsmth@gmail.com> | 2023-10-09 11:15:52 +0200 |
commit | 65cd6a6fec891b0502350c6782f12ee914dfa6a8 (patch) | |
tree | 83330efce0851cd585d4f89e7eaf607ed8add3ca /target/linux/ramips/dts/mt7621_dlink_dir-8xx.dtsi | |
parent | 2c02a9b9e4fb700e1cfc5ffd91cd8fe59544c327 (diff) | |
download | openwrt-65cd6a6fec891b0502350c6782f12ee914dfa6a8.tar.gz openwrt-65cd6a6fec891b0502350c6782f12ee914dfa6a8.tar.bz2 openwrt-65cd6a6fec891b0502350c6782f12ee914dfa6a8.zip |
ramips: convert MT7613 and MT7615 EEPROM to NVMEM format for MT7621
This patch converts MT7613 and MT7615 WiFi calibration data to NVMEM
format. The EEPROM size is 0x4da8.
Signed-off-by: Shiji Yang <yangshiji66@qq.com>
Diffstat (limited to 'target/linux/ramips/dts/mt7621_dlink_dir-8xx.dtsi')
-rw-r--r-- | target/linux/ramips/dts/mt7621_dlink_dir-8xx.dtsi | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/mt7621_dlink_dir-8xx.dtsi b/target/linux/ramips/dts/mt7621_dlink_dir-8xx.dtsi index b570d074c6..bd8fd6f8a1 100644 --- a/target/linux/ramips/dts/mt7621_dlink_dir-8xx.dtsi +++ b/target/linux/ramips/dts/mt7621_dlink_dir-8xx.dtsi @@ -68,7 +68,8 @@ wifi@0,0 { compatible = "mediatek,mt76"; reg = <0x0000 0 0 0 0>; - mediatek,mtd-eeprom = <&factory 0x0000>; + nvmem-cells = <&eeprom_factory_0>; + nvmem-cell-names = "eeprom"; ieee80211-freq-limit = <2400000 2500000>; led { @@ -81,7 +82,8 @@ wifi@0,0 { compatible = "mediatek,mt76"; 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>; led { |