summaryrefslogtreecommitdiff
path: root/target/linux/brcm63xx/image/bcm63xx.mk
blob: 976c581f4b0f254a852fe18be229c0cee9035840 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
#
# BCM33XX/BCM63XX Profiles
#

define Device/bcm33xx
  KERNEL_INITRAMFS := kernel-bin | append-dtb | lzma | loader-lzma bin | hcs-initramfs
  IMAGES :=
  HCS_MAGIC_BYTES :=
  HCS_REV_MIN :=
  HCS_REV_MAJ :=
endef
DEVICE_VARS += HCS_MAGIC_BYTES HCS_REV_MIN HCS_REV_MAJ

define Device/bcm63xx
  FILESYSTEMS := squashfs jffs2-64k jffs2-128k
  KERNEL := kernel-bin | append-dtb | relocate-kernel | lzma | lzma-cfe
  KERNEL_INITRAMFS := kernel-bin | append-dtb | lzma | loader-lzma elf
  IMAGES := cfe.bin
  IMAGE/cfe.bin := cfe-bin --pad $$$$(shell expr $$$$(FLASH_MB) / 2)
  IMAGE/cfe-4M.bin := cfe-bin --pad 2
  IMAGE/cfe-8M.bin := cfe-bin --pad 4
  IMAGE/cfe-16M.bin := cfe-bin --pad 8
  IMAGE/cfe-bc221.bin := cfe-bin --layoutver 5
  IMAGE/cfe-old.bin := cfe-old-bin
  IMAGE/sysupgrade.bin := cfe-bin
  FLASH_MB := 4
  CFE_BOARD_ID :=
  CFE_CHIP_ID :=
  CFE_EXTRAS :=
endef
DEVICE_VARS += FLASH_MB
DEVICE_VARS += CFE_BOARD_ID CFE_CHIP_ID CFE_EXTRAS

define Device/bcm63xx_netgear
  $(Device/bcm63xx)
  IMAGES := factory.chk sysupgrade.bin
  IMAGE/factory.chk := cfe-bin | netgear-chk
  NETGEAR_BOARD_ID :=
  NETGEAR_REGION :=
endef
DEVICE_VARS += NETGEAR_BOARD_ID NETGEAR_REGION

define Device/bcm63xx_redboot
  FILESYSTEMS := squashfs
  KERNEL := kernel-bin | append-dtb | gzip
  KERNEL_INITRAMFS := kernel-bin | append-dtb | lzma | loader-lzma elf
  IMAGES := redboot.bin
  IMAGE/redboot.bin := redboot-bin
  REDBOOT_PREFIX := $$(IMAGE_PREFIX)
endef
DEVICE_VARS += REDBOOT_PREFIX

### Generic ###
define Device/963281TAN-generic
  $(Device/bcm63xx)
  IMAGES := cfe-4M.bin cfe-8M.bin cfe-16M.bin
  DEVICE_TITLE := Generic 963281TAN
  DEVICE_DTS := bcm963281TAN
  CFE_BOARD_ID := 963281TAN
  CFE_CHIP_ID := 6328
endef
TARGET_DEVICES += 963281TAN-generic

define Device/96328avng-generic
  $(Device/bcm63xx)
  IMAGES := cfe-4M.bin cfe-8M.bin cfe-16M.bin
  DEVICE_TITLE := Generic 96328avng
  DEVICE_DTS := bcm96328avng
  CFE_BOARD_ID := 96328avng
  CFE_CHIP_ID := 6328
endef
TARGET_DEVICES += 96328avng-generic

define Device/96338GW-generic
  $(Device/bcm63xx)
  DEVICE_TITLE := Generic 96338GW
  DEVICE_DTS := bcm96338GW
  CFE_BOARD_ID := 6338GW
  CFE_CHIP_ID := 6338
endef
TARGET_DEVICES += 96338GW-generic

define Device/96338W-generic
  $(Device/bcm63xx)
  DEVICE_TITLE := Generic 96338W
  DEVICE_DTS := bcm96338W
  CFE_BOARD_ID := 6338W
  CFE_CHIP_ID := 6338
endef
TARGET_DEVICES += 96338W-generic

define Device/96345GW2-generic
  $(Device/bcm63xx)
  IMAGES += cfe-bc221.bin
  DEVICE_TITLE := Generic 96345GW2
  DEVICE_DTS := bcm96345GW2
  CFE_BOARD_ID := 96345GW2
  CFE_CHIP_ID := 6345
endef
TARGET_DEVICES += 96345GW2-generic

define Device/96348GW-generic
  $(Device/bcm63xx)
  IMAGES += cfe-bc221.bin
  DEVICE_TITLE := Generic 96348GW
  DEVICE_DTS := bcm96348GW
  CFE_BOARD_ID := 96348GW
  CFE_CHIP_ID := 6348
endef
TARGET_DEVICES += 96348GW-generic

define Device/96348GW-10-generic
  $(Device/bcm63xx)
  DEVICE_TITLE := Generic 96348GW-10
  DEVICE_DTS := bcm96348GW-10
  CFE_BOARD_ID := 96348GW-10
  CFE_CHIP_ID := 6348
endef
TARGET_DEVICES += 96348GW-10-generic

define Device/96348GW-11-generic
  $(Device/bcm63xx)
  DEVICE_TITLE := Generic 96348GW-11
  DEVICE_DTS := bcm96348GW-11
  CFE_BOARD_ID := 96348GW-11
  CFE_CHIP_ID := 6348
