[openwrt/openwrt] ipq40xx: document pcie wifi chip on the GL.Inet GL-B2200

LEDE Commits lede-commits at lists.infradead.org
Sat Feb 19 11:15:22 PST 2022


chunkeey pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/80d34d9d593865248bf5a23794e9163895140de7

commit 80d34d9d593865248bf5a23794e9163895140de7
Author: Christian Lamparter <chunkeey at gmail.com>
AuthorDate: Mon Feb 14 21:14:34 2022 +0100

    ipq40xx: document pcie wifi chip on the GL.Inet GL-B2200
    
    Enrico provided a bootlog that shows the chip is a WAVE-2 QCA9888v2:
    
    > pci 0000:01:00.0: [168c:0056] type 00 class 0x028000
    > [...]
    > ath10k 5.15 driver, optimized for CT firmware, probing pci device: 0x56.
    > ath10k_pci 0000:01:00.0: qca9888 hw2.0 target 0x01000000 [...] chip_id 0x00000000 sub 0000:0000
    > ath10k_pci 0000:01:00.0: firmware ver 10.4b-ct-9888-fW-13-5ae337bb1 api 5  features mfp,[...]
    > ath10k_pci 0000:01:00.0: board_file api 2 bmi_id N/A crc32 6535d835
    > ath10k_pci 0000:01:00.0: htt-ver 2.2 wmi-op 6 htt-op 4 cal file max-sta 32 raw 0 hwcrypto 1
    
    this patch switches the device over to pre-calibration.
    (this is more or less cosmetic)
    
    Reported-by: Enrico Mioso <mrkiko.rs at gmail.com>
    Signed-off-by: Christian Lamparter <chunkeey at gmail.com>
---
 .../ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-gl-b2200.dts     | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-gl-b2200.dts b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-gl-b2200.dts
index 754af7c820..9d7259c354 100644
--- a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-gl-b2200.dts
+++ b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-gl-b2200.dts
@@ -219,7 +219,7 @@
 					reg = <0x5000 0x2f20>;
 				};
 
-				cal_art_9000: cal at 9000 {
+				precal_art_9000: precal at 9000 {
 					reg = <0x9000 0x2f20>;
 				};
 			};
@@ -361,11 +361,11 @@
 
 		wifi2: wifi at 1,0 {
 			status = "okay";
+			/* Bootlog shows this is a 168c:0056 - QCA 9888v2 */
 			compatible = "qcom,ath10k";
 			reg = <0x00010000 0 0 0 0>;
-			 /* vendor said 9886 wave-2? Is this correct? */
-			nvmem-cell-names = "calibration";
-			nvmem-cells = <&cal_art_9000>;
+			nvmem-cell-names = "pre-calibration";
+			nvmem-cells = <&precal_art_9000>;
 			qcom,ath10k-calibration-variant = "GL-B2200";
 			ieee80211-freq-limit = <5450000 5900000>;
 		};



More information about the lede-commits mailing list