ipq40xx: add support for MikroTik SXTsq 5 ac
[openwrt/openwrt.git] / target / linux / ipq40xx / image / mikrotik.mk
1 define Device/mikrotik_nor
2 DEVICE_VENDOR := MikroTik
3 BLOCKSIZE := 64k
4 IMAGE_SIZE := 16128k
5 KERNEL_NAME := vmlinux
6 KERNEL := kernel-bin | append-dtb-elf
7 IMAGES = sysupgrade.bin
8 IMAGE/sysupgrade.bin := append-kernel | kernel2minor -s 1024 | \
9 pad-to $$$$(BLOCKSIZE) | append-rootfs | pad-rootfs | \
10 append-metadata | check-size
11 endef
12
13 define Device/mikrotik_hap-ac2
14 $(call Device/mikrotik_nor)
15 DEVICE_MODEL := hAP ac2
16 SOC := qcom-ipq4018
17 DEVICE_PACKAGES := ipq-wifi-mikrotik_hap-ac2 -kmod-ath10k-ct \
18 kmod-ath10k-ct-smallbuffers
19 endef
20 TARGET_DEVICES += mikrotik_hap-ac2
21
22 define Device/mikrotik_sxtsq-5-ac
23 $(call Device/mikrotik_nor)
24 DEVICE_MODEL := SXTsq 5 ac (RBSXTsqG-5acD)
25 SOC := qcom-ipq4018
26 DEVICE_PACKAGES := ipq-wifi-mikrotik_sxtsq-5-ac rssileds
27 endef
28 TARGET_DEVICES += mikrotik_sxtsq-5-ac