mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-21 06:33:41 +00:00
ath79: use nvmem for wrong 3e0 cal size
These three devices use AR9287 chips, which have a calibration size of 3d8. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
parent
8a7239009c
commit
8ac410150a
@ -50,6 +50,10 @@
|
||||
macaddr_art_6: macaddr@6 {
|
||||
reg = <0x6 0x6>;
|
||||
};
|
||||
|
||||
cal_art_1000: calibration@1000 {
|
||||
reg = <0x1000 0x3d8>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
@ -65,6 +69,6 @@
|
||||
};
|
||||
|
||||
&ath9k {
|
||||
nvmem-cells = <&macaddr_art_0 1>;
|
||||
nvmem-cell-names = "mac-address";
|
||||
nvmem-cells = <&macaddr_art_0 1>, <&cal_art_1000>;
|
||||
nvmem-cell-names = "mac-address", "calibration";
|
||||
};
|
||||
|
@ -50,6 +50,10 @@
|
||||
macaddr_art_6: macaddr@6 {
|
||||
reg = <0x6 0x6>;
|
||||
};
|
||||
|
||||
cal_art_1000: calibration@1000 {
|
||||
reg = <0x1000 0x3d8>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
@ -65,6 +69,6 @@
|
||||
};
|
||||
|
||||
&ath9k {
|
||||
nvmem-cells = <&macaddr_art_0 1>;
|
||||
nvmem-cell-names = "mac-address";
|
||||
nvmem-cells = <&macaddr_art_0 1>, <&cal_art_1000>;
|
||||
nvmem-cell-names = "mac-address", "calibration";
|
||||
};
|
||||
|
@ -173,7 +173,6 @@
|
||||
ath9k: wifi@0,0 {
|
||||
compatible = "pci168c,002e";
|
||||
reg = <0x0000 0 0 0 0>;
|
||||
qca,no-eeprom;
|
||||
#gpio-cells = <2>;
|
||||
gpio-controller;
|
||||
|
||||
|
@ -128,6 +128,16 @@
|
||||
reg = <0x7f0000 0x10000>;
|
||||
label = "art";
|
||||
read-only;
|
||||
|
||||
nvmem-layout {
|
||||
compatible = "fixed-layout";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
cal_art_1000: calibration@1000 {
|
||||
reg = <0x1000 0x3d8>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
@ -141,9 +151,8 @@
|
||||
reg = <0x0000 0 0 0 0>;
|
||||
#gpio-cells = <2>;
|
||||
gpio-controller;
|
||||
qca,no-eeprom;
|
||||
nvmem-cells = <&macaddr_uboot_1fc00 0>;
|
||||
nvmem-cell-names = "mac-address";
|
||||
nvmem-cells = <&macaddr_uboot_1fc00 0>, <&cal_art_1000>;
|
||||
nvmem-cell-names = "mac-address", "calibration";
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -88,11 +88,6 @@ case "$FIRMWARE" in
|
||||
meraki,mr12)
|
||||
caldata_extract "art" 0x11000 0xeb8
|
||||
;;
|
||||
netgear,wnr2200-8m|\
|
||||
netgear,wnr2200-16m|\
|
||||
tplink,tl-wr842n-v1)
|
||||
caldata_extract "art" 0x1000 0x3e0
|
||||
;;
|
||||
ubnt,powerbridge-m|\
|
||||
ubnt,rocket-m)
|
||||
caldata_extract "art" 0x1000 0x1000
|
||||
|
Loading…
Reference in New Issue
Block a user