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