linux/3.3: merge recent ubifs patches from 3.2
[openwrt.git] / target / linux / brcm63xx / patches-3.1 / 451-board_spw303v.patch
1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -1811,6 +1811,72 @@ static struct board_info __initdata boar
4 },
5 },
6 };
7 +
8 + /* T-Home Speedport W 303V Typ B */
9 +static struct board_info __initdata board_spw303v = {
10 + .name = "96358-502V",
11 + .expected_cpu_id = 0x6358,
12 +
13 + .has_uart0 = 1,
14 + .has_enet0 = 1,
15 + .has_pci = 1,
16 +
17 + .enet0 = {
18 + .has_phy = 1,
19 + .use_internal_phy = 1,
20 + },
21 +
22 + .leds = {
23 + {
24 + .name = "spw303v:green:power+adsl",
25 + .gpio = 22,
26 + .active_low = 1,
27 + },
28 + {
29 + .name = "spw303v:red:power+adsl",
30 + .gpio = 2,
31 + .active_low = 1,
32 + },
33 + {
34 + .name = "spw303v:green:ppp",
35 + .gpio = 5,
36 + .active_low = 1,
37 + },
38 + {
39 + .name = "spw303v:green:ses",
40 + .gpio = 0,
41 + .active_low = 1,
42 + },
43 + {
44 + .name = "spw303v:green:voip",
45 + .gpio = 27,
46 + .active_low = 1,
47 + },
48 + {
49 + .name = "spw303v:green:pots",
50 + .gpio = 31,
51 + .active_low = 1,
52 + },
53 + },
54 +
55 + .buttons = {
56 + {
57 + .desc = "reset",
58 + .gpio = 11,
59 + .type = EV_KEY,
60 + .code = KEY_RESTART,
61 + .threshold = 3,
62 + },
63 + {
64 + .desc = "ses",
65 + .gpio = 37,
66 + .active_low = 1,
67 + .type = EV_KEY,
68 + .code = KEY_WPS_BUTTON,
69 + .threshold = 3,
70 + },
71 + }
72 +};
73 #endif
74
75 /*
76 @@ -1855,6 +1921,7 @@ static const struct board_info __initdat
77 &board_nb4_fxc_r1,
78 &board_nb4_fxc_r2,
79 &board_HW553,
80 + &board_spw303v,
81 #endif
82 };
83
This page took 0.048578 seconds and 5 git commands to generate.