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 | 2c02a9b9e4fb700e1cfc5ffd91cd8fe59544c327 (patch) | |
tree | ae667e03234ee42ca5a0a246b006ec50ce28b899 /target/linux/ramips/dts/mt7621_telco-electronics_x1.dts | |
parent | fb4cea45ec55b7625e870c0375d4d7971d2fbb53 (diff) | |
download | openwrt-2c02a9b9e4fb700e1cfc5ffd91cd8fe59544c327.tar.gz openwrt-2c02a9b9e4fb700e1cfc5ffd91cd8fe59544c327.tar.bz2 openwrt-2c02a9b9e4fb700e1cfc5ffd91cd8fe59544c327.zip |
ramips: convert MT7610 and MT7612 EEPROM to NVMEM format for MT7621
This patch converts MT7610 and MT7612 WiFi calibration data to NVMEM
format. The EEPROM size is 0x200.
Signed-off-by: Shiji Yang <yangshiji66@qq.com>
Diffstat (limited to 'target/linux/ramips/dts/mt7621_telco-electronics_x1.dts')
-rw-r--r-- | target/linux/ramips/dts/mt7621_telco-electronics_x1.dts | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/target/linux/ramips/dts/mt7621_telco-electronics_x1.dts b/target/linux/ramips/dts/mt7621_telco-electronics_x1.dts index 2241a97788..8eb406541b 100644 --- a/target/linux/ramips/dts/mt7621_telco-electronics_x1.dts +++ b/target/linux/ramips/dts/mt7621_telco-electronics_x1.dts @@ -117,6 +117,10 @@ reg = <0x0 0x400>; }; + eeprom_factory_8000: eeprom@8000 { + reg = <0x8000 0x200>; + }; + macaddr_factory_e006: macaddr@e006 { reg = <0xe006 0x6>; }; @@ -197,7 +201,8 @@ wifi@0,0 { compatible = "pci14c3,7662"; 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 { |