c6bd1c8693e2549df034268999df14999e28080d
[openwrt/openwrt.git] / target / linux / brcm63xx / patches-2.6.35 / 270-board-96338W2_E7T.patch
1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -135,6 +135,38 @@ static struct board_info __initdata boar
4 },
5 },
6 };
7 +
8 +static struct board_info __initdata board_96338w2_e7t = {
9 + .name = "96338W2_E7T",
10 + .expected_cpu_id = 0x6338,
11 +
12 + .has_enet0 = 1,
13 +
14 + .enet0 = {
15 + .force_speed_100 = 1,
16 + .force_duplex_full = 1,
17 + },
18 +
19 + .leds = {
20 + {
21 + .name = "ppp",
22 + .gpio = 4,
23 + .active_low = 1,
24 + },
25 + {
26 + .name = "ppp-fail",
27 + .gpio = 5,
28 + .active_low = 1,
29 + },
30 + {
31 + .name = "power",
32 + .gpio = 0,
33 + .active_low = 1,
34 + .default_trigger = "default-on",
35 +
36 + },
37 + },
38 +};
39 #endif
40
41 /*
42 @@ -1264,6 +1296,7 @@ static const struct board_info __initdat
43 #ifdef CONFIG_BCM63XX_CPU_6338
44 &board_96338gw,
45 &board_96338w,
46 + &board_96338w2_e7t,
47 #endif
48 #ifdef CONFIG_BCM63XX_CPU_6345
49 &board_96345gw2,