ipq40xx: document pcie wifi chip on the GL.Inet GL-B2200
authorChristian Lamparter <chunkeey@gmail.com>
Mon, 14 Feb 2022 20:14:34 +0000 (21:14 +0100)
committerChristian Lamparter <chunkeey@gmail.com>
Sat, 19 Feb 2022 17:29:42 +0000 (18:29 +0100)
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@gmail.com>
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-gl-b2200.dts

index 754af7c8202feb651dcd64d466528f6b8fee7ba4..9d7259c35470b62670589ead938f108e2cbdce8a 100644 (file)
                                        reg = <0x5000 0x2f20>;
                                };
 
-                               cal_art_9000: cal@9000 {
+                               precal_art_9000: precal@9000 {
                                        reg = <0x9000 0x2f20>;
                                };
                        };
 
                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>;
                };