ath79: ar7242: Update dts for current ag71xx driver
[oweals/openwrt.git] / target / linux / brcm63xx / patches-4.9 / 504-board_dsl_274xb_rev_c.patch
1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -468,6 +468,22 @@ static struct board_info __initdata boar
4         .has_ohci0                      = 1,
5  };
6  
7 +/* D-Link DSL-274xB revison C2/C3 */
8 +static struct board_info __initdata board_dsl_274xb_rev_c = {
9 +       .name                           = "AW4139",
10 +       .expected_cpu_id                = 0x6358,
11 +
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 +
23  static struct board_info __initdata board_nb4_ser_r0 = {
24         .name                           = "NB4-SER-r0",
25         .expected_cpu_id                = 0x6358,
26 @@ -559,6 +575,7 @@ static const struct board_info __initcon
27         &board_AGPFS0,
28         &board_CPVA642,
29         &board_DWVS0,
30 +       &board_dsl_274xb_rev_c,
31         &board_nb4_ser_r0,
32         &board_nb4_fxc_r1,
33  #endif
34 @@ -598,6 +615,7 @@ static struct of_device_id const bcm963x
35         { .compatible = "alcatel,rg100a", .data = &board_96358vw2, },
36         { .compatible = "brcm,bcm96358vw", .data = &board_96358vw, },
37         { .compatible = "brcm,bcm96358vw2", .data = &board_96358vw2, },
38 +       { .compatible = "d-link,dsl-274xb-c2", .data = &board_dsl_274xb_rev_c, },
39         { .compatible = "d-link,dsl-2650u", .data = &board_96358vw2, },
40         { .compatible = "pirelli,a226g", .data = &board_DWVS0, },
41         { .compatible = "pirelli,a226m", .data = &board_DWVS0, },