mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-03-05 01:50:36 +01:00
econet: en7528: fix swapped WiFi eeprom references for DASAN H660GM-A
The 2.4 GHz and 5 GHz WiFi eeprom cell references were assigned to the
wrong PCIe slots. Swap them so slot0 (2.4 GHz) uses the eeprom at
0x1c0000 and slot1 (5 GHz) uses the eeprom at 0x40000. Fix the eeprom
cell lengths to match the sizes expected by their respective drivers.
Fixes: be24a13ad5 ("econet: en7528: add PCIe and WiFi support")
Signed-off-by: Ahmed Naseef <naseefkm@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/22195
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
parent
fce39a8d7f
commit
3fe9307c14
3 changed files with 6 additions and 6 deletions
|
|
@ -59,11 +59,11 @@
|
|||
#size-cells = <1>;
|
||||
|
||||
eeprom_reservearea_40000: eeprom@40000 {
|
||||
reg = <0x40000 0x400>;
|
||||
reg = <0x40000 0x4da8>;
|
||||
};
|
||||
|
||||
eeprom_reservearea_1c0000: eeprom@1c0000 {
|
||||
reg = <0x1c0000 0x1000>;
|
||||
reg = <0x1c0000 0x400>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -90,11 +90,11 @@
|
|||
#size-cells = <1>;
|
||||
|
||||
eeprom_reservearea_40000: eeprom@40000 {
|
||||
reg = <0x40000 0x400>;
|
||||
reg = <0x40000 0x4da8>;
|
||||
};
|
||||
|
||||
eeprom_reservearea_1c0000: eeprom@1c0000 {
|
||||
reg = <0x1c0000 0x1000>;
|
||||
reg = <0x1c0000 0x400>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -119,7 +119,7 @@
|
|||
wifi@0,0 {
|
||||
compatible = "mediatek,mt76";
|
||||
reg = <0x0000 0 0 0 0>;
|
||||
nvmem-cells = <&macaddr_dzs 8>, <&eeprom_reservearea_40000>;
|
||||
nvmem-cells = <&macaddr_dzs 8>, <&eeprom_reservearea_1c0000>;
|
||||
nvmem-cell-names = "mac-address", "eeprom";
|
||||
ieee80211-freq-limit = <2400000 2500000>;
|
||||
};
|
||||
|
|
@ -131,7 +131,7 @@
|
|||
wifi@0,0 {
|
||||
compatible = "mediatek,mt76";
|
||||
reg = <0x0000 0 0 0 0>;
|
||||
nvmem-cells = <&macaddr_dzs 9>, <&eeprom_reservearea_1c0000>;
|
||||
nvmem-cells = <&macaddr_dzs 9>, <&eeprom_reservearea_40000>;
|
||||
nvmem-cell-names = "mac-address", "eeprom";
|
||||
ieee80211-freq-limit = <5000000 6000000>;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue