lantiq: set correct gphy pins for Zyxel P-2812
[openwrt/openwrt.git] / target / linux / ramips / image / mt76x8.mk
1 #
2 # MT76x8 Profiles
3 #
4
5 include ./common-tp-link.mk
6
7 DEFAULT_SOC := mt7628an
8
9 define Device/alfa-network_awusfree1
10 IMAGE_SIZE := 7872k
11 DEVICE_VENDOR := ALFA Network
12 DEVICE_MODEL := AWUSFREE1
13 DEVICE_PACKAGES := uboot-envtools
14 endef
15 TARGET_DEVICES += alfa-network_awusfree1
16
17 define Device/asus_rt-n10p-v3
18 IMAGE_SIZE := 7872k
19 DEVICE_VENDOR := Asus
20 DEVICE_MODEL := RT-N10P
21 DEVICE_VARIANT := V3
22 endef
23 TARGET_DEVICES += asus_rt-n10p-v3
24
25 define Device/asus_rt-n11p-b1
26 IMAGE_SIZE := 7872k
27 DEVICE_VENDOR := Asus
28 DEVICE_MODEL := RT-N11P
29 DEVICE_VARIANT := B1
30 endef
31 TARGET_DEVICES += asus_rt-n11p-b1
32
33 define Device/asus_rt-n12-vp-b1
34 IMAGE_SIZE := 7872k
35 DEVICE_VENDOR := Asus
36 DEVICE_MODEL := RT-N12 VP
37 DEVICE_VARIANT := B1
38 endef
39 TARGET_DEVICES += asus_rt-n12-vp-b1
40
41 define Device/buffalo_wcr-1166ds
42 IMAGE_SIZE := 7936k
43 BUFFALO_TAG_PLATFORM := MTK
44 BUFFALO_TAG_VERSION := 9.99
45 BUFFALO_TAG_MINOR := 9.99
46 IMAGES += factory.bin
47 IMAGE/sysupgrade.bin := trx | pad-rootfs | append-metadata
48 IMAGE/factory.bin := trx -M 0x746f435c | pad-rootfs | append-metadata | \
49 buffalo-enc WCR-1166DS $$(BUFFALO_TAG_VERSION) -l | \
50 buffalo-tag-dhp WCR-1166DS JP JP | buffalo-enc-tag -l | buffalo-dhp-image
51 DEVICE_VENDOR := Buffalo
52 DEVICE_MODEL := WCR-1166DS
53 DEVICE_PACKAGES := kmod-mt76x2
54 SUPPORTED_DEVICES += wcr-1166ds
55 endef
56 TARGET_DEVICES += buffalo_wcr-1166ds
57
58 define Device/cudy_wr1000
59 IMAGE_SIZE := 7872k
60 IMAGES += factory.bin
61 IMAGE/factory.bin := $$(sysupgrade_bin) | check-size | jcg-header 92.122
62 JCG_MAXSIZE := 7872k
63 DEVICE_VENDOR := Cudy
64 DEVICE_MODEL := WR1000
65 DEVICE_PACKAGES := kmod-mt76x2
66 SUPPORTED_DEVICES += wr1000
67 endef
68 TARGET_DEVICES += cudy_wr1000
69
70 define Device/d-team_pbr-d1
71 IMAGE_SIZE := 16064k
72 DEVICE_VENDOR := PandoraBox
73 DEVICE_MODEL := PBR-D1
74 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci
75 SUPPORTED_DEVICES += pbr-d1
76 endef
77 TARGET_DEVICES += d-team_pbr-d1
78
79 define Device/duzun_dm06
80 IMAGE_SIZE := 7872k
81 DEVICE_VENDOR := DuZun
82 DEVICE_MODEL := DM06
83 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport
84 SUPPORTED_DEVICES += duzun-dm06
85 endef
86 TARGET_DEVICES += duzun_dm06
87
88 define Device/glinet_gl-mt300n-v2
89 IMAGE_SIZE := 16064k
90 DEVICE_VENDOR := GL.iNet
91 DEVICE_MODEL := GL-MT300N
92 DEVICE_VARIANT := V2
93 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci
94 SUPPORTED_DEVICES += gl-mt300n-v2
95 endef
96 TARGET_DEVICES += glinet_gl-mt300n-v2
97
98 define Device/glinet_microuter-n300
99 IMAGE_SIZE := 16064k
100 DEVICE_VENDOR := GL.iNet
101 DEVICE_MODEL := microuter-N300
102 SUPPORTED_DEVICES += microuter-n300
103 endef
104 TARGET_DEVICES += glinet_microuter-n300
105
106 define Device/glinet_vixmini
107 IMAGE_SIZE := 7872k
108 DEVICE_VENDOR := GL.iNet
109 DEVICE_MODEL := VIXMINI
110 SUPPORTED_DEVICES += vixmini
111 endef
112 TARGET_DEVICES += glinet_vixmini
113
114 define Device/hilink_hlk-7628n
115 IMAGE_SIZE := 32448k
116 DEVICE_VENDOR := HILINK
117 DEVICE_MODEL := HLK-7628N
118 endef
119 TARGET_DEVICES += hilink_hlk-7628n
120
121 define Device/hiwifi_hc5661a
122 IMAGE_SIZE := 15808k
123 DEVICE_VENDOR := HiWiFi
124 DEVICE_MODEL := HC5661A
125 SUPPORTED_DEVICES += hc5661a
126 endef
127 TARGET_DEVICES += hiwifi_hc5661a
128
129 define Device/hiwifi_hc5761a
130 IMAGE_SIZE := 15808k
131 DEVICE_VENDOR := HiWiFi
132 DEVICE_MODEL := HC5761A
133 DEVICE_PACKAGES := kmod-mt76x0e kmod-usb2 kmod-usb-ohci
134 endef
135 TARGET_DEVICES += hiwifi_hc5761a
136
137 define Device/hiwifi_hc5861b
138 IMAGE_SIZE := 15808k
139 DEVICE_VENDOR := HiWiFi
140 DEVICE_MODEL := HC5861B
141 DEVICE_PACKAGES := kmod-mt76x2
142 endef
143 TARGET_DEVICES += hiwifi_hc5861b
144
145 define Device/iptime_a3
146 IMAGE_SIZE := 7936k
147 UIMAGE_NAME := a3
148 DEVICE_VENDOR := ipTIME
149 DEVICE_MODEL := A3
150 DEVICE_PACKAGES := kmod-mt76x2
151 endef
152 TARGET_DEVICES += iptime_a3
153
154 define Device/iptime_a604m
155 IMAGE_SIZE := 7936k
156 UIMAGE_NAME := a604m
157 DEVICE_VENDOR := ipTIME
158 DEVICE_MODEL := A604M
159 DEVICE_PACKAGES := kmod-mt76x2
160 endef
161 TARGET_DEVICES += iptime_a604m
162
163 define Device/mediatek_linkit-smart-7688
164 IMAGE_SIZE := 32448k
165 DEVICE_VENDOR := MediaTek
166 DEVICE_MODEL := LinkIt Smart 7688
167 DEVICE_PACKAGES:= kmod-usb2 kmod-usb-ohci uboot-envtools kmod-sdhci-mt7620
168 SUPPORTED_DEVICES += linkits7688 linkits7688d
169 endef
170 TARGET_DEVICES += mediatek_linkit-smart-7688
171
172 define Device/mediatek_mt7628an-eval-board
173 BLOCKSIZE := 64k
174 IMAGE_SIZE := 7872k
175 DEVICE_VENDOR := MediaTek
176 DEVICE_MODEL := MT7628 EVB
177 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport
178 SUPPORTED_DEVICES += mt7628
179 endef
180 TARGET_DEVICES += mediatek_mt7628an-eval-board
181
182 define Device/mercury_mac1200r-v2
183 IMAGE_SIZE := 7936k
184 DEVICE_VENDOR := Mercury
185 DEVICE_MODEL := MAC1200R
186 DEVICE_VARIANT := v2.0
187 DEVICE_PACKAGES := kmod-mt76x2
188 SUPPORTED_DEVICES += mac1200rv2
189 endef
190 TARGET_DEVICES += mercury_mac1200r-v2
191
192 define Device/netgear_r6080
193 BLOCKSIZE := 64k
194 IMAGE_SIZE := 7552k
195 DEVICE_VENDOR := NETGEAR
196 DEVICE_MODEL := R6080
197 DEVICE_PACKAGES := kmod-mt76x2
198 SERCOMM_HWID := CFR
199 SERCOMM_HWVER := A001
200 SERCOMM_SWVER := 0x0040
201 IMAGES += factory.img
202 IMAGE/default := append-kernel | pad-to $$$$(BLOCKSIZE) | append-rootfs | \
203 pad-rootfs
204 IMAGE/sysupgrade.bin := $$(IMAGE/default) | append-metadata | check-size
205 IMAGE/factory.img := pad-extra 576k | $$(IMAGE/default) | \
206 pad-to $$$$(BLOCKSIZE) | sercom-footer | pad-to 128 | zip R6080.bin | \
207 sercom-seal
208 endef
209 TARGET_DEVICES += netgear_r6080
210
211 define Device/netgear_r6120
212 BLOCKSIZE := 64k
213 IMAGE_SIZE := 15744k
214 DEVICE_VENDOR := NETGEAR
215 DEVICE_MODEL := R6120
216 DEVICE_PACKAGES := kmod-mt76x2 kmod-usb2 kmod-usb-ohci
217 SERCOMM_HWID := CGQ
218 SERCOMM_HWVER := A001
219 SERCOMM_SWVER := 0x0040
220 IMAGES += factory.img
221 IMAGE/default := append-kernel | pad-to $$$$(BLOCKSIZE) | append-rootfs | \
222 pad-rootfs
223 IMAGE/sysupgrade.bin := $$(IMAGE/default) | append-metadata | check-size
224 IMAGE/factory.img := pad-extra 576k | $$(IMAGE/default) | \
225 pad-to $$$$(BLOCKSIZE) | sercom-footer | pad-to 128 | zip R6120.bin | \
226 sercom-seal
227 endef
228 TARGET_DEVICES += netgear_r6120
229
230 define Device/onion_omega2
231 IMAGE_SIZE := 16064k
232 DEVICE_VENDOR := Onion
233 DEVICE_MODEL := Omega2
234 DEVICE_PACKAGES:= kmod-usb2 kmod-usb-ohci uboot-envtools
235 SUPPORTED_DEVICES += omega2
236 endef
237 TARGET_DEVICES += onion_omega2
238
239 define Device/onion_omega2p
240 IMAGE_SIZE := 32448k
241 DEVICE_VENDOR := Onion
242 DEVICE_MODEL := Omega2+
243 DEVICE_PACKAGES:= kmod-usb2 kmod-usb-ohci uboot-envtools kmod-sdhci-mt7620
244 SUPPORTED_DEVICES += omega2p
245 endef
246 TARGET_DEVICES += onion_omega2p
247
248 define Device/rakwireless_rak633
249 IMAGE_SIZE := 7872k
250 DEVICE_VENDOR := Rakwireless
251 DEVICE_MODEL := RAK633
252 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci
253 endef
254 TARGET_DEVICES += rakwireless_rak633
255
256 define Device/ravpower_rp-wd009
257 IMAGE_SIZE := 14272k
258 DEVICE_VENDOR := RAVPower
259 DEVICE_MODEL := RP-WD009
260 UBOOT_PATH := $(STAGING_DIR_IMAGE)/ravpower_rp-wd009-u-boot.bin
261 DEVICE_PACKAGES := kmod-mt76x0e kmod-usb2 kmod-usb-ohci \
262 kmod-sdhci-mt7620 kmod-i2c-mt7628 ravpower-mcu
263 IMAGES += factory.bin
264 IMAGE/factory.bin := $$(sysupgrade_bin) | ravpower-wd009-factory
265 endef
266 TARGET_DEVICES += ravpower_rp-wd009
267
268 define Device/skylab_skw92a
269 IMAGE_SIZE := 16064k
270 DEVICE_VENDOR := Skylab
271 DEVICE_MODEL := SKW92A
272 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci
273 endef
274 TARGET_DEVICES += skylab_skw92a
275
276 define Device/tama_w06
277 IMAGE_SIZE := 15040k
278 DEVICE_VENDOR := Tama
279 DEVICE_MODEL := W06
280 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci
281 endef
282 TARGET_DEVICES += tama_w06
283
284 define Device/totolink_a3
285 IMAGE_SIZE := 7936k
286 UIMAGE_NAME := za3
287 DEVICE_VENDOR := TOTOLINK
288 DEVICE_MODEL := A3
289 DEVICE_PACKAGES := kmod-mt76x2
290 endef
291 TARGET_DEVICES += totolink_a3
292
293 define Device/totolink_lr1200
294 IMAGE_SIZE := 7872k
295 DEVICE_VENDOR := TOTOLINK
296 DEVICE_MODEL := LR1200
297 DEVICE_PACKAGES := kmod-mt76x2 kmod-usb2 uqmi
298 endef
299 TARGET_DEVICES += totolink_lr1200
300
301 define Device/tplink_archer-c20-v4
302 $(Device/tplink-v2)
303 IMAGE_SIZE := 7808k
304 DEVICE_MODEL := Archer C20
305 DEVICE_VARIANT := v4
306 TPLINK_FLASHLAYOUT := 8Mmtk
307 TPLINK_HWID := 0xc200004
308 TPLINK_HWREVADD := 0x4
309 DEVICE_PACKAGES := kmod-mt76x0e
310 IMAGES := sysupgrade.bin tftp-recovery.bin
311 IMAGE/tftp-recovery.bin := pad-extra 128k | $$(IMAGE/factory.bin)
312 SUPPORTED_DEVICES += tplink,c20-v4
313 endef
314 TARGET_DEVICES += tplink_archer-c20-v4
315
316 define Device/tplink_archer-c20-v5
317 $(Device/tplink-v2)
318 IMAGE_SIZE := 7616k
319 DEVICE_MODEL := Archer C20
320 DEVICE_VARIANT := v5
321 TPLINK_FLASHLAYOUT := 8MSUmtk
322 TPLINK_HWID := 0xc200005
323 TPLINK_HWREVADD := 0x5
324 DEVICE_PACKAGES := kmod-mt76x0e
325 IMAGES := sysupgrade.bin
326 endef
327 TARGET_DEVICES += tplink_archer-c20-v5
328
329 define Device/tplink_archer-c50-v3
330 $(Device/tplink-v2)
331 IMAGE_SIZE := 7808k
332 DEVICE_MODEL := Archer C50
333 DEVICE_VARIANT := v3
334 TPLINK_FLASHLAYOUT := 8Mmtk
335 TPLINK_HWID := 0x001D9BA4
336 TPLINK_HWREV := 0x79
337 TPLINK_HWREVADD := 0x1
338 DEVICE_PACKAGES := kmod-mt76x2
339 IMAGES := sysupgrade.bin tftp-recovery.bin
340 IMAGE/tftp-recovery.bin := pad-extra 128k | $$(IMAGE/factory.bin)
341 SUPPORTED_DEVICES += tplink,c50-v3
342 endef
343 TARGET_DEVICES += tplink_archer-c50-v3
344
345 define Device/tplink_archer-c50-v4
346 $(Device/tplink-v2)
347 IMAGE_SIZE := 7616k
348 DEVICE_MODEL := Archer C50
349 DEVICE_VARIANT := v4
350 TPLINK_FLASHLAYOUT := 8MSUmtk
351 TPLINK_HWID := 0x001D589B
352 TPLINK_HWREV := 0x93
353 TPLINK_HWREVADD := 0x2
354 DEVICE_PACKAGES := kmod-mt76x2
355 IMAGES := sysupgrade.bin
356 SUPPORTED_DEVICES += tplink,c50-v4
357 endef
358 TARGET_DEVICES += tplink_archer-c50-v4
359
360 define Device/tplink_re200-v2
361 $(Device/tplink-safeloader)
362 IMAGE_SIZE := 7808k
363 DEVICE_MODEL := RE200
364 DEVICE_VARIANT := v2
365 DEVICE_PACKAGES := kmod-mt76x0e
366 TPLINK_BOARD_ID := RE200-V2
367 endef
368 TARGET_DEVICES += tplink_re200-v2
369
370 define Device/tplink_re220-v2
371 $(Device/tplink-safeloader)
372 IMAGE_SIZE := 7808k
373 DEVICE_MODEL := RE220
374 DEVICE_VARIANT := v2
375 DEVICE_PACKAGES := kmod-mt76x0e
376 TPLINK_BOARD_ID := RE220-V2
377 endef
378 TARGET_DEVICES += tplink_re220-v2
379
380 define Device/tplink_re305-v1
381 $(Device/tplink-safeloader)
382 IMAGE_SIZE := 6016k
383 DEVICE_MODEL := RE305
384 DEVICE_VARIANT := v1
385 DEVICE_PACKAGES := kmod-mt76x2
386 TPLINK_BOARD_ID := RE305-V1
387 endef
388 TARGET_DEVICES += tplink_re305-v1
389
390 define Device/tplink_tl-mr3020-v3
391 $(Device/tplink-v2)
392 IMAGE_SIZE := 7808k
393 DEVICE_MODEL := TL-MR3020
394 DEVICE_VARIANT := v3
395 TPLINK_FLASHLAYOUT := 8Mmtk
396 TPLINK_HWID := 0x30200003
397 TPLINK_HWREV := 0x3
398 TPLINK_HWREVADD := 0x3
399 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport
400 IMAGES := sysupgrade.bin tftp-recovery.bin
401 IMAGE/tftp-recovery.bin := pad-extra 128k | $$(IMAGE/factory.bin)
402 endef
403 TARGET_DEVICES += tplink_tl-mr3020-v3
404
405 define Device/tplink_tl-mr3420-v5
406 $(Device/tplink-v2)
407 IMAGE_SIZE := 7808k
408 DEVICE_MODEL := TL-MR3420
409 DEVICE_VARIANT := v5
410 TPLINK_FLASHLAYOUT := 8Mmtk
411 TPLINK_HWID := 0x34200005
412 TPLINK_HWREV := 0x5
413 TPLINK_HWREVADD := 0x5
414 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport
415 IMAGES := sysupgrade.bin tftp-recovery.bin
416 IMAGE/tftp-recovery.bin := pad-extra 128k | $$(IMAGE/factory.bin)
417 endef
418 TARGET_DEVICES += tplink_tl-mr3420-v5
419
420 define Device/tplink_tl-wa801nd-v5
421 $(Device/tplink-v2)
422 IMAGE_SIZE := 7808k
423 DEVICE_MODEL := TL-WA801ND
424 DEVICE_VARIANT := v5
425 TPLINK_FLASHLAYOUT := 8Mmtk
426 TPLINK_HWID := 0x08010005
427 TPLINK_HWREVADD := 0x5
428 IMAGES := sysupgrade.bin tftp-recovery.bin
429 IMAGE/tftp-recovery.bin := pad-extra 128k | $$(IMAGE/factory.bin)
430 endef
431 TARGET_DEVICES += tplink_tl-wa801nd-v5
432
433 define Device/tplink_tl-wr802n-v4
434 $(Device/tplink-v2)
435 IMAGE_SIZE := 7808k
436 DEVICE_MODEL := TL-WR802N
437 DEVICE_VARIANT := v4
438 TPLINK_FLASHLAYOUT := 8Mmtk
439 TPLINK_HWID := 0x08020004
440 TPLINK_HWREVADD := 0x4
441 IMAGES := sysupgrade.bin tftp-recovery.bin
442 IMAGE/tftp-recovery.bin := pad-extra 128k | $$(IMAGE/factory.bin)
443 endef
444 TARGET_DEVICES += tplink_tl-wr802n-v4
445
446 define Device/tplink_tl-wr840n-v4
447 $(Device/tplink-v2)
448 IMAGE_SIZE := 7808k
449 DEVICE_MODEL := TL-WR840N
450 DEVICE_VARIANT := v4
451 TPLINK_FLASHLAYOUT := 8Mmtk
452 TPLINK_HWID := 0x08400004
453 TPLINK_HWREVADD := 0x4
454 IMAGES := sysupgrade.bin tftp-recovery.bin
455 IMAGE/tftp-recovery.bin := pad-extra 128k | $$(IMAGE/factory.bin)
456 SUPPORTED_DEVICES += tl-wr840n-v4
457 endef
458 TARGET_DEVICES += tplink_tl-wr840n-v4
459
460 define Device/tplink_tl-wr840n-v5
461 $(Device/tplink-v2)
462 IMAGE_SIZE := 3904k
463 DEVICE_MODEL := TL-WR840N
464 DEVICE_VARIANT := v5
465 TPLINK_FLASHLAYOUT := 4Mmtk
466 TPLINK_HWID := 0x08400005
467 TPLINK_HWREVADD := 0x5
468 IMAGES := sysupgrade.bin
469 SUPPORTED_DEVICES += tl-wr840n-v5
470 DEFAULT := n
471 endef
472 TARGET_DEVICES += tplink_tl-wr840n-v5
473
474 define Device/tplink_tl-wr841n-v13
475 $(Device/tplink-v2)
476 IMAGE_SIZE := 7808k
477 DEVICE_MODEL := TL-WR841N
478 DEVICE_VARIANT := v13
479 TPLINK_FLASHLAYOUT := 8Mmtk
480 TPLINK_HWID := 0x08410013
481 TPLINK_HWREV := 0x268
482 TPLINK_HWREVADD := 0x13
483 IMAGES := sysupgrade.bin tftp-recovery.bin
484 IMAGE/tftp-recovery.bin := pad-extra 128k | $$(IMAGE/factory.bin)
485 SUPPORTED_DEVICES += tl-wr841n-v13
486 endef
487 TARGET_DEVICES += tplink_tl-wr841n-v13
488
489 define Device/tplink_tl-wr841n-v14
490 $(Device/tplink-v2)
491 IMAGE_SIZE := 3968k
492 DEVICE_MODEL := TL-WR841N
493 DEVICE_VARIANT := v14
494 TPLINK_FLASHLAYOUT := 4Mmtk
495 TPLINK_HWID := 0x08410014
496 TPLINK_HWREVADD := 0x14
497 IMAGES := sysupgrade.bin tftp-recovery.bin
498 IMAGE/tftp-recovery.bin := pad-extra 64k | $$(IMAGE/factory.bin)
499 DEFAULT := n
500 endef
501 TARGET_DEVICES += tplink_tl-wr841n-v14
502
503 define Device/tplink_tl-wr842n-v5
504 $(Device/tplink-v2)
505 IMAGE_SIZE := 7808k
506 DEVICE_MODEL := TL-WR842N
507 DEVICE_VARIANT := v5
508 TPLINK_FLASHLAYOUT := 8Mmtk
509 TPLINK_HWID := 0x08420005
510 TPLINK_HWREV := 0x5
511 TPLINK_HWREVADD := 0x5
512 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport
513 IMAGES := sysupgrade.bin tftp-recovery.bin
514 IMAGE/tftp-recovery.bin := pad-extra 128k | $$(IMAGE/factory.bin)
515 endef
516 TARGET_DEVICES += tplink_tl-wr842n-v5
517
518 define Device/tplink_tl-wr902ac-v3
519 $(Device/tplink-v2)
520 IMAGE_SIZE := 7808k
521 DEVICE_MODEL := TL-WR902AC
522 DEVICE_VARIANT := v3
523 TPLINK_FLASHLAYOUT := 8Mmtk
524 TPLINK_HWID := 0x000dc88f
525 TPLINK_HWREV := 0x89
526 TPLINK_HWREVADD := 0x1
527 DEVICE_PACKAGES := kmod-mt76x0e kmod-usb2 kmod-usb-ohci \
528 kmod-usb-ledtrig-usbport
529 IMAGES := sysupgrade.bin tftp-recovery.bin
530 IMAGE/tftp-recovery.bin := pad-extra 128k | $$(IMAGE/factory.bin)
531 endef
532 TARGET_DEVICES += tplink_tl-wr902ac-v3
533
534 define Device/unielec_u7628-01-16m
535 IMAGE_SIZE := 16064k
536 DEVICE_VENDOR := UniElec
537 DEVICE_MODEL := U7628-01
538 DEVICE_VARIANT := 16M
539 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport
540 SUPPORTED_DEVICES += u7628-01-128M-16M unielec,u7628-01-128m-16m
541 endef
542 TARGET_DEVICES += unielec_u7628-01-16m
543
544 define Device/vocore_vocore2
545 IMAGE_SIZE := 16064k
546 DEVICE_VENDOR := VoCore
547 DEVICE_MODEL := VoCore2
548 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport \
549 kmod-sdhci-mt7620
550 SUPPORTED_DEVICES += vocore2
551 endef
552 TARGET_DEVICES += vocore_vocore2
553
554 define Device/vocore_vocore2-lite
555 IMAGE_SIZE := 7872k
556 DEVICE_VENDOR := VoCore
557 DEVICE_MODEL := VoCore2-Lite
558 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport \
559 kmod-sdhci-mt7620
560 SUPPORTED_DEVICES += vocore2lite
561 endef
562 TARGET_DEVICES += vocore_vocore2-lite
563
564 define Device/wavlink_wl-wn570ha1
565 IMAGE_SIZE := 7872k
566 DEVICE_VENDOR := Wavlink
567 DEVICE_MODEL := WL-WN570HA1
568 DEVICE_PACKAGES := kmod-mt76x0e
569 endef
570 TARGET_DEVICES += wavlink_wl-wn570ha1
571
572 define Device/wavlink_wl-wn575a3
573 IMAGE_SIZE := 7872k
574 DEVICE_VENDOR := Wavlink
575 DEVICE_MODEL := WL-WN575A3
576 DEVICE_PACKAGES := kmod-mt76x2
577 SUPPORTED_DEVICES += wl-wn575a3
578 endef
579 TARGET_DEVICES += wavlink_wl-wn575a3
580
581 define Device/wavlink_wl-wn577a2
582 IMAGE_SIZE := 7872k
583 DEVICE_VENDOR := Wavlink
584 DEVICE_MODEL := WL-WN577A2
585 DEVICE_ALT0_VENDOR := Maginon
586 DEVICE_ALT0_MODEL := WLR-755
587 DEVICE_PACKAGES := kmod-mt76x0e
588 endef
589 TARGET_DEVICES += wavlink_wl-wn577a2
590
591 define Device/widora_neo-16m
592 IMAGE_SIZE := 16064k
593 DEVICE_VENDOR := Widora
594 DEVICE_MODEL := Widora-NEO
595 DEVICE_VARIANT := 16M
596 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci
597 SUPPORTED_DEVICES += widora-neo
598 endef
599 TARGET_DEVICES += widora_neo-16m
600
601 define Device/widora_neo-32m
602 IMAGE_SIZE := 32448k
603 DEVICE_VENDOR := Widora
604 DEVICE_MODEL := Widora-NEO
605 DEVICE_VARIANT := 32M
606 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci
607 endef
608 TARGET_DEVICES += widora_neo-32m
609
610 define Device/wiznet_wizfi630s
611 IMAGE_SIZE := 32448k
612 DEVICE_VENDOR := WIZnet
613 DEVICE_MODEL := WizFi630S
614 endef
615 TARGET_DEVICES += wiznet_wizfi630s
616
617 define Device/wrtnode_wrtnode2p
618 IMAGE_SIZE := 32448k
619 DEVICE_VENDOR := WRTnode
620 DEVICE_MODEL := WRTnode 2P
621 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport
622 SUPPORTED_DEVICES += wrtnode2p
623 endef
624 TARGET_DEVICES += wrtnode_wrtnode2p
625
626 define Device/wrtnode_wrtnode2r
627 IMAGE_SIZE := 32448k
628 DEVICE_VENDOR := WRTnode
629 DEVICE_MODEL := WRTnode 2R
630 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci
631 SUPPORTED_DEVICES += wrtnode2r
632 endef
633 TARGET_DEVICES += wrtnode_wrtnode2r
634
635 define Device/xiaomi_mir4a-100m
636 IMAGE_SIZE := 14976k
637 DEVICE_VENDOR := Xiaomi
638 DEVICE_MODEL := Mi Router 4A
639 DEVICE_VARIANT := 100M Edition
640 DEVICE_PACKAGES := kmod-mt76x2
641 endef
642 TARGET_DEVICES += xiaomi_mir4a-100m
643
644 define Device/xiaomi_miwifi-nano
645 IMAGE_SIZE := 16064k
646 DEVICE_VENDOR := Xiaomi
647 DEVICE_MODEL := MiWiFi Nano
648 DEVICE_PACKAGES := uboot-envtools
649 SUPPORTED_DEVICES += miwifi-nano
650 endef
651 TARGET_DEVICES += xiaomi_miwifi-nano
652
653 define Device/zbtlink_zbt-we1226
654 IMAGE_SIZE := 7872k
655 DEVICE_VENDOR := Zbtlink
656 DEVICE_MODEL := ZBT-WE1226
657 endef
658 TARGET_DEVICES += zbtlink_zbt-we1226
659
660 define Device/zyxel_keenetic-extra-ii
661 IMAGE_SIZE := 14912k
662 BLOCKSIZE := 64k
663 DEVICE_VENDOR := ZyXEL
664 DEVICE_MODEL := Keenetic Extra II
665 DEVICE_PACKAGES := kmod-mt76x2 kmod-usb2 kmod-usb-ohci \
666 kmod-usb-ledtrig-usbport
667 IMAGES += factory.bin
668 IMAGE/factory.bin := $$(sysupgrade_bin) | pad-to $$$$(BLOCKSIZE) | \
669 check-size | zyimage -d 6162 -v "ZyXEL Keenetic Extra II"
670 endef
671 TARGET_DEVICES += zyxel_keenetic-extra-ii