ipq50xx: Support OAP101 and OAP101e-6E (update board files for OAP101e and OAP101e-6E)

Fixes: WIFI-12943
Signed-off-by: Tanya Singh <tanya_singh@accton.com>
This commit is contained in:
Tanya Singh
2023-09-19 13:39:49 +08:00
committed by John Crispin
parent 5f787d92bb
commit c4b49e5190
8 changed files with 29 additions and 5 deletions

View File

@@ -153,6 +153,11 @@ $(call Package/ath11k-wifi-default)
TITLE:=edgecore oap101 bdf
endef
define Package/ath11k-wifi-edgecore-oap101e
$(call Package/ath11k-wifi-default)
TITLE:=edgecore-oap101e bdf
endef
define Package/ath11k-wifi-cig-wf188n-ca
$(call Package/ath11k-wifi-default)
TITLE:=cig-wf188n bdf CA
@@ -317,6 +322,13 @@ define Package/ath11k-wifi-edgecore-oap101/install
$(INSTALL_DATA) ./board-2-edgecore-oap101.bin.QCN6122 $(1)/lib/firmware/ath11k/qcn6122/hw1.0/board-2.bin
endef
define Package/ath11k-wifi-edgecore-oap101e/install
$(INSTALL_DIR) $(1)/lib/firmware/ath11k/IPQ5018/hw1.0/
$(INSTALL_DIR) $(1)/lib/firmware/ath11k/qcn6122/hw1.0/
$(INSTALL_DATA) ./board-edgecore-oap101e.bin.IPQ5018 $(1)/lib/firmware/ath11k/IPQ5018/hw1.0/board.bin
$(INSTALL_DATA) ./board-2-edgecore-oap101e.bin.QCN6122 $(1)/lib/firmware/ath11k/qcn6122/hw1.0/board-2.bin
endef
define Package/ath11k-wifi-cig-wf188n-ca/install
$(INSTALL_DIR) $(1)/lib/firmware/ath11k/IPQ6018/hw1.0/
$(INSTALL_DATA) ./board-cig-wf188n-ca.bin.IPQ6018 $(1)/lib/firmware/ath11k/IPQ6018/hw1.0/board.bin
@@ -369,5 +381,6 @@ $(eval $(call BuildPackage,ath11k-wifi-hfcl-ion4xi_w))
$(eval $(call BuildPackage,ath11k-wifi-hfcl-ion4x_w))
$(eval $(call BuildPackage,ath11k-wifi-hfcl-ion4xi_HMR))
$(eval $(call BuildPackage,ath11k-wifi-edgecore-oap101))
$(eval $(call BuildPackage,ath11k-wifi-edgecore-oap101e))
$(eval $(call BuildPackage,ath11k-wifi-cig-wf188n-ca))
$(eval $(call BuildPackage,ath11k-wifi-cig-wf188n-us))

View File

