39f2eab019247f6e4c3b6bb36b0d7e5e82e00373
[openwrt.git] / target / linux / brcm63xx / patches-3.0 / 450-board_rta1320_16m.patch
1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -178,6 +178,43 @@ 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 +               .force_speed_100        = 1,
17 +               .force_duplex_full      = 1,
18 +       },
19 +
20 +               .leds = {
21 +               {
22 +                       .name           = "adsl",
23 +                       .gpio           = 3,
24 +                       .active_low     = 1,
25 +               },
26 +               {
27 +                       .name           = "ppp",
28 +                       .gpio           = 4,
29 +                       .active_low     = 1,
30 +               },
31 +               {
32 +                       .name           = "power",
33 +                       .gpio           = 0,
34 +                       .active_low     = 1,
35 +                       .default_trigger = "default-on",
36 +               },
37 +               {
38 +                       .name           = "stop",
39 +                       .gpio           = 1,
40 +                       .active_low     = 1,
41 +               },
42 +       },
43 +};
44  #endif
45  
46  /*
47 @@ -1784,6 +1821,7 @@ static const struct board_info __initdat
48         &board_96338gw,
49         &board_96338w,
50         &board_96338w2_e7t,
51 +       &board_rta1320_16m,
52  #endif
53  #ifdef CONFIG_BCM63XX_CPU_6345
54         &board_96345gw2,