brcm63xx: move buttons and leds to dts files
[openwrt.git] / target / linux / brcm63xx / patches-3.14 / 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 @@ -748,6 +748,23 @@ 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_uart0                      = 1,
13 +       .has_enet1                      = 1,
14 +       .has_pci                        = 1,
15 +
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_nb4_ser_r0 = {
25         .name                           = "NB4-SER-r0",
26         .expected_cpu_id                = 0x6358,
27 @@ -841,6 +858,7 @@ static const struct board_info __initcon
28         &board_AGPFS0,
29         &board_CPVA642,
30         &board_DWVS0,
31 +       &board_dsl_274xb_rev_c,
32         &board_nb4_ser_r0,
33         &board_nb4_fxc_r1,
34  #endif
35 @@ -879,6 +897,7 @@ static struct of_device_id const bcm963x
36         { .compatible = "alcatel,rg100a", .data = &board_96358vw2, },
37         { .compatible = "brcm,bcm96358vw", .data = &board_96358vw, },
38         { .compatible = "brcm,bcm96358vw2", .data = &board_96358vw2, },
39 +       { .compatible = "d-link,dsl-274xb-c2", .data = &board_dsl_274xb_rev_c, },
40         { .compatible = "d-link,dsl-2650u", .data = &board_96358vw2, },
41         { .compatible = "pirelli,a226g", .data = &board_DWVS0, },
42         { .compatible = "pirelli,a226m", .data = &board_DWVS0, },