mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-29 18:19:02 +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
578 B
Plaintext
28 lines
578 B
Plaintext
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
|
|
|
#include "mt7621_sercomm_dxx_nand_256m.dtsi"
|
|
|
|
/ {
|
|
compatible = "beeline,smartbox-turbo", "mediatek,mt7621-soc";
|
|
model = "Beeline SmartBox TURBO";
|
|
};
|
|
|
|
&pcie0 {
|
|
wifi@0,0 {
|
|
nvmem-cells = <&eeprom_factory_8000>, <&macaddr_factory_21000 5>;
|
|
nvmem-cell-names = "eeprom", "mac-address";
|
|
};
|
|
};
|
|
|
|
&pcie1 {
|
|
wifi@0,0 {
|
|
nvmem-cells = <&eeprom_factory_0>, <&macaddr_factory_21000 4>;
|
|
nvmem-cell-names = "eeprom", "mac-address";
|
|
};
|
|
};
|
|
|
|
&gmac1 {
|
|
nvmem-cells = <&macaddr_factory_21000 1>;
|
|
nvmem-cell-names = "mac-address";
|
|
};
|