endef
TARGET_DEVICES += 96348GW-11-generic

define Device/96348R-generic
  $(Device/bcm63xx)
  DEVICE_TITLE := Generic 96348R
  DEVICE_DTS := bcm96348R
  CFE_BOARD_ID := 96348R
  CFE_CHIP_ID := 6348
endef
TARGET_DEVICES += 96348R-generic

define Device/96358VW-generic
  $(Device/bcm63xx)
  DEVICE_TITLE := Generic 96358VW
  DEVICE_DTS := bcm96358VW
  CFE_BOARD_ID := 96358VW
  CFE_CHIP_ID := 6358
endef
TARGET_DEVICES += 96358VW-generic

define Device/96358VW2-generic
  $(Device/bcm63xx)
  DEVICE_TITLE := Generic 96358VW2
  DEVICE_DTS := bcm96358VW2
  CFE_BOARD_ID := 96358VW2
  CFE_CHIP_ID := 6358
endef
TARGET_DEVICES += 96358VW2-generic

define Device/96368MVNgr-generic
  $(Device/bcm63xx)
  DEVICE_TITLE := Generic 96368MVNgr
  DEVICE_DTS := bcm96368MVNgr
  CFE_BOARD_ID := 96368MVNgr
  CFE_CHIP_ID := 6368
endef
TARGET_DEVICES += 96368MVNgr-generic

define Device/96368MVWG-generic
  $(Device/bcm63xx)
  DEVICE_TITLE := Generic 96368MVWG
  DEVICE_DTS := bcm96368MVWG
  CFE_BOARD_ID := 96368MVWG
  CFE_CHIP_ID := 6368
endef
TARGET_DEVICES += 96368MVWG-generic

### ADB ###
define Device/A4001N
  $(Device/bcm63xx)
  DEVICE_TITLE := ADB P.DG A4001N
  DEVICE_DTS := a4001n
  CFE_BOARD_ID := 96328dg2x2
  CFE_CHIP_ID := 6328
  FLASH_MB := 8
  DEVICE_PACKAGES := \
    $(USB2_PACKAGES) $(B43_PACKAGES)
endef
TARGET_DEVICES += A4001N

define Device/A4001N1
  $(Device/bcm63xx)
  IMAGES += sysupgrade.bin
  DEVICE_TITLE := ADB P.DG A4001N1
  DEVICE_DTS := a4001n1
  CFE_BOARD_ID := 963281T_TEF
  CFE_CHIP_ID := 6328
  FLASH_MB := 16
  DEVICE_PACKAGES := \
    $(USB2_PACKAGES) $(B43_PACKAGES)
endef
TARGET_DEVICES += A4001N1

### Alcatel ###
define Device/RG100A
  $(Device/bcm63xx)
  DEVICE_TITLE := Alcatel RG100A
  DEVICE_DTS := rg100a
  CFE_BOARD_ID := 96358VW2
  CFE_CHIP_ID := 6358
  CFE_EXTRAS := --block-size 0x20000 --image-offset 0x20000
  DEVICE_PACKAGES := \
    $(USB2_PACKAGES) $(B43_PACKAGES)
endef
TARGET_DEVICES += RG100A

### Asmax ###
define Device/AR1004G
  $(Device/bcm63xx)
  DEVICE_TITLE := Asmax AR 1004g
  DEVICE_DTS := rg100a
  CFE_BOARD_ID := 96348GW-10
  CFE_CHIP_ID := 6348
  DEVICE_PACKAGES := \
    $(B43_PACKAGES)
endef
TARGET_DEVICES += AR1004G

### Belkin ###
define Device/F5D7633
  $(Device/bcm63xx)
  DEVICE_TITLE := Belkin F5D7633
  DEVICE_DTS := f5d7633
  CFE_BOARD_ID := 96348GW-10
  CFE_CHIP_ID := 6348
  CFE_EXTRAS := --block-size 0x20000 --image-offset 0x20000
  DEVICE_PACKAGES := \
    $(B43_PACKAGES)
endef
TARGET_DEVICES += F5D7633

### Broadcom ###
define Device/BCM96318REF
  $(Device/bcm63xx)
  IMAGES :=
  DEVICE_TITLE := Broadcom BCM96318REF reference board
  DEVICE_DTS := bcm96318ref
  CFE_BOARD_ID := 96318REF
  CFE_CHIP_ID := 6318
  DEVICE_PACKAGES := \
    $(B43_PACKAGES) $(USB2_PACKAGES) \
    kmod-bcm63xx-udc
endef
TARGET_DEVICES += BCM96318REF

define Device/BCM96318REF_P300
  $(Device/bcm63xx)
  IMAGES :=
  DEVICE_TITLE := Broadcom BCM96318REF_P300 reference board
  DEVICE_DTS := bcm96318ref_p300
  CFE_BOARD_ID := 96318REF_P300
  CFE_CHIP_ID := 6318
  DEVICE_PACKAGES := \
    $(B43_PACKAGES) $(USB2_PACKAGES) \
    kmod-bcm63xx-udc
endef
TARGET_DEVICES += BCM96318REF_P300

