+# Missing DSA Setup
+#TARGET_DEVICES += unielec_u4019-32m
+
+define Device/wallys_dr40x9
+ $(call Device/FitImage)
+ $(call Device/UbiFit)
+ DEVICE_VENDOR := Wallys
+ DEVICE_MODEL := DR40X9
+ SOC := qcom-ipq40x9
+ DEVICE_DTS_CONFIG := config@ap.dk07.1-c1
+ BLOCKSIZE := 128k
+ PAGESIZE := 2048
+ DEVICE_PACKAGES := ipq-wifi-wallys_dr40x9
+endef
+TARGET_DEVICES += wallys_dr40x9
+
+define Device/zte_mf18a
+ $(call Device/FitImage)
+ DEVICE_VENDOR := ZTE
+ DEVICE_MODEL := MF18A
+ SOC := qcom-ipq4019
+ DEVICE_DTS_CONFIG := config@ap.dk04.1-c1
+ BLOCKSIZE := 128k
+ PAGESIZE := 2048
+ KERNEL_IN_UBI := 1
+ DEVICE_PACKAGES := ath10k-firmware-qca99x0-ct
+endef
+TARGET_DEVICES += zte_mf18a
+
+define Device/zte_mf28x_common
+ $(call Device/FitzImage)
+ DEVICE_VENDOR := ZTE
+ SOC := qcom-ipq4019
+ DEVICE_DTS_CONFIG := config@ap.dk04.1-c1
+ BLOCKSIZE := 128k
+ PAGESIZE := 2048
+ KERNEL_IN_UBI := 1
+ DEVICE_PACKAGES := kmod-usb-net-qmi-wwan kmod-usb-serial-option uqmi
+endef
+
+define Device/zte_mf286d
+ $(call Device/zte_mf28x_common)
+ DEVICE_MODEL := MF286D
+endef
+TARGET_DEVICES += zte_mf286d
+
+define Device/zte_mf287plus
+ $(call Device/zte_mf28x_common)
+ DEVICE_DTS_CONFIG := config@ap.dk01.1-c2
+ DEVICE_MODEL := MF287Plus
+ DEVICE_ALT0_VENDOR := ZTE
+ DEVICE_ALT0_MODEL := MF287
+ DEVICE_PACKAGES += ipq-wifi-zte_mf287plus
+ SOC := qcom-ipq4018
+# The recovery image is used to return back to stock (an initramfs-based image
+# that can be flashed to the device via sysupgrade
+# The factory image is used to install from the stock firmware by using an
+# exploit for the web interface
+ IMAGES += factory.bin recovery.bin
+ IMAGE/factory.bin := append-ubi
+ IMAGE/recovery.bin := append-squashfs4-fakeroot | sysupgrade-tar kernel=$$$$(BIN_DIR)/openwrt-$$(BOARD)$$(if $$(SUBTARGET),-$$(SUBTARGET))-$$(DEVICE_NAME)-initramfs-zImage.itb rootfs=$$$$@ | append-metadata
+endef
+TARGET_DEVICES += zte_mf287plus
+
+define Device/zte_mf289f
+ $(call Device/zte_mf28x_common)
+ DEVICE_MODEL := MF289F
+ DEVICE_PACKAGES += ipq-wifi-zte_mf289f ath10k-firmware-qca9984-ct
+endef
+TARGET_DEVICES += zte_mf289f