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_iodata_wn-ax1167gr.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_iodata_wn-ax1167gr.dts')
-rw-r--r-- | target/linux/ramips/dts/mt7621_iodata_wn-ax1167gr.dts | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/target/linux/ramips/dts/mt7621_iodata_wn-ax1167gr.dts b/target/linux/ramips/dts/mt7621_iodata_wn-ax1167gr.dts index b6bafe8c89..b08939a451 100644 --- a/target/linux/ramips/dts/mt7621_iodata_wn-ax1167gr.dts +++ b/target/linux/ramips/dts/mt7621_iodata_wn-ax1167gr.dts @@ -96,6 +96,10 @@ #size-cells = <1>; read-only; + eeprom_factory_0: eeprom@0 { + reg = <0x0 0x200>; + }; + macaddr_factory_4: macaddr@4 { reg = <0x4 0x6>; }; @@ -212,7 +216,8 @@ &pcie1 { mt76@0,0 { reg = <0x0000 0 0 0 0>; - mediatek,mtd-eeprom = <&factory 0x0>; + nvmem-cells = <&eeprom_factory_0>; + nvmem-cell-names = "eeprom"; ieee80211-freq-limit = <5000000 6000000>; }; }; |