define Device/BCM963268BU_P300
  $(Device/bcm63xx)
  IMAGES :=
  DEVICE_TITLE := Broadcom BCM963268BU_P300 reference board
  DEVICE_DTS := bcm963268bu_p300
  CFE_BOARD_ID := 963268BU_P300
  CFE_CHIP_ID := 63268
  DEVICE_PACKAGES := \
    $(USB2_PACKAGES) \
    kmod-bcm63xx-udc
endef
TARGET_DEVICES += BCM963268BU_P300

define Device/BCM963269BHR
  $(Device/bcm63xx)
  IMAGES :=
  DEVICE_TITLE := Broadcom BCM963269BHR reference board
  DEVICE_DTS := bcm963269bhr
  CFE_BOARD_ID := 963269BHR
  CFE_CHIP_ID := 63268
  DEVICE_PACKAGES := \
    $(USB2_PACKAGES) \
    kmod-bcm63xx-udc
endef
TARGET_DEVICES += BCM963269BHR

### BT ###
define Device/HomeHub2A
  $(Device/bcm63xx)
  DEVICE_TITLE := BT Home Hub 2.0 A
  DEVICE_DTS := homehub2a
  CFE_BOARD_ID := HOMEHUB2A
  CFE_CHIP_ID := 6358
  CFE_EXTRAS := --image-offset 0x20000 --block-size 0x20000
  DEVICE_PACKAGES := \
    $(B43_PACKAGES) $(USB2_PACKAGES)
endef
TARGET_DEVICES += HomeHub2A

define Device/BTV2110
  $(Device/bcm63xx)
  DEVICE_TITLE := BT Voyager V2110
  DEVICE_DTS := v2110
  CFE_BOARD_ID := V2110
  CFE_CHIP_ID := 6348
  CFE_EXTRAS := --layoutver 5
  DEVICE_PACKAGES := \
    $(B43_PACKAGES)
endef
TARGET_DEVICES += BTV2110

define Device/BTV2500V
  $(Device/bcm63xx)
  DEVICE_TITLE := BT Voyager V2500V
  DEVICE_DTS := v2500v-bb
  CFE_BOARD_ID := V2500V_BB
  CFE_CHIP_ID := 6348
  CFE_EXTRAS := --layoutver 5
  DEVICE_PACKAGES := \
    $(B43_PACKAGES)
endef
TARGET_DEVICES += BTV2500V

### Comtrend ###
define Device/AR5381u
  $(Device/bcm63xx)
  IMAGES += sysupgrade.bin
  DEVICE_TITLE := Comtrend AR-5381u
  DEVICE_DTS := ar-5381u
  CFE_BOARD_ID := 96328A-1241N
  CFE_CHIP_ID := 6328
  FLASH_MB := 16
  DEVICE_PACKAGES := \
    $(B43_PACKAGES) $(USB2_PACKAGES)
endef
TARGET_DEVICES += AR5381u

define Device/AR5387un
  $(Device/bcm63xx)
  IMAGES += sysupgrade.bin
  DEVICE_TITLE := Comtrend AR-5387un
  DEVICE_DTS := ar-5387un
  CFE_BOARD_ID := 96328A-1441N1
  CFE_CHIP_ID := 6328
  FLASH_MB := 16
  DEVICE_PACKAGES := \
    $(B43_PACKAGES) $(USB2_PACKAGES)
endef
TARGET_DEVICES += AR5387un

define Device/CT-536_CT-5621
  $(Device/bcm63xx)
  DEVICE_TITLE := Comtrend CT-536+/CT-5621
  DEVICE_DTS := ct536plus
  CFE_BOARD_ID := 96348GW-11
  CFE_CHIP_ID := 6348
  DEVICE_PACKAGES := \
    $(B43_PACKAGES)
endef
TARGET_DEVICES += CT-536_CT-5621

define Device/CT-5365
  $(Device/bcm63xx)
  DEVICE_TITLE := Comtrend CT-5365
  DEVICE_DTS := ct-5365
  CFE_BOARD_ID := 96348A-122
  CFE_CHIP_ID := 6348
  DEVICE_PACKAGES := \
    $(B43_PACKAGES)
endef
TARGET_DEVICES += CT-5365

define Device/CT-6373
  $(Device/bcm63xx)
  DEVICE_TITLE := Comtrend CT-6373
  DEVICE_DTS := ct-6373
  CFE_BOARD_ID := CT6373-1
  CFE_CHIP_ID := 6358
  DEVICE_PACKAGES := \
    $(B43_PACKAGES) $(USB2_PACKAGES)
endef
TARGET_DEVICES += CT-6373

define Device/VR-3025u
  $(Device/bcm63xx)
  IMAGES += sysupgrade.bin
  DEVICE_TITLE := Comtrend VR-3025u
  DEVICE_DTS := vr-3025u
  CFE_BOARD_ID := 96368M-1541N
  CFE_CHIP_ID := 6368
  CFE_EXTRAS := --image-offset 0x20000 --block-size 0x20000
  FLASH_MB := 32
  DEVICE_PACKAGES := \
    $(B43_PACKAGES) $(USB2_PACKAGES)
endef
TARGET_DEVICES += VR-3025u

define Device/VR-3025un
  $(Device/bcm63xx)
  DEVICE_TITLE := Comtrend VR-3025un
  DEVICE_DTS := vr-3025un
  CFE_BOARD_ID := 96368M-1341N
  CFE_CHIP_ID := 6368
  FLASH_MB := 8
  DEVICE_PACKAGES := \
    $(B43_PACKAGES) $(USB2_PACKAGES)
