0f8bfff8ad5b5d2b91fd26631bd6e5935693cc74
[openwrt/openwrt.git] / target / linux / ath79 / image / generic-tp-link.mk
1 include ./common-tp-link.mk
2
3 define Device/tplink_archer-c7-v2
4 $(Device/tplink-16mlzma)
5 ATH_SOC := qca9558
6 DEVICE_TITLE := TP-LINK Archer C7 v2
7 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport kmod-ath10k ath10k-firmware-qca988x
8 TPLINK_HWID := 0xc7000002
9 IMAGES := sysupgrade.bin factory.bin factory-us.bin factory-eu.bin
10 IMAGE/factory-us.bin := append-rootfs | mktplinkfw factory -C US
11 IMAGE/factory-eu.bin := append-rootfs | mktplinkfw factory -C EU
12 endef
13 TARGET_DEVICES += tplink_archer-c7-v2
14
15 define Device/tplink_tl-re450-v2
16 $(Device/tplink)
17 ATH_SOC := qca9563
18 IMAGE_SIZE := 6016k
19 DEVICE_TITLE := TP-LINK RE450 v2
20 DEVICE_PACKAGES := kmod-ath10k ath10k-firmware-qca988x
21 TPLINK_HWID := 0x0
22 TPLINK_HWREV := 0
23 TPLINK_BOARD_ID := RE450-V2
24 LOADER_TYPE := elf
25 KERNEL := kernel-bin | append-dtb | lzma | tplink-v1-header -O
26 IMAGE/sysupgrade.bin := append-rootfs | tplink-safeloader sysupgrade | \
27 append-metadata | check-size $$$$(IMAGE_SIZE)
28 IMAGE/factory.bin := append-rootfs | tplink-safeloader factory
29 endef
30 TARGET_DEVICES += tplink_tl-re450-v2
31
32 define Device/tplink_tl-wdr3600
33 $(Device/tplink-8mlzma)
34 ATH_SOC := ar9344
35 DEVICE_TITLE := TP-LINK TL-WDR3600
36 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
37 TPLINK_HWID := 0x36000001
38 SUPPORTED_DEVICES += tl-wdr3600
39 endef
40 TARGET_DEVICES += tplink_tl-wdr3600
41
42 define Device/tplink_tl-wdr4300
43 $(Device/tplink-8mlzma)
44 ATH_SOC := ar9344
45 DEVICE_TITLE := TP-LINK TL-WDR4300
46 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
47 TPLINK_HWID := 0x43000001
48 SUPPORTED_DEVICES += tl-wdr4300
49 endef
50 TARGET_DEVICES += tplink_tl-wdr4300
51
52 define Device/tplink_tl-wdr4900-v2
53 $(Device/tplink-8mlzma)
54 ATH_SOC := qca9558
55 DEVICE_TITLE := TP-LINK TL-WDR4900 v2
56 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
57 TPLINK_HWID := 0x49000002
58 endef
59 TARGET_DEVICES += tplink_tl-wdr4900-v2
60
61 define Device/tplink_tl-wr1043nd-v1
62 $(Device/tplink-8m)
63 ATH_SOC := ar9132
64 DEVICE_TITLE := TP-LINK TL-WR1043N/ND v1
65 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
66 TPLINK_HWID := 0x10430001
67 SUPPORTED_DEVICES += tl-wr1043nd
68 endef
69 TARGET_DEVICES += tplink_tl-wr1043nd-v1
70
71 define Device/tplink_tl-wr1043nd-v2
72 $(Device/tplink-8mlzma)
73 ATH_SOC := qca9558
74 DEVICE_TITLE := TP-LINK TL-WR1043N/ND v2
75 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
76 TPLINK_HWID := 0x10430002
77 SUPPORTED_DEVICES += tl-wr1043nd-v2
78 endef
79 TARGET_DEVICES += tplink_tl-wr1043nd-v2
80
81 define Device/tplink_tl-wr1043nd-v3
82 $(Device/tplink-8mlzma)
83 ATH_SOC := qca9558
84 DEVICE_TITLE := TP-LINK TL-WR1043N/ND v3
85 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
86 TPLINK_HWID := 0x10430003
87 SUPPORTED_DEVICES += tl-wr1043nd-v3
88 endef
89 TARGET_DEVICES += tplink_tl-wr1043nd-v3
90
91 define Device/tplink_tl-wr1043nd-v4
92 $(Device/tplink)
93 ATH_SOC := qca9563
94 IMAGE_SIZE := 15552k
95 DEVICE_TITLE := TP-LINK TL-WR1043N/ND v4
96 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
97 TPLINK_HWID := 0x10430004
98 TPLINK_BOARD_ID := TLWR1043NDV4
99 KERNEL := kernel-bin | append-dtb | lzma | tplink-v1-header -O
100 IMAGE/sysupgrade.bin := append-rootfs | tplink-safeloader sysupgrade | \
101 append-metadata | check-size $$$$(IMAGE_SIZE)
102 IMAGE/factory.bin := append-rootfs | tplink-safeloader factory
103 SUPPORTED_DEVICES += tl-wr1043nd-v4
104 endef
105 TARGET_DEVICES += tplink_tl-wr1043nd-v4
106
107 define Device/tplink_tl-wr2543-v1
108 $(Device/tplink-8mlzma)
109 ATH_SOC := ar7242
110 DEVICE_TITLE := TP-LINK TL-WR2543N/ND v1
111 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
112 TPLINK_HWID := 0x25430001
113 IMAGE/sysupgrade.bin := append-rootfs | mktplinkfw sysupgrade -v 3.13.99 | \
114 append-metadata | check-size $$$$(IMAGE_SIZE)
115 IMAGE/factory.bin := append-rootfs | mktplinkfw factory -v 3.13.99
116 SUPPORTED_DEVICES += tl-wr2543-v1
117 endef
118 TARGET_DEVICES += tplink_tl-wr2543-v1