brcm63xx: DVA-G3810BN/TL: Fix the WAN ethernet port
[oweals/openwrt.git] / target / linux / brcm63xx / patches-4.14 / 529-board_fast2604.patch
1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -501,6 +501,22 @@ static struct board_info __initdata boar
4         .has_ehci0                      = 1,
5  };
6  
7 +static struct board_info __initdata board_FAST2604 = {
8 +       .name                                           = "F@ST2604",
9 +       .expected_cpu_id                        = 0x6348,
10 +
11 +       .has_pci                                        = 1,
12 +       .has_ohci0                                      = 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_rta1025w_16 = {
24         .name                           = "RTA1025W_16",
25         .expected_cpu_id                = 0x6348,
26 @@ -1112,6 +1128,7 @@ static const struct board_info __initcon
27         &board_96348gw_10,
28         &board_96348gw_11,
29         &board_FAST2404,
30 +       &board_FAST2604,
31         &board_DV201AMR,
32         &board_96348gw_a,
33         &board_rta1025w_16,
34 @@ -1187,6 +1204,7 @@ static struct of_device_id const bcm963x
35         { .compatible = "netgear,dg834gtpn", .data = &board_96348gw_10, },
36         { .compatible = "netgear,dg834g-v4", .data = &board_96348W3, },
37         { .compatible = "sagem,f@st2404", .data = &board_FAST2404, },
38 +       { .compatible = "sagem,f@st2604", .data = &board_FAST2604, },
39         { .compatible = "t-com,spw500v", .data = &board_spw500v, },
40         { .compatible = "tecom,gw6000", .data = &board_gw6000, },
41         { .compatible = "tecom,gw6200", .data = &board_gw6200, },