ramips: add support for Ravpower WD03
[openwrt/staging/wigyori.git] / target / linux / ramips / image / mt7620.mk
1 #
2 # MT7620A Profiles
3 #
4
5 DEVICE_VARS += TPLINK_FLASHLAYOUT TPLINK_HWID TPLINK_HWREV TPLINK_HWREVADD TPLINK_HVERSION \
6 DLINK_ROM_ID DLINK_FAMILY_MEMBER DLINK_FIRMWARE_SIZE
7
8 define Build/elecom-header
9 cp $@ $(KDIR)/v_0.0.0.bin
10 ( \
11 mkhash md5 $(KDIR)/v_0.0.0.bin && \
12 echo 458 \
13 ) | mkhash md5 > $(KDIR)/v_0.0.0.md5
14 $(STAGING_DIR_HOST)/bin/tar -c \
15 $(if $(SOURCE_DATE_EPOCH),--mtime=@$(SOURCE_DATE_EPOCH)) \
16 -f $@ -C $(KDIR) v_0.0.0.bin v_0.0.0.md5
17 endef
18
19 define Build/zyimage
20 $(STAGING_DIR_HOST)/bin/zyimage $(1) $@
21 endef
22
23 define Device/ai-br100
24 DTS := AI-BR100
25 IMAGE_SIZE := 7936k
26 DEVICE_TITLE := Aigale Ai-BR100
27 DEVICE_PACKAGES:= kmod-usb2 kmod-usb-ohci
28 endef
29 TARGET_DEVICES += ai-br100
30
31 define Device/alfa-network_ac1200rm
32 DTS := AC1200RM
33 IMAGE_SIZE := 16064k
34 DEVICE_TITLE := ALFA Network AC1200RM
35 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci uboot-envtools
36 endef
37 TARGET_DEVICES += alfa-network_ac1200rm
38
39 define Device/Archer
40 TPLINK_HWREVADD := 0
41 TPLINK_HVERSION := 3
42 KERNEL := $(KERNEL_DTB)
43 KERNEL_INITRAMFS := $(KERNEL_DTB) | tplink-v2-header -e
44 IMAGE/factory.bin := tplink-v2-image -e
45 IMAGE/sysupgrade.bin := tplink-v2-image -s -e | append-metadata
46 endef
47
48 define Device/ArcherC20i
49 $(Device/Archer)
50 DTS := ArcherC20i
51 SUPPORTED_DEVICES := c20i
52 TPLINK_FLASHLAYOUT := 8Mmtk
53 TPLINK_HWID := 0xc2000001
54 TPLINK_HWREV := 58
55 IMAGES += factory.bin
56 DEVICE_TITLE := TP-Link ArcherC20i
57 endef
58 TARGET_DEVICES += ArcherC20i
59
60 define Device/ArcherC50v1
61 $(Device/Archer)
62 DTS := ArcherC50
63 SUPPORTED_DEVICES := c50
64 TPLINK_FLASHLAYOUT := 8Mmtk
65 TPLINK_HWID := 0xc7500001
66 TPLINK_HWREV := 69
67 IMAGES += factory-us.bin factory-eu.bin
68 IMAGE/factory-us.bin := tplink-v2-image -e -w 0
69 IMAGE/factory-eu.bin := tplink-v2-image -e -w 2
70 DEVICE_TITLE := TP-Link ArcherC50v1
71 endef
72 TARGET_DEVICES += ArcherC50v1
73
74 define Device/ArcherMR200
75 $(Device/Archer)
76 DTS := ArcherMR200
77 SUPPORTED_DEVICES := mr200
78 TPLINK_FLASHLAYOUT := 8MLmtk
79 TPLINK_HWID := 0xd7500001
80 TPLINK_HWREV := 0x4a
81 DEVICE_PACKAGES := kmod-usb2 kmod-usb-net kmod-usb-net-rndis kmod-usb-serial kmod-usb-serial-option adb-enablemodem
82 DEVICE_TITLE := TP-Link ArcherMR200
83 endef
84 TARGET_DEVICES += ArcherMR200
85
86 define Device/c108
87 DTS := C108
88 IMAGE_SIZE := 16777216
89 DEVICE_TITLE := HNET C108
90 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-sdhci-mt7620
91 endef
92 TARGET_DEVICES += c108
93
94 define Device/cf-wr800n
95 DTS := CF-WR800N
96 DEVICE_TITLE := Comfast CF-WR800N
97 endef
98 TARGET_DEVICES += cf-wr800n
99
100 define Device/cs-qr10
101 DTS := CS-QR10
102 DEVICE_TITLE := Planex CS-QR10
103 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci \
104 kmod-sound-core kmod-sound-mt7620 \
105 kmod-i2c-ralink kmod-sdhci-mt7620
106 endef
107 TARGET_DEVICES += cs-qr10
108
109 define Device/d240
110 DTS := D240
111 IMAGE_SIZE := $(ralink_default_fw_size_16M)
112 DEVICE_TITLE := Sanlinking Technologies D240
113 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-mt76-core kmod-mt76x2 kmod-sdhci-mt7620
114 endef
115 TARGET_DEVICES += d240
116
117 define Device/db-wrt01
118 DTS := DB-WRT01
119 DEVICE_TITLE := Planex DB-WRT01
120 endef
121 TARGET_DEVICES += db-wrt01
122
123 define Device/dch-m225
124 DTS := DCH-M225
125 BLOCKSIZE := 4k
126 IMAGES += factory.bin
127 IMAGE_SIZE := 6848k
128 IMAGE/sysupgrade.bin := \
129 append-kernel | pad-offset $$$$(BLOCKSIZE) 64 | append-rootfs | \
130 seama -m "dev=/dev/mtdblock/2" -m "type=firmware" | \
131 pad-rootfs | append-metadata | check-size $$$$(IMAGE_SIZE)
132 IMAGE/factory.bin := \
133 append-kernel | pad-offset $$$$(BLOCKSIZE) 64 | \
134 append-rootfs | pad-rootfs -x 64 | \
135 seama -m "dev=/dev/mtdblock/2" -m "type=firmware" | \
136 seama-seal -m "signature=wapn22_dlink.2013gui_dap1320b" | \
137 check-size $$$$(IMAGE_SIZE)
138 DEVICE_TITLE := D-Link DCH-M225
139 DEVICE_PACKAGES := kmod-mt76 kmod-sound-core kmod-sound-mt7620 kmod-i2c-ralink
140 endef
141 TARGET_DEVICES += dch-m225
142
143 define Device/dir-810l
144 DTS := DIR-810L
145 IMAGE_SIZE := 6720k
146 DEVICE_TITLE := D-Link DIR-810L
147 endef
148 TARGET_DEVICES += dir-810l
149
150 define Device/dlink_dwr-116-a1
151 DTS := DWR-116-A1
152 DEVICE_TITLE := D-Link DWR-116 A1/A2
153 DEVICE_PACKAGES := kmod-usb2 jboot-tools
154 DLINK_ROM_ID := DLK6E3803001
155 DLINK_FAMILY_MEMBER := 0x6E38
156 DLINK_FIRMWARE_SIZE := 0x7E0000
157 KERNEL := $(KERNEL_DTB)
158 IMAGES += factory.bin
159 IMAGE/sysupgrade.bin := mkdlinkfw | pad-rootfs | append-metadata
160 IMAGE/factory.bin := mkdlinkfw | pad-rootfs | mkdlinkfw-factory
161 endef
162 TARGET_DEVICES += dlink_dwr-116-a1
163
164 define Device/dlink_dwr-921-c1
165 DTS := DWR-921-C1
166 IMAGE_SIZE := $(ralink_default_fw_size_16M)
167 DEVICE_TITLE := D-Link DWR-921 C1
168 DLINK_ROM_ID := DLK6E2414001
169 DLINK_FAMILY_MEMBER := 0x6E24
170 DLINK_FIRMWARE_SIZE := 0xFE0000
171 KERNEL := $(KERNEL_DTB)
172 IMAGES += factory.bin
173 IMAGE/sysupgrade.bin := mkdlinkfw | pad-rootfs | append-metadata
174 IMAGE/factory.bin := mkdlinkfw | pad-rootfs | mkdlinkfw-factory
175 DEVICE_PACKAGES := jboot-tools \
176 kmod-usb2 kmod-usb-net-qmi-wwan kmod-usb-serial-option uqmi
177 endef
178 TARGET_DEVICES += dlink_dwr-921-c1
179
180 define Device/dlink_dwr-921-c3
181 $(Device/dlink_dwr-921-c1)
182 DEVICE_TITLE := D-Link DWR-921 C3
183 DLINK_ROM_ID := DLK6E2414009
184 SUPPORTED_DEVICES := dlink,dwr-921-c1
185 endef
186 TARGET_DEVICES += dlink_dwr-921-c3
187
188 define Device/e1700
189 DTS := E1700
190 IMAGES += factory.bin
191 IMAGE/factory.bin := $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | \
192 umedia-header 0x013326
193 DEVICE_TITLE := Linksys E1700
194 endef
195 TARGET_DEVICES += e1700
196
197 define Device/ex2700
198 NETGEAR_HW_ID := 29764623+4+0+32+2x2+0
199 NETGEAR_BOARD_ID := EX2700
200 DTS := EX2700
201 BLOCKSIZE := 4k
202 IMAGE_SIZE := $(ralink_default_fw_size_4M)
203 IMAGES += factory.bin
204 KERNEL := $(KERNEL_DTB) | uImage lzma | pad-offset 64k 64 | append-uImage-fakehdr filesystem
205 IMAGE/factory.bin := $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | \
206 netgear-dni
207 DEVICE_PACKAGES := -kmod-mt76
208 DEVICE_TITLE := Netgear EX2700
209 endef
210 TARGET_DEVICES += ex2700
211
212 define Device/ex3700-ex3800
213 NETGEAR_BOARD_ID := U12H319T00_NETGEAR
214 DTS := EX3700
215 BLOCKSIZE := 4k
216 IMAGE_SIZE := 7744k
217 IMAGES += factory.chk
218 IMAGE/factory.chk := $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | netgear-chk
219 DEVICE_PACKAGES := -kmod-mt76 kmod-mt76x2
220 DEVICE_TITLE := Netgear EX3700/EX3800
221 SUPPORTED_DEVICES := ex3700
222 endef
223 TARGET_DEVICES += ex3700-ex3800
224
225 define Device/gl-mt300a
226 DTS := GL-MT300A
227 IMAGE_SIZE := $(ralink_default_fw_size_16M)
228 DEVICE_TITLE := GL-Inet GL-MT300A
229 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-mt76
230 endef
231 TARGET_DEVICES += gl-mt300a
232
233 define Device/u25awf-h1
234 DTS := U25AWF-H1
235 IMAGE_SIZE := 16064k
236 DEVICE_TITLE := Kimax U25AWF-H1
237 endef
238 TARGET_DEVICES += u25awf-h1
239
240 define Device/gl-mt300n
241 DTS := GL-MT300N
242 IMAGE_SIZE := $(ralink_default_fw_size_16M)
243 DEVICE_TITLE := GL-Inet GL-MT300N
244 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-mt76
245 endef
246 TARGET_DEVICES += gl-mt300n
247
248 define Device/gl-mt750
249 DTS := GL-MT750
250 IMAGE_SIZE := $(ralink_default_fw_size_16M)
251 DEVICE_TITLE := GL-Inet GL-MT750
252 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-mt76
253 endef
254 TARGET_DEVICES += gl-mt750
255
256 define Device/hc5661
257 DTS := HC5661
258 IMAGE_SIZE := $(ralink_default_fw_size_16M)
259 DEVICE_TITLE := HiWiFi HC5661
260 DEVICE_PACKAGES := kmod-usb2 kmod-sdhci-mt7620 kmod-usb-ledtrig-usbport
261 endef
262 TARGET_DEVICES += hc5661
263
264 define Device/hc5761
265 DTS := HC5761
266 IMAGE_SIZE := $(ralink_default_fw_size_16M)
267 DEVICE_TITLE := HiWiFi HC5761
268 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-sdhci-mt7620 kmod-usb-ledtrig-usbport
269 endef
270 TARGET_DEVICES += hc5761
271
272 define Device/hc5861
273 DTS := HC5861
274 IMAGE_SIZE := $(ralink_default_fw_size_16M)
275 DEVICE_TITLE := HiWiFi HC5861
276 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-sdhci-mt7620 kmod-usb-ledtrig-usbport
277 endef
278 TARGET_DEVICES += hc5861
279
280 define Device/kng_rc
281 DTS := kng_rc
282 IMAGE_SIZE := $(ralink_default_fw_size_16M)
283 DEVICE_TITLE := ZyXEL Keenetic Viva
284 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport kmod-switch-rtl8366-smi kmod-switch-rtl8367b
285 IMAGES += factory.bin
286 IMAGE/factory.bin := $$(sysupgrade_bin) | pad-to 64k | check-size $$$$(IMAGE_SIZE) | \
287 zyimage -d 8997 -v "ZyXEL Keenetic Viva"
288 SUPPORTED_DEVICES := kng_rc
289 endef
290 TARGET_DEVICES += kng_rc
291
292 define Device/kn_rc
293 DTS := kn_rc
294 DEVICE_TITLE := ZyXEL Keenetic Omni
295 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport
296 IMAGES += factory.bin
297 IMAGE/factory.bin := $$(IMAGE/sysupgrade.bin) | pad-to 64k | check-size $$$$(IMAGE_SIZE) | \
298 zyimage -d 4882 -v "ZyXEL Keenetic Omni"
299 SUPPORTED_DEVICES := kn_rc
300 endef
301 TARGET_DEVICES += kn_rc
302
303 define Device/kn_rf
304 DTS := kn_rf
305 DEVICE_TITLE := ZyXEL Keenetic Omni II
306 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport
307 IMAGES += factory.bin
308 IMAGE/factory.bin := $$(IMAGE/sysupgrade.bin) | pad-to 64k | check-size $$$$(IMAGE_SIZE) | \
309 zyimage -d 2102034 -v "ZyXEL Keenetic Omni II"
310 SUPPORTED_DEVICES := kn_rf
311 endef
312 TARGET_DEVICES += kn_rf
313
314 define Device/microwrt
315 DTS := MicroWRT
316 IMAGE_SIZE := 16128k
317 DEVICE_TITLE := Microduino MicroWRT
318 endef
319 TARGET_DEVICES += microwrt
320
321 define Device/miwifi-mini
322 DTS := MIWIFI-MINI
323 IMAGE_SIZE := $(ralink_default_fw_size_16M)
324 DEVICE_TITLE := Xiaomi MiWiFi Mini
325 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci
326 endef
327 TARGET_DEVICES += miwifi-mini
328
329 define Device/mlw221
330 DTS := MLW221
331 IMAGE_SIZE := $(ralink_default_fw_size_16M)
332 DEVICE_TITLE := Kingston MLW221
333 endef
334 TARGET_DEVICES += mlw221
335
336 define Device/mlwg2
337 DTS := MLWG2
338 IMAGE_SIZE := $(ralink_default_fw_size_16M)
339 DEVICE_TITLE := Kingston MLWG2
340 endef
341 TARGET_DEVICES += mlwg2
342
343 define Device/mt7620a
344 DTS := MT7620a
345 DEVICE_TITLE := MediaTek MT7620a EVB
346 endef
347 TARGET_DEVICES += mt7620a
348
349 define Device/mt7620a_mt7530
350 DTS := MT7620a_MT7530
351 DEVICE_TITLE := MediaTek MT7620a + MT7530 EVB
352 SUPPORTED_DEVICES := mt7620a_mt7530
353 endef
354 TARGET_DEVICES += mt7620a_mt7530
355
356 define Device/mt7620a_mt7610e
357 DTS := MT7620a_MT7610e
358 DEVICE_TITLE := MediaTek MT7620a + MT7610e EVB
359 SUPPORTED_DEVICES := mt7620a_mt7610e
360 endef
361 TARGET_DEVICES += mt7620a_mt7610e
362
363 define Device/mt7620a_v22sg
364 DTS := MT7620a_V22SG
365 DEVICE_TITLE := MediaTek MT7620a V22SG
366 SUPPORTED_DEVICES := mt7620a_v22sg
367 endef
368 TARGET_DEVICES += mt7620a_v22sg
369
370 define Device/mzk-750dhp
371 DTS := MZK-750DHP
372 DEVICE_TITLE := Planex MZK-750DHP
373 DEVICE_PACKAGES := kmod-mt76
374 endef
375 TARGET_DEVICES += mzk-750dhp
376
377 define Device/mzk-ex300np
378 DTS := MZK-EX300NP
379 DEVICE_TITLE := Planex MZK-EX300NP
380 endef
381 TARGET_DEVICES += mzk-ex300np
382
383 define Device/mzk-ex750np
384 DTS := MZK-EX750NP
385 DEVICE_TITLE := Planex MZK-EX750NP
386 DEVICE_PACKAGES := kmod-mt76
387 endef
388 TARGET_DEVICES += mzk-ex750np
389
390 define Device/na930
391 DTS := NA930
392 IMAGE_SIZE := 20m
393 DEVICE_TITLE := Sercomm NA930
394 endef
395 TARGET_DEVICES += na930
396
397 define Device/oy-0001
398 DTS := OY-0001
399 IMAGE_SIZE := $(ralink_default_fw_size_16M)
400 DEVICE_TITLE := Oh Yeah OY-0001
401 endef
402 TARGET_DEVICES += oy-0001
403
404 define Device/psg1208
405 DTS := PSG1208
406 DEVICE_TITLE := Phicomm PSG1208
407 DEVICE_PACKAGES := kmod-mt76
408 endef
409 TARGET_DEVICES += psg1208
410
411 define Device/psg1218a
412 DTS := PSG1218A
413 DEVICE_TITLE := Phicomm PSG1218 rev.Ax
414 DEVICE_PACKAGES := kmod-mt76x2
415 SUPPORTED_DEVICES += psg1218
416 endef
417 TARGET_DEVICES += psg1218a
418
419 define Device/psg1218b
420 DTS := PSG1218B
421 DEVICE_TITLE := Phicomm PSG1218 rev.Bx
422 DEVICE_PACKAGES := kmod-mt76x2
423 SUPPORTED_DEVICES += psg1218
424 endef
425 TARGET_DEVICES += psg1218b
426
427 define Device/rp-n53
428 DTS := RP-N53
429 DEVICE_TITLE := Asus RP-N53
430 endef
431 TARGET_DEVICES += rp-n53
432
433 define Device/rt-n12p
434 DTS := RT-N12-PLUS
435 DEVICE_TITLE := Asus RT-N11P/RT-N12+/RT-N12Eb1
436 endef
437 TARGET_DEVICES += rt-n12p
438
439 define Device/rt-n14u
440 DTS := RT-N14U
441 DEVICE_TITLE := Asus RT-N14u
442 endef
443 TARGET_DEVICES += rt-n14u
444
445 define Device/rt-ac51u
446 DTS := RT-AC51U
447 IMAGE_SIZE := $(ralink_default_fw_size_16M)
448 DEVICE_TITLE := Asus RT-AC51U
449 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ehci kmod-usb-ledtrig-usbport
450 endef
451 TARGET_DEVICES += rt-ac51u
452
453 define Device/tiny-ac
454 DTS := TINY-AC
455 DEVICE_TITLE := Dovado Tiny AC
456 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci
457 endef
458 TARGET_DEVICES += tiny-ac
459
460 define Device/tplink_c20-v1
461 $(Device/Archer)
462 DTS := ArcherC20v1
463 SUPPORTED_DEVICES := c20v1
464 TPLINK_FLASHLAYOUT := 8Mmtk
465 TPLINK_HWID := 0xc2000001
466 TPLINK_HWREV := 0x44
467 TPLINK_HWREVADD := 0x1
468 IMAGES += factory.bin
469 DEVICE_TITLE := TP-Link ArcherC20 v1
470 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
471 endef
472 TARGET_DEVICES += tplink_c20-v1
473
474 define Device/vonets_var11n-300
475 DTS := VAR11N-300
476 IMAGE_SIZE := $(ralink_default_fw_size_4M)
477 BLOCKSIZE := 4k
478 DEVICE_TITLE := Vonets VAR11N-300
479 endef
480 TARGET_DEVICES += vonets_var11n-300
481
482 define Device/ravpower_wd03
483 DTS := WD03
484 IMAGE_SIZE := $(ralink_default_fw_size_8M)
485 DEVICE_TITLE := Ravpower WD03
486 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-mt76 kmod-usb-ehci
487 endef
488 TARGET_DEVICES += ravpower_wd03
489
490 define Device/whr-1166d
491 DTS := WHR-1166D
492 IMAGE_SIZE := 15040k
493 DEVICE_TITLE := Buffalo WHR-1166D
494 endef
495 TARGET_DEVICES += whr-1166d
496
497 define Device/whr-300hp2
498 DTS := WHR-300HP2
499 IMAGE_SIZE := 6848k
500 DEVICE_TITLE := Buffalo WHR-300HP2
501 endef
502 TARGET_DEVICES += whr-300hp2
503
504 define Device/whr-600d
505 DTS := WHR-600D
506 IMAGE_SIZE := 6848k
507 DEVICE_TITLE := Buffalo WHR-600D
508 endef
509 TARGET_DEVICES += whr-600d
510
511 define Device/wmr-300
512 DTS := WMR-300
513 DEVICE_TITLE := Buffalo WMR-300
514 endef
515 TARGET_DEVICES += wmr-300
516
517 define Device/wn3000rpv3
518 NETGEAR_HW_ID := 29764836+8+0+32+2x2+0
519 NETGEAR_BOARD_ID := WN3000RPv3
520 DTS := WN3000RPV3
521 BLOCKSIZE := 4k
522 IMAGES += factory.bin
523 KERNEL := $(KERNEL_DTB) | uImage lzma | pad-offset 64k 64 | append-uImage-fakehdr filesystem
524 IMAGE/factory.bin := $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | \
525 netgear-dni
526 DEVICE_TITLE := Netgear WN3000RPv3
527 endef
528 TARGET_DEVICES += wn3000rpv3
529
530 define Device/wrh-300cr
531 DTS := WRH-300CR
532 IMAGE_SIZE := $(ralink_default_fw_size_16M)
533 IMAGES += factory.bin
534 IMAGE/factory.bin := $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | \
535 elecom-header
536 DEVICE_TITLE := Elecom WRH-300CR
537 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci
538 endef
539 TARGET_DEVICES += wrh-300cr
540
541 define Device/wrtnode
542 DTS := WRTNODE
543 IMAGE_SIZE := $(ralink_default_fw_size_16M)
544 DEVICE_TITLE := WRTNode
545 endef
546 TARGET_DEVICES += wrtnode
547
548 define Device/wt3020-4M
549 DTS := WT3020-4M
550 BLOCKSIZE := 4k
551 IMAGE_SIZE := $(ralink_default_fw_size_4M)
552 IMAGES += factory.bin
553 SUPPORTED_DEVICES += wt3020
554 IMAGE/factory.bin := $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | \
555 poray-header -B WT3020 -F 4M
556 DEVICE_TITLE := Nexx WT3020 (4MB)
557 endef
558 TARGET_DEVICES += wt3020-4M
559
560 define Device/wt3020-8M
561 DTS := WT3020-8M
562 IMAGES += factory.bin
563 SUPPORTED_DEVICES += wt3020
564 IMAGE/factory.bin := $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | \
565 poray-header -B WT3020 -F 8M
566 DEVICE_TITLE := Nexx WT3020 (8MB)
567 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci
568 endef
569 TARGET_DEVICES += wt3020-8M
570
571 define Device/y1
572 DTS := Y1
573 IMAGE_SIZE := $(ralink_default_fw_size_16M)
574 DEVICE_TITLE := Lenovo Y1
575 endef
576 TARGET_DEVICES += y1
577
578 define Device/y1s
579 DTS := Y1S
580 IMAGE_SIZE := $(ralink_default_fw_size_16M)
581 DEVICE_TITLE := Lenovo Y1S
582 endef
583 TARGET_DEVICES += y1s
584
585 define Device/youku-yk1
586 DTS := YOUKU-YK1
587 IMAGE_SIZE := $(ralink_default_fw_size_32M)
588 DEVICE_TITLE := YOUKU YK1
589 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-sdhci-mt7620 kmod-usb-ledtrig-usbport
590 endef
591 TARGET_DEVICES += youku-yk1
592
593 define Device/we1026-5g-16m
594 DTS := WE1026-5G-16M
595 IMAGE_SIZE := 16777216
596 SUPPORTED_DEVICES += we1026-5g-16m
597 DEVICE_TITLE := Zbtlink ZBT-WE1026-5G (16M)
598 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-mt76 kmod-sdhci-mt7620
599 endef
600 TARGET_DEVICES += we1026-5g-16m
601
602 define Device/zbt-ape522ii
603 DTS := ZBT-APE522II
604 DEVICE_TITLE := Zbtlink ZBT-APE522II
605 DEVICE_PACKAGES := kmod-mt76
606 endef
607 TARGET_DEVICES += zbt-ape522ii
608
609 define Device/zbt-cpe102
610 DTS := ZBT-CPE102
611 DEVICE_TITLE := Zbtlink ZBT-CPE102
612 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci
613 endef
614 TARGET_DEVICES += zbt-cpe102
615
616 define Device/zbt-wa05
617 DTS := ZBT-WA05
618 DEVICE_TITLE := Zbtlink ZBT-WA05
619 endef
620 TARGET_DEVICES += zbt-wa05
621
622 define Device/zbt-we2026
623 DTS := ZBT-WE2026
624 DEVICE_TITLE := Zbtlink ZBT-WE2026
625 endef
626 TARGET_DEVICES += zbt-we2026
627
628 define Device/zbt-we826-16M
629 DTS := ZBT-WE826-16M
630 IMAGE_SIZE := $(ralink_default_fw_size_16M)
631 SUPPORTED_DEVICES += zbt-we826
632 DEVICE_TITLE := Zbtlink ZBT-WE826 (16M)
633 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-mt76 kmod-sdhci-mt7620
634 endef
635 TARGET_DEVICES += zbt-we826-16M
636
637 define Device/zbt-we826-32M
638 DTS := ZBT-WE826-32M
639 IMAGE_SIZE := $(ralink_default_fw_size_32M)
640 DEVICE_TITLE := Zbtlink ZBT-WE826 (32M)
641 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-mt76 kmod-sdhci-mt7620
642 endef
643 TARGET_DEVICES += zbt-we826-32M
644
645 define Device/zbt-wr8305rt
646 DTS := ZBT-WR8305RT
647 DEVICE_TITLE := Zbtlink ZBT-WR8305RT
648 endef
649 TARGET_DEVICES += zbt-wr8305rt
650
651 define Device/zte-q7
652 DTS := ZTE-Q7
653 DEVICE_TITLE := ZTE Q7
654 endef
655 TARGET_DEVICES += zte-q7