brcm63xx: add preliminary support for 3.13
[openwrt/svn-archive/archive.git] / target / linux / brcm63xx / patches-3.13 / 512-board_BTV2110.patch
1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -485,6 +485,64 @@ 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 + .has_phy = 1,
19 + .phy_id = 0,
20 + .force_speed_100 = 1,
21 + .force_duplex_full = 1,
22 + },
23 +
24 + .leds = {
25 + {
26 + .name = "V2110:green:power",
27 + .gpio = 0,
28 + .active_low = 1,
29 + .default_trigger = "default-on",
30 + },
31 + {
32 + .name = "V2110:red:power",
33 + .gpio = 1,
34 + .active_low = 1,
35 + },
36 + {
37 + .name = "V2110:green:adsl",
38 + .gpio = 2,
39 + .active_low = 1,
40 + },
41 + { .name = "V2110:green:ppp",
42 + .gpio = 3,
43 + .active_low = 1,
44 + },
45 + {
46 + .name = "V2110:green:wireless",
47 + .gpio = 6,
48 + .active_low = 1,
49 + },
50 + },
51 +
52 + .buttons = {
53 + {
54 + .desc = "reset",
55 + .gpio = 33,
56 + .active_low = 1,
57 + .type = EV_KEY,
58 + .code = KEY_RESTART,
59 + .debounce_interval = BCM963XX_KEYS_DEBOUNCE_INTERVAL,
60 + },
61 + },
62 +};
63 +
64 +
65 static struct board_info __initdata board_96348gw = {
66 .name = "96348GW",
67 .expected_cpu_id = 0x6348,
68 @@ -2055,6 +2113,7 @@ static const struct board_info __initcon
69 &board_spw500v,
70 &board_96348sv,
71 &board_V2500V_BB,
72 + &board_V2110,
73 #endif
74
75 #ifdef CONFIG_BCM63XX_CPU_6358