brcm63xx: add preliminary support for 3.13
[openwrt.git] / target / linux / brcm63xx / patches-3.13 / 509-board_rta1320_16m.patch
1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -260,6 +260,45 @@ 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 +               .leds = {
23 +               {
24 +                       .name           = "RTA1320_16M:green:adsl",
25 +                       .gpio           = 3,
26 +                       .active_low     = 1,
27 +               },
28 +               {
29 +                       .name           = "RTA1320_16M:green:ppp",
30 +                       .gpio           = 4,
31 +                       .active_low     = 1,
32 +               },
33 +               {
34 +                       .name           = "RTA1320_16M:green:power",
35 +                       .gpio           = 0,
36 +                       .active_low     = 1,
37 +                       .default_trigger = "default-on",
38 +               },
39 +               {
40 +                       .name           = "RTA1320_16M:green:stop",
41 +                       .gpio           = 1,
42 +                       .active_low     = 1,
43 +               },
44 +       },
45 +};
46  #endif
47  
48  /*
49 @@ -1871,6 +1910,7 @@ static const struct board_info __initcon
50         &board_96338gw,
51         &board_96338w,
52         &board_96338w2_e7t,
53 +       &board_rta1320_16m,
54  #endif
55  #ifdef CONFIG_BCM63XX_CPU_6345
56         &board_96345gw2,