brcm63xx: move V2110 to DT
[openwrt/openwrt.git] / target / linux / brcm63xx / patches-3.18 / 512-board_BTV2110.patch
1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -407,6 +407,25 @@ static struct board_info __initdata boar
4 },
5 };
6
7 +
8 +/* BT Voyager 2110 */
9 +static struct board_info __initdata board_V2110 = {
10 + .name = "V2110",
11 + .expected_cpu_id = 0x6348,
12 +
13 + .has_uart0 = 1,
14 + .has_enet1 = 1,
15 + .has_pci = 1,
16 +
17 + .enet1 = {
18 + .has_phy = 1,
19 + .phy_id = 0,
20 + .force_speed_100 = 1,
21 + .force_duplex_full = 1,
22 + },
23 +};
24 +
25 +
26 static struct board_info __initdata board_96348gw = {
27 .name = "96348GW",
28 .expected_cpu_id = 0x6348,
29 @@ -1048,6 +1067,7 @@ static const struct board_info __initcon
30 &board_spw500v,
31 &board_96348sv,
32 &board_V2500V_BB,
33 + &board_V2110,
34 #endif
35
36 #ifdef CONFIG_BCM63XX_CPU_6358
37 @@ -1087,6 +1107,7 @@ static struct of_device_id const bcm963x
38 { .compatible = "brcm,bcm96348gw-10", .data = &board_96348gw_10, },
39 { .compatible = "brcm,bcm96348gw-11", .data = &board_96348gw_11, },
40 { .compatible = "brcm,bcm96348gw-a", .data = &board_96348gw_a, },
41 + { .compatible = "bt,v2110", .data = &board_V2110, },
42 { .compatible = "bt,v2500v-bb", .data = &board_V2500V_BB, },
43 { .compatible = "d-link,dsl-2640b-b", .data = &board_96348_D4PW, },
44 { .compatible = "davolink,dv-201amr", .data = &board_DV201AMR, },