kernel: fix bluetooth and zsmalloc for 3.14
[openwrt/svn-archive/archive.git] / target / linux / brcm63xx / patches-3.13 / 525-board_96348w3.patch
1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -1398,6 +1398,59 @@ static struct board_info __initdata boar
4 },
5 };
6
7 +/* NetGear DG834G v4 */
8 +static struct board_info __initdata board_96348W3 = {
9 + .name = "96348W3",
10 + .expected_cpu_id = 0x6348,
11 +
12 + .has_uart0 = 1,
13 + .has_enet1 = 1,
14 + .has_pci = 1,
15 +
16 + .enet1 = {
17 + .has_phy = 1,
18 + .phy_id = 0,
19 + .force_speed_100 = 1,
20 + .force_duplex_full = 1,
21 + },
22 +
23 + .has_ohci0 = 1,
24 +
25 + .leds = {
26 + {
27 + .name = "96348W3:green:power",
28 + .gpio = 0,
29 + .active_low = 1,
30 + .default_trigger = "default-on",
31 + },
32 + {
33 + .name = "96348W3:red:power",
34 + .gpio = 1,
35 + .active_low = 1,
36 + },
37 + {
38 + .name = "96348W3::adsl",
39 + .gpio = 2,
40 + .active_low = 1,
41 + },
42 + {
43 + .name = "96348W3::internet",
44 + .gpio = 3,
45 + .active_low = 1,
46 + },
47 + },
48 + .buttons = {
49 + {
50 + .desc = "reset",
51 + .gpio = 6,
52 + .active_low = 1,
53 + .type = EV_KEY,
54 + .code = KEY_RESTART,
55 + .debounce_interval = BCM963XX_KEYS_DEBOUNCE_INTERVAL,
56 + },
57 + },
58 +};
59 +
60 #endif
61
62 /*
63 @@ -2623,6 +2676,7 @@ static const struct board_info __initcon
64 &board_ct536_ct5621,
65 &board_96348A_122,
66 &board_CPVA502plus,
67 + &board_96348W3,
68 #endif
69
70 #ifdef CONFIG_BCM63XX_CPU_6358