kernel: fix bluetooth and zsmalloc for 3.14
[openwrt/svn-archive/archive.git] / target / linux / brcm63xx / patches-3.13 / 508-board_hw553.patch
1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -1778,6 +1778,83 @@ static struct board_info __initdata boar
4 .spis = nb4_spi_devices,
5 .num_spis = ARRAY_SIZE(nb4_spi_devices),
6 };
7 +
8 +static struct board_info __initdata board_HW553 = {
9 + .name = "HW553",
10 + .expected_cpu_id = 0x6358,
11 +
12 + .has_uart0 = 1,
13 +
14 + .has_enet0 = 1,
15 + .has_enet1 = 1,
16 + .has_pci = 1,
17 +
18 + .enet0 = {
19 + .has_phy = 1,
20 + .use_internal_phy = 1,
21 + },
22 +
23 + .enet1 = {
24 + .has_phy = 1,
25 + .phy_id = 0,
26 + .force_speed_100 = 1,
27 + .force_duplex_full = 1,
28 + },
29 +
30 + .has_ohci0 = 1,
31 + .has_ehci0 = 1,
32 + .num_usbh_ports = 2,
33 +
34 + .leds = {
35 + {
36 + .name = "HW553:red:lan",
37 + .gpio = 34,
38 + .active_low = 1,
39 + },
40 + {
41 + .name = "HW553:blue:lan",
42 + .gpio = 35,
43 + .active_low = 1,
44 + },
45 + {
46 + .name = "HW553:red:adsl",
47 + .gpio = 22,
48 + .active_low = 1,
49 + },
50 + {
51 + .name = "HW553:blue:adsl",
52 + .gpio = 23,
53 + .active_low = 1,
54 + },
55 + {
56 + .name = "HW553:red:power",
57 + .gpio = 5,
58 + .active_low = 1,
59 + .default_trigger = "default-on",
60 + },
61 +
62 + {
63 + .name = "HW553:blue:power",
64 + .gpio = 4,
65 + .active_low = 1,
66 + },
67 + {
68 + .name = "HW553:red:wifi",
69 + .gpio = 25,
70 + .active_low = 1,
71 + },
72 + {
73 + .name = "HW553:red:internetkey",
74 + .gpio = 12,
75 + .active_low = 1,
76 + },
77 + {
78 + .name = "HW553:blue:internetkey",
79 + .gpio = 13,
80 + .active_low = 1,
81 + },
82 + },
83 +};
84 #endif
85
86 /*
87 @@ -1826,6 +1903,7 @@ static const struct board_info __initcon
88 &board_nb4_ser_r2,
89 &board_nb4_fxc_r1,
90 &board_nb4_fxc_r2,
91 + &board_HW553,
92 #endif
93 };
94