f012cb254b5890e625df8fed30d4c5cee20a82db
[openwrt/openwrt.git] / target / linux / brcm63xx / patches-2.6.35 / 400-board_96358gw.patch
1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -577,6 +577,59 @@ static struct board_info __initdata boar
4 * known 6358 boards
5 */
6 #ifdef CONFIG_BCM63XX_CPU_6358
7 +
8 +static struct board_info __initdata board_96358gw = {
9 + .name = "96358GW",
10 + .expected_cpu_id = 0x6358,
11 +
12 + .has_uart0 = 1,
13 + .has_enet1 = 1,
14 + .has_pci = 1,
15 +
16 + .enet1 = {
17 + .force_speed_100 = 1,
18 + .force_duplex_full = 1,
19 + },
20 +
21 + .leds = {
22 + {
23 + .name = "power:green",
24 + .gpio = 5,
25 + .active_low = 1,
26 + .default_trigger = "default-on",
27 + },
28 + {
29 + .name = "power:red",
30 + .gpio = 4,
31 + .active_low = 1,
32 + },
33 + {
34 + .name = "adsl",
35 + .gpio = 9,
36 + .active_low = 1,
37 + },
38 + {
39 + .name = "internet:green",
40 + .gpio = 2,
41 + },
42 + {
43 + .name = "internet:red",
44 + .gpio = 10,
45 + },
46 + },
47 +
48 + .buttons = {
49 + {
50 + .desc = "reset",
51 + .gpio = 34,
52 + .active_low = 1,
53 + .type = EV_KEY,
54 + .code = KEY_RESTART,
55 + .threshold = 3,
56 + },
57 + },
58 +};
59 +
60 static struct board_info __initdata board_96358vw = {
61 .name = "96358VW",
62 .expected_cpu_id = 0x6358,
63 @@ -1433,6 +1486,7 @@ static const struct board_info __initdat
64 #endif
65
66 #ifdef CONFIG_BCM63XX_CPU_6358
67 + &board_96358gw,
68 &board_96358vw,
69 &board_96358vw2,
70 &board_AGPFS0,