7524c2ff6492d54ff8412956be6be2dffd4de2e5
[openwrt.git] / target / linux / brcm63xx / patches-3.2 / 453-board_BTV2110.patch
1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -402,6 +402,62 @@ static struct board_info __initdata boar
4         },
5  };
6  
7 +
8 +/* BT Voyager 2110 */
9 +static struct board_info __initdata board_V2110 = {
10 +       .name                           = "V2110",
11 +       .expected_cpu_id                = 0x6348,
12 +
13 +       .has_uart0                      = 1,
14 +       .has_enet1                      = 1,
15 +       .has_pci                        = 1,
16 +
17 +       .enet1 = {
18 +               .force_speed_100        = 1,
19 +               .force_duplex_full      = 1,
20 +       },
21 +
22 +       .leds = {
23 +               {
24 +                       .name           = "V2110:green:power",
25 +                       .gpio           = 0,
26 +                       .active_low     = 1,
27 +                       .default_trigger = "default-on",
28 +               },
29 +               {
30 +                       .name           = "V2110:red:power",
31 +                       .gpio           = 1,
32 +                       .active_low     = 1,
33 +               },
34 +               {
35 +                       .name           = "V2110:green:adsl",
36 +                       .gpio           = 2,
37 +                       .active_low     = 1,
38 +               },
39 +               {       .name           = "V2110:green:ppp",
40 +                       .gpio           = 3,
41 +                       .active_low     = 1,
42 +               },
43 +               {
44 +                       .name           = "V2110:green:wireless",
45 +                       .gpio           = 6,
46 +                       .active_low     = 1,
47 +               },
48 +       },
49 +
50 +       .buttons = {
51 +               {
52 +                       .desc           = "reset",
53 +                       .gpio           = 33,
54 +                       .active_low     = 1,
55 +                       .type           = EV_KEY,
56 +                       .code           = KEY_RESTART,
57 +                       .threshold      = 3,
58 +               },
59 +       },
60 +};
61 +
62 +
63  static struct board_info __initdata board_96348gw = {
64         .name                           = "96348GW",
65         .expected_cpu_id                = 0x6348,
66 @@ -1965,6 +2021,7 @@ static const struct board_info __initdat
67         &board_spw500v,
68         &board_96348sv,
69         &board_V2500V_BB,
70 +       &board_V2110,
71  #endif
72  
73  #ifdef CONFIG_BCM63XX_CPU_6358