#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>;
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";
};
};
#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>;
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";
};
};
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"
;;