ipq40xx: update E2600AC c1/c2 board
author张 鹏 <sd20@qxwlan.com>
Fri, 25 Mar 2022 09:39:07 +0000 (17:39 +0800)
committerChristian Lamparter <chunkeey@gmail.com>
Fri, 25 Mar 2022 17:14:13 +0000 (18:14 +0100)
Modified the radio frequency hardware part of e2600ac c1/c2,
need to cooperate with the modified board.bin file, the device
can work normally.

Signed-off-by: 张 鹏 <sd20@qxwlan.com>
package/firmware/ipq-wifi/Makefile
package/firmware/ipq-wifi/board-qxwlan_e2600ac-c1.qca4019 [new file with mode: 0644]
package/firmware/ipq-wifi/board-qxwlan_e2600ac-c2.qca4019 [new file with mode: 0644]
target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-e2600ac-c1.dts
target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-e2600ac-c2.dts
target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-e2600ac.dtsi
target/linux/ipq40xx/image/generic.mk

index 5ee9d12919aa34c4a6779562619b5243fd3bf64f..b3b04c6abf884ea58083bf52b153b261e7605d57 100644 (file)
@@ -55,7 +55,8 @@ ALLWIFIBOARDS:= \
        p2w_r619ac \
        plasmacloud_pa1200 \
        plasmacloud_pa2200 \
-       qxwlan_e2600ac \
+       qxwlan_e2600ac-c1 \
+       qxwlan_e2600ac-c2 \
        teltonika_rutx \
        zte_mf286d
 
@@ -148,7 +149,8 @@ $(eval $(call generate-ipq-wifi-package,nec_wg2600hp3,NEC Platforms WG2600HP3))
 $(eval $(call generate-ipq-wifi-package,p2w_r619ac,P&W R619AC))
 $(eval $(call generate-ipq-wifi-package,plasmacloud_pa1200,Plasma Cloud PA1200))
 $(eval $(call generate-ipq-wifi-package,plasmacloud_pa2200,Plasma Cloud PA2200))
-$(eval $(call generate-ipq-wifi-package,qxwlan_e2600ac,Qxwlan E2600AC))
+$(eval $(call generate-ipq-wifi-package,qxwlan_e2600ac-c1,Qxwlan E2600AC C1))
+$(eval $(call generate-ipq-wifi-package,qxwlan_e2600ac-c2,Qxwlan E2600AC C2))
 $(eval $(call generate-ipq-wifi-package,teltonika_rutx,Teltonika RUTX))
 $(eval $(call generate-ipq-wifi-package,zte_mf286d,ZTE MF286D))
 
diff --git a/package/firmware/ipq-wifi/board-qxwlan_e2600ac-c1.qca4019 b/package/firmware/ipq-wifi/board-qxwlan_e2600ac-c1.qca4019
new file mode 100644 (file)
index 0000000..9eafff1
Binary files /dev/null and b/package/firmware/ipq-wifi/board-qxwlan_e2600ac-c1.qca4019 differ
diff --git a/package/firmware/ipq-wifi/board-qxwlan_e2600ac-c2.qca4019 b/package/firmware/ipq-wifi/board-qxwlan_e2600ac-c2.qca4019
new file mode 100644 (file)
index 0000000..256f3e5
Binary files /dev/null and b/package/firmware/ipq-wifi/board-qxwlan_e2600ac-c2.qca4019 differ
index a50ee4a84ef1c85522c5086a6dbeffed3ea81e00..f9205c28fa4f9d9f1e5ea03af72b26ff8b1342e7 100644 (file)
        };
 };
 
+&wifi0 {
+       status = "okay";
+       nvmem-cell-names = "pre-calibration";
+       nvmem-cells = <&precal_art_1000>;
+       qcom,ath10k-calibration-variant = "Qxwlan-E2600AC-C1";
+};
+
+&wifi1 {
+       status = "okay";
+       nvmem-cell-names = "pre-calibration";
+       nvmem-cells = <&precal_art_5000>;
+       qcom,ath10k-calibration-variant = "Qxwlan-E2600AC-C1";
+};
index ce54ce9f9bfefd0f9d02434f3ef513b2a8c03f0f..1f88322a4f1e8c84949964569d4453a7bf84bcec 100644 (file)
        };
 };
 
+&wifi0 {
+       status = "okay";
+       nvmem-cell-names = "pre-calibration";
+       nvmem-cells = <&precal_art_1000>;
+       qcom,ath10k-calibration-variant = "Qxwlan-E2600AC-C2";
+};
+
+&wifi1 {
+       status = "okay";
+       nvmem-cell-names = "pre-calibration";
+       nvmem-cells = <&precal_art_5000>;
+       qcom,ath10k-calibration-variant = "Qxwlan-E2600AC-C2";
+};
index 45681b19bb0199a9d2707fc7730cd63bf116a82d..5bfb758e50dc5242f4f565ddcbf7f1b1995aa037 100644 (file)
 &usb2_hs_phy {
        status = "okay";
 };
-
-&wifi0 {
-       status = "okay";
-       nvmem-cell-names = "pre-calibration";
-       nvmem-cells = <&precal_art_1000>;
-       qcom,ath10k-calibration-variant = "Qxwlan-E2600AC";
-};
-
-&wifi1 {
-       status = "okay";
-       nvmem-cell-names = "pre-calibration";
-       nvmem-cells = <&precal_art_5000>;
-       qcom,ath10k-calibration-variant = "Qxwlan-E2600AC";
-};
index 3354084a70800f05fe037ddf64960ac6de9362fd..33c6def37380579f072d0a5dc90b9f393f48b89c 100644 (file)
@@ -930,7 +930,7 @@ define Device/qxwlan_e2600ac-c1
        KERNEL_SIZE := 4096k
        IMAGE_SIZE := 31232k
        IMAGE/sysupgrade.bin := append-kernel | append-rootfs | pad-rootfs | append-metadata
-       DEVICE_PACKAGES := ipq-wifi-qxwlan_e2600ac
+       DEVICE_PACKAGES := ipq-wifi-qxwlan_e2600ac-c1
        DEFAULT := n
 endef
 TARGET_DEVICES += qxwlan_e2600ac-c1
@@ -945,7 +945,7 @@ define Device/qxwlan_e2600ac-c2
        KERNEL_INSTALL := 1
        BLOCKSIZE := 128k
        PAGESIZE := 2048
-       DEVICE_PACKAGES := ipq-wifi-qxwlan_e2600ac
+       DEVICE_PACKAGES := ipq-wifi-qxwlan_e2600ac-c2
 endef
 TARGET_DEVICES += qxwlan_e2600ac-c2