[openwrt/openwrt] ath79: add pcie1 wifi device to Senao qca955x AP DTSI

LEDE Commits lede-commits at lists.infradead.org
Sat Jan 28 11:36:34 PST 2023


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/290a6527bea2b2031e8f87387247fe96cfa833c0

commit 290a6527bea2b2031e8f87387247fe96cfa833c0
Author: Michael Pratt <mcpratt at pm.me>
AuthorDate: Wed Jan 25 13:02:56 2023 -0500

    ath79: add pcie1 wifi device to Senao qca955x AP DTSI
    
    Each individual device DTS now enables either pcie0 or pcie1.
    
    Signed-off-by: Michael Pratt <mcpratt at pm.me>
---
 target/linux/ath79/dts/qca9557_araknis_an-500-ap-i-ac.dts  |  4 ++++
 target/linux/ath79/dts/qca9557_engenius_eap1200h.dts       |  6 +++++-
 target/linux/ath79/dts/qca9557_engenius_enstationac-v1.dts |  4 ++++
 target/linux/ath79/dts/qca9558_allnet_all-wap02860ac.dts   |  4 ++++
 target/linux/ath79/dts/qca9558_araknis_an-700-ap-i-ac.dts  |  4 ++++
 target/linux/ath79/dts/qca9558_engenius_eap1750h.dts       |  6 +++++-
 target/linux/ath79/dts/qca9558_watchguard_ap300.dts        |  4 ++++
 target/linux/ath79/dts/qca955x_senao_loader.dtsi           | 11 ++++++++---
 8 files changed, 38 insertions(+), 5 deletions(-)

diff --git a/target/linux/ath79/dts/qca9557_araknis_an-500-ap-i-ac.dts b/target/linux/ath79/dts/qca9557_araknis_an-500-ap-i-ac.dts
index 419e77c4f8..bd9f3e8da8 100644
--- a/target/linux/ath79/dts/qca9557_araknis_an-500-ap-i-ac.dts
+++ b/target/linux/ath79/dts/qca9557_araknis_an-500-ap-i-ac.dts
@@ -94,6 +94,10 @@
 	mac-address-increment = <1>;
 };
 
+&pcie0 {
+	status = "okay";
+};
+
 &art {
 	compatible = "nvmem-cells";
 	#address-cells = <1>;
diff --git a/target/linux/ath79/dts/qca9557_engenius_eap1200h.dts b/target/linux/ath79/dts/qca9557_engenius_eap1200h.dts
index beb3e5ee07..d20a044475 100644
--- a/target/linux/ath79/dts/qca9557_engenius_eap1200h.dts
+++ b/target/linux/ath79/dts/qca9557_engenius_eap1200h.dts
@@ -110,10 +110,14 @@
 	mac-address-increment = <1>;
 };
 
-&ath10k {
+&ath10k_0 {
 	status = "okay";
 
 	nvmem-cells = <&macaddr_art_0>, <&calibration_art_5000>;
 	nvmem-cell-names = "mac-address", "calibration";
 	mac-address-increment = <2>;
 };
+
+&pcie0 {
+	status = "okay";
+};
diff --git a/target/linux/ath79/dts/qca9557_engenius_enstationac-v1.dts b/target/linux/ath79/dts/qca9557_engenius_enstationac-v1.dts
index 812fcfc5dc..12740b9bdf 100644
--- a/target/linux/ath79/dts/qca9557_engenius_enstationac-v1.dts
+++ b/target/linux/ath79/dts/qca9557_engenius_enstationac-v1.dts
@@ -111,6 +111,10 @@
 	qca955x-sgmii-fixup;
 };
 
+&pcie0 {
+	status = "okay";
+};
+
 &art {
 	compatible = "nvmem-cells";
 	#address-cells = <1>;
diff --git a/target/linux/ath79/dts/qca9558_allnet_all-wap02860ac.dts b/target/linux/ath79/dts/qca9558_allnet_all-wap02860ac.dts
index aa1f4ad02b..c8b1d94c96 100644
--- a/target/linux/ath79/dts/qca9558_allnet_all-wap02860ac.dts
+++ b/target/linux/ath79/dts/qca9558_allnet_all-wap02860ac.dts
@@ -95,6 +95,10 @@
 	mac-address-increment = <1>;
 };
 
+&pcie0 {
+	status = "okay";
+};
+
 &art {
 	compatible = "nvmem-cells";
 	#address-cells = <1>;
diff --git a/target/linux/ath79/dts/qca9558_araknis_an-700-ap-i-ac.dts b/target/linux/ath79/dts/qca9558_araknis_an-700-ap-i-ac.dts
index 304eac5e62..520ca60144 100644
--- a/target/linux/ath79/dts/qca9558_araknis_an-700-ap-i-ac.dts
+++ b/target/linux/ath79/dts/qca9558_araknis_an-700-ap-i-ac.dts
@@ -93,6 +93,10 @@
 	mac-address-increment = <1>;
 };
 
+&pcie0 {
+	status = "okay";
+};
+
 &art {
 	compatible = "nvmem-cells";
 	#address-cells = <1>;
diff --git a/target/linux/ath79/dts/qca9558_engenius_eap1750h.dts b/target/linux/ath79/dts/qca9558_engenius_eap1750h.dts
index 605030455c..e17eda3840 100644
--- a/target/linux/ath79/dts/qca9558_engenius_eap1750h.dts
+++ b/target/linux/ath79/dts/qca9558_engenius_eap1750h.dts
@@ -110,10 +110,14 @@
 	mac-address-increment = <1>;
 };
 
-&ath10k {
+&ath10k_0 {
 	status = "okay";
 
 	nvmem-cells = <&macaddr_art_0>, <&calibration_art_5000>;
 	nvmem-cell-names = "mac-address", "calibration";
 	mac-address-increment = <2>;
 };
+
+&pcie0 {
+	status = "okay";
+};
diff --git a/target/linux/ath79/dts/qca9558_watchguard_ap300.dts b/target/linux/ath79/dts/qca9558_watchguard_ap300.dts
index 90f5cddfa7..799883c350 100644
--- a/target/linux/ath79/dts/qca9558_watchguard_ap300.dts
+++ b/target/linux/ath79/dts/qca9558_watchguard_ap300.dts
@@ -121,6 +121,10 @@
 	mac-address-increment = <1>;
 };
 
+&pcie0 {
+	status = "okay";
+};
+
 &art {
 	compatible = "nvmem-cells";
 	#address-cells = <1>;
diff --git a/target/linux/ath79/dts/qca955x_senao_loader.dtsi b/target/linux/ath79/dts/qca955x_senao_loader.dtsi
index 5a8c4fb799..cf82c050b6 100644
--- a/target/linux/ath79/dts/qca955x_senao_loader.dtsi
+++ b/target/linux/ath79/dts/qca955x_senao_loader.dtsi
@@ -26,14 +26,19 @@
 };
 
 &pcie0 {
-	status = "okay";
-
-	ath10k: wifi at 0,0,0 {
+	ath10k_0: wifi at 0,0,0 {
 		compatible = "qcom,ath10k";
 		reg = <0x0 0 0 0 0>;
 	};
 };
 
+&pcie1 {
+	ath10k_1: wifi at 0,1,0 {
+		compatible = "qcom,ath10k";
+		reg = <0x0 1 0 0 0>;
+	};
+};
+
 &spi {
 	status = "okay";
 




More information about the lede-commits mailing list