89983779e7bc7aecc3f696935a9a0bfc2936f058
[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/eap120-v1
206 DEVICE_TITLE := TP-LINK EAP120 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 := EAP120
210 TPLINK_BOARD_ID := EAP120
211 DEVICE_PROFILE := EAP120
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 += eap120-v1
219
220 define Device/re355-v1
221 $(Device/tplink-safeloader)
222 DEVICE_TITLE := TP-LINK RE355 v1
223 DEVICE_PACKAGES := kmod-ath10k ath10k-firmware-qca988x
224 MTDPARTS := spi0.0:128k(u-boot)ro,6016k(firmware),64k(partition-table)ro,64k(product-info)ro,1856k(config)ro,64k(art)ro
225 IMAGE_SIZE := 7936k
226 BOARDNAME := RE355
227 TPLINK_BOARD_ID := RE355
228 DEVICE_PROFILE := RE355
229 TPLINK_HWID := 0x0
230 TPLINK_HWREV := 0
231 endef
232 TARGET_DEVICES += re355-v1
233
234 define Device/re450-v1
235 $(Device/tplink-safeloader)
236 DEVICE_TITLE := TP-LINK RE450 v1
237 DEVICE_PACKAGES := kmod-ath10k ath10k-firmware-qca988x
238 MTDPARTS := spi0.0:128k(u-boot)ro,6016k(firmware),64k(partition-table)ro,64k(product-info)ro,1856k(config)ro,64k(art)ro
239 IMAGE_SIZE := 7936k
240 BOARDNAME := RE450
241 TPLINK_BOARD_ID := RE450
242 DEVICE_PROFILE := RE450
243 TPLINK_HWID := 0x0
244 TPLINK_HWREV := 0
245 endef
246 TARGET_DEVICES += re450-v1
247
248 define Device/tl-mr6400-v1
249 $(Device/tplink-8mlzma)
250 DEVICE_TITLE := TP-LINK TL-MR6400 v1
251 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-net kmod-usb-net-rndis kmod-usb-serial kmod-usb-serial-option adb-enablemodem
252 BOARDNAME := TL-MR6400
253 DEVICE_PROFILE := TLMR6400
254 TPLINK_HWID := 0x64000001
255 endef
256 TARGET_DEVICES += tl-mr6400-v1
257
258 define Device/tl-wdr3500-v1
259 $(Device/tplink-8mlzma)
260 DEVICE_TITLE := TP-LINK TL-WDR3500 v1
261 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
262 BOARDNAME := TL-WDR3500
263 DEVICE_PROFILE := TLWDR4300
264 TPLINK_HWID := 0x35000001
265 endef
266 TARGET_DEVICES += tl-wdr3500-v1
267
268 define Device/tl-wdr3600-v1
269 $(Device/tl-wdr3500-v1)
270 DEVICE_TITLE := TP-LINK TL-WDR3600 v1
271 BOARDNAME := TL-WDR4300
272 TPLINK_HWID := 0x36000001
273 IMAGE/factory.bin := append-rootfs | mktplinkfw factory -C US
274 endef
275 TARGET_DEVICES += tl-wdr3600-v1
276
277 define Device/tl-wdr4300-v1
278 $(Device/tl-wdr3600-v1)
279 DEVICE_TITLE := TP-LINK TL-WDR4300 v1
280 TPLINK_HWID := 0x43000001
281 endef
282 TARGET_DEVICES += tl-wdr4300-v1
283
284 define Device/tl-wdr4300-v1-il
285 $(Device/tl-wdr3500-v1)
286 DEVICE_TITLE := TP-LINK TL-WDR4300 v1 (IL)
287 BOARDNAME := TL-WDR4300
288 TPLINK_HWID := 0x43008001
289 endef
290 TARGET_DEVICES += tl-wdr4300-v1-il
291
292 define Device/tl-wdr4310-v1
293 $(Device/tl-wdr4300-v1-il)
294 DEVICE_TITLE := TP-LINK TL-WDR4310 v1
295 TPLINK_HWID := 0x43100001
296 endef
297 TARGET_DEVICES += tl-wdr4310-v1
298
299 define Device/tl-wdr4900-v2
300 $(Device/tplink-8mlzma)
301 DEVICE_TITLE := TP-LINK TL-WDR4900 v2
302 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
303 BOARDNAME := TL-WDR4900-v2
304 DEVICE_PROFILE := TLWDR4900V2
305 TPLINK_HWID := 0x49000002
306 endef
307 TARGET_DEVICES += tl-wdr4900-v2
308
309 define Device/tl-wdr6500-v2
310 $(Device/tplink-8mlzma)
311 DEVICE_TITLE := TP-LINK TL-WDR6500 v2
312 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport kmod-ath10k ath10k-firmware-qca988x
313 KERNEL := kernel-bin | patch-cmdline | lzma | uImage lzma
314 KERNEL_INITRAMFS := kernel-bin | patch-cmdline | lzma | uImage lzma | tplink-v1-header
315 BOARDNAME := TL-WDR6500-v2
316 DEVICE_PROFILE := TLWDR6500V2
317 TPLINK_HWID := 0x65000002
318 TPLINK_HEADER_VERSION := 2
319 endef
320 TARGET_DEVICES += tl-wdr6500-v2
321
322 define Device/mw4530r-v1
323 $(Device/tl-wdr4300-v1)
324 DEVICE_TITLE := Mercury MW4530R v1
325 TPLINK_HWID := 0x45300001
326 endef
327 TARGET_DEVICES += mw4530r-v1
328
329 define Device/tl-wpa8630-v1
330 $(Device/tplink-8mlzma)
331 DEVICE_TITLE := TP-LINK TL-WPA8630 v1
332 DEVICE_PACKAGES := kmod-ath10k ath10k-firmware-qca988x
333 BOARDNAME := TL-WPA8630
334 DEVICE_PROFILE := TL-WPA8630
335 TPLINK_HWID := 0x86300001
336 endef
337 TARGET_DEVICES += tl-wpa8630-v1
338
339 define Device/tl-wr1043n-v5
340 $(Device/archer-cxx)
341 DEVICE_TITLE := TP-LINK TL-WR1043N v5
342 BOARDNAME := TL-WR1043N-v5
343 SUPPORTED_DEVICES := tl-wr1043n-v5
344 DEVICE_PROFILE := TLWR1043
345 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
346 IMAGE_SIZE := 15104k
347 TPLINK_BOARD_ID := TLWR1043NV5
348 endef
349 TARGET_DEVICES += tl-wr1043n-v5
350
351 define Device/tl-wr1043nd-v1
352 $(Device/tplink-8m)
353 DEVICE_TITLE := TP-LINK TL-WR1043N/ND v1
354 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
355 BOARDNAME := TL-WR1043ND
356 DEVICE_PROFILE := TLWR1043
357 TPLINK_HWID := 0x10430001
358 endef
359 TARGET_DEVICES += tl-wr1043nd-v1
360
361 define Device/tl-wr1043nd-v2
362 $(Device/tplink-8mlzma)
363 DEVICE_TITLE := TP-LINK TL-WR1043N/ND v2
364 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
365 BOARDNAME := TL-WR1043ND-v2
366 DEVICE_PROFILE := TLWR1043
367 TPLINK_HWID := 0x10430002
368 endef
369 TARGET_DEVICES += tl-wr1043nd-v2
370
371 define Device/tl-wr1043nd-v3
372 $(Device/tl-wr1043nd-v2)
373 DEVICE_TITLE := TP-LINK TL-WR1043N/ND v3
374 TPLINK_HWID := 0x10430003
375 endef
376 TARGET_DEVICES += tl-wr1043nd-v3
377
378 define Device/tl-wr1043nd-v4
379 $(Device/tplink-safeloader)
380 DEVICE_TITLE := TP-LINK TL-WR1043N/ND v4
381 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
382 BOARDNAME := TL-WR1043ND-v4
383 DEVICE_PROFILE := TLWR1043
384 TPLINK_HWID := 0x10430004
385 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
386 IMAGE_SIZE := 15552k
387 TPLINK_BOARD_ID := TLWR1043NDV4
388 KERNEL := kernel-bin | patch-cmdline | lzma | tplink-v1-header -O
389 KERNEL_INITRAMFS := kernel-bin | patch-cmdline | lzma | tplink-v1-header
390 endef
391 TARGET_DEVICES += tl-wr1043nd-v4
392
393 define Device/tl-wr2543-v1
394 $(Device/tplink-8mlzma)
395 DEVICE_TITLE := TP-LINK TL-WR2543N/ND v1
396 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
397 BOARDNAME := TL-WR2543N
398 DEVICE_PROFILE := TLWR2543
399 TPLINK_HWID := 0x25430001
400 IMAGE/sysupgrade.bin := append-rootfs | mktplinkfw sysupgrade -v 3.13.99
401 IMAGE/factory.bin := append-rootfs | mktplinkfw factory -v 3.13.99
402 endef
403 TARGET_DEVICES += tl-wr2543-v1
404
405 define Device/tl-wr710n-v1
406 $(Device/tplink-8mlzma)
407 DEVICE_TITLE := TP-LINK TL-WR710N v1
408 DEVICE_PACKAGES := kmod-usb-core kmod-usb2
409 BOARDNAME := TL-WR710N
410 DEVICE_PROFILE := TLWR710
411 TPLINK_HWID := 0x07100001
412 CONSOLE := ttyATH0,115200
413 IMAGE/factory.bin := append-rootfs | mktplinkfw factory -C US
414 endef
415 TARGET_DEVICES += tl-wr710n-v1
416
417 define Device/tl-wr710n-v2.1
418 $(Device/tl-wr710n-v1)
419 DEVICE_TITLE := TP-LINK TL-WR710N v2.1
420 TPLINK_HWID := 0x07100002
421 TPLINK_HWREV := 0x00000002
422 endef
423 TARGET_DEVICES += tl-wr710n-v2.1
424
425 define Device/tl-wr810n-v1
426 $(Device/tplink-8mlzma)
427 DEVICE_TITLE := TP-LINK TL-WR810N v1
428 DEVICE_PACKAGES := kmod-usb-core kmod-usb2
429 BOARDNAME := TL-WR810N
430 DEVICE_PROFILE := TLWR810
431 TPLINK_HWID := 0x08100001
432 endef
433 TARGET_DEVICES += tl-wr810n-v1
434
435 define Device/tl-wr810n-v2
436 $(Device/tplink-8mlzma)
437 DEVICE_TITLE := TP-LINK TL-WR810N v2
438 BOARDNAME := TL-WR810N-v2
439 DEVICE_PROFILE := TLWR810
440 TPLINK_HWID := 0x08100002
441 endef
442 TARGET_DEVICES += tl-wr810n-v2
443
444 define Device/tl-wr842n-v1
445 $(Device/tplink-8m)
446 DEVICE_TITLE := TP-LINK TL-WR842N/ND v1
447 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
448 BOARDNAME := TL-MR3420
449 DEVICE_PROFILE := TLWR842
450 TPLINK_HWID := 0x08420001
451 endef
452 TARGET_DEVICES += tl-wr842n-v1
453
454 define Device/tl-wr842n-v2
455 $(Device/tplink-8mlzma)
456 DEVICE_TITLE := TP-LINK TL-WR842N/ND v2
457 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
458 BOARDNAME := TL-WR842N-v2
459 DEVICE_PROFILE := TLWR842
460 TPLINK_HWID := 0x8420002
461 endef
462 TARGET_DEVICES += tl-wr842n-v2
463
464 define Device/tl-wr842n-v3
465 $(Device/tplink-16mlzma)
466 DEVICE_TITLE := TP-LINK TL-WR842N/ND v3
467 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
468 BOARDNAME := TL-WR842N-v3
469 DEVICE_PROFILE := TLWR842
470 TPLINK_HWID := 0x08420003
471 endef
472 TARGET_DEVICES += tl-wr842n-v3
473
474 define Device/tl-wr902ac-v1
475 $(Device/tplink-safeloader)
476 DEVICE_TITLE := TP-LINK TL-WR902AC v1
477 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport \
478 kmod-ath10k ath10k-firmware-qca9887 -swconfig -uboot-envtools
479 BOARDNAME := TL-WR902AC-V1
480 DEVICE_PROFILE := TLWR902
481 TPLINK_BOARD_ID := TL-WR902AC-V1
482 TPLINK_HWID := 0x0
483 TPLINK_HWREV := 0
484 SUPPORTED_DEVICES := tl-wr902ac-v1
485 IMAGE_SIZE := 7360k
486 MTDPARTS := spi0.0:128k(u-boot)ro,7360k(firmware),640k(tplink)ro,64k(art)ro
487 endef
488 TARGET_DEVICES += tl-wr902ac-v1
489
490 define Device/tl-wr942n-v1
491 $(Device/archer-cxx)
492 DEVICE_TITLE := TP-LINK TL-WR942N v1
493 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
494 BOARDNAME := TL-WR942N-V1
495 TPLINK_BOARD_ID := TLWR942NV1
496 DEVICE_PROFILE := TLWR942
497 IMAGE_SIZE := 14464k
498 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
499 SUPPORTED_DEVICES := tl-wr942n-v1
500 endef
501 TARGET_DEVICES += tl-wr942n-v1