bcm63xx: refactor board patches
[openwrt/staging/wigyori.git] / target / linux / bcm63xx / patches-5.4 / 512-board_BTV2110.patch
1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -206,6 +206,22 @@ static struct board_info __initdata boar
4 .has_ehci0 = 1,
5 };
6
7 +/* BT Voyager 2110 */
8 +static struct board_info __initdata board_V2110 = {
9 + .name = "V2110",
10 + .expected_cpu_id = 0x6348,
11 +
12 + .has_pci = 1,
13 +
14 + .has_enet1 = 1,
15 + .enet1 = {
16 + .has_phy = 1,
17 + .phy_id = 0,
18 + .force_speed_100 = 1,
19 + .force_duplex_full = 1,
20 + },
21 +};
22 +
23 static struct board_info __initdata board_96348gw = {
24 .name = "96348GW",
25 .expected_cpu_id = 0x6348,
26 @@ -716,6 +732,7 @@ static const struct board_info __initcon
27 &board_spw500v,
28 &board_96348sv,
29 &board_V2500V_BB,
30 + &board_V2110,
31 #endif /* CONFIG_BCM63XX_CPU_6348 */
32 #ifdef CONFIG_BCM63XX_CPU_6358
33 &board_96358vw,
34 @@ -754,6 +771,7 @@ static struct of_device_id const bcm963x
35 { .compatible = "brcm,bcm96348gw-10", .data = &board_96348gw_10, },
36 { .compatible = "brcm,bcm96348gw-11", .data = &board_96348gw_11, },
37 { .compatible = "brcm,bcm96348gw-a", .data = &board_96348gw_a, },
38 + { .compatible = "bt,voyager-2110", .data = &board_V2110, },
39 { .compatible = "bt,voyager-2500v-bb", .data = &board_V2500V_BB, },
40 { .compatible = "d-link,dsl-2640b-b", .data = &board_96348_D4PW, },
41 { .compatible = "davolink,dv-201amr", .data = &board_DV201AMR, },