brcm63xx: move buttons and leds to dts files
[openwrt.git] / target / linux / brcm63xx / patches-3.14 / 509-board_rta1320_16m.patch
1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -233,6 +233,21 @@ static struct board_info __initdata boar
4                 },
5         },
6  };
7 +
8 +static struct board_info __initdata board_rta1320_16m = {
9 +       .name                           = "RTA1320_16M",
10 +       .expected_cpu_id                = 0x6338,
11 +
12 +       .has_uart0                      = 1,
13 +       .has_enet0                      = 1,
14 +
15 +       .enet0 = {
16 +               .has_phy                = 1,
17 +               .phy_id                 = 0,
18 +               .force_speed_100        = 1,
19 +               .force_duplex_full      = 1,
20 +       },
21 +};
22  #endif /* CONFIG_BCM63XX_CPU_6338 */
23  
24  /*
25 @@ -1035,6 +1050,7 @@ static const struct board_info __initcon
26         &board_96338gw,
27         &board_96338w,
28         &board_96338w2_e7t,
29 +       &board_rta1320_16m,
30  #endif
31  #ifdef CONFIG_BCM63XX_CPU_6345
32         &board_96345gw2,
33 @@ -1079,6 +1095,7 @@ static struct of_device_id const bcm963x
34  #ifdef CONFIG_BCM63XX_CPU_6338
35         { .compatible = "brcm,bcm96338gw", .data = &board_96338gw, },
36         { .compatible = "brcm,bcm96338w", .data = &board_96338w, },
37 +       { .compatible = "dynalink,rta1320", .data = &board_rta1320_16m, },
38  #endif
39  #ifdef CONFIG_BCM63XX_CPU_6345
40         { .compatible = "brcm,bcm96345gw2", .data = &board_96345gw2, },