openwrt/target/linux/ramips/dts/mt7621_beeline_smartbox-turbo.dts
Mikhail Zhilkin 24d2519755 ramips: fix wrong eeprom data for sercomm dxx devices
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>
2024-06-14 14:41:30 +02:00

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";
};