brcm47xx: generate image to flash on Netgear WNDR3400.
[openwrt.git] / target / linux / brcm63xx / patches-3.0 / 451-board_spw303v.patch
1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -1741,6 +1741,72 @@ static struct board_info __initdata boar
4 .spis = nb4_spi_devices,
5 .num_spis = ARRAY_SIZE(nb4_spi_devices),
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 static struct board_info __initdata board_HW553 = {
76 @@ -1858,6 +1924,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.05557 seconds and 5 git commands to generate.