1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
4 #include <linux/init.h>
5 #include <linux/kernel.h>
6 #include <linux/string.h>
7 +#include <linux/pci_ids.h>
8 #include <asm/addrspace.h>
9 #include <bcm63xx_board.h>
10 #include <bcm63xx_cpu.h>
11 @@ -1601,6 +1602,88 @@ static struct board_info __initdata boar
15 +static struct board_info __initdata board_CPVA642 = {
17 + .expected_cpu_id = 0x6358,
27 + .force_speed_100 = 1,
28 + .force_duplex_full = 1,
32 +static struct board_info __initdata board_ct6373_1 = {
34 + .expected_cpu_id = 0x6358,
44 + .force_speed_100 = 1,
45 + .force_duplex_full = 1,
48 + .use_fallback_sprom = 1,
50 + .type = SPROM_BCM4318,
56 +/* D-Link DSL-274xB revison C2/C3 */
57 +static struct board_info __initdata board_dsl_274xb_rev_c = {
59 + .expected_cpu_id = 0x6358,
67 + .force_speed_100 = 1,
68 + .force_duplex_full = 1,
72 +/* D-Link DVA-G3810BN/TL */
73 +static struct board_info __initdata board_DVAG3810BN = {
74 + .name = "DVAG3810BN",
75 + .expected_cpu_id = 0x6358,
85 + .use_internal_phy = 1,
92 + .force_speed_100 = 1,
93 + .force_duplex_full = 1,
97 static struct board_info __initdata board_DWVS0 = {
99 .expected_cpu_id = 0x6358,
100 @@ -1624,6 +1707,238 @@ static struct board_info __initdata boar
101 .force_duplex_full = 1,
105 +static struct board_info __initdata board_homehub2a = {
106 + .name = "HOMEHUB2A",
107 + .expected_cpu_id = 0x6358,
112 + .num_usbh_ports = 2,
118 + .force_speed_100 = 1,
119 + .force_duplex_full = 1,
122 + .use_fallback_sprom = 1,
123 + .fallback_sprom = {
124 + .type = SPROM_BCM4322,
130 +static struct board_info __initdata board_HW520 = {
131 + .name = "HW6358GW_B",
132 + .expected_cpu_id = 0x6358,
141 + .use_internal_phy = 1,
148 + .force_speed_100 = 1,
149 + .force_duplex_full = 1,
152 + .use_fallback_sprom = 1,
153 + .fallback_sprom = {
154 + .type = SPROM_BCM4318,
160 +static struct board_info __initdata board_HW553 = {
162 + .expected_cpu_id = 0x6358,
167 + .num_usbh_ports = 2,
173 + .force_speed_100 = 1,
174 + .force_duplex_full = 1,
177 + .use_fallback_sprom = 1,
178 + .fallback_sprom = {
179 + .type = SPROM_BCM4318,
185 +static struct board_info __initdata board_HW556_A = {
187 + .expected_cpu_id = 0x6358,
192 + .num_usbh_ports = 2,
197 + .vendor = PCI_VENDOR_ID_ATHEROS,
198 + .caldata_offset = 0xf7e000,
202 + .led_active_high = 1,
210 + .force_speed_100 = 1,
211 + .force_duplex_full = 1,
215 +static struct board_info __initdata board_HW556_B = {
217 + .expected_cpu_id = 0x6358,
222 + .num_usbh_ports = 2,
227 + .vendor = PCI_VENDOR_ID_ATHEROS,
228 + .caldata_offset = 0xefe000,
232 + .led_active_high = 1,
240 + .force_speed_100 = 1,
241 + .force_duplex_full = 1,
245 +static struct board_info __initdata board_HW556_C = {
247 + .expected_cpu_id = 0x6358,
252 + .num_usbh_ports = 2,
257 + .vendor = PCI_VENDOR_ID_RALINK,
258 + .caldata_offset = 0xeffe00,
260 + .eeprom = "rt2x00.eeprom",
268 + .force_speed_100 = 1,
269 + .force_duplex_full = 1,
273 +static struct board_info __initdata board_nb4_ser_r0 = {
274 + .name = "NB4-SER-r0",
275 + .expected_cpu_id = 0x6358,
281 + .num_usbh_ports = 2,
286 + .use_internal_phy = 1,
293 + .force_speed_100 = 1,
294 + .force_duplex_full = 1,
298 +static struct board_info __initdata board_nb4_fxc_r1 = {
299 + .name = "NB4-FXC-r1",
300 + .expected_cpu_id = 0x6358,
306 + .num_usbh_ports = 2,
311 + .use_internal_phy = 1,
318 + .force_speed_100 = 1,
319 + .force_duplex_full = 1,
323 + /* T-Home Speedport W 303V Typ B */
324 +static struct board_info __initdata board_spw303v = {
325 + .name = "96358-502V",
326 + .expected_cpu_id = 0x6358,
333 + .use_internal_phy = 1,
336 #endif /* CONFIG_BCM63XX_CPU_6358 */
339 @@ -1694,7 +2009,20 @@ static const struct board_info __initcon
345 + &board_dsl_274xb_rev_c,
357 #endif /* CONFIG_BCM63XX_CPU_6358 */
360 @@ -1771,11 +2099,24 @@ static struct of_device_id const bcm963x
361 { .compatible = "alcatel,rg100a", .data = &board_96358vw2, },
362 { .compatible = "brcm,bcm96358vw", .data = &board_96358vw, },
363 { .compatible = "brcm,bcm96358vw2", .data = &board_96358vw2, },
364 + { .compatible = "bt,home-hub-2-a", .data = &board_homehub2a, },
365 + { .compatible = "comtrend,ct-6373", .data = &board_ct6373_1, },
366 { .compatible = "d-link,dsl-2650u", .data = &board_96358vw2, },
367 + { .compatible = "d-link,dsl-274xb-c2", .data = &board_dsl_274xb_rev_c, },
368 + { .compatible = "d-link,dva-g3810bn-tl", .data = &board_DVAG3810BN, },
369 + { .compatible = "huawei,echolife-hg520v", .data = &board_HW520, },
370 + { .compatible = "huawei,echolife-hg553", .data = &board_HW553, },
371 + { .compatible = "huawei,echolife-hg556a-a", .data = &board_HW556_A, },
372 + { .compatible = "huawei,echolife-hg556a-b", .data = &board_HW556_B, },
373 + { .compatible = "huawei,echolife-hg556a-c", .data = &board_HW556_C, },
374 { .compatible = "pirelli,a226g", .data = &board_DWVS0, },
375 { .compatible = "pirelli,a226m", .data = &board_DWVS0, },
376 { .compatible = "pirelli,a226m-fwb", .data = &board_DWVS0, },
377 { .compatible = "pirelli,agpf-s0", .data = &board_AGPFS0, },
378 + { .compatible = "sfr,neufbox-4-sercomm-r0", .data = &board_nb4_ser_r0, },
379 + { .compatible = "sfr,neufbox-4-foxconn-r1", .data = &board_nb4_fxc_r1, },
380 + { .compatible = "t-com,speedport-w-303v", .data = &board_spw303v, },
381 + { .compatible = "telsey,cpva642", .data = &board_CPVA642, },
382 #endif /* CONFIG_BCM63XX_CPU_6358 */
383 #ifdef CONFIG_BCM63XX_CPU_6362
384 #endif /* CONFIG_BCM63XX_CPU_6362 */