mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-19 05:38:00 +00:00
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:
parent
6dbc300baf
commit
991c8cabed
@ -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";
|
||||
|
@ -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";
|
||||
|
@ -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;
|
||||
|
@ -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>;
|
||||
|
@ -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>;
|
||||
|
@ -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;
|
||||
|
@ -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>;
|
||||
|
@ -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>;
|
||||
|
||||
|
@ -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>;
|
||||
|
@ -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;
|
||||
|
@ -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>;
|
||||
|
@ -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)>;
|
||||
|
@ -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;
|
||||
|
@ -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>;
|
||||
|
@ -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";
|
||||
};
|
||||
|
@ -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";
|
||||
};
|
||||
|
@ -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>;
|
||||
};
|
||||
|
@ -203,7 +203,7 @@
|
||||
&pcie {
|
||||
status = "okay";
|
||||
|
||||
wifi@0,0,0 {
|
||||
wifi@0,0 {
|
||||
compatible = "qcom,ath10k";
|
||||
reg = <0x0000 0 0 0 0>;
|
||||
|
||||
|
@ -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>;
|
||||
|
@ -63,7 +63,7 @@
|
||||
&pcie {
|
||||
status = "disabled";
|
||||
|
||||
wifi@0,0,0 {
|
||||
wifi@0,0 {
|
||||
nvmem-cells = <&calibration_art_5000>;
|
||||
nvmem-cell-names = "calibration";
|
||||
};
|
||||
|
@ -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";
|
||||
};
|
||||
|
@ -72,7 +72,6 @@
|
||||
wifi@0,0 {
|
||||
compatible = "qcom,ath10k";
|
||||
reg = <0 0 0 0 0>;
|
||||
device_type = "pci";
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -75,7 +75,7 @@
|
||||
&pcie0 {
|
||||
status = "okay";
|
||||
|
||||
wifi@0,0,0 {
|
||||
wifi@0,0 {
|
||||
compatible = "qcom,ath10k";
|
||||
reg = <0x0 0 0 0 0>;
|
||||
};
|
||||
|
@ -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>;
|
||||
|
@ -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;
|
||||
|
@ -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>;
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -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>;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user