endef
TARGET_DEVICES += VR-3025un

define Device/VR-3026e
  $(Device/bcm63xx)
  DEVICE_TITLE := Comtrend VR-3026e
  DEVICE_DTS := vr-3026e
  CFE_BOARD_ID := 96368MT-1341N1
  CFE_CHIP_ID := 6368
  FLASH_MB := 8
  DEVICE_PACKAGES := \
    $(B43_PACKAGES)
endef
TARGET_DEVICES += VR-3026e

define Device/WAP-5813n
  $(Device/bcm63xx)
  DEVICE_TITLE := Comtrend WAP-5813n
  DEVICE_DTS := wap-5813n
  CFE_BOARD_ID := 96369R-1231N
  CFE_CHIP_ID := 6368
  FLASH_MB := 8
  DEVICE_PACKAGES := \
    $(B43_PACKAGES) $(USB2_PACKAGES)
endef
TARGET_DEVICES += WAP-5813n

### D-Link ###
define Device/DSL2640B-B
  $(Device/bcm63xx)
  DEVICE_TITLE := D-Link DSL-2640B rev B2
  DEVICE_DTS := dsl-2640b-b
  CFE_BOARD_ID := D-4P-W
  CFE_CHIP_ID := 6348
  DEVICE_PACKAGES := \
    $(B43_PACKAGES)
endef
TARGET_DEVICES += DSL2640B-B

define Device/DSL2640U
  $(Device/bcm63xx)
  DEVICE_TITLE := D-Link DSL-2640U/BRU/C
  DEVICE_DTS := dsl-2640u
  CFE_BOARD_ID := 96338W2_E7T
  CFE_CHIP_ID := 6338
  DEVICE_PACKAGES := \
    $(B43_PACKAGES)
endef
TARGET_DEVICES += DSL2640U

define Device/DSL2650U
  $(Device/bcm63xx)
  DEVICE_TITLE := D-Link DSL-2650U
  DEVICE_DTS := dsl-2650u
  CFE_BOARD_ID := 96358VW2
  CFE_CHIP_ID := 6358
  DEVICE_PACKAGES := \
    $(B43_PACKAGES) $(USB2_PACKAGES)
endef
TARGET_DEVICES += DSL2650U

define Device/DSL274XB-C2
  $(Device/bcm63xx)
  DEVICE_TITLE := D-Link DSL-2740B/DSL-2741B rev C2
  DEVICE_DTS := dsl-274xb-c
  CFE_BOARD_ID := 96358GW
  CFE_CHIP_ID := 6358
  DEVICE_PACKAGES := \
    $(B43_PACKAGES)
endef
TARGET_DEVICES += DSL274XB-C2

define Device/DSL274XB-C3
  $(Device/bcm63xx)
  DEVICE_TITLE := D-Link DSL-2740B/DSL-2741B rev C3
  DEVICE_DTS := dsl-274xb-c
  CFE_BOARD_ID := AW4139
  CFE_CHIP_ID := 6358
  DEVICE_PACKAGES := \
    $(B43_PACKAGES)
endef
TARGET_DEVICES += DSL274XB-C3

define Device/DSL274XB-F1
  $(Device/bcm63xx)
  DEVICE_TITLE := D-Link DSL-2740B/DSL-2741B rev F1
  DEVICE_DTS := dsl-274xb-f
  CFE_BOARD_ID := AW4339U
  CFE_CHIP_ID := 6328
  IMAGES := cfe-EU.bin cfe-AU.bin
  IMAGE/cfe-AU.bin := cfe-bin --signature2 "4.06.01.AUF1" --pad 4
  IMAGE/cfe-EU.bin := cfe-bin --signature2 "4.06.01.EUF1" --pad 4
  DEVICE_PACKAGES := \
    $(ATH9K_PACKAGES)
endef
TARGET_DEVICES += DSL274XB-F1

define Device/DSL275XB-D1
  $(Device/bcm63xx)
  DEVICE_TITLE := D-Link DSL-2750B/DSL-2751 rev D1
  DEVICE_DTS := dsl-275xb-d
  CFE_BOARD_ID := AW5200B
  CFE_CHIP_ID := 6318
  FLASH_MB := 8
  DEVICE_PACKAGES := \
    $(B43_PACKAGES) $(USB2_PACKAGES)
endef
TARGET_DEVICES += DSL275XB-D1

define Device/DVAG3810BN
  $(Device/bcm63xx)
  DEVICE_TITLE := D-Link DVA-G3810BN/TL
  DEVICE_DTS := dva-g3810bn_tl
  CFE_BOARD_ID := 96358VW
  CFE_CHIP_ID := 6358
  DEVICE_PACKAGES := \
    $(B43_PACKAGES) $(USB2_PACKAGES)
endef
TARGET_DEVICES += DVAG3810BN

### Davolink ###
define Device/DV-201AMR
  $(Device/bcm63xx)
  IMAGES := cfe-old.bin
  DEVICE_TITLE := Davolink DV-201AMR
  DEVICE_DTS := dv-201amr
  CFE_BOARD_ID := DV201AMR
  CFE_CHIP_ID := 6348
  DEVICE_PACKAGES := \
    $(B43_PACKAGES)
endef
TARGET_DEVICES += DV-201AMR

