mirror of
https://github.com/openwrt/openwrt.git
synced 2026-04-19 22:59:02 +04:00
Revert "bmips: huawei-hg556a-c: use nvmem for wifi eeprom"
This reverts commit 72f43ac220.
The NVMEM codepath does not perform automatic byte conversion. It can be
fixed but the upstream version is quite different from the local
mac80211 patch. Revert until mac80211 gets updated and the whole mess
can get squared away.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/22091
Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
committed by
Robert Marko
parent
0efd79b185
commit
b270580dea
@@ -38,26 +38,16 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
&cal_data {
|
|
||||||
nvmem-layout {
|
|
||||||
compatible = "fixed-layout";
|
|
||||||
#address-cells = <1>;
|
|
||||||
#size-cells = <1>;
|
|
||||||
|
|
||||||
cal_data_1fe00: calibration@1fe00 {
|
|
||||||
reg = <0x1fe00 0x200>;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
&pci {
|
&pci {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
wifi@1,0 {
|
wifi@1,0 {
|
||||||
compatible = "pci1814,3062";
|
compatible = "pci0,0";
|
||||||
reg = <0x0800 0 0 0 0>;
|
reg = <0x0800 0 0 0 0>;
|
||||||
|
|
||||||
nvmem-cells = <&cal_data_1fe00>, <&macaddr_cfe_6a0 1>;
|
ralink,mtd-eeprom = <&cal_data 0x1fe00>;
|
||||||
nvmem-cell-names = "calibration", "mac-address";
|
|
||||||
|
nvmem-cells = <&macaddr_cfe_6a0 1>;
|
||||||
|
nvmem-cell-names = "mac-address";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user