From: Christian Lamparter Date: Mon, 14 Feb 2022 20:14:34 +0000 (+0100) Subject: ipq40xx: document pcie wifi chip on the GL.Inet GL-B2200 X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=80d34d9d593865248bf5a23794e9163895140de7;p=openwrt%2Fstaging%2Fwigyori.git 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 Signed-off-by: Christian Lamparter --- 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@9000 { + precal_art_9000: precal@9000 { reg = <0x9000 0x2f20>; }; }; @@ -361,11 +361,11 @@ wifi2: wifi@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>; };