### Dynalink ###
define Device/RTA770BW
  $(Device/bcm63xx)
  IMAGES =
  DEVICE_TITLE := Dynalink RTA770BW (Siemens SE 515)
  DEVICE_DTS := rta770bw
  CFE_BOARD_ID := RTA770BW
  CFE_CHIP_ID := 6345
  CFE_EXTRAS := --layoutver 5
  DEVICE_PACKAGES := \
    $(B43_PACKAGES)
endef
TARGET_DEVICES += RTA770BW

define Device/RTA770W
  $(Device/bcm63xx)
  IMAGES =
  DEVICE_TITLE := Dynalink RTA770W
  DEVICE_DTS := rta770w
  CFE_BOARD_ID := RTA770W
  CFE_CHIP_ID := 6345
  CFE_EXTRAS := --layoutver 5
  DEVICE_PACKAGES := \
    $(B43_PACKAGES)
endef
TARGET_DEVICES += RTA770W

define Device/RTA1025W_16
  $(Device/bcm63xx)
  DEVICE_TITLE := Dynalink RTA1025W
  DEVICE_DTS := rta1025w
  CFE_BOARD_ID := RTA1025W_16
  CFE_CHIP_ID := 6348
  CFE_EXTRAS := --layoutver 5
  DEVICE_PACKAGES := \
    $(B43_PACKAGES)
endef
TARGET_DEVICES += RTA1025W_16

define Device/RTA1320_16M
  $(Device/bcm63xx)
  DEVICE_TITLE := Dynalink RTA1320
  DEVICE_DTS := rta1320
  CFE_BOARD_ID := RTA1320_16M
  CFE_CHIP_ID := 6338
  CFE_EXTRAS := --layoutver 5
endef
TARGET_DEVICES += RTA1320_16M

### Huawei ###
define Device/HG520v
  $(Device/bcm63xx)
  DEVICE_TITLE := Huawei EchoLife HG520v
  DEVICE_DTS := hg520v
  CFE_BOARD_ID := HW6358GW_B
  CFE_CHIP_ID := 6358
  CFE_EXTRAS := --rsa-signature "EchoLife_HG520v"
  DEVICE_PACKAGES := \
    $(B43_PACKAGES)
endef
TARGET_DEVICES += HG520v

define Device/HG553
  $(Device/bcm63xx)
  DEVICE_TITLE := Huawei EchoLife HG553
  DEVICE_DTS := hg553
  CFE_BOARD_ID := HW553
  CFE_CHIP_ID := 6358
  CFE_EXTRAS := --rsa-signature "EchoLife_HG553" --image-offset 0x20000 --block-size 0x20000 --tag-version 7
  DEVICE_PACKAGES := \
    $(B43_PACKAGES) $(USB2_PACKAGES)
endef
TARGET_DEVICES += HG553

define Device/HG556a-A
  $(Device/bcm63xx)
  DEVICE_TITLE := Huawei EchoLife HG556a rev A
  DEVICE_DESCRIPTION = Build firmware images for Huawei HG556a version A (Atheros)
  DEVICE_DTS := hg556a-a
  CFE_BOARD_ID := HW556
  CFE_CHIP_ID := 6358
  CFE_EXTRAS := --rsa-signature "EchoLife_HG556a" --image-offset 0x20000 --block-size 0x10000 --tag-version 8
  DEVICE_PACKAGES := \
    $(ATH9K_PACKAGES) $(USB2_PACKAGES)
endef
TARGET_DEVICES += HG556a-A

define Device/HG556a-B
  $(Device/bcm63xx)
  DEVICE_TITLE := Huawei EchoLife HG556a rev B
  DEVICE_DESCRIPTION = Build firmware images for Huawei HG556a version B (Atheros)
  DEVICE_DTS := hg556a-b
  CFE_BOARD_ID := HW556
  CFE_CHIP_ID := 6358
  CFE_EXTRAS := --rsa-signature "EchoLife_HG556a" --image-offset 0x20000 --block-size 0x20000 --tag-version 8
  DEVICE_PACKAGES := \
    $(ATH9K_PACKAGES) $(USB2_PACKAGES)
endef
TARGET_DEVICES += HG556a-B

define Device/HG556a-C
  $(Device/bcm63xx)
  DEVICE_TITLE := Huawei EchoLife HG556a rev C
  DEVICE_DESCRIPTION = Build firmware images for Huawei HG556a version C (Ralink)
  DEVICE_DTS := hg556a-c
  CFE_BOARD_ID := HW556
  CFE_CHIP_ID := 6358
  CFE_EXTRAS := --rsa-signature "EchoLife_HG556a" --image-offset 0x20000 --block-size 0x20000 --tag-version 8
  DEVICE_PACKAGES := \
    $(RT28_PACKAGES) $(USB2_PACKAGES)
endef
TARGET_DEVICES += HG556a-C

define Device/HG622
  $(Device/bcm63xx)
  IMAGES += sysupgrade.bin
  DEVICE_TITLE := Huawei EchoLife HG622
  DEVICE_DTS := hg622
  CFE_BOARD_ID := 96368MVWG_hg622
  CFE_CHIP_ID := 6368
  CFE_EXTRAS := --image-offset 0x20000 --block-size 0x20000 --tag-version 7
  FLASH_MB := 16
  DEVICE_PACKAGES := \
    $(RT28_PACKAGES) $(USB2_PACKAGES)
