[openwrt/openwrt] ipq806x: G10: use ASROCK's wifi calibration data

LEDE Commits lede-commits at lists.infradead.org
Sat Feb 5 05:01:59 PST 2022


chunkeey pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/965e8783337511e2aa435935c797dc945e039b7c

commit 965e8783337511e2aa435935c797dc945e039b7c
Author: Christian Lamparter <chunkeey at gmail.com>
AuthorDate: Thu Feb 3 23:22:54 2022 +0100

    ipq806x: G10: use ASROCK's wifi calibration data
    
    brings back the ath10k QCA9980 wifi nodes to which
    it adds ASROCK's wifi calibration data. These are
    now provided by the ath10k_firmware.git's board-2.bin.
    
    Signed-off-by: Christian Lamparter <chunkeey at gmail.com>
---
 .../files/arch/arm/boot/dts/qcom-ipq8064-g10.dts   | 26 ++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-g10.dts b/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-g10.dts
index d821e9b576..71dc177b1f 100644
--- a/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-g10.dts
+++ b/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-g10.dts
@@ -197,10 +197,36 @@
 
 &pcie0 {
 	status = "okay";
+
+	bridge at 0,0 {
+		reg = <0x00000000 0 0 0 0>;
+		#address-cells = <3>;
+		#size-cells = <2>;
+		ranges;
+
+		wifi5g: wifi at 1,0 {
+			reg = <0x00010000 0 0 0 0>;
+			compatible = "qcom,ath10k";
+			qcom,ath10k-calibration-variant = "ASRock-G10";
+		};
+	};
 };
 
 &pcie1 {
 	status = "okay";
+
+	bridge at 0,0 {
+		reg = <0x00000000 0 0 0 0>;
+		#address-cells = <3>;
+		#size-cells = <2>;
+		ranges;
+
+		wifi2g: wifi at 1,0 {
+			reg = <0x00010000 0 0 0 0>;
+			compatible = "qcom,ath10k";
+			qcom,ath10k-calibration-variant = "ASRock-G10";
+		};
+	};
 };
 
 &qcom_pinmux {



More information about the lede-commits mailing list