treewide: fix compatible string for ath10k

The ath9k documentation says to use pci168c strings for the compatible
string, probably because the OWL loader uses it to overide bogus pci IDs
like abcd. This is not the case with ath10k and the documentation
explicitly states to use qcom,ath10k.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/18920
Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
Rosen Penev 2025-05-25 18:39:55 -07:00 committed by Robert Marko
parent 26a371303f
commit 369525b950
20 changed files with 29 additions and 30 deletions

View file

@ -196,7 +196,7 @@
status = "okay";
wifi@0,0 {
compatible = "pci168c,003c";
compatible = "qcom,ath10k";
reg = <0x0000 0 0 0 0>;
nvmem-cells = <&cal_art_5000>, <&macaddr_romfile_f100 2>;
nvmem-cell-names = "calibration", "mac-address";

View file

@ -197,7 +197,7 @@
status = "okay";
wifi@0,0 {
compatible = "pci168c,0050";
compatible = "qcom,ath10k";
reg = <0x0000 0 0 0 0>;
nvmem-cells = <&cal_art_5000>, <&macaddr_info_8 (-1)>;
nvmem-cell-names = "calibration", "mac-address";

View file

@ -265,7 +265,7 @@
status = "okay";
ath10k: wifi@0,0 {
compatible = "pci168c,003c";
compatible = "qcom,ath10k";
reg = <0x0000 0 0 0 0>;
gpio-controller;
#gpio-cells = <2>;

View file

@ -328,7 +328,7 @@
status = "okay";
wifi: wifi@0,0 {
compatible = "pci168c,003c";
compatible = "qcom,ath10k";
reg = <0x0000 0 0 0 0>;
nvmem-cells = <&cal_art_5000>, <&macaddr_config_12>;
nvmem-cell-names = "calibration", "mac-address";

View file

@ -51,7 +51,6 @@
};
&wifi {
compatible = "pci168c,0046";
nvmem-cells = <&precal_art_5000>, <&macaddr_config_12>;
nvmem-cell-names = "pre-calibration", "mac-address";
};

View file

@ -170,7 +170,7 @@
status = "okay";
wifi@0,0 {
compatible = "pci168c,0056";
compatible = "qcom,ath10k";
reg = <0x0000 0 0 0 0>;
nvmem-cells = <&precal_art_5000>, <&macaddr_art_0 1>;
nvmem-cell-names = "pre-calibration", "mac-address";

View file

@ -172,7 +172,7 @@
status = "okay";
wifi@0,0 {
compatible = "pci168c,0056";
compatible = "qcom,ath10k";
reg = <0x0000 0 0 0 0>;
nvmem-cells = <&precal_art_5000>;
nvmem-cell-names = "pre-calibration";

View file

@ -55,7 +55,7 @@
status = "okay";
wifi@0,0 {
compatible = "pci168c,0056";
compatible = "qcom,ath10k";
reg = <0x0000 0 0 0 0>;
nvmem-cells = <&precal_art_5000>;
nvmem-cell-names = "pre-calibration";

View file

@ -121,7 +121,7 @@
status = "okay";
wifi@0,0 {
compatible = "pci168c,0046";
compatible = "qcom,ath10k";
reg = <0 0 0 0 0>;
nvmem-cells = <&macaddr_info_8 (-1)>, <&precal_art_5000>;

View file

@ -476,7 +476,7 @@
&pcie_bridge0 {
wifi@0,0 {
compatible = "pci168c,0040";
compatible = "qcom,ath10k";
reg = <0x00010000 0 0 0 0>;
nvmem-cell-names = "pre-calibration", "mac-address";
nvmem-cells = <&precal_art_9000>, <&macaddr_config_0 3>;

View file

@ -316,7 +316,7 @@
ranges;
wifi@1,0 {
compatible = "pci168c,0040";
compatible = "qcom,ath10k";
reg = <0x00010000 0 0 0 0>;
nvmem-cells = <&macaddr_defaultmac_8 (-1)>, <&precal_radio_1000>;
@ -336,7 +336,7 @@
ranges;
wifi@1,0 {
compatible = "pci168c,0040";
compatible = "qcom,ath10k";
reg = <0x00010000 0 0 0 0>;
nvmem-cells = <&macaddr_defaultmac_8 0>, <&precal_radio_5000>;

View file

@ -212,7 +212,7 @@
ranges;
wifi@1,0 {
compatible = "pci168c,0040";
compatible = "qcom,ath10k";
reg = <0x00010000 0 0 0 0>;
nvmem-cells = <&macaddr_art_6 1>, <&precal_art_1000>;
@ -235,7 +235,7 @@
ranges;
wifi@1,0 {
compatible = "pci168c,0040";
compatible = "qcom,ath10k";
reg = <0x00010000 0 0 0 0>;
nvmem-cells = <&macaddr_art_6 2>, <&precal_art_5000>;

View file

@ -329,7 +329,7 @@
ranges;
wifi@1,0 {
compatible = "pci168c,0040";
compatible = "qcom,ath10k";
reg = <0x00010000 0 0 0 0>;
nvmem-cells = <&macaddr_appsbl_7ff80 8>;
@ -350,7 +350,7 @@
ranges;
wifi@1,0 {
compatible = "pci168c,0040";
compatible = "qcom,ath10k";
reg = <0x00010000 0 0 0 0>;
nvmem-cells = <&macaddr_appsbl_7ff80 16>;

View file

@ -215,7 +215,7 @@
ranges;
wifi@1,0 {
compatible = "pci168c,0040";
compatible = "qcom,ath10k";
reg = <0x00010000 0 0 0 0>;
nvmem-cells = <&macaddr_art_6 1>, <&precal_art_1000>;
@ -238,7 +238,7 @@
ranges;
wifi@1,0 {
compatible = "pci168c,0040";
compatible = "qcom,ath10k";
reg = <0x00010000 0 0 0 0>;
nvmem-cells = <&macaddr_art_6 2>, <&precal_art_5000>;

View file

@ -344,7 +344,7 @@
ranges;
wifi@1,0 {
compatible = "pci168c,0040";
compatible = "qcom,ath10k";
reg = <0x00010000 0 0 0 0>;
nvmem-cells = <&macaddr_defaultmac_0 (-1)>, <&precal_ART_1000>;
@ -364,7 +364,7 @@
ranges;
wifi@1,0 {
compatible = "pci168c,0040";
compatible = "qcom,ath10k";
reg = <0x00010000 0 0 0 0>;
nvmem-cells = <&macaddr_defaultmac_0 0>, <&precal_ART_5000>;

View file

@ -466,7 +466,7 @@ switch@10 {
ranges;
wifi@1,0 {
compatible = "pci168c,0040";
compatible = "qcom,ath10k";
reg = <0x00010000 0 0 0 0>;
nvmem-cells = <&macaddr_PRODUCTDATA_12>, <&precal_ART_1000>;
@ -486,7 +486,7 @@ switch@10 {
ranges;
wifi@1,0 {
compatible = "pci168c,0040";
compatible = "qcom,ath10k";
reg = <0x00010000 0 0 0 0>;
nvmem-cells = <&macaddr_PRODUCTDATA_c>, <&precal_ART_5000>;

View file

@ -527,7 +527,7 @@
ranges;
wifi@1,0 {
compatible = "pci168c,0040";
compatible = "qcom,ath10k";
reg = <0x00010000 0 0 0 0>;
nvmem-cells = <&macaddr_ART_1e>, <&precal_ART_1000>;
@ -547,7 +547,7 @@
ranges;
wifi@1,0 {
compatible = "pci168c,0040";
compatible = "qcom,ath10k";
reg = <0x00010000 0 0 0 0>;
nvmem-cells = <&macaddr_ART_18>, <&precal_ART_5000>;

View file

@ -516,7 +516,7 @@
ranges;
wifi0: wifi@1,0 {
compatible = "pci168c,0046";
compatible = "qcom,ath10k";
reg = <0x00010000 0 0 0 0>;
};
};
@ -534,7 +534,7 @@
ranges;
wifi1: wifi@1,0 {
compatible = "pci168c,0046";
compatible = "qcom,ath10k";
reg = <0x00010000 0 0 0 0>;
};
};

View file

@ -569,7 +569,7 @@
ranges;
wifi0: wifi@1,0 {
compatible = "pci168c,0046";
compatible = "qcom,ath10k";
reg = <0x00010000 0 0 0 0>;
nvmem-cells = <&precal_ART_1000>;
@ -592,7 +592,7 @@
ranges;
wifi1: wifi@1,0 {
compatible = "pci168c,0046";
compatible = "qcom,ath10k";
reg = <0x00010000 0 0 0 0>;
nvmem-cells = <&precal_ART_5000>;

View file

@ -457,7 +457,7 @@
ranges;
wifi0: wifi@1,0 {
compatible = "pci168c,0046";
compatible = "qcom,ath10k";
reg = <0x00010000 0 0 0 0>;
nvmem-cells = <&precal_ART_1000>, <&macaddr_fw_env_12>;
@ -480,7 +480,7 @@
ranges;
wifi1: wifi@1,0 {
compatible = "pci168c,0040";
compatible = "qcom,ath10k";
reg = <0x00010000 0 0 0 0>;
nvmem-cells = <&precal_ART_5000>, <&macaddr_fw_env_c>;