endef
TARGET_DEVICES += HG622

define Device/HG655b
  $(Device/bcm63xx)
  DEVICE_TITLE := Huawei EchoLife HG655b
  DEVICE_DTS := hg655b
  CFE_BOARD_ID := HW65x
  CFE_CHIP_ID := 6368
  CFE_EXTRAS := --image-offset 0x20000 --tag-version 7
  FLASH_MB := 8
  DEVICE_PACKAGES := \
    $(RT28_PACKAGES) $(USB2_PACKAGES)
endef
TARGET_DEVICES += HG655b

### Inteno ###
define Device/VG50
  $(Device/bcm63xx)
  IMAGES :=
  DEVICE_TITLE := Inteno VG50 Multi-WAN CPE
  DEVICE_DTS := vg50
  CFE_BOARD_ID := VW6339GU
  CFE_CHIP_ID := 63268
  DEVICE_PACKAGES := \
    $(USB2_PACKAGES)
endef
TARGET_DEVICES += VG50

### Inventel ###
define Device/livebox
  $(Device/bcm63xx_redboot)
  DEVICE_TITLE := Inventel Livebox 1
  DEVICE_DTS := livebox-blue-5g
  DEVICE_PACKAGES := \
    $(B43_PACKAGES) $(USB1_PACKAGES)
endef
TARGET_DEVICES += livebox

### Netgear ###
define Device/CVG834G
  $(Device/bcm33xx)
  DEVICE_TITLE := Netgear CVG834G
  DEVICE_DTS := cvg834g
  HCS_MAGIC_BYTES := 0xa020
  HCS_REV_MIN := 0001
  HCS_REV_MAJ := 0022
endef
TARGET_DEVICES += CVG834G

define Device/DG834GT_PN
  $(Device/bcm63xx)
  DEVICE_TITLE := Netgear DG834GT/PN
  DEVICE_DTS := dg834gtpn
  CFE_BOARD_ID := 96348GW-10
  CFE_CHIP_ID := 6348
  DEVICE_PACKAGES := \
    $(ATH5K_PACKAGES)
endef
TARGET_DEVICES += DG834GT_PN

define Device/DG834GTv4
  $(Device/bcm63xx)
  IMAGES :=
  DEVICE_TITLE := Netgear DG834G v4
  DEVICE_DTS := dg834g_v4
  CFE_BOARD_ID := 96348W3
  CFE_CHIP_ID := 6348
  DEVICE_PACKAGES := \
    $(B43_PACKAGES)
endef
TARGET_DEVICES += DG834GTv4

define Device/DGND3700v1
  $(Device/bcm63xx_netgear)
  IMAGES := factory.chk sysupgrade.bin
  DEVICE_TITLE := Netgear DGND3700 v1
  DEVICE_DTS := dgnd3700v1
  CFE_BOARD_ID := 96368MVWG
  CFE_CHIP_ID := 6368
  CFE_EXTRAS := --image-offset 0x20000 --block-size 0x20000
  NETGEAR_BOARD_ID := U12L144T01_NETGEAR_NEWLED
  NETGEAR_REGION := 1
  DEVICE_PACKAGES := \
    $(B43_PACKAGES) $(USB2_PACKAGES)
endef
TARGET_DEVICES += DGND3700v1

define Device/DGND3800B
  $(Device/bcm63xx_netgear)
  IMAGES := factory.chk sysupgrade.bin
  DEVICE_TITLE := Netgear DGND3800B
  DEVICE_DTS := dgnd3700v1
  CFE_BOARD_ID := 96368MVWG
  CFE_CHIP_ID := 6368
  CFE_EXTRAS := --image-offset 0x20000 --block-size 0x20000
  NETGEAR_BOARD_ID := U12L144T11_NETGEAR_NEWLED
  NETGEAR_REGION := 1
  DEVICE_PACKAGES := \
    $(B43_PACKAGES) $(USB2_PACKAGES)
endef
TARGET_DEVICES += DGND3800B

define Device/EVG2000
  $(Device/bcm63xx_netgear)
  IMAGES := factory.chk sysupgrade.bin
  DEVICE_TITLE := Netgear EVG2000
  DEVICE_DTS := evg2000
  CFE_BOARD_ID := 96369PVG
  CFE_CHIP_ID := 6368
  CFE_EXTRAS := --image-offset 0x20000 --block-size 0x20000
  NETGEAR_BOARD_ID := U12H154T90_NETGEAR
  NETGEAR_REGION := 1
  DEVICE_PACKAGES := \
    $(B43_PACKAGES) $(USB2_PACKAGES)
endef
TARGET_DEVICES += EVG2000

### NuCom ###
define Device/R5010UNv2
  $(Device/bcm63xx)
  IMAGES += sysupgrade.bin
  DEVICE_TITLE := NuCom R5010UN v2
  DEVICE_DTS := r5010unv2
  CFE_BOARD_ID := 96328ang
  CFE_CHIP_ID := 6328
  FLASH_MB := 16
  DEVICE_PACKAGES := \
    $(B43_PACKAGES)
endef
TARGET_DEVICES += R5010UNv2

### Pirelli ###
define Device/A226G
  $(Device/bcm63xx)
  DEVICE_TITLE := Pirelli A226G
  DEVICE_DTS := a226g
  CFE_BOARD_ID := DWV-S0
  CFE_CHIP_ID := 6358
  CFE_EXTRAS := --signature2 IMAGE --tag-version 8
  DEVICE_PACKAGES := \
    $(B43_PACKAGES) $(USB2_PACKAGES)
