treewide: omit IMAGE_SIZE argument from check-size
[openwrt/openwrt.git] / target / linux / ath79 / image / generic-tp-link.mk
1 include ./common-tp-link.mk
2
3 define Device/tplink_archer-a7-v5
4 $(Device/tplink-safeloader-uimage)
5 SOC := qca9563
6 IMAGE_SIZE := 15104k
7 DEVICE_MODEL := Archer A7
8 DEVICE_VARIANT := v5
9 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport kmod-ath10k-ct \
10 ath10k-firmware-qca988x-ct
11 TPLINK_BOARD_ID := ARCHER-A7-V5
12 BOARDNAME := ARCHER-A7-V5
13 endef
14 TARGET_DEVICES += tplink_archer-a7-v5
15
16 define Device/tplink_archer-c2-v3
17 $(Device/tplink-safeloader-uimage)
18 SOC := qca9563
19 IMAGE_SIZE := 7808k
20 DEVICE_MODEL := Archer C2
21 DEVICE_VARIANT := v3
22 DEVICE_PACKAGES := kmod-ath10k-ct-smallbuffers ath10k-firmware-qca9887-ct
23 TPLINK_BOARD_ID := ARCHER-C2-V3
24 endef
25 TARGET_DEVICES += tplink_archer-c2-v3
26
27 define Device/tplink_archer-c25-v1
28 $(Device/tplink-safeloader-uimage)
29 SOC := qca9561
30 IMAGE_SIZE := 7808k
31 DEVICE_MODEL := Archer C25
32 DEVICE_VARIANT := v1
33 TPLINK_BOARD_ID := ARCHER-C25-V1
34 DEVICE_PACKAGES := kmod-ath10k-ct-smallbuffers ath10k-firmware-qca9887-ct
35 SUPPORTED_DEVICES += archer-c25-v1
36 endef
37 TARGET_DEVICES += tplink_archer-c25-v1
38
39 define Device/tplink_archer-c5-v1
40 $(Device/tplink-16mlzma)
41 SOC := qca9558
42 DEVICE_MODEL := Archer C5
43 DEVICE_VARIANT := v1
44 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport kmod-ath10k-ct \
45 ath10k-firmware-qca988x-ct
46 TPLINK_HWID := 0xc5000001
47 SUPPORTED_DEVICES += archer-c5
48 endef
49 TARGET_DEVICES += tplink_archer-c5-v1
50
51 define Device/tplink_archer-c58-v1
52 $(Device/tplink-safeloader-uimage)
53 SOC := qca9561
54 IMAGE_SIZE := 7936k
55 DEVICE_MODEL := Archer C58
56 DEVICE_VARIANT := v1
57 TPLINK_BOARD_ID := ARCHER-C58-V1
58 DEVICE_PACKAGES := kmod-ath10k-ct-smallbuffers ath10k-firmware-qca9888-ct
59 SUPPORTED_DEVICES += archer-c58-v1
60 endef
61 TARGET_DEVICES += tplink_archer-c58-v1
62
63 define Device/tplink_archer-c59-v1
64 $(Device/tplink-safeloader-uimage)
65 SOC := qca9561
66 IMAGE_SIZE := 14528k
67 DEVICE_MODEL := Archer C59
68 DEVICE_VARIANT := v1
69 TPLINK_BOARD_ID := ARCHER-C59-V1
70 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport kmod-ath10k-ct \
71 ath10k-firmware-qca9888-ct
72 SUPPORTED_DEVICES += archer-c59-v1
73 endef
74 TARGET_DEVICES += tplink_archer-c59-v1
75
76 define Device/tplink_archer-c59-v2
77 $(Device/tplink-safeloader-uimage)
78 SOC := qca9561
79 IMAGE_SIZE := 14400k
80 DEVICE_MODEL := Archer C59
81 DEVICE_VARIANT := v2
82 TPLINK_BOARD_ID := ARCHER-C59-V2
83 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport kmod-ath10k-ct \
84 ath10k-firmware-qca9888-ct
85 SUPPORTED_DEVICES += archer-c59-v2
86 endef
87 TARGET_DEVICES += tplink_archer-c59-v2
88
89 define Device/tplink_archer-c6-v2
90 $(Device/tplink-safeloader-uimage)
91 SOC := qca9563
92 IMAGE_SIZE := 7808k
93 DEVICE_MODEL := Archer C6
94 DEVICE_VARIANT := v2 (EU/RU/JP)
95 TPLINK_BOARD_ID := ARCHER-C6-V2
96 DEVICE_PACKAGES := kmod-ath10k-ct ath10k-firmware-qca9888-ct
97 endef
98 TARGET_DEVICES += tplink_archer-c6-v2
99
100 define Device/tplink_archer-c6-v2-us
101 $(Device/tplink-safeloader-uimage)
102 SOC := qca9563
103 IMAGE_SIZE := 15872k
104 DEVICE_MODEL := Archer C6
105 DEVICE_VARIANT := v2 (US)
106 DEVICE_ALT0_VENDOR := TP-Link
107 DEVICE_ALT0_MODEL := Archer A6
108 DEVICE_ALT0_VARIANT := v2 (US/TW)
109 TPLINK_BOARD_ID := ARCHER-C6-V2-US
110 DEVICE_PACKAGES := kmod-ath10k-ct ath10k-firmware-qca9888-ct
111 endef
112 TARGET_DEVICES += tplink_archer-c6-v2-us
113
114 define Device/tplink_archer-c60-v1
115 $(Device/tplink-safeloader-uimage)
116 SOC := qca9561
117 IMAGE_SIZE := 7936k
118 DEVICE_MODEL := Archer C60
119 DEVICE_VARIANT := v1
120 TPLINK_BOARD_ID := ARCHER-C60-V1
121 DEVICE_PACKAGES := kmod-ath10k-ct-smallbuffers ath10k-firmware-qca9888-ct
122 SUPPORTED_DEVICES += archer-c60-v1
123 endef
124 TARGET_DEVICES += tplink_archer-c60-v1
125
126 define Device/tplink_archer-c60-v2
127 $(Device/tplink-safeloader-uimage)
128 SOC := qca9561
129 IMAGE_SIZE := 7808k
130 DEVICE_MODEL := Archer C60
131 DEVICE_VARIANT := v2
132 TPLINK_BOARD_ID := ARCHER-C60-V2
133 DEVICE_PACKAGES := kmod-ath10k-ct-smallbuffers ath10k-firmware-qca9888-ct
134 SUPPORTED_DEVICES += archer-c60-v2
135 endef
136 TARGET_DEVICES += tplink_archer-c60-v2
137
138 define Device/tplink_archer-c60-v3
139 $(Device/tplink-safeloader-uimage)
140 SOC := qca9561
141 IMAGE_SIZE := 7808k
142 DEVICE_MODEL := Archer C60
143 DEVICE_VARIANT := v3
144 TPLINK_BOARD_ID := ARCHER-C60-V3
145 DEVICE_PACKAGES := kmod-ath10k-ct-smallbuffers ath10k-firmware-qca9888-ct
146 endef
147 TARGET_DEVICES += tplink_archer-c60-v3
148
149 define Device/tplink_archer-c7-v1
150 $(Device/tplink-8mlzma)
151 SOC := qca9558
152 DEVICE_MODEL := Archer C7
153 DEVICE_VARIANT := v1
154 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport
155 TPLINK_HWID := 0x75000001
156 SUPPORTED_DEVICES += archer-c7
157 endef
158 TARGET_DEVICES += tplink_archer-c7-v1
159
160 define Device/tplink_archer-c7-v2
161 $(Device/tplink-16mlzma)
162 SOC := qca9558
163 DEVICE_MODEL := Archer C7
164 DEVICE_VARIANT := v2
165 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport kmod-ath10k-ct \
166 ath10k-firmware-qca988x-ct
167 TPLINK_HWID := 0xc7000002
168 SUPPORTED_DEVICES += archer-c7
169 IMAGES += factory-us.bin factory-eu.bin
170 IMAGE/factory-us.bin := tplink-v1-image factory -C US
171 IMAGE/factory-eu.bin := tplink-v1-image factory -C EU
172 endef
173 TARGET_DEVICES += tplink_archer-c7-v2
174
175 define Device/tplink_archer-c7-v4
176 $(Device/tplink-safeloader-uimage)
177 SOC := qca9563
178 IMAGE_SIZE := 15104k
179 DEVICE_MODEL := Archer C7
180 DEVICE_VARIANT := v4
181 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport kmod-ath10k-ct \
182 ath10k-firmware-qca988x-ct
183 TPLINK_BOARD_ID := ARCHER-C7-V4
184 BOARDNAME := ARCHER-C7-V4
185 SUPPORTED_DEVICES += archer-c7-v4
186 endef
187 TARGET_DEVICES += tplink_archer-c7-v4
188
189 define Device/tplink_archer-c7-v5
190 $(Device/tplink-safeloader-uimage)
191 SOC := qca9563
192 IMAGE_SIZE := 15360k
193 DEVICE_MODEL := Archer C7
194 DEVICE_VARIANT := v5
195 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport kmod-ath10k-ct \
196 ath10k-firmware-qca988x-ct
197 TPLINK_BOARD_ID := ARCHER-C7-V5
198 BOARDNAME := ARCHER-C7-V5
199 SUPPORTED_DEVICES += archer-c7-v5
200 endef
201 TARGET_DEVICES += tplink_archer-c7-v5
202
203 define Device/tplink_archer-d50-v1
204 $(Device/tplink-v2)
205 SOC := qca9531
206 DEVICE_MODEL := Archer D50
207 DEVICE_VARIANT := v1
208 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport \
209 kmod-ath10k-ct-smallbuffers ath10k-firmware-qca988x-ct
210 BOARDNAME := ARCHER-D50-V1
211 IMAGE_SIZE := 7808k
212 TPLINK_HWID := 0xC1200001
213 TPLINK_HWREV := 0x00000046
214 TPLINK_FLASHLAYOUT := 8Mqca
215 KERNEL_INITRAMFS := kernel-bin | append-dtb | lzma | \
216 tplink-v2-header -s -V "ver. 1.0"
217 endef
218 TARGET_DEVICES += tplink_archer-d50-v1
219
220 define Device/tplink_archer-d7-v1
221 $(Device/tplink-v2)
222 SOC := qca9558
223 DEVICE_MODEL := Archer D7
224 DEVICE_VARIANT := v1
225 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport \
226 kmod-ath10k-ct ath10k-firmware-qca988x-ct
227 IMAGE_SIZE := 15936k
228 TPLINK_HWID := 0x89300001
229 TPLINK_HWREV := 0x0000002D
230 TPLINK_FLASHLAYOUT := 16Mqca
231 TPLINK_HWREVADD := 0x00000002
232 endef
233 TARGET_DEVICES += tplink_archer-d7-v1
234
235 define Device/tplink_archer-d7b-v1
236 $(Device/tplink-v2)
237 SOC := qca9558
238 DEVICE_MODEL := Archer D7b
239 DEVICE_VARIANT := v1
240 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport \
241 kmod-ath10k-ct ath10k-firmware-qca988x-ct
242 IMAGE_SIZE := 16000k
243 TPLINK_HWID := 0x89300001
244 TPLINK_HWREV := 0x0000003D
245 TPLINK_FLASHLAYOUT := 16Mqca
246 endef
247 TARGET_DEVICES += tplink_archer-d7b-v1
248
249 define Device/tplink_cpe210-v1
250 $(Device/tplink-safeloader-okli)
251 SOC := ar9344
252 IMAGE_SIZE := 7680k
253 DEVICE_MODEL := CPE210
254 DEVICE_VARIANT := v1
255 DEVICE_PACKAGES := rssileds
256 TPLINK_BOARD_ID := CPE210
257 SUPPORTED_DEVICES += cpe210
258 endef
259 TARGET_DEVICES += tplink_cpe210-v1
260
261 define Device/tplink_cpe210-v2
262 $(Device/tplink-safeloader)
263 SOC := qca9533
264 IMAGE_SIZE := 7680k
265 DEVICE_MODEL := CPE210
266 DEVICE_VARIANT := v2
267 TPLINK_BOARD_ID := CPE210V2
268 DEVICE_PACKAGES := rssileds
269 LOADER_TYPE := elf
270 SUPPORTED_DEVICES += cpe210-v2
271 endef
272 TARGET_DEVICES += tplink_cpe210-v2
273
274 define Device/tplink_cpe210-v3
275 $(Device/tplink-safeloader)
276 SOC := qca9533
277 IMAGE_SIZE := 7680k
278 DEVICE_MODEL := CPE210
279 DEVICE_VARIANT := v3
280 DEVICE_PACKAGES := rssileds
281 TPLINK_BOARD_ID := CPE210V3
282 LOADER_TYPE := elf
283 SUPPORTED_DEVICES += cpe210-v3
284 endef
285 TARGET_DEVICES += tplink_cpe210-v3
286
287 define Device/tplink_cpe220-v2
288 $(Device/tplink-safeloader-okli)
289 SOC := ar9344
290 IMAGE_SIZE := 7680k
291 DEVICE_MODEL := CPE220
292 DEVICE_VARIANT := v2
293 DEVICE_PACKAGES := rssileds
294 TPLINK_BOARD_ID := CPE220V2
295 endef
296 TARGET_DEVICES += tplink_cpe220-v2
297
298 define Device/tplink_cpe220-v3
299 $(Device/tplink-safeloader)
300 SOC := qca9533
301 IMAGE_SIZE := 7680k
302 DEVICE_MODEL := CPE220
303 DEVICE_VARIANT := v3
304 DEVICE_PACKAGES := rssileds
305 TPLINK_BOARD_ID := CPE220V3
306 LOADER_TYPE := elf
307 endef
308 TARGET_DEVICES += tplink_cpe220-v3
309
310 define Device/tplink_cpe510-v1
311 $(Device/tplink-safeloader-okli)
312 SOC := ar9344
313 IMAGE_SIZE := 7680k
314 DEVICE_MODEL := CPE510
315 DEVICE_VARIANT := v1
316 DEVICE_PACKAGES := rssileds
317 TPLINK_BOARD_ID := CPE510
318 SUPPORTED_DEVICES += cpe510
319 endef
320 TARGET_DEVICES += tplink_cpe510-v1
321
322 define Device/tplink_cpe510-v2
323 $(Device/tplink-safeloader-okli)
324 SOC := ar9344
325 IMAGE_SIZE := 7680k
326 DEVICE_MODEL := CPE510
327 DEVICE_VARIANT := v2
328 DEVICE_PACKAGES := rssileds
329 TPLINK_BOARD_ID := CPE510V2
330 SUPPORTED_DEVICES += cpe510-v2
331 endef
332 TARGET_DEVICES += tplink_cpe510-v2
333
334 define Device/tplink_cpe510-v3
335 $(Device/tplink-safeloader-okli)
336 SOC := ar9344
337 IMAGE_SIZE := 7680k
338 DEVICE_MODEL := CPE510
339 DEVICE_VARIANT := v3
340 DEVICE_PACKAGES := rssileds
341 TPLINK_BOARD_ID := CPE510V3
342 endef
343 TARGET_DEVICES += tplink_cpe510-v3
344
345 define Device/tplink_cpe610-v1
346 $(Device/tplink-safeloader-okli)
347 SOC := ar9344
348 IMAGE_SIZE := 7680k
349 DEVICE_MODEL := CPE610
350 DEVICE_VARIANT := v1
351 TPLINK_BOARD_ID := CPE610V1
352 endef
353 TARGET_DEVICES += tplink_cpe610-v1
354
355 define Device/tplink_re350k-v1
356 $(Device/tplink-safeloader)
357 SOC := qca9558
358 IMAGE_SIZE := 13760k
359 DEVICE_MODEL := RE350K
360 DEVICE_VARIANT := v1
361 DEVICE_PACKAGES := kmod-ath10k-ct ath10k-firmware-qca988x-ct
362 TPLINK_BOARD_ID := RE350K-V1
363 endef
364 TARGET_DEVICES += tplink_re350k-v1
365
366 define Device/tplink_rex5x-v1
367 $(Device/tplink-safeloader)
368 SOC := qca9558
369 IMAGE_SIZE := 6016k
370 DEVICE_PACKAGES := kmod-ath10k-ct-smallbuffers ath10k-firmware-qca988x-ct
371 endef
372
373 define Device/tplink_re355-v1
374 $(Device/tplink_rex5x-v1)
375 DEVICE_MODEL := RE355
376 DEVICE_VARIANT := v1
377 TPLINK_BOARD_ID := RE355
378 SUPPORTED_DEVICES += re355
379 endef
380 TARGET_DEVICES += tplink_re355-v1
381
382 define Device/tplink_re450-v1
383 $(Device/tplink_rex5x-v1)
384 DEVICE_MODEL := RE450
385 DEVICE_VARIANT := v1
386 TPLINK_BOARD_ID := RE450
387 SUPPORTED_DEVICES += re450
388 endef
389 TARGET_DEVICES += tplink_re450-v1
390
391 define Device/tplink_re450-v2
392 $(Device/tplink-safeloader)
393 SOC := qca9563
394 IMAGE_SIZE := 6016k
395 DEVICE_MODEL := RE450
396 DEVICE_VARIANT := v2
397 DEVICE_PACKAGES := kmod-ath10k-ct-smallbuffers ath10k-firmware-qca988x-ct
398 TPLINK_BOARD_ID := RE450-V2
399 LOADER_TYPE := elf
400 endef
401 TARGET_DEVICES += tplink_re450-v2
402
403 define Device/tplink_tl-mr6400-v1
404 $(Device/tplink-8mlzma)
405 SOC := qca9531
406 DEVICE_MODEL := TL-MR6400
407 DEVICE_VARIANT := v1
408 TPLINK_HWID := 0x64000001
409 DEVICE_PACKAGES := kmod-usb2 kmod-usb-net kmod-usb-net-rndis kmod-usb-serial \
410 kmod-usb-serial-option adb-enablemodem
411 SUPPORTED_DEVICES += tl-mr6400
412 endef
413 TARGET_DEVICES += tplink_tl-mr6400-v1
414
415 define Device/tplink_tl-wdr3500-v1
416 $(Device/tplink-8mlzma)
417 SOC := ar9344
418 DEVICE_MODEL := TL-WDR3500
419 DEVICE_VARIANT := v1
420 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport
421 TPLINK_HWID := 0x35000001
422 SUPPORTED_DEVICES += tl-wdr3500
423 endef
424 TARGET_DEVICES += tplink_tl-wdr3500-v1
425
426 define Device/tplink_tl-wdr3600-v1
427 $(Device/tplink-8mlzma)
428 SOC := ar9344
429 DEVICE_MODEL := TL-WDR3600
430 DEVICE_VARIANT := v1
431 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport
432 TPLINK_HWID := 0x36000001
433 SUPPORTED_DEVICES += tl-wdr4300
434 endef
435 TARGET_DEVICES += tplink_tl-wdr3600-v1
436
437 define Device/tplink_tl-wdr4300-v1
438 $(Device/tplink-8mlzma)
439 SOC := ar9344
440 DEVICE_MODEL := TL-WDR4300
441 DEVICE_VARIANT := v1
442 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport
443 TPLINK_HWID := 0x43000001
444 SUPPORTED_DEVICES += tl-wdr4300
445 endef
446 TARGET_DEVICES += tplink_tl-wdr4300-v1
447
448 define Device/tplink_tl-wdr4300-v1-il
449 $(Device/tplink-8mlzma)
450 SOC := ar9344
451 DEVICE_MODEL := TL-WDR4300
452 DEVICE_VARIANT := v1 (IL)
453 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport
454 TPLINK_HWID := 0x43008001
455 SUPPORTED_DEVICES += tl-wdr4300
456 endef
457 TARGET_DEVICES += tplink_tl-wdr4300-v1-il
458
459 define Device/tplink_tl-wdr4900-v2
460 $(Device/tplink-8mlzma)
461 SOC := qca9558
462 DEVICE_MODEL := TL-WDR4900
463 DEVICE_VARIANT := v2
464 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport
465 TPLINK_HWID := 0x49000002
466 endef
467 TARGET_DEVICES += tplink_tl-wdr4900-v2
468
469 define Device/tplink_tl-wr1043nd-v1
470 $(Device/tplink-8m)
471 SOC := ar9132
472 DEVICE_MODEL := TL-WR1043N/ND
473 DEVICE_VARIANT := v1
474 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport
475 TPLINK_HWID := 0x10430001
476 SUPPORTED_DEVICES += tl-wr1043nd
477 endef
478 TARGET_DEVICES += tplink_tl-wr1043nd-v1
479
480 define Device/tplink_tl-wr1043nd-v2
481 $(Device/tplink-8mlzma)
482 SOC := qca9558
483 DEVICE_MODEL := TL-WR1043N/ND
484 DEVICE_VARIANT := v2
485 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport
486 TPLINK_HWID := 0x10430002
487 SUPPORTED_DEVICES += tl-wr1043nd-v2
488 endef
489 TARGET_DEVICES += tplink_tl-wr1043nd-v2
490
491 define Device/tplink_tl-wr1043nd-v3
492 $(Device/tplink-8mlzma)
493 SOC := qca9558
494 DEVICE_MODEL := TL-WR1043N/ND
495 DEVICE_VARIANT := v3
496 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport
497 TPLINK_HWID := 0x10430003
498 SUPPORTED_DEVICES += tl-wr1043nd-v2
499 endef
500 TARGET_DEVICES += tplink_tl-wr1043nd-v3
501
502 define Device/tplink_tl-wr1043nd-v4
503 $(Device/tplink-safeloader)
504 SOC := qca9563
505 IMAGE_SIZE := 15552k
506 DEVICE_MODEL := TL-WR1043N/ND
507 DEVICE_VARIANT := v4
508 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport
509 TPLINK_HWID := 0x10430004
510 TPLINK_BOARD_ID := TLWR1043NDV4
511 SUPPORTED_DEVICES += tl-wr1043nd-v4
512 endef
513 TARGET_DEVICES += tplink_tl-wr1043nd-v4
514
515 define Device/tplink_tl-wr1043n-v5
516 $(Device/tplink-safeloader-uimage)
517 SOC := qca9563
518 IMAGE_SIZE := 15104k
519 DEVICE_MODEL := TL-WR1043N
520 DEVICE_VARIANT := v5
521 TPLINK_BOARD_ID := TLWR1043NV5
522 SUPPORTED_DEVICES += tl-wr1043n-v5
523 endef
524 TARGET_DEVICES += tplink_tl-wr1043n-v5
525
526 define Device/tplink_tl-wr1045nd-v2
527 $(Device/tplink-8mlzma)
528 SOC := qca9558
529 DEVICE_MODEL := TL-WR1045ND
530 DEVICE_VARIANT := v2
531 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport
532 TPLINK_HWID := 0x10450002
533 endef
534 TARGET_DEVICES += tplink_tl-wr1045nd-v2
535
536 define Device/tplink_tl-wr2543-v1
537 $(Device/tplink-8mlzma)
538 SOC := ar7242
539 DEVICE_MODEL := TL-WR2543N/ND
540 DEVICE_VARIANT := v1
541 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport
542 TPLINK_HWID := 0x25430001
543 IMAGE/sysupgrade.bin := tplink-v1-image sysupgrade -v 3.13.99 | \
544 append-metadata | check-size
545 IMAGE/factory.bin := tplink-v1-image factory -v 3.13.99
546 SUPPORTED_DEVICES += tl-wr2543n
547 endef
548 TARGET_DEVICES += tplink_tl-wr2543-v1
549
550 define Device/tplink_tl-wr710n-v1
551 $(Device/tplink-8mlzma)
552 SOC := ar9331
553 DEVICE_MODEL := TL-WR710N
554 DEVICE_VARIANT := v1
555 DEVICE_PACKAGES := kmod-usb-chipidea2 kmod-usb-ledtrig-usbport
556 TPLINK_HWID := 0x07100001
557 SUPPORTED_DEVICES += tl-wr710n
558 endef
559 TARGET_DEVICES += tplink_tl-wr710n-v1
560
561 define Device/tplink_tl-wr810n-v1
562 $(Device/tplink-8mlzma)
563 SOC := qca9531
564 DEVICE_MODEL := TL-WR810N
565 DEVICE_VARIANT := v1
566 TPLINK_HWID := 0x8100001
567 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport
568 endef
569 TARGET_DEVICES += tplink_tl-wr810n-v1
570
571 define Device/tplink_tl-wr810n-v2
572 $(Device/tplink-8mlzma)
573 SOC := qca9533
574 DEVICE_MODEL := TL-WR810N
575 DEVICE_VARIANT := v2
576 TPLINK_HWID := 0x8100002
577 endef
578 TARGET_DEVICES += tplink_tl-wr810n-v2
579
580 define Device/tplink_tl-wr842n-v1
581 $(Device/tplink-8m)
582 SOC := ar7241
583 DEVICE_MODEL := TL-WR842N/ND
584 DEVICE_VARIANT := v1
585 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport
586 TPLINK_HWID := 0x8420001
587 endef
588 TARGET_DEVICES += tplink_tl-wr842n-v1
589
590 define Device/tplink_tl-wr842n-v2
591 $(Device/tplink-8mlzma)
592 SOC := ar9341
593 DEVICE_MODEL := TL-WR842N/ND
594 DEVICE_VARIANT := v2
595 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport
596 TPLINK_HWID := 0x8420002
597 SUPPORTED_DEVICES += tl-wr842n-v2
598 endef
599 TARGET_DEVICES += tplink_tl-wr842n-v2
600
601 define Device/tplink_tl-wr842n-v3
602 $(Device/tplink-16mlzma)
603 SOC := qca9533
604 DEVICE_MODEL := TL-WR842N
605 DEVICE_VARIANT := v3
606 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport
607 TPLINK_HWID := 0x8420003
608 SUPPORTED_DEVICES += tl-wr842n-v3
609 endef
610 TARGET_DEVICES += tplink_tl-wr842n-v3
611
612 define Device/tplink_tl-wr902ac-v1
613 $(Device/tplink-safeloader)
614 SOC := qca9531
615 DEVICE_MODEL := TL-WR902AC
616 DEVICE_VARIANT := v1
617 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport \
618 kmod-ath10k-ct-smallbuffers ath10k-firmware-qca9887-ct \
619 -swconfig -uboot-envtools
620 TPLINK_BOARD_ID := TL-WR902AC-V1
621 IMAGE_SIZE := 7360k
622 SUPPORTED_DEVICES += tl-wr902ac-v1
623 endef
624 TARGET_DEVICES += tplink_tl-wr902ac-v1
625
626 define Device/tplink_wbs210-v2
627 $(Device/tplink-safeloader-okli)
628 SOC := ar9344
629 IMAGE_SIZE := 7680k
630 DEVICE_MODEL := WBS210
631 DEVICE_VARIANT := v2
632 DEVICE_PACKAGES := rssileds
633 TPLINK_BOARD_ID := WBS210V2
634 endef
635 TARGET_DEVICES += tplink_wbs210-v2
636
637 define Device/tplink_wbs510-v1
638 $(Device/tplink-safeloader-okli)
639 SOC := ar9344
640 IMAGE_SIZE := 7680k
641 DEVICE_MODEL := WBS510
642 DEVICE_VARIANT := v1
643 DEVICE_PACKAGES := rssileds
644 TPLINK_BOARD_ID := WBS510
645 SUPPORTED_DEVICES += wbs510
646 endef
647 TARGET_DEVICES += tplink_wbs510-v1
648
649 define Device/tplink_wbs510-v2
650 $(Device/tplink-safeloader-okli)
651 SOC := ar9344
652 IMAGE_SIZE := 7680k
653 DEVICE_MODEL := WBS510
654 DEVICE_VARIANT := v2
655 DEVICE_PACKAGES := rssileds
656 TPLINK_BOARD_ID := WBS510V2
657 endef
658 TARGET_DEVICES += tplink_wbs510-v2