ath79: add support for TP-Link TL-WR940N v6
[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-wa830re-v1
70 $(Device/tplink-4m)
71 SOC := ar7240
72 DEVICE_MODEL := TL-WA830RE
73 DEVICE_VARIANT := v1
74 TPLINK_HWID := 0x08300010
75 SUPPORTED_DEVICES += tl-wa901nd
76 endef
77 TARGET_DEVICES += tplink_tl-wa830re-v1
78
79 define Device/tplink_tl-wa850re-v1
80 $(Device/tplink-4mlzma)
81 SOC := ar9341
82 DEVICE_MODEL := TL-WA850RE
83 DEVICE_VARIANT := v1
84 TPLINK_HWID := 0x08500001
85 DEVICE_PACKAGES := rssileds
86 SUPPORTED_DEVICES += tl-wa850re
87 endef
88 TARGET_DEVICES += tplink_tl-wa850re-v1
89
90 define Device/tplink_tl-wa850re-v2
91 $(Device/tplink-safeloader)
92 SOC := qca9533
93 IMAGE_SIZE := 3648k
94 DEVICE_MODEL := TL-WA850RE
95 DEVICE_VARIANT := v2
96 TPLINK_BOARD_ID := TLWA850REV2
97 TPLINK_HWID := 0x08500002
98 TPLINK_HWREV := 0x0
99 DEVICE_PACKAGES := rssileds
100 SUPPORTED_DEVICES += tl-wa850re-v2
101 endef
102 TARGET_DEVICES += tplink_tl-wa850re-v2
103
104 define Device/tplink_tl-wa901nd-v2
105 $(Device/tplink-4m)
106 SOC := ar9132
107 DEVICE_MODEL := TL-WA901ND
108 DEVICE_VARIANT := v2
109 TPLINK_HWID := 0x09010002
110 endef
111 TARGET_DEVICES += tplink_tl-wa901nd-v2
112
113 define Device/tplink_tl-wr703n
114 $(Device/tplink-4mlzma)
115 SOC := ar9331
116 DEVICE_MODEL := TL-WR703N
117 DEVICE_PACKAGES := kmod-usb-chipidea2
118 TPLINK_HWID := 0x07030101
119 SUPPORTED_DEVICES += tl-wr703n
120 endef
121 TARGET_DEVICES += tplink_tl-wr703n
122
123 define Device/tplink_tl-wr740n-v1
124 $(Device/tplink-4m)
125 SOC := ar7240
126 DEVICE_MODEL := TL-WR740N
127 DEVICE_VARIANT := v1/v2
128 TPLINK_HWID := 0x07400001
129 endef
130 TARGET_DEVICES += tplink_tl-wr740n-v1
131
132 define Device/tplink_tl-wr740n-v3
133 $(Device/tplink-4m)
134 SOC := ar7240
135 DEVICE_MODEL := TL-WR740N
136 DEVICE_VARIANT := v3
137 TPLINK_HWID := 0x07400003
138 endef
139 TARGET_DEVICES += tplink_tl-wr740n-v3
140
141 define Device/tplink_tl-wr740n-v4
142 $(Device/tplink-4mlzma)
143 SOC := ar9331
144 DEVICE_MODEL := TL-WR740N
145 DEVICE_VARIANT := v4
146 TPLINK_HWID := 0x07400004
147 endef
148 TARGET_DEVICES += tplink_tl-wr740n-v4
149
150 define Device/tplink_tl-wr741-v1
151 $(Device/tplink-4m)
152 SOC := ar7240
153 DEVICE_MODEL := TL-WR741N/ND
154 DEVICE_VARIANT := v1/v2
155 TPLINK_HWID := 0x07410001
156 endef
157 TARGET_DEVICES += tplink_tl-wr741-v1
158
159 define Device/tplink_tl-wr741nd-v4
160 $(Device/tplink-4mlzma)
161 SOC := ar9331
162 DEVICE_MODEL := TL-WR741N/ND
163 DEVICE_VARIANT := v4
164 TPLINK_HWID := 0x07410004
165 SUPPORTED_DEVICES += tl-wr741nd-v4
166 endef
167 TARGET_DEVICES += tplink_tl-wr741nd-v4
168
169 define Device/tplink_tl-wr743nd-v1
170 $(Device/tplink-4m)
171 SOC := ar7240
172 DEVICE_MODEL := TL-WR743ND
173 DEVICE_VARIANT := v1
174 TPLINK_HWID := 0x07430001
175 endef
176 TARGET_DEVICES += tplink_tl-wr743nd-v1
177
178 define Device/tplink_tl-wr841-v5
179 $(Device/tplink-4m)
180 SOC := ar7240
181 DEVICE_MODEL := TL-WR841N/ND
182 DEVICE_VARIANT := v5/v6
183 TPLINK_HWID := 0x08410005
184 endef
185 TARGET_DEVICES += tplink_tl-wr841-v5
186
187 define Device/tplink_tl-wr841-v7
188 $(Device/tplink-4m)
189 SOC := ar7241
190 DEVICE_MODEL := TL-WR841N/ND
191 DEVICE_VARIANT := v7
192 TPLINK_HWID := 0x08410007
193 SUPPORTED_DEVICES += tl-wr841n-v7
194 endef
195 TARGET_DEVICES += tplink_tl-wr841-v7
196
197 define Device/tplink_tl-wr841-v8
198 $(Device/tplink-4mlzma)
199 SOC := ar9341
200 DEVICE_MODEL := TL-WR841N/ND
201 DEVICE_VARIANT := v8
202 TPLINK_HWID := 0x08410008
203 SUPPORTED_DEVICES += tl-wr841n-v8
204 endef
205 TARGET_DEVICES += tplink_tl-wr841-v8
206
207 define Device/tplink_tl-wr841-v9
208 $(Device/tplink-4mlzma)
209 SOC := qca9533
210 DEVICE_MODEL := TL-WR841N/ND
211 DEVICE_VARIANT := v9
212 TPLINK_HWID := 0x08410009
213 SUPPORTED_DEVICES += tl-wr841n-v9
214 endef
215 TARGET_DEVICES += tplink_tl-wr841-v9
216
217 define Device/tplink_tl-wr841-v10
218 $(Device/tplink-4mlzma)
219 SOC := qca9533
220 DEVICE_MODEL := TL-WR841N/ND
221 DEVICE_VARIANT := v10
222 TPLINK_HWID := 0x08410010
223 SUPPORTED_DEVICES += tl-wr841n-v9
224 endef
225 TARGET_DEVICES += tplink_tl-wr841-v10
226
227 define Device/tplink_tl-wr841-v11
228 $(Device/tplink-4mlzma)
229 SOC := qca9533
230 DEVICE_MODEL := TL-WR841N/ND
231 DEVICE_VARIANT := v11
232 TPLINK_HWID := 0x08410011
233 SUPPORTED_DEVICES += tl-wr841n-v11
234 IMAGES += factory-us.bin factory-eu.bin
235 IMAGE/factory-us.bin := tplink-v1-image factory -C US
236 IMAGE/factory-eu.bin := tplink-v1-image factory -C EU
237 endef
238 TARGET_DEVICES += tplink_tl-wr841-v11
239
240 define Device/tplink_tl-wr841-v12
241 $(Device/tplink-4mlzma)
242 SOC := qca9533
243 DEVICE_MODEL := TL-WR841N/ND
244 DEVICE_VARIANT := v12
245 TPLINK_HWID := 0x08410012
246 SUPPORTED_DEVICES += tl-wr841n-v11
247 IMAGES += factory-us.bin factory-eu.bin
248 IMAGE/factory-us.bin := tplink-v1-image factory -C US
249 IMAGE/factory-eu.bin := tplink-v1-image factory -C EU
250 endef
251 TARGET_DEVICES += tplink_tl-wr841-v12
252
253 define Device/tplink_tl-wr940n-v3
254 $(Device/tplink-4mlzma)
255 SOC := tp9343
256 DEVICE_MODEL := TL-WR940N
257 DEVICE_VARIANT := v3
258 TPLINK_HWID := 0x09410006
259 SUPPORTED_DEVICES += tl-wr941nd-v6
260 endef
261 TARGET_DEVICES += tplink_tl-wr940n-v3
262
263 define Device/tplink_tl-wr940n-v4
264 $(Device/tplink-4mlzma)
265 SOC := tp9343
266 DEVICE_MODEL := TL-WR940N
267 DEVICE_VARIANT := v4
268 TPLINK_HWID := 0x09400004
269 SUPPORTED_DEVICES += tl-wr940n-v4
270 IMAGES += factory-us.bin factory-eu.bin factory-br.bin
271 IMAGE/factory-us.bin := tplink-v1-image factory -C US
272 IMAGE/factory-eu.bin := tplink-v1-image factory -C EU
273 IMAGE/factory-br.bin := tplink-v1-image factory -C BR
274 endef
275 TARGET_DEVICES += tplink_tl-wr940n-v4
276
277 define Device/tplink_tl-wr940n-v6
278 $(Device/tplink-4mlzma)
279 SOC := tp9343
280 DEVICE_MODEL := TL-WR940N
281 DEVICE_VARIANT := v6
282 TPLINK_HWID := 0x09400006
283 SUPPORTED_DEVICES += tl-wr940n-v6
284 IMAGES += factory-us.bin factory-eu.bin factory-br.bin
285 IMAGE/factory-us.bin := tplink-v1-image factory -C US
286 IMAGE/factory-eu.bin := tplink-v1-image factory -C EU
287 IMAGE/factory-br.bin := tplink-v1-image factory -C BR
288 endef
289 TARGET_DEVICES += tplink_tl-wr940n-v6
290
291 define Device/tplink_tl-wr941-v2
292 $(Device/tplink-4m)
293 SOC := ar9132
294 DEVICE_MODEL := TL-WR941ND
295 DEVICE_VARIANT := v2/v3
296 DEVICE_ALT0_VENDOR := TP-Link
297 DEVICE_ALT0_MODEL := TL-WR941N
298 DEVICE_ALT0_VARIANT := v2/v3
299 TPLINK_HWID := 0x09410002
300 TPLINK_HWREV := 2
301 endef
302 TARGET_DEVICES += tplink_tl-wr941-v2
303
304 define Device/tplink_tl-wr941-v4
305 $(Device/tplink-4m)
306 SOC := ar7240
307 DEVICE_MODEL := TL-WR941ND
308 DEVICE_VARIANT := v4
309 DEVICE_ALT0_VENDOR := TP-Link
310 DEVICE_ALT0_MODEL := TL-WR941N
311 DEVICE_ALT0_VARIANT := v4
312 TPLINK_HWID := 0x09410004
313 endef
314 TARGET_DEVICES += tplink_tl-wr941-v4
315
316 define Device/tplink_tl-wr941nd-v6
317 $(Device/tplink-4mlzma)
318 SOC := tp9343
319 DEVICE_MODEL := TL-WR941ND
320 DEVICE_VARIANT := v6
321 TPLINK_HWID := 0x09410006
322 SUPPORTED_DEVICES += tl-wr941nd-v6
323 endef
324 TARGET_DEVICES += tplink_tl-wr941nd-v6
325
326 define Device/tplink_tl-wr941n-v7-cn
327 $(Device/tplink-4mlzma)
328 SOC := qca9558
329 DEVICE_MODEL := TL-WR941N
330 DEVICE_VARIANT := v7 (CN)
331 TPLINK_HWID := 0x09410007
332 endef
333 TARGET_DEVICES += tplink_tl-wr941n-v7-cn