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