brcm63xx: unbreak board_probe_switch again
[openwrt/openwrt.git] / target / linux / brcm63xx / patches-3.18 / 503-board-CPVA642.patch
1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -685,6 +685,26 @@ static struct board_info __initdata boar
4 },
5 };
6
7 +static struct board_info __initdata board_CPVA642 = {
8 + .name = "CPVA642",
9 + .expected_cpu_id = 0x6358,
10 +
11 + .has_uart0 = 1,
12 + .has_enet1 = 1,
13 + .has_pci = 1,
14 +
15 + .enet1 = {
16 + .has_phy = 1,
17 + .phy_id = 0,
18 + .force_speed_100 = 1,
19 + .force_duplex_full = 1,
20 + },
21 +
22 + .has_ohci0 = 1,
23 + .has_ehci0 = 1,
24 +};
25 +
26 +
27 static struct board_info __initdata board_AGPFS0 = {
28 .name = "AGPF-S0",
29 .expected_cpu_id = 0x6358,
30 @@ -825,6 +845,7 @@ static const struct board_info __initcon
31 &board_96358vw,
32 &board_96358vw2,
33 &board_AGPFS0,
34 + &board_CPVA642,
35 &board_DWVS0,
36 &board_nb4_ser_r0,
37 &board_nb4_fxc_r1,
38 @@ -872,6 +893,7 @@ static struct of_device_id const bcm963x
39 { .compatible = "pirelli,agpf-s0", .data = &board_AGPFS0, },
40 { .compatible = "sfr,nb4-ser-r0", .data = &board_nb4_ser_r0, },
41 { .compatible = "sfr,nb4-fxc-r1", .data = &board_nb4_fxc_r1, },
42 + { .compatible = "telsey,cpva642", .data = &board_CPVA642, },
43 #endif
44 #ifdef CONFIG_BCM63XX_CPU_6368
45 #endif