brcm63xx: move MAGIC to dts
[15.05/openwrt.git] / target / linux / brcm63xx / patches-3.18 / 529-board_fast2604.patch
1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -756,6 +756,23 @@ 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_uart0                                      = 1,
12 +       .has_pci                                        = 1,
13 +       .has_ohci0                                      = 1,
14 +
15 +       .has_enet1                                      = 1,
16 +       .enet1 = {
17 +               .has_phy                        = 1,
18 +               .phy_id                         = 0,
19 +               .force_speed_100                = 1,
20 +               .force_duplex_full              = 1,
21 +       },
22 +};
23 +
24  static struct board_info __initdata board_rta1025w_16 = {
25         .name                           = "RTA1025W_16",
26         .expected_cpu_id                = 0x6348,
27 @@ -1482,6 +1499,7 @@ static const struct board_info __initcon
28         &board_96348gw_10,
29         &board_96348gw_11,
30         &board_FAST2404,
31 +       &board_FAST2604,
32         &board_DV201AMR,
33         &board_96348gw_a,
34         &board_rta1025w_16,
35 @@ -1556,6 +1574,7 @@ static struct of_device_id const bcm963x
36         { .compatible = "netgear,dg834gtpn", .data = &board_96348gw_10, },
37         { .compatible = "netgear,dg834g-v4", .data = &board_96348W3, },
38         { .compatible = "sagem,f@st2404", .data = &board_FAST2404, },
39 +       { .compatible = "sagem,f@st2604", .data = &board_FAST2604, },
40         { .compatible = "t-com,spw500v", .data = &board_spw500v, },
41         { .compatible = "tecom,gw6000", .data = &board_gw6000, },
42         { .compatible = "tecom,gw6200", .data = &board_gw6200, },