endef
TARGET_DEVICES += A226G

define Device/A226M
  $(Device/bcm63xx)
  DEVICE_TITLE := Pirelli A226M
  DEVICE_DTS := a226m
  CFE_BOARD_ID := DWV-S0
  CFE_CHIP_ID := 6358
  CFE_EXTRAS := --signature2 IMAGE --tag-version 8
  DEVICE_PACKAGES := \
    $(USB2_PACKAGES)
endef
TARGET_DEVICES += A226M

define Device/A226M-FWB
  $(Device/bcm63xx)
  DEVICE_TITLE := Pirelli A226M-FWB
  DEVICE_DTS := a226m-fwb
  CFE_BOARD_ID := DWV-S0
  CFE_CHIP_ID := 6358
  CFE_EXTRAS := --block-size 0x20000 --image-offset 0x20000 --signature2 IMAGE --tag-version 8
  DEVICE_PACKAGES := \
    $(USB2_PACKAGES)
endef
TARGET_DEVICES += A226M-FWB

define Device/AGPF-S0
  $(Device/bcm63xx)
  DEVICE_TITLE := Pirelli Alice Gate VoIP 2 Plus Wi-Fi AGPF-S0
  DEVICE_DTS := agpf-s0
  CFE_BOARD_ID := AGPF-S0
  CFE_CHIP_ID := 6358
  CFE_EXTRAS := --block-size 0x20000 --image-offset 0x20000 --signature2 IMAGE --tag-version 8
  DEVICE_PACKAGES := \
    $(B43_PACKAGES) $(USB2_PACKAGES)
endef
TARGET_DEVICES += AGPF-S0

### Sagem ###
define Device/FAST2404
  $(Device/bcm63xx)
  DEVICE_TITLE := Sagem F@ST2404
  DEVICE_DTS := fast2404
  CFE_BOARD_ID := F@ST2404
  CFE_CHIP_ID := 6348
  DEVICE_PACKAGES := \
    $(B43_PACKAGES)
endef
TARGET_DEVICES += FAST2404

define Device/FAST2504n
  $(Device/bcm63xx)
  DEVICE_TITLE := Sagem F@ST2504n
  DEVICE_DTS := fast2504n
  CFE_BOARD_ID := F@ST2504n
  CFE_CHIP_ID := 6362
  DEVICE_PACKAGES := \
    $(B43_PACKAGES)
endef
TARGET_DEVICES += FAST2504n

define Device/FAST2604
  $(Device/bcm63xx)
  DEVICE_TITLE := Sagem F@ST2604
  DEVICE_DTS := fast2604
  CFE_BOARD_ID := F@ST2604
  CFE_CHIP_ID := 6348
  DEVICE_PACKAGES := \
    $(B43_PACKAGES)
endef
TARGET_DEVICES += FAST2604

define Device/FAST2704N
  $(Device/bcm63xx)
  DEVICE_TITLE := Sagem F@ST2704N
  DEVICE_DTS := fast2704n
  CFE_BOARD_ID := F@ST2704N
  CFE_CHIP_ID := 6318
  FLASH_MB := 8
  DEVICE_PACKAGES := \
    $(B43_PACKAGES) $(USB2_PACKAGES)
endef
TARGET_DEVICES += FAST2704N

define Device/FAST2704V2
  $(Device/bcm63xx)
  DEVICE_TITLE := Sagem F@ST2704V2
  DEVICE_DTS := fast2704v2
  CFE_BOARD_ID := F@ST2704V2
  CFE_CHIP_ID := 6328
  FLASH_MB := 8
  DEVICE_PACKAGES := \
    $(B43_PACKAGES) $(USB2_PACKAGES)
endef
TARGET_DEVICES += FAST2704V2

### SFR ###
define Device/NEUFBOX4-SER
  $(Device/bcm63xx)
  DEVICE_TITLE := SFR Neufbox4 (Sercomm)
  DEVICE_DTS := nb4-ser-r0
  CFE_BOARD_ID := 96358VW
  CFE_CHIP_ID := 6358
  CFE_EXTRAS := --rsa-signature "LEDE-$(REVISION)"
  DEVICE_PACKAGES := \
    $(B43_PACKAGES) $(USB2_PACKAGES)
endef
TARGET_DEVICES += NEUFBOX4-SER

define Device/NEUFBOX4-FXC
  $(Device/bcm63xx)
  DEVICE_TITLE := SFR Neufbox4 (Foxconn)
  DEVICE_DTS := nb4-fxc-r1
  CFE_BOARD_ID := 96358VW
  CFE_CHIP_ID := 6358
  CFE_EXTRAS := --rsa-signature "LEDE-$(REVISION)"
  DEVICE_PACKAGES := \
    $(B43_PACKAGES) $(USB2_PACKAGES)
endef
TARGET_DEVICES += NEUFBOX4-FXC

define Device/NEUFBOX6
  $(Device/bcm63xx)
  DEVICE_TITLE := SFR Neufbox6
  DEVICE_DTS := nb6-ser-r0
  CFE_BOARD_ID := NB6-SER-r0
  CFE_CHIP_ID := 6362
  CFE_EXTRAS := --rsa-signature "LEDE-$(REVISION)"
  DEVICE_PACKAGES := \
    $(B43_PACKAGES) $(USB2_PACKAGES)
