kernel: fix bluetooth and zsmalloc for 3.14
[openwrt/svn-archive/archive.git] / target / linux / brcm63xx / patches-3.13 / 516-board_96348A-122.patch
1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -588,6 +588,69 @@ static struct board_info __initdata boar
4 },
5 };
6
7 +static struct board_info __initdata board_96348A_122 = {
8 + .name = "96348A-122",
9 + .expected_cpu_id = 0x6348,
10 +
11 + .has_uart0 = 1,
12 + .has_enet1 = 1,
13 + .has_pci = 1,
14 +
15 + .enet1 = {
16 + .has_phy = 1,
17 + .phy_id = 0,
18 + .force_speed_100 = 1,
19 + .force_duplex_full = 1,
20 + },
21 +
22 + .has_ohci0 = 1,
23 +
24 + .leds = {
25 + {
26 + .name = "96348A-122:green:power",
27 + .gpio = 0,
28 + .active_low = 1,
29 + .default_trigger = "default-on",
30 + },
31 + {
32 + .name = "96348A-122:red:alarm",
33 + .gpio = 2,
34 + .active_low = 1,
35 + },
36 + {
37 + .name = "96348A-122:green:wps",
38 + .gpio = 6,
39 + .active_low = 1,
40 + },
41 + },
42 + .buttons = {
43 + {
44 + .desc = "reset",
45 + .gpio = 33,
46 + .active_low = 1,
47 + .type = EV_KEY,
48 + .code = KEY_RESTART,
49 + .debounce_interval = BCM963XX_KEYS_DEBOUNCE_INTERVAL,
50 + },
51 + {
52 + .desc = "wlan",
53 + .gpio = 34,
54 + .active_low = 1,
55 + .type = EV_KEY,
56 + .code = KEY_WLAN,
57 + .debounce_interval = BCM963XX_KEYS_DEBOUNCE_INTERVAL,
58 + },
59 + {
60 + .desc = "wps",
61 + .gpio = 35,
62 + .active_low = 1,
63 + .type = EV_KEY,
64 + .code = KEY_WPS_BUTTON,
65 + .debounce_interval = BCM963XX_KEYS_DEBOUNCE_INTERVAL,
66 + },
67 + },
68 +};
69 +
70 static struct board_info __initdata board_96348gw = {
71 .name = "96348GW",
72 .expected_cpu_id = 0x6348,
73 @@ -2163,6 +2226,7 @@ static const struct board_info __initcon
74 &board_V2500V_BB,
75 &board_V2110,
76 &board_ct536_ct5621,
77 + &board_96348A_122,
78 #endif
79
80 #ifdef CONFIG_BCM63XX_CPU_6358