mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 06:08:08 +00:00
lantiq: use nvmem for fritz73x0
These units use AR9287, which has a calibration size of 3d8. Also fixed compatible string to the proper one to indicate AR9287. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
parent
5bd4af50b5
commit
1f4ad1ef7f
@ -136,6 +136,10 @@
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
cal_ath9k_cal_985: calibration@985 {
|
||||
reg = <0x985 0x3d8>;
|
||||
};
|
||||
|
||||
macaddr_ath9k_cal_a91: macaddr@a91 {
|
||||
compatible = "mac-base";
|
||||
reg = <0xa91 0x6>;
|
||||
@ -180,8 +184,9 @@
|
||||
reset-gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
|
||||
|
||||
wifi@0,0 {
|
||||
compatible = "pci0,0";
|
||||
compatible = "pci168c,002d";
|
||||
reg = <0x7000 0 0 0 0>;
|
||||
qca,no-eeprom; /* load from ath9k-eeprom-pci-0000:00:0e.0.bin */
|
||||
nvmem-cells = <&cal_ath9k_cal_985>;
|
||||
nvmem-cell-names = "calibration";
|
||||
};
|
||||
};
|
||||
|
@ -163,6 +163,10 @@
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
cal_ath9k_cal_985: calibration@985 {
|
||||
reg = <0x985 0x3d8>;
|
||||
};
|
||||
|
||||
macaddr_ath9k_cal_a91: macaddr@a91 {
|
||||
compatible = "mac-base";
|
||||
reg = <0xa91 0x6>;
|
||||
@ -206,9 +210,10 @@
|
||||
reset-gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
|
||||
|
||||
wifi@0,0 {
|
||||
compatible = "pci0,0";
|
||||
compatible = "pci168c,002d";
|
||||
reg = <0x7000 0 0 0 0>;
|
||||
qca,no-eeprom; /* load from ath9k-eeprom-pci-0000:00:0e.0.bin */
|
||||
nvmem-cells = <&cal_ath9k_cal_985>;
|
||||
nvmem-cell-names = "calibration";
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -45,9 +45,6 @@ case "$FIRMWARE" in
|
||||
caldata_extract "calibration" 0xf000 0x1000
|
||||
ath9k_patch_mac_crc $(macaddr_add $(mtd_get_mac_ascii u-boot-env ethaddr) 2) 0x20c
|
||||
;;
|
||||
avm,fritz7312|avm,fritz7320)
|
||||
caldata_extract "urlader" 0x985 0x1000
|
||||
;;
|
||||
*)
|
||||
caldata_die "board $board is not supported yet"
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user