endef
TARGET_DEVICES += NEUFBOX6

### T-Com ###
define Device/SPW303V
  $(Device/bcm63xx)
  IMAGES := factory.bin sysupgrade.bin
  IMAGE/factory.bin := cfe-spw303v-bin --pad 4 | spw303v-bin | xor-image
  IMAGE/sysupgrade.bin := cfe-spw303v-bin | spw303v-bin
  DEVICE_TITLE := T-Com Speedport W 303V
  DEVICE_DTS := spw303v
  CFE_BOARD_ID := 96358-502V
  CFE_CHIP_ID := 6358
  DEVICE_PACKAGES := \
    $(B43_PACKAGES)
endef
TARGET_DEVICES += SPW303V

define Device/SPW500V
  $(Device/bcm63xx)
  DEVICE_TITLE := T-Com Speedport W 500V
  DEVICE_DTS := spw500v
  CFE_BOARD_ID := 96348GW
  CFE_CHIP_ID := 6348
  DEVICE_PACKAGES := \
    $(B43_PACKAGES)
endef
TARGET_DEVICES += SPW500V

### Tecom ###
define Device/GW6000
  $(Device/bcm63xx)
  DEVICE_TITLE := Tecom GW6000
  DEVICE_DTS := gw6000
  CFE_BOARD_ID := 96348GW
  CFE_CHIP_ID := 6348
  DEVICE_PACKAGES := \
    $(BRCMWL_PACKAGES) $(USB1_PACKAGES)
endef
TARGET_DEVICES += GW6000

define Device/GW6200
  $(Device/bcm63xx)
  DEVICE_TITLE := Tecom GW6200
  DEVICE_DTS := gw6200
  CFE_BOARD_ID := 96348GW
  CFE_CHIP_ID := 6348
  CFE_EXTRAS := --rsa-signature "$(shell printf '\x99')"
  DEVICE_PACKAGES := \
    $(BRCMWL_PACKAGES) $(USB1_PACKAGES)
endef
TARGET_DEVICES += GW6200

### Telsey ###
define Device/CVPA502PLUS
  $(Device/bcm63xx)
  IMAGES :=
  DEVICE_TITLE := Telsey CPVA502+
  DEVICE_DTS := cpva502plus
  CFE_BOARD_ID := CPVA502+
  CFE_CHIP_ID := 6348
  CFE_EXTRAS := --signature "Telsey Tlc" --signature2 "99.99.999" --second-image-flag "0"
  DEVICE_PACKAGES := \
    $(B43_PACKAGES)
endef
TARGET_DEVICES += CVPA502PLUS

define Device/CPA-ZNTE60T
  $(Device/bcm63xx)
  DEVICE_TITLE := Telsey CPVA642-type (CPA-ZNTE60T)
  DEVICE_DTS := cpva642
  CFE_BOARD_ID := CPVA642
  CFE_CHIP_ID := 6358
  CFE_EXTRAS := --signature "Telsey Tlc" --signature2 "99.99.999" --second-image-flag "0"
  FLASH_MB := 8
  DEVICE_PACKAGES := \
    $(RT63_PACKAGES) $(USB2_PACKAGES)
endef
TARGET_DEVICES += CPA-ZNTE60T

define Device/MAGIC
  $(Device/bcm63xx)
  IMAGES :=
  DEVICE_TITLE := Telsey MAGIC (Alice W-Gate)
  DEVICE_DTS := magic
  CFE_BOARD_ID := MAGIC
  CFE_CHIP_ID := 6348
  DEVICE_PACKAGES := \
    $(RT63_PACKAGES)
endef
TARGET_DEVICES += MAGIC

### TP-Link ###
define Device/TD-W8900GB
  $(Device/bcm63xx)
  DEVICE_TITLE := TP-Link TD-W8900GB
  DEVICE_DTS := td-w8900gb
  CFE_BOARD_ID := 96348GW-11
  CFE_CHIP_ID := 6348
  CFE_EXTRAS := --rsa-signature "$(shell printf 'PRID\x89\x10\x00\x02')" --image-offset 0x20000
  DEVICE_PACKAGES := \
    $(B43_PACKAGES)
endef
TARGET_DEVICES += TD-W8900GB

### USRobotics ###
define Device/USR9108
  $(Device/bcm63xx)
  DEVICE_TITLE := USRobotics 9108
  DEVICE_DTS := usr9108
  CFE_BOARD_ID := 96348GW-A
  CFE_CHIP_ID := 6348
  DEVICE_PACKAGES := \
    $(B43_PACKAGES) $(USB1_PACKAGES)
endef
TARGET_DEVICES += USR9108

### ZyXEL ###
define Device/P870HW-51a_v2
  $(Device/bcm63xx)
  IMAGES := factory.bin
  IMAGE/factory.bin := cfe-bin | zyxel-bin
  DEVICE_TITLE := ZyXEL P870HW-51a v2
  DEVICE_DTS := p870hw-51a-v2
  CFE_BOARD_ID := 96368VVW
  CFE_CHIP_ID := 6368
  CFE_EXTRAS := --rsa-signature "ZyXEL" --signature "ZyXEL_0001"
  DEVICE_PACKAGES := \
    $(B43_PACKAGES)
endef
TARGET_DEVICES += P870HW-51a_v2