ucode: update to latest Git HEAD
[openwrt/openwrt.git] / target / linux / ath79 / image / tiny-tp-link.mk
1 include ./common-tp-link.mk
2
3 define Device/tplink_tl-mr10u
4 $(Device/tplink-4mlzma)
5 SOC := ar9331
6 DEVICE_MODEL := TL-MR10U
7 DEVICE_PACKAGES := kmod-usb-chipidea2
8 TPLINK_HWID := 0x00100101
9 SUPPORTED_DEVICES += tl-mr10u
10 endef
11 TARGET_DEVICES += tplink_tl-mr10u
12
13 define Device/tplink_tl-mr3020-v1
14 $(Device/tplink-4mlzma)
15 IMAGE_SIZE := 3840k
16 SOC := ar9331
17 DEVICE_MODEL := TL-MR3020
18 DEVICE_VARIANT := v1
19 DEVICE_PACKAGES := kmod-usb-chipidea2 kmod-usb-ledtrig-usbport
20 TPLINK_HWID := 0x30200001
21 SUPPORTED_DEVICES += tl-mr3020
22 endef
23 TARGET_DEVICES += tplink_tl-mr3020-v1
24
25 define Device/tplink_tl-mr3040-v2
26 $(Device/tplink-4mlzma)
27 SOC := ar9331
28 DEVICE_MODEL := TL-MR3040
29 DEVICE_VARIANT := v2
30 DEVICE_PACKAGES := kmod-usb-chipidea2 kmod-usb-ledtrig-usbport
31 TPLINK_HWID := 0x30400002
32 SUPPORTED_DEVICES += tl-mr3040-v2
33 endef
34 TARGET_DEVICES += tplink_tl-mr3040-v2
35
36 define Device/tplink_tl-mr3220-v1
37 $(Device/tplink-4m)
38 SOC := ar7241
39 DEVICE_MODEL := TL-MR3220
40 DEVICE_VARIANT := v1
41 TPLINK_HWID := 0x32200001
42 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport
43 SUPPORTED_DEVICES += tl-mr3220
44 endef
45 TARGET_DEVICES += tplink_tl-mr3220-v1
46
47 define Device/tplink_tl-mr3420-v1
48 $(Device/tplink-4m)
49 SOC := ar7241
50 DEVICE_MODEL := TL-MR3420
51 DEVICE_VARIANT := v1
52 TPLINK_HWID := 0x34200001
53 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport
54 SUPPORTED_DEVICES += tl-mr3420
55 endef
56 TARGET_DEVICES += tplink_tl-mr3420-v1
57
58 define Device/tplink_tl-mr3420-v2
59 $(Device/tplink-4mlzma)
60 SOC := ar9341
61 DEVICE_MODEL := TL-MR3420
62 DEVICE_VARIANT := v2
63 TPLINK_HWID := 0x34200002
64 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport
65 SUPPORTED_DEVICES += tl-mr3420-v2
66 endef
67 TARGET_DEVICES += tplink_tl-mr3420-v2
68
69 define Device/tplink_tl-mr3420-v3
70 $(Device/tplink-4mlzma)
71 SOC := qca9531
72 DEVICE_MODEL := TL-MR3420
73 DEVICE_VARIANT := v3
74 TPLINK_HWID := 0x34200003
75 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport
76 endef
77 TARGET_DEVICES += tplink_tl-mr3420-v3
78
79 define Device/tplink_tl-wa701nd-v1
80 $(Device/tplink-4m)
81 SOC := ar7240
82 DEVICE_MODEL := TL-WA701ND
83 DEVICE_VARIANT := v1
84 TPLINK_HWID := 0x07010001
85 SUPPORTED_DEVICES += tl-wa901nd
86 endef
87 TARGET_DEVICES += tplink_tl-wa701nd-v1
88
89 define Device/tplink_tl-wa730re-v1
90 $(Device/tplink-4m)
91 SOC := ar7240
92 DEVICE_MODEL := TL-WA730RE
93 DEVICE_VARIANT := v1
94 TPLINK_HWID := 0x07300001
95 SUPPORTED_DEVICES += tl-wa901nd
96 endef
97 TARGET_DEVICES += tplink_tl-wa730re-v1
98
99 define Device/tplink_tl-wa801nd-v1
100 $(Device/tplink-4m)
101 SOC := ar7240
102 DEVICE_MODEL := TL-WA801ND
103 DEVICE_VARIANT := v1
104 TPLINK_HWID := 0x08010001
105 SUPPORTED_DEVICES += tl-wa901nd
106 endef
107 TARGET_DEVICES += tplink_tl-wa801nd-v1
108
109 define Device/tplink_tl-wa801nd-v3
110 $(Device/tplink-4mlzma)
111 SOC := qca9533
112 DEVICE_MODEL := TL-WA801ND
113 DEVICE_VARIANT := v3
114 TPLINK_HWID := 0x08010003
115 SUPPORTED_DEVICES += tl-wa801nd-v3
116 endef
117 TARGET_DEVICES += tplink_tl-wa801nd-v3
118
119 define Device/tplink_tl-wa801nd-v4
120 $(Device/tplink-4mlzma)
121 SOC := qca9533
122 DEVICE_MODEL := TL-WA801ND
123 DEVICE_VARIANT := v4
124 TPLINK_HWID := 0x08010004
125 SUPPORTED_DEVICES += tl-wa801nd-v3
126 endef
127 TARGET_DEVICES += tplink_tl-wa801nd-v4
128
129 define Device/tplink_tl-wa830re-v1
130 $(Device/tplink-4m)
131 SOC := ar7240
132 DEVICE_MODEL := TL-WA830RE
133 DEVICE_VARIANT := v1
134 TPLINK_HWID := 0x08300010
135 SUPPORTED_DEVICES += tl-wa901nd
136 endef
137 TARGET_DEVICES += tplink_tl-wa830re-v1
138
139 define Device/tplink_tl-wa850re-v1
140 $(Device/tplink-4mlzma)
141 SOC := ar9341
142 DEVICE_MODEL := TL-WA850RE
143 DEVICE_VARIANT := v1
144 TPLINK_HWID := 0x08500001
145 DEVICE_PACKAGES := rssileds
146 SUPPORTED_DEVICES += tl-wa850re
147 endef
148 TARGET_DEVICES += tplink_tl-wa850re-v1
149
150 define Device/tplink_tl-wa850re-v2
151 $(Device/tplink-safeloader)
152 SOC := qca9533
153 IMAGE_SIZE := 3648k
154 DEVICE_MODEL := TL-WA850RE
155 DEVICE_VARIANT := v2
156 TPLINK_BOARD_ID := TLWA850REV2
157 TPLINK_HWID := 0x08500002
158 DEVICE_PACKAGES := rssileds
159 SUPPORTED_DEVICES += tl-wa850re-v2
160 DEFAULT := n
161 endef
162 TARGET_DEVICES += tplink_tl-wa850re-v2
163
164 define Device/tplink_tl-wa860re-v1
165 $(Device/tplink-4mlzma)
166 SOC := ar9341
167 DEVICE_MODEL := TL-WA860RE
168 DEVICE_VARIANT := v1
169 TPLINK_HWID := 0x08600001
170 SUPPORTED_DEVICES += tl-wa860re
171 endef
172 TARGET_DEVICES += tplink_tl-wa860re-v1
173
174 define Device/tplink_tl-wa901nd-v1
175 $(Device/tplink-4m)
176 SOC := ar7240
177 DEVICE_MODEL := TL-WA901ND
178 DEVICE_VARIANT := v1
179 TPLINK_HWID := 0x09010001
180 SUPPORTED_DEVICES += tl-wa901nd
181 endef
182 TARGET_DEVICES += tplink_tl-wa901nd-v1
183
184 define Device/tplink_tl-wa901nd-v2
185 $(Device/tplink-4m)
186 SOC := ar9132
187 DEVICE_MODEL := TL-WA901ND
188 DEVICE_VARIANT := v2
189 TPLINK_HWID := 0x09010002
190 SUPPORTED_DEVICES += tl-wa901nd-v2
191 endef
192 TARGET_DEVICES += tplink_tl-wa901nd-v2
193
194 define Device/tplink_tl-wa901nd-v3
195 $(Device/tplink-4mlzma)
196 SOC := ar9341
197 DEVICE_MODEL := TL-WA901ND
198 DEVICE_VARIANT := v3
199 TPLINK_HWID := 0x09010003
200 SUPPORTED_DEVICES += tl-wa901nd-v3
201 endef
202 TARGET_DEVICES += tplink_tl-wa901nd-v3
203
204 define Device/tplink_tl-wa901nd-v4
205 $(Device/tplink-4mlzma)
206 SOC := tp9343
207 DEVICE_MODEL := TL-WA901ND
208 DEVICE_VARIANT := v4
209 TPLINK_HWID := 0x09010004
210 SUPPORTED_DEVICES += tl-wa901nd-v4
211 IMAGE/factory.bin := tplink-v1-image factory -C EU
212 endef
213 TARGET_DEVICES += tplink_tl-wa901nd-v4
214
215 define Device/tplink_tl-wa901nd-v5
216 $(Device/tplink-4mlzma)
217 SOC := tp9343
218 DEVICE_MODEL := TL-WA901ND
219 DEVICE_VARIANT := v5
220 TPLINK_HWID := 0x09010005
221 SUPPORTED_DEVICES += tl-wa901nd-v5
222 IMAGE/factory.bin := tplink-v1-image factory -C EU
223 endef
224 TARGET_DEVICES += tplink_tl-wa901nd-v5
225
226 define Device/tplink_tl-wr703n
227 $(Device/tplink-4mlzma)
228 SOC := ar9331
229 DEVICE_MODEL := TL-WR703N
230 DEVICE_PACKAGES := kmod-usb-chipidea2
231 TPLINK_HWID := 0x07030101
232 SUPPORTED_DEVICES += tl-wr703n
233 endef
234 TARGET_DEVICES += tplink_tl-wr703n
235
236 define Device/tplink_tl-wr740n-v1
237 $(Device/tplink-4m)
238 SOC := ar7240
239 DEVICE_MODEL := TL-WR740N
240 DEVICE_VARIANT := v1/v2
241 TPLINK_HWID := 0x07400001
242 SUPPORTED_DEVICES += tl-wr741nd
243 endef
244 TARGET_DEVICES += tplink_tl-wr740n-v1
245
246 define Device/tplink_tl-wr740n-v3
247 $(Device/tplink-4m)
248 SOC := ar7240
249 DEVICE_MODEL := TL-WR740N
250 DEVICE_VARIANT := v3
251 TPLINK_HWID := 0x07400003
252 SUPPORTED_DEVICES += tl-wr741nd
253 endef
254 TARGET_DEVICES += tplink_tl-wr740n-v3
255
256 define Device/tplink_tl-wr740n-v4
257 $(Device/tplink-4mlzma)
258 SOC := ar9331
259 DEVICE_MODEL := TL-WR740N
260 DEVICE_VARIANT := v4
261 TPLINK_HWID := 0x07400004
262 SUPPORTED_DEVICES += tl-wr741nd-v4
263 endef
264 TARGET_DEVICES += tplink_tl-wr740n-v4
265
266 define Device/tplink_tl-wr740n-v5
267 $(Device/tplink-4mlzma)
268 SOC := ar9331
269 DEVICE_MODEL := TL-WR740N
270 DEVICE_VARIANT := v5
271 TPLINK_HWID := 0x07400005
272 SUPPORTED_DEVICES += tl-wr741nd-v4
273 endef
274 TARGET_DEVICES += tplink_tl-wr740n-v5
275
276 define Device/tplink_tl-wr741-v1
277 $(Device/tplink-4m)
278 SOC := ar7240
279 DEVICE_MODEL := TL-WR741N/ND
280 DEVICE_VARIANT := v1/v2
281 TPLINK_HWID := 0x07410001
282 SUPPORTED_DEVICES += tl-wr741nd
283 endef
284 TARGET_DEVICES += tplink_tl-wr741-v1
285
286 define Device/tplink_tl-wr741nd-v4
287 $(Device/tplink-4mlzma)
288 SOC := ar9331
289 DEVICE_MODEL := TL-WR741N/ND
290 DEVICE_VARIANT := v4
291 TPLINK_HWID := 0x07410004
292 SUPPORTED_DEVICES += tl-wr741nd-v4
293 endef
294 TARGET_DEVICES += tplink_tl-wr741nd-v4
295
296 define Device/tplink_tl-wr743nd-v1
297 $(Device/tplink-4m)
298 SOC := ar7240
299 DEVICE_MODEL := TL-WR743ND
300 DEVICE_VARIANT := v1
301 TPLINK_HWID := 0x07430001
302 SUPPORTED_DEVICES += tl-wr741nd
303 endef
304 TARGET_DEVICES += tplink_tl-wr743nd-v1
305
306 define Device/tplink_tl-wr802n-v1
307 $(Device/tplink-4mlzma)
308 SOC := qca9533
309 DEVICE_MODEL := TL-WR802N
310 DEVICE_VARIANT := v1
311 TPLINK_HWID := 0x08020001
312 SUPPORTED_DEVICES += tl-wr802n-v1
313 endef
314 TARGET_DEVICES += tplink_tl-wr802n-v1
315
316 define Device/tplink_tl-wr802n-v2
317 $(Device/tplink-4mlzma)
318 SOC := qca9533
319 DEVICE_MODEL := TL-WR802N
320 DEVICE_VARIANT := v2
321 TPLINK_HWID := 0x08020002
322 TPLINK_HWREV := 2
323 SUPPORTED_DEVICES += tl-wr802n-v2
324 IMAGES += factory-us.bin factory-eu.bin
325 IMAGE/factory-us.bin := tplink-v1-image factory -C US
326 IMAGE/factory-eu.bin := tplink-v1-image factory -C EU
327 endef
328 TARGET_DEVICES += tplink_tl-wr802n-v2
329
330 define Device/tplink_tl-wr841-v5
331 $(Device/tplink-4m)
332 SOC := ar7240
333 DEVICE_MODEL := TL-WR841N/ND
334 DEVICE_VARIANT := v5/v6
335 TPLINK_HWID := 0x08410005
336 SUPPORTED_DEVICES += tl-wr741nd
337 endef
338 TARGET_DEVICES += tplink_tl-wr841-v5
339
340 define Device/tplink_tl-wr841-v7
341 $(Device/tplink-4m)
342 SOC := ar7241
343 DEVICE_MODEL := TL-WR841N/ND
344 DEVICE_VARIANT := v7
345 TPLINK_HWID := 0x08410007
346 SUPPORTED_DEVICES += tl-wr841n-v7
347 endef
348 TARGET_DEVICES += tplink_tl-wr841-v7
349
350 define Device/tplink_tl-wr841-v8
351 $(Device/tplink-4mlzma)
352 SOC := ar9341
353 DEVICE_MODEL := TL-WR841N/ND
354 DEVICE_VARIANT := v8
355 TPLINK_HWID := 0x08410008
356 SUPPORTED_DEVICES += tl-wr841n-v8
357 endef
358 TARGET_DEVICES += tplink_tl-wr841-v8
359
360 define Device/tplink_tl-wr841-v9
361 $(Device/tplink-4mlzma)
362 SOC := qca9533
363 DEVICE_MODEL := TL-WR841N/ND
364 DEVICE_VARIANT := v9
365 TPLINK_HWID := 0x08410009
366 SUPPORTED_DEVICES += tl-wr841n-v9
367 endef
368 TARGET_DEVICES += tplink_tl-wr841-v9
369
370 define Device/tplink_tl-wr841-v10
371 $(Device/tplink-4mlzma)
372 SOC := qca9533
373 DEVICE_MODEL := TL-WR841N/ND
374 DEVICE_VARIANT := v10
375 TPLINK_HWID := 0x08410010
376 SUPPORTED_DEVICES += tl-wr841n-v9
377 endef
378 TARGET_DEVICES += tplink_tl-wr841-v10
379
380 define Device/tplink_tl-wr841-v11
381 $(Device/tplink-4mlzma)
382 SOC := qca9533
383 DEVICE_MODEL := TL-WR841N/ND
384 DEVICE_VARIANT := v11
385 TPLINK_HWID := 0x08410011
386 SUPPORTED_DEVICES += tl-wr841n-v11
387 IMAGES += factory-us.bin factory-eu.bin
388 IMAGE/factory-us.bin := tplink-v1-image factory -C US
389 IMAGE/factory-eu.bin := tplink-v1-image factory -C EU
390 endef
391 TARGET_DEVICES += tplink_tl-wr841-v11
392
393 define Device/tplink_tl-wr841-v12
394 $(Device/tplink-4mlzma)
395 SOC := qca9533
396 DEVICE_MODEL := TL-WR841N/ND
397 DEVICE_VARIANT := v12
398 TPLINK_HWID := 0x08410012
399 SUPPORTED_DEVICES += tl-wr841n-v11
400 IMAGES += factory-us.bin factory-eu.bin
401 IMAGE/factory-us.bin := tplink-v1-image factory -C US
402 IMAGE/factory-eu.bin := tplink-v1-image factory -C EU
403 endef
404 TARGET_DEVICES += tplink_tl-wr841-v12
405
406 define Device/tplink_tl-wr940n-v3
407 $(Device/tplink-4mlzma)
408 SOC := tp9343
409 DEVICE_MODEL := TL-WR940N
410 DEVICE_VARIANT := v3
411 TPLINK_HWID := 0x09410006
412 SUPPORTED_DEVICES += tl-wr941nd-v6
413 endef
414 TARGET_DEVICES += tplink_tl-wr940n-v3
415
416 define Device/tplink_tl-wr940n-v4
417 $(Device/tplink-4mlzma)
418 SOC := tp9343
419 DEVICE_MODEL := TL-WR940N
420 DEVICE_VARIANT := v4
421 TPLINK_HWID := 0x09400004
422 SUPPORTED_DEVICES += tl-wr940n-v4
423 IMAGES += factory-us.bin factory-eu.bin factory-br.bin
424 IMAGE/factory-us.bin := tplink-v1-image factory -C US
425 IMAGE/factory-eu.bin := tplink-v1-image factory -C EU
426 IMAGE/factory-br.bin := tplink-v1-image factory -C BR
427 endef
428 TARGET_DEVICES += tplink_tl-wr940n-v4
429
430 define Device/tplink_tl-wr940n-v6
431 $(Device/tplink-4mlzma)
432 SOC := tp9343
433 DEVICE_MODEL := TL-WR940N
434 DEVICE_VARIANT := v6
435 TPLINK_HWID := 0x09400006
436 SUPPORTED_DEVICES += tl-wr940n-v6
437 IMAGES += factory-us.bin factory-eu.bin factory-br.bin
438 IMAGE/factory-us.bin := tplink-v1-image factory -C US
439 IMAGE/factory-eu.bin := tplink-v1-image factory -C EU
440 IMAGE/factory-br.bin := tplink-v1-image factory -C BR
441 endef
442 TARGET_DEVICES += tplink_tl-wr940n-v6
443
444 define Device/tplink_tl-wr941-v2
445 $(Device/tplink-4m)
446 SOC := ar9132
447 DEVICE_MODEL := TL-WR941ND
448 DEVICE_VARIANT := v2/v3
449 DEVICE_ALT0_VENDOR := TP-Link
450 DEVICE_ALT0_MODEL := TL-WR941N
451 DEVICE_ALT0_VARIANT := v2/v3
452 TPLINK_HWID := 0x09410002
453 TPLINK_HWREV := 2
454 SUPPORTED_DEVICES += tl-wr941nd
455 endef
456 TARGET_DEVICES += tplink_tl-wr941-v2
457
458 define Device/tplink_tl-wr941-v4
459 $(Device/tplink-4m)
460 SOC := ar7240
461 DEVICE_MODEL := TL-WR941ND
462 DEVICE_VARIANT := v4
463 DEVICE_ALT0_VENDOR := TP-Link
464 DEVICE_ALT0_MODEL := TL-WR941N
465 DEVICE_ALT0_VARIANT := v4
466 TPLINK_HWID := 0x09410004
467 SUPPORTED_DEVICES += tl-wr741nd
468 endef
469 TARGET_DEVICES += tplink_tl-wr941-v4
470
471 define Device/tplink_tl-wr941nd-v6
472 $(Device/tplink-4mlzma)
473 SOC := tp9343
474 DEVICE_MODEL := TL-WR941ND
475 DEVICE_VARIANT := v6
476 TPLINK_HWID := 0x09410006
477 SUPPORTED_DEVICES += tl-wr941nd-v6
478 endef
479 TARGET_DEVICES += tplink_tl-wr941nd-v6
480
481 define Device/tplink_tl-wr941n-v7-cn
482 $(Device/tplink-4mlzma)
483 SOC := qca9558
484 DEVICE_MODEL := TL-WR941N
485 DEVICE_VARIANT := v7 (CN)
486 TPLINK_HWID := 0x09410007
487 endef
488 TARGET_DEVICES += tplink_tl-wr941n-v7-cn