brcm63xx: add USB support to BCM6318
[openwrt/openwrt.git] / target / linux / brcm63xx / patches-3.10 / 502-board-96338W2_E7T.patch
1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -226,6 +226,40 @@ 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 + .has_phy = 1,
16 + .phy_id = 0,
17 + .force_speed_100 = 1,
18 + .force_duplex_full = 1,
19 + },
20 +
21 + .leds = {
22 + {
23 + .name = "96338W2_E7T:green:ppp",
24 + .gpio = 4,
25 + .active_low = 1,
26 + },
27 + {
28 + .name = "96338W2_E7T:green:ppp-fail",
29 + .gpio = 5,
30 + .active_low = 1,
31 + },
32 + {
33 + .name = "96338W2_E7T:green:power",
34 + .gpio = 0,
35 + .active_low = 1,
36 + .default_trigger = "default-on",
37 +
38 + },
39 + },
40 +};
41 #endif
42
43 /*
44 @@ -1368,6 +1402,7 @@ static const struct board_info __initcon
45 #ifdef CONFIG_BCM63XX_CPU_6338
46 &board_96338gw,
47 &board_96338w,
48 + &board_96338w2_e7t,
49 #endif
50 #ifdef CONFIG_BCM63XX_CPU_6345
51 &board_96345gw2,