mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-24 15:56:49 +00:00
24d2519755
This commit fixes wrong WiFi eeprom data:
/sys/kernel/debug/ieee80211/phy0/mt76/eeprom
/sys/kernel/debug/ieee80211/phy1/mt76/eeprom
Fixes: fb4cea45ec
("ramips: convert MT7603 EEPROM to NVMEM format")
Signed-off-by: Mikhail Zhilkin <csharper2005@gmail.com>
28 lines
571 B
Plaintext
28 lines
571 B
Plaintext
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
|
|
|
#include "mt7621_sercomm_dxx_nand_256m.dtsi"
|
|
|
|
/ {
|
|
compatible = "rostelecom,rt-sf-1", "mediatek,mt7621-soc";
|
|
model = "Rostelecom RT-SF-1";
|
|
};
|
|
|
|
&pcie0 {
|
|
wifi@0,0 {
|
|
nvmem-cells = <&eeprom_factory_8000>, <&macaddr_factory_21000 3>;
|
|
nvmem-cell-names = "eeprom", "mac-address";
|
|
};
|
|
};
|
|
|
|
&pcie1 {
|
|
wifi@0,0 {
|
|
nvmem-cells = <&eeprom_factory_0>, <&macaddr_factory_21000 2>;
|
|
nvmem-cell-names = "eeprom", "mac-address";
|
|
};
|
|
};
|
|
|
|
&gmac1 {
|
|
nvmem-cells = <&macaddr_factory_21000 11>;
|
|
nvmem-cell-names = "mac-address";
|
|
};
|