ar71xx: Add "info" partition for TP-Link Archer C7 v5
[openwrt/openwrt.git] / target / linux / ar71xx / image / generic-tp-link.mk
1 include ./common-tp-link.mk
2
3
4 define Device/archer-cxx
5 $(Device/tplink-safeloader)
6 KERNEL := kernel-bin | patch-cmdline | lzma | uImageArcher lzma
7 endef
8
9 define Device/archer-c25-v1
10 $(Device/archer-cxx)
11 DEVICE_TITLE := TP-LINK Archer C25 v1
12 DEVICE_PACKAGES := kmod-ath10k-ct ath10k-firmware-qca9887-ct
13 BOARDNAME := ARCHER-C25-V1
14 TPLINK_BOARD_ID := ARCHER-C25-V1
15 DEVICE_PROFILE := ARCHERC25V1
16 IMAGE_SIZE := 7808k
17 MTDPARTS := spi0.0:128k(factory-uboot)ro,64k(u-boot)ro,7808k(firmware),128k(config)ro,64k(art)ro
18 SUPPORTED_DEVICES := archer-c25-v1
19 endef
20 TARGET_DEVICES += archer-c25-v1
21
22 define Device/archer-c58-v1
23 $(Device/archer-cxx)
24 DEVICE_TITLE := TP-LINK Archer C58 v1
25 DEVICE_PACKAGES := kmod-ath10k-ct ath10k-firmware-qca9888-ct
26 BOARDNAME := ARCHER-C58-V1
27 TPLINK_BOARD_ID := ARCHER-C58-V1
28 DEVICE_PROFILE := ARCHERC58V1
29 IMAGE_SIZE := 7936k
30 MTDPARTS := spi0.0:64k(u-boot)ro,64k(mac)ro,7936k(firmware),64k(tplink)ro,64k(art)ro
31 SUPPORTED_DEVICES := archer-c58-v1
32 endef
33 TARGET_DEVICES += archer-c58-v1
34
35 define Device/archer-c59-v1
36 $(Device/archer-cxx)
37 DEVICE_TITLE := TP-LINK Archer C59 v1
38 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport kmod-ath10k-ct ath10k-firmware-qca9888-ct
39 BOARDNAME := ARCHER-C59-V1
40 TPLINK_BOARD_ID := ARCHER-C59-V1
41 DEVICE_PROFILE := ARCHERC59V1
42 IMAGE_SIZE := 14528k
43 MTDPARTS := spi0.0:64k(u-boot)ro,64k(mac)ro,14528k(firmware),1664k(tplink)ro,64k(art)ro
44 SUPPORTED_DEVICES := archer-c59-v1
45 endef
46 TARGET_DEVICES += archer-c59-v1
47
48 define Device/archer-c59-v2
49 $(Device/archer-c59-v1)
50 DEVICE_TITLE := TP-LINK Archer C59 v2
51 BOARDNAME := ARCHER-C59-V2
52 TPLINK_BOARD_ID := ARCHER-C59-V2
53 DEVICE_PROFILE := ARCHERC59V2
54 IMAGE_SIZE := 14400k
55 MTDPARTS := spi0.0:128k(factory-boot)ro,64k(u-boot)ro,64k(mac)ro,14400k(firmware),1664k(tplink)ro,64k@0xff0000(art)ro
56 SUPPORTED_DEVICES := archer-c59-v2
57 endef
58 TARGET_DEVICES += archer-c59-v2
59
60 define Device/archer-c60-v1
61 $(Device/archer-cxx)
62 DEVICE_TITLE := TP-LINK Archer C60 v1
63 DEVICE_PACKAGES := kmod-ath10k-ct ath10k-firmware-qca9888-ct
64 BOARDNAME := ARCHER-C60-V1
65 TPLINK_BOARD_ID := ARCHER-C60-V1
66 DEVICE_PROFILE := ARCHERC60V1
67 IMAGE_SIZE := 7936k
68 MTDPARTS := spi0.0:64k(u-boot)ro,64k(mac)ro,7936k(firmware),64k(tplink)ro,64k(art)ro
69 SUPPORTED_DEVICES := archer-c60-v1
70 endef
71 TARGET_DEVICES += archer-c60-v1
72
73 define Device/archer-c60-v2
74 $(Device/archer-c60-v1)
75 DEVICE_TITLE := TP-LINK Archer C60 v2
76 BOARDNAME := ARCHER-C60-V2
77 TPLINK_BOARD_ID := ARCHER-C60-V2
78 DEVICE_PROFILE := ARCHERC60V2
79 IMAGE_SIZE := 7808k
80 MTDPARTS := spi0.0:192k(u-boot)ro,7808k(firmware),128k(tplink)ro,64k(art)ro
81 SUPPORTED_DEVICES := archer-c60-v2
82 endef
83 TARGET_DEVICES += archer-c60-v2
84
85 define Device/archer-c5-v1
86 $(Device/tplink-16mlzma)
87 DEVICE_TITLE := TP-LINK Archer C5 v1
88 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport kmod-ath10k-ct ath10k-firmware-qca988x-ct
89 BOARDNAME := ARCHER-C5
90 DEVICE_PROFILE := ARCHERC7
91 TPLINK_HWID := 0xc5000001
92 endef
93 TARGET_DEVICES += archer-c5-v1
94
95 define Device/archer-c7-v1
96 $(Device/tplink-8mlzma)
97 DEVICE_TITLE := TP-LINK Archer C7 v1
98 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
99 BOARDNAME := ARCHER-C7
100 DEVICE_PROFILE := ARCHERC7
101 TPLINK_HWID := 0x75000001
102 endef
103 TARGET_DEVICES += archer-c7-v1
104
105 define Device/archer-c7-v2
106 $(Device/tplink-16mlzma)
107 DEVICE_TITLE := TP-LINK Archer C7 v2
108 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport kmod-ath10k-ct ath10k-firmware-qca988x-ct
109 BOARDNAME := ARCHER-C7-V2
110 DEVICE_PROFILE := ARCHERC7
111 TPLINK_HWID := 0xc7000002
112 IMAGES := sysupgrade.bin factory.bin factory-us.bin factory-eu.bin
113 IMAGE/factory-us.bin := append-rootfs | mktplinkfw factory -C US
114 IMAGE/factory-eu.bin := append-rootfs | mktplinkfw factory -C EU
115 endef
116 TARGET_DEVICES += archer-c7-v2
117
118 define Device/archer-c7-v2-il
119 $(Device/tplink-16mlzma)
120 DEVICE_TITLE := TP-LINK Archer C7 v2 (IL)
121 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport kmod-ath10k-ct ath10k-firmware-qca988x-ct
122 BOARDNAME := ARCHER-C7-V2
123 DEVICE_PROFILE := ARCHERC7
124 TPLINK_HWID := 0xc7000002
125 TPLINK_HWREV := 0x494c0001
126 endef
127 TARGET_DEVICES += archer-c7-v2-il
128
129 define Device/tl-wdr7500-v3
130 $(Device/tplink-8mlzma)
131 DEVICE_TITLE := TP-LINK Archer C7 v3
132 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport kmod-ath10k-ct ath10k-firmware-qca988x-ct
133 BOARDNAME := ARCHER-C7
134 DEVICE_PROFILE := ARCHERC7
135 TPLINK_HWID := 0x75000003
136 endef
137 TARGET_DEVICES += tl-wdr7500-v3
138
139 define Device/archer-c7-v4
140 $(Device/archer-cxx)
141 DEVICE_TITLE := TP-LINK Archer C7 v4
142 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport kmod-ath10k-ct ath10k-firmware-qca988x-ct
143 BOARDNAME := ARCHER-C7-V4
144 TPLINK_BOARD_ID := ARCHER-C7-V4
145 IMAGE_SIZE := 15104k
146 MTDPARTS := spi0.0:128k(factory-uboot)ro,128k(u-boot)ro,15104k(firmware),960k(config)ro,64k(art)ro
147 SUPPORTED_DEVICES := archer-c7-v4
148 endef
149 TARGET_DEVICES += archer-c7-v4
150
151 define Device/archer-c7-v5
152 $(Device/archer-c7-v4)
153 DEVICE_TITLE := TP-LINK Archer C7 v5
154 BOARDNAME := ARCHER-C7-V5
155 TPLINK_BOARD_ID := ARCHER-C7-V5
156 IMAGE_SIZE := 15360k
157 MTDPARTS := spi0.0:128k(factory-uboot)ro,128k(u-boot)ro,64k@0x50000(art)ro,128k@0x60000(info)ro,15360k@0xc0000(firmware)
158 SUPPORTED_DEVICES := archer-c7-v5
159 endef
160 TARGET_DEVICES += archer-c7-v5
161
162 define Device/cpe510-520-v1
163 DEVICE_TITLE := TP-LINK CPE510/520 v1
164 BOARDNAME := CPE510
165 TPLINK_BOARD_ID := CPE510
166 LOADER_TYPE := elf
167 LOADER_FLASH_OFFS := 0x43000
168 COMPILE := loader-$(1).elf
169 COMPILE/loader-$(1).elf := loader-okli-compile
170 KERNEL := kernel-bin | lzma | uImage lzma -M 0x4f4b4c49 | loader-okli $(1) 12288
171 IMAGES += factory.bin
172 IMAGE/sysupgrade.bin := append-rootfs | tplink-safeloader sysupgrade
173 IMAGE/factory.bin := append-rootfs | tplink-safeloader factory
174 DEVICE_PACKAGES := rssileds
175 MTDPARTS := spi0.0:128k(u-boot)ro,64k(partition-table)ro,64k(product-info)ro,1792k(kernel),5888k(rootfs),192k(config)ro,64k(ART)ro,7680k@0x40000(firmware)
176 IMAGE_SIZE := 7680k
177 endef
178 TARGET_DEVICES += cpe510-520-v1
179
180 define Device/cpe210-220-v1
181 $(Device/cpe510-520-v1)
182 DEVICE_TITLE := TP-LINK CPE210/220 v1
183 BOARDNAME := CPE210
184 TPLINK_BOARD_ID := CPE210
185 endef
186 TARGET_DEVICES += cpe210-220-v1
187
188 define Device/cpe210-v2
189 $(Device/tplink-safeloader)
190 DEVICE_TITLE := TP-LINK CPE210 v2
191 BOARDNAME := CPE210V2
192 TPLINK_BOARD_ID := CPE210V2
193 TPLINK_HWID := 0x0
194 TPLINK_HWREV := 0
195 MTDPARTS := spi0.0:128k(u-boot)ro,64k(partition-table)ro,64k(product-info)ro,7680k(firmware),192k(config)ro,64k(ART)ro
196 IMAGE_SIZE := 7680k
197 KERNEL := kernel-bin | patch-cmdline | lzma | tplink-v1-header -O
198 KERNEL_INITRAMFS := kernel-bin | patch-cmdline | lzma | tplink-v1-header
199 DEVICE_PACKAGES := rssileds
200 endef
201 TARGET_DEVICES += cpe210-v2
202
203 define Device/cpe210-v3
204 $(Device/tplink-safeloader)
205 DEVICE_TITLE := TP-LINK CPE210 v3
206 BOARDNAME := CPE210V3
207 TPLINK_BOARD_ID := CPE210V3
208 TPLINK_HWID := 0x0
209 TPLINK_HWREV := 0
210 MTDPARTS := spi0.0:128k(u-boot)ro,64k(partition-table)ro,64k(product-info)ro,7680k(firmware),192k(config)ro,64k(ART)ro
211 IMAGE_SIZE := 7680k
212 KERNEL := kernel-bin | patch-cmdline | lzma | tplink-v1-header -O
213 KERNEL_INITRAMFS := kernel-bin | patch-cmdline | lzma | tplink-v1-header
214 DEVICE_PACKAGES := rssileds
215 endef
216 TARGET_DEVICES += cpe210-v3
217
218 define Device/wbs210-v1
219 $(Device/cpe510-520-v1)
220 DEVICE_TITLE := TP-LINK WBS210 v1
221 BOARDNAME := WBS210
222 TPLINK_BOARD_ID := WBS210
223 endef
224 TARGET_DEVICES += wbs210-v1
225
226 define Device/wbs510-v1
227 $(Device/cpe510-520-v1)
228 DEVICE_TITLE := TP-LINK WBS510 v1
229 BOARDNAME := WBS510
230 TPLINK_BOARD_ID := WBS510
231 endef
232 TARGET_DEVICES += wbs510-v1
233
234 define Device/eap120-v1
235 DEVICE_TITLE := TP-LINK EAP120 v1
236 MTDPARTS := spi0.0:128k(u-boot)ro,64k(partition-table)ro,64k(product-info)ro,1536k(kernel),14336k(rootfs),192k(config)ro,64k(ART)ro,15872k@0x40000(firmware)
237 IMAGE_SIZE := 15872k
238 BOARDNAME := EAP120
239 TPLINK_BOARD_ID := EAP120
240 DEVICE_PROFILE := EAP120
241 LOADER_TYPE := elf
242 KERNEL := kernel-bin | patch-cmdline | lzma | loader-kernel
243 IMAGES := sysupgrade.bin factory.bin
244 IMAGE/sysupgrade.bin := append-rootfs | tplink-safeloader sysupgrade
245 IMAGE/factory.bin := append-rootfs | tplink-safeloader factory
246 endef
247 TARGET_DEVICES += eap120-v1
248
249 define Device/re355-v1
250 $(Device/tplink-safeloader)
251 DEVICE_TITLE := TP-LINK RE355 v1
252 DEVICE_PACKAGES := kmod-ath10k-ct ath10k-firmware-qca988x-ct
253 MTDPARTS := spi0.0:128k(u-boot)ro,6016k(firmware),64k(partition-table)ro,64k(product-info)ro,1856k(config)ro,64k(art)ro
254 IMAGE_SIZE := 7936k
255 BOARDNAME := RE355
256 TPLINK_BOARD_ID := RE355
257 DEVICE_PROFILE := RE355
258 TPLINK_HWID := 0x0
259 TPLINK_HWREV := 0
260 KERNEL := kernel-bin | patch-cmdline | lzma | tplink-v1-header -O
261 KERNEL_INITRAMFS := kernel-bin | patch-cmdline | lzma | tplink-v1-header
262 endef
263 TARGET_DEVICES += re355-v1
264
265 define Device/re450-v1
266 $(Device/tplink-safeloader)
267 DEVICE_TITLE := TP-LINK RE450 v1
268 DEVICE_PACKAGES := kmod-ath10k-ct ath10k-firmware-qca988x-ct
269 MTDPARTS := spi0.0:128k(u-boot)ro,6016k(firmware),64k(partition-table)ro,64k(product-info)ro,1856k(config)ro,64k(art)ro
270 IMAGE_SIZE := 7936k
271 BOARDNAME := RE450
272 TPLINK_BOARD_ID := RE450
273 DEVICE_PROFILE := RE450
274 TPLINK_HWID := 0x0
275 TPLINK_HWREV := 0
276 KERNEL := kernel-bin | patch-cmdline | lzma | tplink-v1-header -O
277 KERNEL_INITRAMFS := kernel-bin | patch-cmdline | lzma | tplink-v1-header
278 endef
279 TARGET_DEVICES += re450-v1
280
281 define Device/tl-mr6400-v1
282 $(Device/tplink-8mlzma)
283 DEVICE_TITLE := TP-LINK TL-MR6400 v1
284 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-net kmod-usb-net-rndis kmod-usb-serial kmod-usb-serial-option adb-enablemodem
285 BOARDNAME := TL-MR6400
286 DEVICE_PROFILE := TLMR6400
287 TPLINK_HWID := 0x64000001
288 endef
289 TARGET_DEVICES += tl-mr6400-v1
290
291 define Device/tl-wdr3500-v1
292 $(Device/tplink-8mlzma)
293 DEVICE_TITLE := TP-LINK TL-WDR3500 v1
294 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
295 BOARDNAME := TL-WDR3500
296 DEVICE_PROFILE := TLWDR4300
297 TPLINK_HWID := 0x35000001
298 endef
299 TARGET_DEVICES += tl-wdr3500-v1
300
301 define Device/tl-wdr3600-v1
302 $(Device/tl-wdr3500-v1)
303 DEVICE_TITLE := TP-LINK TL-WDR3600 v1
304 BOARDNAME := TL-WDR4300
305 TPLINK_HWID := 0x36000001
306 IMAGE/factory.bin := append-rootfs | mktplinkfw factory -C US
307 endef
308 TARGET_DEVICES += tl-wdr3600-v1
309
310 define Device/tl-wdr4300-v1
311 $(Device/tl-wdr3600-v1)
312 DEVICE_TITLE := TP-LINK TL-WDR4300 v1
313 TPLINK_HWID := 0x43000001
314 endef
315 TARGET_DEVICES += tl-wdr4300-v1
316
317 define Device/tl-wdr4300-v1-il
318 $(Device/tl-wdr3500-v1)
319 DEVICE_TITLE := TP-LINK TL-WDR4300 v1 (IL)
320 BOARDNAME := TL-WDR4300
321 TPLINK_HWID := 0x43008001
322 endef
323 TARGET_DEVICES += tl-wdr4300-v1-il
324
325 define Device/tl-wdr4310-v1
326 $(Device/tl-wdr4300-v1-il)
327 DEVICE_TITLE := TP-LINK TL-WDR4310 v1
328 TPLINK_HWID := 0x43100001
329 endef
330 TARGET_DEVICES += tl-wdr4310-v1
331
332 define Device/tl-wdr4900-v2
333 $(Device/tplink-8mlzma)
334 DEVICE_TITLE := TP-LINK TL-WDR4900 v2
335 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
336 BOARDNAME := TL-WDR4900-v2
337 DEVICE_PROFILE := TLWDR4900V2
338 TPLINK_HWID := 0x49000002
339 endef
340 TARGET_DEVICES += tl-wdr4900-v2
341
342 define Device/tl-wdr6500-v2
343 $(Device/tplink-8mlzma)
344 DEVICE_TITLE := TP-LINK TL-WDR6500 v2
345 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport kmod-ath10k-ct ath10k-firmware-qca988x-ct
346 KERNEL := kernel-bin | patch-cmdline | lzma | uImage lzma
347 KERNEL_INITRAMFS := kernel-bin | patch-cmdline | lzma | uImage lzma | tplink-v1-header
348 BOARDNAME := TL-WDR6500-v2
349 DEVICE_PROFILE := TLWDR6500V2
350 TPLINK_HWID := 0x65000002
351 TPLINK_HEADER_VERSION := 2
352 endef
353 TARGET_DEVICES += tl-wdr6500-v2
354
355 define Device/mw4530r-v1
356 $(Device/tl-wdr4300-v1)
357 DEVICE_TITLE := Mercury MW4530R v1
358 TPLINK_HWID := 0x45300001
359 endef
360 TARGET_DEVICES += mw4530r-v1
361
362 define Device/tl-wpa8630-v1
363 $(Device/tplink-8mlzma)
364 DEVICE_TITLE := TP-LINK TL-WPA8630 v1
365 DEVICE_PACKAGES := kmod-ath10k-ct ath10k-firmware-qca988x-ct
366 BOARDNAME := TL-WPA8630
367 DEVICE_PROFILE := TL-WPA8630
368 TPLINK_HWID := 0x86300001
369 endef
370 TARGET_DEVICES += tl-wpa8630-v1
371
372 define Device/tl-wr1043n-v5
373 $(Device/archer-cxx)
374 DEVICE_TITLE := TP-LINK TL-WR1043N v5
375 BOARDNAME := TL-WR1043N-v5
376 SUPPORTED_DEVICES := tl-wr1043n-v5
377 DEVICE_PROFILE := TLWR1043
378 MTDPARTS := spi0.0:128k(factory-uboot)ro,128k(u-boot)ro,15104k(firmware),128k(product-info)ro,640k(config)ro,64k(partition-table)ro,128k(logs)ro,64k(art)ro
379 IMAGE_SIZE := 15104k
380 TPLINK_BOARD_ID := TLWR1043NV5
381 endef
382 TARGET_DEVICES += tl-wr1043n-v5
383
384 define Device/tl-wr1043nd-v1
385 $(Device/tplink-8m)
386 DEVICE_TITLE := TP-LINK TL-WR1043N/ND v1
387 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
388 BOARDNAME := TL-WR1043ND
389 DEVICE_PROFILE := TLWR1043
390 TPLINK_HWID := 0x10430001
391 endef
392 TARGET_DEVICES += tl-wr1043nd-v1
393
394 define Device/tl-wr1043nd-v2
395 $(Device/tplink-8mlzma)
396 DEVICE_TITLE := TP-LINK TL-WR1043N/ND v2
397 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
398 BOARDNAME := TL-WR1043ND-v2
399 DEVICE_PROFILE := TLWR1043
400 TPLINK_HWID := 0x10430002
401 endef
402 TARGET_DEVICES += tl-wr1043nd-v2
403
404 define Device/tl-wr1043nd-v3
405 $(Device/tl-wr1043nd-v2)
406 DEVICE_TITLE := TP-LINK TL-WR1043N/ND v3
407 TPLINK_HWID := 0x10430003
408 endef
409 TARGET_DEVICES += tl-wr1043nd-v3
410
411 define Device/tl-wr1043nd-v4
412 $(Device/tplink-safeloader)
413 DEVICE_TITLE := TP-LINK TL-WR1043N/ND v4
414 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
415 BOARDNAME := TL-WR1043ND-v4
416 DEVICE_PROFILE := TLWR1043
417 TPLINK_HWID := 0x10430004
418 MTDPARTS := spi0.0:128k(u-boot)ro,15552k(firmware),128k(product-info)ro,320k(config)ro,64k(partition-table)ro,128k(logs)ro,64k(ART)ro
419 IMAGE_SIZE := 15552k
420 TPLINK_BOARD_ID := TLWR1043NDV4
421 KERNEL := kernel-bin | patch-cmdline | lzma | tplink-v1-header -O
422 KERNEL_INITRAMFS := kernel-bin | patch-cmdline | lzma | tplink-v1-header
423 endef
424 TARGET_DEVICES += tl-wr1043nd-v4
425
426 define Device/tl-wr2543-v1
427 $(Device/tplink-8mlzma)
428 DEVICE_TITLE := TP-LINK TL-WR2543N/ND v1
429 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
430 BOARDNAME := TL-WR2543N
431 DEVICE_PROFILE := TLWR2543
432 TPLINK_HWID := 0x25430001
433 IMAGE/sysupgrade.bin := append-rootfs | mktplinkfw sysupgrade -v 3.13.99
434 IMAGE/factory.bin := append-rootfs | mktplinkfw factory -v 3.13.99
435 endef
436 TARGET_DEVICES += tl-wr2543-v1
437
438 define Device/tl-wr710n-v1
439 $(Device/tplink-8mlzma)
440 DEVICE_TITLE := TP-LINK TL-WR710N v1
441 DEVICE_PACKAGES := kmod-usb-core kmod-usb2
442 BOARDNAME := TL-WR710N
443 DEVICE_PROFILE := TLWR710
444 TPLINK_HWID := 0x07100001
445 CONSOLE := ttyATH0,115200
446 IMAGE/factory.bin := append-rootfs | mktplinkfw factory -C US
447 endef
448 TARGET_DEVICES += tl-wr710n-v1
449
450 define Device/tl-wr710n-v2.1
451 $(Device/tl-wr710n-v1)
452 DEVICE_TITLE := TP-LINK TL-WR710N v2.1
453 TPLINK_HWID := 0x07100002
454 TPLINK_HWREV := 0x00000002
455 endef
456 TARGET_DEVICES += tl-wr710n-v2.1
457
458 define Device/tl-wr810n-v1
459 $(Device/tplink-8mlzma)
460 DEVICE_TITLE := TP-LINK TL-WR810N v1
461 DEVICE_PACKAGES := kmod-usb-core kmod-usb2
462 BOARDNAME := TL-WR810N
463 DEVICE_PROFILE := TLWR810
464 TPLINK_HWID := 0x08100001
465 endef
466 TARGET_DEVICES += tl-wr810n-v1
467
468 define Device/tl-wr810n-v2
469 $(Device/tplink-8mlzma)
470 DEVICE_TITLE := TP-LINK TL-WR810N v2
471 BOARDNAME := TL-WR810N-v2
472 DEVICE_PROFILE := TLWR810
473 TPLINK_HWID := 0x08100002
474 endef
475 TARGET_DEVICES += tl-wr810n-v2
476
477 define Device/tl-wr842n-v1
478 $(Device/tplink-8m)
479 DEVICE_TITLE := TP-LINK TL-WR842N/ND v1
480 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
481 BOARDNAME := TL-MR3420
482 DEVICE_PROFILE := TLWR842
483 TPLINK_HWID := 0x08420001
484 endef
485 TARGET_DEVICES += tl-wr842n-v1
486
487 define Device/tl-wr842n-v2
488 $(Device/tplink-8mlzma)
489 DEVICE_TITLE := TP-LINK TL-WR842N/ND v2
490 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
491 BOARDNAME := TL-WR842N-v2
492 DEVICE_PROFILE := TLWR842
493 TPLINK_HWID := 0x8420002
494 endef
495 TARGET_DEVICES += tl-wr842n-v2
496
497 define Device/tl-wr842n-v3
498 $(Device/tplink-16mlzma)
499 DEVICE_TITLE := TP-LINK TL-WR842N/ND v3
500 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
501 BOARDNAME := TL-WR842N-v3
502 DEVICE_PROFILE := TLWR842
503 TPLINK_HWID := 0x08420003
504 endef
505 TARGET_DEVICES += tl-wr842n-v3
506
507 define Device/tl-wr902ac-v1
508 $(Device/tplink-safeloader)
509 DEVICE_TITLE := TP-LINK TL-WR902AC v1
510 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport \
511 kmod-ath10k-ct ath10k-firmware-qca9887-ct -swconfig -uboot-envtools
512 BOARDNAME := TL-WR902AC-V1
513 DEVICE_PROFILE := TLWR902
514 TPLINK_BOARD_ID := TL-WR902AC-V1
515 TPLINK_HWID := 0x0
516 TPLINK_HWREV := 0
517 SUPPORTED_DEVICES := tl-wr902ac-v1
518 IMAGE_SIZE := 7360k
519 MTDPARTS := spi0.0:128k(u-boot)ro,7360k(firmware),640k(tplink)ro,64k(art)ro
520 endef
521 TARGET_DEVICES += tl-wr902ac-v1
522
523 define Device/tl-wr942n-v1
524 $(Device/archer-cxx)
525 DEVICE_TITLE := TP-LINK TL-WR942N v1
526 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
527 BOARDNAME := TL-WR942N-V1
528 TPLINK_BOARD_ID := TLWR942NV1
529 DEVICE_PROFILE := TLWR942
530 IMAGE_SIZE := 14464k
531 MTDPARTS := spi0.0:128k(u-boot)ro,14464k(firmware),64k(product-info)ro,64k(partition-table)ro,256k(oem-config)ro,1344k(oem-vars)ro,64k(ART)ro
532 SUPPORTED_DEVICES := tl-wr942n-v1
533 endef
534 TARGET_DEVICES += tl-wr942n-v1