ath79: fix pci_device_reg errors

Found by dtc. Wrong numbers and wrong ordering.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev 2023-12-01 13:11:39 -08:00 committed by Christian Marangi
parent 6dbc300baf
commit 991c8cabed
No known key found for this signature in database
GPG Key ID: AC001D09ADBFEAD7
27 changed files with 38 additions and 39 deletions

View File

@ -94,7 +94,7 @@
&pcie0 {
status = "okay";
ath9k0: wifi@0,11 { /* 2.4 GHz */
ath9k0: wifi@11,0 { /* 2.4 GHz */
compatible = "pci168c,0029";
nvmem-cells = <&macaddr_hwinfo_1c 1>;
nvmem-cell-names = "mac-address";
@ -103,7 +103,7 @@
gpio-controller;
};
ath9k1: wifi@0,12 { /* 5 GHz */
ath9k1: wifi@12,0 { /* 5 GHz */
compatible = "pci168c,0029";
nvmem-cells = <&macaddr_hwinfo_1c 2>;
nvmem-cell-names = "mac-address";

View File

@ -120,7 +120,7 @@
&pcie0 {
status = "okay";
ath9k0: wifi@0,11 {
ath9k0: wifi@11,0 {
compatible = "pci168c,0029";
nvmem-cells = <&macaddr_hwinfo_1c 1>;
nvmem-cell-names = "mac-address";
@ -129,7 +129,7 @@
gpio-controller;
};
ath9k1: wifi@0,12 {
ath9k1: wifi@12,0 {
compatible = "pci168c,0029";
nvmem-cells = <&macaddr_hwinfo_1c 2>;
nvmem-cell-names = "mac-address";

View File

@ -196,7 +196,7 @@
&pcie0 {
status = "okay";
ath9k0: wifi@0,11 {
ath9k0: wifi@11,0 {
compatible = "pci168c,0029";
reg = <0x8800 0 0 0 0>;
qca,no-eeprom;
@ -204,7 +204,7 @@
gpio-controller;
};
ath9k1: wifi@0,12 {
ath9k1: wifi@12,0 {
compatible = "pci168c,0029";
reg = <0x9000 0 0 0 0>;
qca,no-eeprom;

View File

@ -136,7 +136,7 @@
&pcie0 {
status = "okay";
ath9k0: wifi@0,11 {
ath9k0: wifi@11,0 {
compatible = "pci168c,0029";
reg = <0x8800 0 0 0 0>;
nvmem-cells = <&macaddr_lan 0>, <&cal_art_1000>;
@ -145,7 +145,7 @@
gpio-controller;
};
ath9k1: wifi@0,12 {
ath9k1: wifi@12,0 {
compatible = "pci168c,0029";
reg = <0x9000 0 0 0 0>;
nvmem-cells = <&macaddr_wan 1>, <&cal_art_5000>;

View File

@ -95,7 +95,7 @@
&pcie0 {
status = "okay";
ath9k0: wifi@0,11 { /* 2.4 GHz */
ath9k0: wifi@11,0 { /* 2.4 GHz */
compatible = "pci168c,0029";
reg = <0x8800 0 0 0 0>;
ieee80211-freq-limit = <2402000 2482000>;
@ -105,7 +105,7 @@
gpio-controller;
};
ath9k1: wifi@0,12 { /* 5 GHz */
ath9k1: wifi@12,0 { /* 5 GHz */
compatible = "pci168c,0029";
reg = <0x9000 0 0 0 0>;
ieee80211-freq-limit = <2402000 2482000 4900000 5990000>;

View File

@ -70,7 +70,7 @@
&pcie0 {
status = "okay";
ath9k0: wifi@0,11 { /* 2.4 GHz */
ath9k0: wifi@11,0 { /* 2.4 GHz */
compatible = "pci168c,0029";
reg = <0x8800 0 0 0 0>;
qca,no-eeprom;
@ -80,7 +80,7 @@
gpio-controller;
};
ath9k1: wifi@0,12 { /* 5 GHz */
ath9k1: wifi@12,0 { /* 5 GHz */
compatible = "pci168c,0029";
reg = <0x9000 0 0 0 0>;
qca,no-eeprom;

View File

@ -147,7 +147,7 @@
&pcie0 {
status = "okay";
ath9k0: wifi@0,11 {
ath9k0: wifi@11,0 {
compatible = "pci168c,0029";
reg = <0x8800 0 0 0 0>;
nvmem-cells = <&macaddr_art_120c>, <&calibration_art_1000>;
@ -156,7 +156,7 @@
gpio-controller;
};
ath9k1: wifi@0,12 {
ath9k1: wifi@12,0 {
compatible = "pci168c,0029";
reg = <0x9000 0 0 0 0>;
nvmem-cells = <&macaddr_art_520c 1>, <&calibration_art_5000>;

View File

@ -126,7 +126,7 @@
&pcie0 {
status = "okay";
ath9k0: wifi@0,11 {
ath9k0: wifi@11,0 {
compatible = "pci168c,0029";
reg = <0x8800 0 0 0 0>;
@ -153,7 +153,7 @@
};
};
ath9k1: wifi@0,12 {
ath9k1: wifi@12,0 {
compatible = "pci168c,0029";
reg = <0x9000 0 0 0 0>;

View File

@ -131,7 +131,7 @@
&pcie0 {
status = "okay";
ath9k0: wifi@0,11 { /* 2.4 GHz */
ath9k0: wifi@11,0 { /* 2.4 GHz */
compatible = "pci168c,0029";
reg = <0x8800 0 0 0 0>;
nvmem-cells = <&macaddr_bdata_60>;
@ -140,7 +140,7 @@
gpio-controller;
};
ath9k1: wifi@0,12 { /* 5 GHz */
ath9k1: wifi@12,0 { /* 5 GHz */
compatible = "pci168c,0029";
reg = <0x9000 0 0 0 0>;
nvmem-cells = <&macaddr_bdata_76>;

View File

@ -92,13 +92,13 @@
&pcie0 {
status = "okay";
wifi@0,11 {
wifi@11,0 {
compatible = "pci168c,0029";
reg = <0x8800 0 0 0 0>;
qca,no-eeprom;
};
wifi@0,12 {
wifi@12,0 {
compatible = "pci168c,0029";
reg = <0x9000 0 0 0 0>;
qca,no-eeprom;

View File

@ -75,7 +75,7 @@
&pcie {
status = "okay";
ath9k: wifi@0,0,0 {
ath9k: wifi@0,0 {
compatible = "pci168c,002a";
reg = <0x0 0 0 0 0>;
nvmem-cells = <&macaddr_art_0 1>;

View File

@ -75,7 +75,7 @@
&pcie {
status = "okay";
ath9k: wifi@0,0,0 {
ath9k: wifi@0,0 {
compatible = "pci168c,002a";
reg = <0x0 0 0 0 0>;
nvmem-cells = <&macaddr_art_0 (-1)>;

View File

@ -70,7 +70,7 @@
&pcie {
status = "okay";
wifi@0,0,0 {
wifi@0,0 {
compatible = "pci168c,002a";
reg = <0x0000 0 0 0 0>;
qca,no-eeprom;

View File

@ -84,7 +84,7 @@
&pcie {
status = "okay";
ath9k: wifi@0,0,0 {
ath9k: wifi@0,0 {
compatible = "pci168c,0030";
reg = <0x0 0 0 0 0>;
nvmem-cells = <&macaddr_art_0 1>, <&calibration_art_5000>;

View File

@ -34,7 +34,7 @@
};
&pcie {
wifi@0,0,0 {
wifi@0,0 {
nvmem-cells = <&macaddr_art_0 0>, <&calibration_art_5000>;
nvmem-cell-names = "mac-address", "calibration";
};

View File

@ -29,7 +29,7 @@
};
&pcie {
wifi@0,0,0 {
wifi@0,0 {
nvmem-cells = <&macaddr_art_0 (-2)>, <&calibration_art_5000>;
nvmem-cell-names = "mac-address", "calibration";
};

View File

@ -56,7 +56,7 @@
&pcie {
status = "okay";
ath9k: wifi@0,0,0 {
ath9k: wifi@0,0 {
compatible = "pci168c,0030";
reg = <0x0 0 0 0 0>;
};

View File

@ -203,7 +203,7 @@
&pcie {
status = "okay";
wifi@0,0,0 {
wifi@0,0 {
compatible = "qcom,ath10k";
reg = <0x0000 0 0 0 0>;

View File

@ -59,7 +59,7 @@
&pcie {
status = "okay";
ath9k: wifi@0,0,0 {
ath9k: wifi@0,0 {
compatible = "pci168c,0030";
reg = <0x0 0 0 0 0>;
ieee80211-freq-limit = <2402000 2482000>;

View File

@ -63,7 +63,7 @@
&pcie {
status = "disabled";
wifi@0,0,0 {
wifi@0,0 {
nvmem-cells = <&calibration_art_5000>;
nvmem-cell-names = "calibration";
};

View File

@ -61,7 +61,7 @@
};
&pcie {
wifi@0,0,0 {
wifi@0,0 {
nvmem-cells = <&macaddr_art_0 (-1)>, <&calibration_art_5000>;
nvmem-cell-names = "mac-address", "calibration";
};

View File

@ -72,7 +72,6 @@
wifi@0,0 {
compatible = "qcom,ath10k";
reg = <0 0 0 0 0>;
device_type = "pci";
};
};

View File

@ -75,7 +75,7 @@
&pcie0 {
status = "okay";
wifi@0,0,0 {
wifi@0,0 {
compatible = "qcom,ath10k";
reg = <0x0 0 0 0 0>;
};

View File

@ -76,7 +76,7 @@
&pcie0 {
status = "okay";
wifi@0,0,0 {
wifi@0,0 {
compatible = "pci168c,0033";
reg = <0x0000 0 0 0 0>;
nvmem-cells = <&calibration_art_5000>;

View File

@ -119,7 +119,7 @@
&pcie0 {
status = "okay";
wifi@0,0,0 {
wifi@0,0 {
compatible = "qcom,ath10k";
reg = <0x0 0 0 0 0>;
qca,no-eeprom;

View File

@ -26,16 +26,16 @@
};
&pcie0 {
ath10k_0: wifi@0,0,0 {
ath10k_0: wifi@0,0 {
compatible = "qcom,ath10k";
reg = <0x0 0 0 0 0>;
};
};
&pcie1 {
ath10k_1: wifi@0,1,0 {
ath10k_1: wifi@0,0 {
compatible = "qcom,ath10k";
reg = <0x0 1 0 0 0>;
reg = <0x0 0 0 0 0>;
};
};

View File

@ -43,7 +43,7 @@
&pcie0 {
status = "okay";
ath10k_0: wifi@0,0,0 {
ath10k_0: wifi@0,0 {
compatible = "qcom,ath10k";
reg = <0x0000 0 0 0 0>;
};