[openwrt/openwrt] qualcommax: ipq50xx: correct fw memory mode for ipq5018 and qcn6122 wifi
LEDE Commits
lede-commits at lists.infradead.org
Thu Jun 12 01:47:48 PDT 2025
robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/b9704413c46edb85227e3cebfb9269ee69a8437b
commit b9704413c46edb85227e3cebfb9269ee69a8437b
Author: George Moussalem <george.moussalem at outlook.com>
AuthorDate: Tue Jun 10 14:45:55 2025 +0400
qualcommax: ipq50xx: correct fw memory mode for ipq5018 and qcn6122 wifi
The reason fwmode 2 was used for ipq5018 and qcn6122 wifi was that
coldboot calibration doesn't work and causes the firmware to crach
during wifi bringup. Since coldboot calibration is now disabled in the
driver, all boards can now use their respective firmware memory mode, so
let's the property in all board DTS files accordingly.
Signed-off-by: George Moussalem <george.moussalem at outlook.com>
Link: https://github.com/openwrt/openwrt/pull/19083
Signed-off-by: Robert Marko <robimarko at gmail.com>
---
.../qualcommax/files/arch/arm64/boot/dts/qcom/ipq5018-gl-b3000.dts | 4 ++--
.../qualcommax/files/arch/arm64/boot/dts/qcom/ipq5018-mr5500.dts | 2 +-
.../qualcommax/files/arch/arm64/boot/dts/qcom/ipq5018-mx2000.dts | 4 ++--
.../qualcommax/files/arch/arm64/boot/dts/qcom/ipq5018-mx5500.dts | 2 +-
.../qualcommax/files/arch/arm64/boot/dts/qcom/ipq5018-spnmx56.dts | 2 +-
5 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq5018-gl-b3000.dts b/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq5018-gl-b3000.dts
index dc38c66e11..b08d9235c7 100644
--- a/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq5018-gl-b3000.dts
+++ b/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq5018-gl-b3000.dts
@@ -417,7 +417,7 @@
qcom,rproc = <&q6_wcss_pd1>;
qcom,userpd-subsys-name = "q6v5_wcss_userpd1";
qcom,ath11k-calibration-variant = "GL-iNet-GL-B3000";
- qcom,ath11k-fw-memory-mode = <2>;
+ qcom,ath11k-fw-memory-mode = <1>;
qcom,bdf-addr = <0x4c400000>;
};
@@ -428,7 +428,7 @@
qcom,rproc = <&q6_wcss_pd3>;
qcom,userpd-subsys-name = "q6v5_wcss_userpd3";
qcom,ath11k-calibration-variant = "GL-iNet-GL-B3000";
- qcom,ath11k-fw-memory-mode = <2>;
+ qcom,ath11k-fw-memory-mode = <1>;
qcom,bdf-addr = <0x4d100000>;
qcom,m3-dump-addr = <0x4df00000>;
};
diff --git a/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq5018-mr5500.dts b/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq5018-mr5500.dts
index 8505178a8f..508ca081b4 100644
--- a/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq5018-mr5500.dts
+++ b/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq5018-mr5500.dts
@@ -375,7 +375,7 @@
// IPQ5018
qcom,rproc = <&q6_wcss_pd1>;
qcom,ath11k-calibration-variant = "Linksys-MR5500";
- qcom,ath11k-fw-memory-mode = <2>;
+ qcom,ath11k-fw-memory-mode = <1>;
qcom,bdf-addr = <0x4c400000>;
status = "okay";
diff --git a/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq5018-mx2000.dts b/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq5018-mx2000.dts
index ce10405164..5eaa84e3e6 100644
--- a/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq5018-mx2000.dts
+++ b/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq5018-mx2000.dts
@@ -238,7 +238,7 @@
// IPQ5018
qcom,rproc = <&q6_wcss_pd1>;
qcom,ath11k-calibration-variant = "Linksys-MX2000";
- qcom,ath11k-fw-memory-mode = <2>;
+ qcom,ath11k-fw-memory-mode = <1>;
qcom,bdf-addr = <0x4c400000>;
status = "okay";
@@ -249,7 +249,7 @@
qcom,rproc = <&q6_wcss_pd2>;
qcom,userpd-subsys-name = "q6v5_wcss_userpd2";
qcom,ath11k-calibration-variant = "Linksys-MX2000";
- qcom,ath11k-fw-memory-mode = <2>;
+ qcom,ath11k-fw-memory-mode = <1>;
qcom,bdf-addr = <0x4d100000>;
qcom,m3-dump-addr = <0x4df00000>;
diff --git a/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq5018-mx5500.dts b/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq5018-mx5500.dts
index 036fc63a9f..535f0ec10e 100644
--- a/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq5018-mx5500.dts
+++ b/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq5018-mx5500.dts
@@ -223,7 +223,7 @@
// IPQ5018
qcom,rproc = <&q6_wcss_pd1>;
qcom,ath11k-calibration-variant = "Linksys-MX5500";
- qcom,ath11k-fw-memory-mode = <2>;
+ qcom,ath11k-fw-memory-mode = <1>;
qcom,bdf-addr = <0x4c400000>;
status = "okay";
diff --git a/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq5018-spnmx56.dts b/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq5018-spnmx56.dts
index 84282daa9c..7984f3f57a 100644
--- a/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq5018-spnmx56.dts
+++ b/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq5018-spnmx56.dts
@@ -233,7 +233,7 @@
// IPQ5018
qcom,rproc = <&q6_wcss_pd1>;
qcom,ath11k-calibration-variant = "Linksys-SPNMX56";
- qcom,ath11k-fw-memory-mode = <2>;
+ qcom,ath11k-fw-memory-mode = <1>;
qcom,bdf-addr = <0x4c400000>;
status = "okay";
More information about the lede-commits
mailing list