[xburst] Fix image generation for qi_lb60 subtarget
[openwrt.git] / target / linux / brcm63xx / patches-2.6.32 / 150-alice_gate2_leds.patch
1 Index: linux-2.6.32.9/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 ===================================================================
3 --- linux-2.6.32.9.orig/arch/mips/bcm63xx/boards/board_bcm963xx.c 2010-02-28 18:55:54.000000000 +0100
4 +++ linux-2.6.32.9/arch/mips/bcm63xx/boards/board_bcm963xx.c 2010-02-28 19:01:23.000000000 +0100
5 @@ -589,6 +589,63 @@
6
7 .has_ohci0 = 1,
8 .has_ehci0 = 1,
9 +
10 + .leds = {
11 + /*Each led on alice gate is bi-color */
12 + {
13 + .name = "power:red",
14 + .gpio = 5,
15 + .active_low = 1,
16 + },
17 + {
18 + .name = "power:green",
19 + .gpio = 4,
20 + .active_low = 1,
21 + .default_trigger = "default-on",
22 + },
23 + {
24 + .name = "wifi:red",
25 + .gpio = 23,
26 + .active_low = 1,
27 + },
28 + {
29 + .name = "wifi:green",
30 + .gpio = 22,
31 + .active_low = 1,
32 + },
33 + {
34 + .name = "usr1:red",
35 + .gpio = 27,
36 + .active_low = 1,
37 + },
38 + {
39 + .name = "usr1:green",
40 + .gpio = 26,
41 + .active_low = 1,
42 + },
43 + {
44 + .name = "usr2:red",
45 + .gpio = 30,
46 + .active_low = 1,
47 + },
48 + {
49 + .name = "usr2:green",
50 + .gpio = 29,
51 + .active_low = 1,
52 + },
53 + },
54 +
55 + .reset_buttons = {
56 + {
57 + .desc = "sw2",
58 + .gpio = 37,
59 + .active_low = 1,
60 + .type = EV_KEY,
61 + .code = BTN_0,
62 + .threshold = 3,
63 + },
64 + },
65 + /* sw1 is connected to gpio34*/
66 };
67
68 static struct board_info __initdata board_DWVS0 = {
This page took 0.041434 seconds and 5 git commands to generate.