mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-19 11:16:32 +00:00
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>
This commit is contained in:
parent
1b846fe208
commit
24d2519755
@ -9,15 +9,15 @@
|
||||
|
||||
&pcie0 {
|
||||
wifi@0,0 {
|
||||
nvmem-cells = <&macaddr_factory_21000 5>;
|
||||
nvmem-cell-names = "mac-address";
|
||||
nvmem-cells = <&eeprom_factory_8000>, <&macaddr_factory_21000 5>;
|
||||
nvmem-cell-names = "eeprom", "mac-address";
|
||||
};
|
||||
};
|
||||
|
||||
&pcie1 {
|
||||
wifi@0,0 {
|
||||
nvmem-cells = <&macaddr_factory_21000 4>;
|
||||
nvmem-cell-names = "mac-address";
|
||||
nvmem-cells = <&eeprom_factory_0>, <&macaddr_factory_21000 4>;
|
||||
nvmem-cell-names = "eeprom", "mac-address";
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -9,15 +9,15 @@
|
||||
|
||||
&pcie0 {
|
||||
wifi@0,0 {
|
||||
nvmem-cells = <&macaddr_factory_21000 3>;
|
||||
nvmem-cell-names = "mac-address";
|
||||
nvmem-cells = <&eeprom_factory_8000>, <&macaddr_factory_21000 3>;
|
||||
nvmem-cell-names = "eeprom", "mac-address";
|
||||
};
|
||||
};
|
||||
|
||||
&pcie1 {
|
||||
wifi@0,0 {
|
||||
nvmem-cells = <&macaddr_factory_21000 2>;
|
||||
nvmem-cell-names = "mac-address";
|
||||
nvmem-cells = <&eeprom_factory_0>, <&macaddr_factory_21000 2>;
|
||||
nvmem-cell-names = "eeprom", "mac-address";
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -181,8 +181,7 @@
|
||||
wifi@0,0 {
|
||||
compatible = "mediatek,mt76";
|
||||
reg = <0x0000 0 0 0 0>;
|
||||
nvmem-cells = <&eeprom_factory_8000>;
|
||||
nvmem-cell-names = "eeprom";
|
||||
|
||||
ieee80211-freq-limit = <5000000 6000000>;
|
||||
};
|
||||
};
|
||||
@ -191,8 +190,7 @@
|
||||
wifi@0,0 {
|
||||
compatible = "mediatek,mt76";
|
||||
reg = <0x0000 0 0 0 0>;
|
||||
nvmem-cells = <&eeprom_factory_0>;
|
||||
nvmem-cell-names = "eeprom";
|
||||
|
||||
ieee80211-freq-limit = <2400000 2500000>;
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user