+define Device/netis_wf2881
+ $(Device/dsa-migration)
+ BLOCKSIZE := 128k
+ PAGESIZE := 2048
+ FILESYSTEMS := squashfs
+ KERNEL_SIZE := 4096k
+ IMAGE_SIZE := 129280k
+ UBINIZE_OPTS := -E 5
+ UIMAGE_NAME := WF2881_0.0.00
+ KERNEL_INITRAMFS := $(KERNEL_DTB) | netis-tail WF2881 | uImage lzma
+ IMAGES += factory.bin
+ IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
+ IMAGE/factory.bin := append-kernel | pad-to $$$$(KERNEL_SIZE) | append-ubi | \
+ check-size
+ DEVICE_VENDOR := NETIS
+ DEVICE_MODEL := WF2881
+ DEVICE_PACKAGES := kmod-mt76x2 kmod-usb3 kmod-usb-ledtrig-usbport
+endef
+TARGET_DEVICES += netis_wf2881
+
+define Device/phicomm_k2p
+ $(Device/dsa-migration)
+ IMAGE_SIZE := 15744k
+ DEVICE_VENDOR := Phicomm
+ DEVICE_MODEL := K2P
+ DEVICE_ALT0_VENDOR := Phicomm
+ DEVICE_ALT0_MODEL := KE 2P
+ SUPPORTED_DEVICES += k2p
+ DEVICE_PACKAGES := kmod-mt7615e kmod-mt7615-firmware
+endef
+TARGET_DEVICES += phicomm_k2p
+
+define Device/planex_vr500
+ $(Device/dsa-migration)
+ $(Device/uimage-lzma-loader)
+ IMAGE_SIZE := 65216k
+ DEVICE_VENDOR := Planex
+ DEVICE_MODEL := VR500
+ DEVICE_PACKAGES := kmod-usb3 -wpad-basic-wolfssl
+ SUPPORTED_DEVICES += vr500
+endef
+TARGET_DEVICES += planex_vr500
+
+define Device/samknows_whitebox-v8
+ $(Device/dsa-migration)
+ IMAGE_SIZE := 16064k
+ DEVICE_VENDOR := SamKnows
+ DEVICE_MODEL := Whitebox 8
+ DEVICE_PACKAGES := kmod-mt7603 kmod-mt76x2 kmod-usb3 \
+ kmod-usb-ledtrig-usbport uboot-envtools
+ SUPPORTED_DEVICES += sk-wb8
+endef
+TARGET_DEVICES += samknows_whitebox-v8
+
+define Device/storylink_sap-g3200u3
+ $(Device/dsa-migration)
+ IMAGE_SIZE := 7872k
+ DEVICE_VENDOR := STORYLiNK
+ DEVICE_MODEL := SAP-G3200U3
+ DEVICE_PACKAGES := kmod-mt76x2 kmod-usb3 kmod-usb-ledtrig-usbport
+ SUPPORTED_DEVICES += sap-g3200u3
+endef
+TARGET_DEVICES += storylink_sap-g3200u3
+
+define Device/telco-electronics_x1
+ $(Device/dsa-migration)
+ IMAGE_SIZE := 16064k
+ DEVICE_VENDOR := Telco Electronics
+ DEVICE_MODEL := X1
+ DEVICE_PACKAGES := kmod-usb3 kmod-mt76
+endef
+TARGET_DEVICES += telco-electronics_x1
+
+define Device/thunder_timecloud
+ $(Device/dsa-migration)
+ $(Device/uimage-lzma-loader)
+ IMAGE_SIZE := 16064k
+ DEVICE_VENDOR := Thunder
+ DEVICE_MODEL := Timecloud
+ DEVICE_PACKAGES := kmod-usb3 -wpad-basic-wolfssl
+ SUPPORTED_DEVICES += timecloud
+endef
+TARGET_DEVICES += thunder_timecloud
+
+define Device/totolink_a7000r
+ $(Device/dsa-migration)
+ IMAGE_SIZE := 16064k
+ UIMAGE_NAME := C8340R1C-9999
+ DEVICE_VENDOR := TOTOLINK
+ DEVICE_MODEL := A7000R
+ DEVICE_PACKAGES := kmod-mt7615e kmod-mt7615-firmware
+endef
+TARGET_DEVICES += totolink_a7000r
+
+define Device/totolink_x5000r
+ $(Device/dsa-migration)
+ IMAGE_SIZE := 16064k
+ UIMAGE_NAME := C8343R-9999
+ DEVICE_VENDOR := TOTOLINK
+ DEVICE_MODEL := X5000R
+ DEVICE_PACKAGES := kmod-mt7915e
+endef
+TARGET_DEVICES += totolink_x5000r
+
+define Device/tplink_re350-v1
+ $(Device/dsa-migration)
+ $(Device/tplink-safeloader)
+ DEVICE_MODEL := RE350
+ DEVICE_VARIANT := v1
+ DEVICE_PACKAGES := kmod-mt7603 kmod-mt76x2
+ TPLINK_BOARD_ID := RE350-V1
+ IMAGE_SIZE := 6016k
+ SUPPORTED_DEVICES += re350-v1
+endef
+TARGET_DEVICES += tplink_re350-v1
+
+define Device/tplink_re500-v1
+ $(Device/dsa-migration)
+ $(Device/tplink-safeloader)
+ DEVICE_MODEL := RE500
+ DEVICE_VARIANT := v1
+ DEVICE_PACKAGES := kmod-mt7615e kmod-mt7615-firmware
+ TPLINK_BOARD_ID := RE500-V1
+ IMAGE_SIZE := 14208k
+endef
+TARGET_DEVICES += tplink_re500-v1
+
+define Device/tplink_re650-v1
+ $(Device/dsa-migration)
+ $(Device/tplink-safeloader)
+ DEVICE_MODEL := RE650
+ DEVICE_VARIANT := v1
+ DEVICE_PACKAGES := kmod-mt7615e kmod-mt7615-firmware
+ TPLINK_BOARD_ID := RE650-V1
+ IMAGE_SIZE := 14208k
+endef
+TARGET_DEVICES += tplink_re650-v1
+
+define Device/ubnt_edgerouter_common
+ $(Device/dsa-migration)
+ $(Device/uimage-lzma-loader)
+ DEVICE_VENDOR := Ubiquiti
+ IMAGE_SIZE := 256768k