@@ -21,7 +21,7 @@
/ {
#address-cells = <0x2>;
#size-cells = <0x2>;
model = "Edgecore OAP101e 6E";
model = "Edgecore OAP101 6E E";
compatible = "edgecore,oap101e-6e", "qcom,ipq5018-mp03.5", "qcom,ipq5018";
interrupt-parent = <&intc>;

View File

@@ -40,7 +40,7 @@ define Device/edgecore_oap101_6e
DEVICE_TITLE := EdgeCore OAP101 6E
DEVICE_DTS := qcom-ipq5018-oap101-6e
SUPPORTED_DEVICES := edgecore,oap101-6e
DEVICE_PACKAGES := ath11k-wifi-edgecore-oap101 ath11k-firmware-ipq50xx-spruce ath11k-firmware-qcn6122 kmod-gpio-pca953x ugps
DEVICE_PACKAGES := ath11k-wifi-edgecore-oap101 ath11k-firmware-ipq50xx-spruce ath11k-firmware-qcn6122 kmod-hwmon-tmp102 kmod-gpio-pca953x ugps kmod-tpm-tis-i2c
DEVICE_DTS_CONFIG := config@mp03.5-c1
endef
TARGET_DEVICES += edgecore_oap101_6e
@@ -49,16 +49,16 @@ define Device/edgecore_oap101e
DEVICE_TITLE := EdgeCore OAP101 E
DEVICE_DTS := qcom-ipq5018-oap101e
SUPPORTED_DEVICES := edgecore,oap101e
DEVICE_PACKAGES := ath11k-wifi-edgecore-oap101 ath11k-firmware-ipq50xx-spruce ath11k-firmware-qcn6122 kmod-gpio-pca953x ugps
DEVICE_PACKAGES := ath11k-wifi-edgecore-oap101e ath11k-firmware-ipq50xx-spruce ath11k-firmware-qcn6122 kmod-hwmon-tmp102 kmod-gpio-pca953x ugps kmod-tpm-tis-i2c
DEVICE_DTS_CONFIG := config@mp03.5-c1
endef
TARGET_DEVICES += edgecore_oap101e
define Device/edgecore_oap101e_6e
DEVICE_TITLE := EdgeCore OAP101e 6E
DEVICE_TITLE := EdgeCore OAP101 6E E
DEVICE_DTS := qcom-ipq5018-oap101e-6e
SUPPORTED_DEVICES := edgecore,oap101e-6e
DEVICE_PACKAGES := ath11k-wifi-edgecore-oap101 ath11k-firmware-ipq50xx-spruce ath11k-firmware-qcn6122 kmod-hwmon-tmp102 kmod-gpio-pca953x ugps kmod-tpm-tis-i2c
DEVICE_PACKAGES := ath11k-wifi-edgecore-oap101e ath11k-firmware-ipq50xx-spruce ath11k-firmware-qcn6122 kmod-hwmon-tmp102 kmod-gpio-pca953x ugps kmod-tpm-tis-i2c
DEVICE_DTS_CONFIG := config@mp03.5-c1
endef
TARGET_DEVICES += edgecore_oap101e_6e

View File

@@ -172,6 +172,10 @@ $(call Package/ath11k-wifi-default)
TITLE:=edgecore oap101 bdf
endef
define Package/ath11k-wifi-edgecore-oap101e
$(call Package/ath11k-wifi-default)
TITLE:=edgecore-oap101e bdf
endef
define ath11k-wifi-install-one-to
$(INSTALL_DIR) $(2)/lib/firmware/$(3)/
@@ -346,6 +350,12 @@ define Package/ath11k-wifi-edgecore-oap101/install
$(INSTALL_DATA) ./board-2-edgecore-oap101.bin.QCN6122 $(1)/lib/firmware/ath11k/qcn6122/hw1.0/board-2.bin
endef
define Package/ath11k-wifi-edgecore-oap101e/install
$(INSTALL_DIR) $(1)/lib/firmware/ath11k/IPQ5018/hw1.0/
$(INSTALL_DIR) $(1)/lib/firmware/ath11k/qcn6122/hw1.0/
$(INSTALL_DATA) ./board-edgecore-oap101e.bin.IPQ5018 $(1)/lib/firmware/ath11k/IPQ5018/hw1.0/board.bin
$(INSTALL_DATA) ./board-2-edgecore-oap101e.bin.QCN6122 $(1)/lib/firmware/ath11k/qcn6122/hw1.0/board-2.bin
endef
$(eval $(call generate-ath11k-wifi-package,cig-wf188,Cigtech WF188))
$(eval $(call generate-ath11k-wifi-package,cig-wf186w,Cigtech WF186w))
@@ -395,4 +405,5 @@ $(eval $(call BuildPackage,ath11k-wifi-hfcl-ion4xi_w))
$(eval $(call BuildPackage,ath11k-wifi-hfcl-ion4x_w))
$(eval $(call BuildPackage,ath11k-wifi-hfcl-ion4xi_HMR))
$(eval $(call BuildPackage,ath11k-wifi-edgecore-oap101))
$(eval $(call BuildPackage,ath11k-wifi-edgecore-oap101e))