lantiq: sync image filename with boardname
[openwrt/openwrt.git] / target / linux / lantiq / image / tp-link.mk
1 DEVICE_VARS += TPLINK_FLASHLAYOUT TPLINK_HWID TPLINK_HWREV TPLINK_HWREVADD TPLINK_HVERSION
2
3 define Device/lantiqTpLink
4 TPLINK_HWREVADD := 0
5 TPLINK_HVERSION := 2
6 KERNEL := kernel-bin | append-dtb | lzma
7 KERNEL_INITRAMFS := kernel-bin | append-dtb | lzma | \
8 tplink-v2-header -s -V "ver. 1.0"
9 IMAGES := sysupgrade.bin
10 IMAGE/sysupgrade.bin := tplink-v2-image -s -V "ver. 1.0" | \
11 append-metadata | check-size $$$$(IMAGE_SIZE)
12 endef
13
14 define Device/tplink_tdw8970
15 $(Device/lantiqTpLink)
16 DEVICE_DTS := TDW8970
17 TPLINK_FLASHLAYOUT := 8Mltq
18 TPLINK_HWID := 0x89700001
19 TPLINK_HWREV := 1
20 IMAGE_SIZE := 7680k
21 DEVICE_TITLE := TP-LINK TD-W8970
22 DEVICE_PACKAGES:= kmod-ath9k wpad-mini kmod-usb-dwc2 kmod-usb-ledtrig-usbport
23 SUPPORTED_DEVICES += TDW8970
24 endef
25 TARGET_DEVICES += tplink_tdw8970
26
27 define Device/tplink_tdw8980
28 $(Device/lantiqTpLink)
29 DEVICE_DTS := TDW8980
30 TPLINK_FLASHLAYOUT := 8Mltq
31 TPLINK_HWID := 0x89800001
32 TPLINK_HWREV := 14
33 IMAGE_SIZE := 7680k
34 DEVICE_TITLE := TP-LINK TD-W8980
35 DEVICE_PACKAGES:= kmod-ath9k kmod-owl-loader wpad-mini kmod-usb-dwc2 kmod-usb-ledtrig-usbport
36 SUPPORTED_DEVICES += TDW8980
37 endef
38 TARGET_DEVICES += tplink_tdw8980
39
40 define Device/tplink_vr200v
41 $(Device/lantiqTpLink)
42 DEVICE_DTS := VR200v
43 TPLINK_BOARD_ID := ArcherVR200V
44 TPLINK_FLASHLAYOUT := 16Mltq
45 TPLINK_HWID := 0x73b70801
46 TPLINK_HWREV := 0x2f
47 IMAGE_SIZE := 15808k
48 DEVICE_TITLE := TP-LINK Archer VR200v
49 DEVICE_PACKAGES:= kmod-usb-dwc2 kmod-usb-ledtrig-usbport
50 SUPPORTED_DEVICES += VR200v
51 endef
52 TARGET_DEVICES += tplink_vr200v