1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -1178,6 +1178,275 @@ static struct board_info __initdata boar
8 +static struct board_info __initdata board_96348A_122 = {
9 + .name = "96348A-122",
10 + .expected_cpu_id = 0x6348,
19 + .force_speed_100 = 1,
20 + .force_duplex_full = 1,
23 + .use_fallback_sprom = 1,
25 + .type = SPROM_BCM4318,
31 +static struct board_info __initdata board_96348_D4PW = {
33 + .expected_cpu_id = 0x6348,
41 + .force_speed_100 = 1,
42 + .force_duplex_full = 1,
46 +static struct board_info __initdata board_96348gw_10_AR1004G = {
48 + .expected_cpu_id = 0x6348,
56 + .force_speed_100 = 1,
57 + .force_duplex_full = 1,
61 +static struct board_info __initdata board_96348sv = {
63 + .expected_cpu_id = 0x6348,
72 + .use_internal_phy = 1,
77 + /* it has BP_ENET_EXTERNAL_PHY */
80 + .force_speed_100 = 1,
81 + .force_duplex_full = 1,
85 +/* NetGear DG834G v4 */
86 +static struct board_info __initdata board_96348W3 = {
88 + .expected_cpu_id = 0x6348,
97 + .force_speed_100 = 1,
98 + .force_duplex_full = 1,
102 +static struct board_info __initdata board_CPVA502plus = {
103 + .name = "CPVA502+",
104 + .expected_cpu_id = 0x6348,
107 + .ephy_reset_gpio = 4,
108 + .ephy_reset_gpio_flags = GPIO_ACTIVE_LOW,
113 + .use_internal_phy = 1,
122 + .use_fallback_sprom = 1,
123 + .fallback_sprom = {
124 + .type = SPROM_BCM4318,
130 +static struct board_info __initdata board_ct536_ct5621 = {
131 + .name = "CT536_CT5621",
132 + .expected_cpu_id = 0x6348,
142 + .force_speed_100 = 1,
143 + .force_duplex_full = 1,
146 + .use_fallback_sprom = 1,
147 + .fallback_sprom = {
148 + .type = SPROM_BCM4318,
154 +static struct board_info __initdata board_FAST2604 = {
155 + .name = "F@ST2604",
156 + .expected_cpu_id = 0x6348,
165 + .force_speed_100 = 1,
166 + .force_duplex_full = 1,
170 +static struct board_info __initdata board_gw6000 = {
172 + .expected_cpu_id = 0x6348,
180 + .use_internal_phy = 1,
185 + .force_speed_100 = 1,
186 + .force_duplex_full = 1,
190 +static struct board_info __initdata board_gw6200 = {
192 + .expected_cpu_id = 0x6348,
200 + .use_internal_phy = 1,
205 + .force_speed_100 = 1,
206 + .force_duplex_full = 1,
210 +static struct sprom_fixup __initdata spw500v_fixups[] = {
211 + { .offset = 46, .value = 0x3046 },
212 + { .offset = 47, .value = 0x15a7 },
213 + { .offset = 48, .value = 0xfa89 },
214 + { .offset = 49, .value = 0xfe79 },
215 + { .offset = 57, .value = 0x6a49 },
218 +static struct board_info __initdata board_spw500v = {
220 + .expected_cpu_id = 0x6348,
227 + .use_internal_phy = 1,
230 + .use_fallback_sprom = 1,
231 + .fallback_sprom = {
232 + .type = SPROM_BCM4318,
235 + .board_fixups = spw500v_fixups,
236 + .num_board_fixups = ARRAY_SIZE(spw500v_fixups),
240 +/* BT Voyager 2110 */
241 +static struct board_info __initdata board_V2110 = {
243 + .expected_cpu_id = 0x6348,
251 + .force_speed_100 = 1,
252 + .force_duplex_full = 1,
256 +static struct board_info __initdata board_V2500V_BB = {
257 + .name = "V2500V_BB",
258 + .expected_cpu_id = 0x6348,
265 + .use_internal_phy = 1,
272 + .force_speed_100 = 1,
273 + .force_duplex_full = 1,
276 #endif /* CONFIG_BCM63XX_CPU_6348 */
279 @@ -1336,6 +1605,19 @@ static const struct board_info __initcon
285 + &board_96348gw_10_AR1004G,
288 + &board_CPVA502plus,
289 + &board_ct536_ct5621,
296 #endif /* CONFIG_BCM63XX_CPU_6348 */
297 #ifdef CONFIG_BCM63XX_CPU_6358
299 @@ -1386,15 +1668,29 @@ static struct of_device_id const bcm963x
300 { .compatible = "dynalink,rta770w", .data = &board_rta770w, },
301 #endif /* CONFIG_BCM63XX_CPU_6345 */
302 #ifdef CONFIG_BCM63XX_CPU_6348
303 + { .compatible = "asmax,ar-1004g", .data = &board_96348gw_10_AR1004G, },
304 { .compatible = "belkin,f5d7633", .data = &board_96348gw_10, },
305 { .compatible = "brcm,bcm96348r", .data = &board_96348r, },
306 { .compatible = "brcm,bcm96348gw-10", .data = &board_96348gw_10, },
307 { .compatible = "brcm,bcm96348gw-11", .data = &board_96348gw_11, },
308 { .compatible = "brcm,bcm96348gw-a", .data = &board_96348gw_a, },
309 + { .compatible = "bt,voyager-2110", .data = &board_V2110, },
310 + { .compatible = "bt,voyager-2500v-bb", .data = &board_V2500V_BB, },
311 + { .compatible = "comtrend,ct-5365", .data = &board_96348A_122, },
312 + { .compatible = "comtrend,ct-536plus", .data = &board_ct536_ct5621, },
313 + { .compatible = "comtrend,ct-5621", .data = &board_ct536_ct5621, },
314 + { .compatible = "d-link,dsl-2640b-b", .data = &board_96348_D4PW, },
315 { .compatible = "davolink,dv-201amr", .data = &board_DV201AMR, },
316 { .compatible = "dynalink,rta1025w", .data = &board_rta1025w_16, },
317 { .compatible = "netgear,dg834gt-pn", .data = &board_96348gw_10, },
318 + { .compatible = "netgear,dg834g-v4", .data = &board_96348W3, },
319 { .compatible = "sagem,fast-2404", .data = &board_FAST2404, },
320 + { .compatible = "sagem,fast-2604", .data = &board_FAST2604, },
321 + { .compatible = "t-com,speedport-w-500v", .data = &board_spw500v, },
322 + { .compatible = "tecom,gw6000", .data = &board_gw6000, },
323 + { .compatible = "tecom,gw6200", .data = &board_gw6200, },
324 + { .compatible = "telsey,cpva502plus", .data = &board_CPVA502plus, },
325 + { .compatible = "telsey,magic", .data = &board_96348sv, },
326 { .compatible = "tp-link,td-w8900gb", .data = &board_96348gw_11, },
327 { .compatible = "usrobotics,usr9108", .data = &board_96348gw_a, },
328 #endif /* CONFIG_BCM63XX_CPU_6348 */