0
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-11-25 06:26:15 +00:00
openwrt/target/linux/ramips/dts/mt7621_rostelecom_rt-sf-1.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: fb4cea45ec55 ("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
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";
};