ar71xx: change mac address initialization
[openwrt.git] / target / linux / brcm63xx / patches-2.6.33 / 150-alice_gate2_leds.patch
1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -588,6 +588,93 @@ static struct board_info __initdata boar
4
5 .has_ohci0 = 1,
6 .has_ehci0 = 1,
7 +
8 + .leds = {
9 + /*Each led on alice gate is bi-color */
10 + {
11 + .name = "power:red",
12 + .gpio = 5,
13 + .active_low = 1,
14 + },
15 + {
16 + .name = "power:green",
17 + .gpio = 4,
18 + .active_low = 1,
19 + .default_trigger = "default-on",
20 + },
21 + {
22 + .name = "service:red",
23 + .gpio = 7,
24 + .active_low = 1,
25 + },
26 + {
27 + .name = "service:green",
28 + .gpio = 6,
29 + .active_low = 1,
30 + },
31 + {
32 + .name = "adsl:red",
33 + .gpio = 9,
34 + .active_low = 1,
35 + },
36 + {
37 + .name = "adsl:green",
38 + .gpio = 10,
39 + .active_low = 1,
40 + },
41 + {
42 + .name = "wifi:red",
43 + .gpio = 23,
44 + .active_low = 1,
45 + },
46 + {
47 + .name = "wifi:green",
48 + .gpio = 22,
49 + .active_low = 1,
50 + },
51 + {
52 + .name = "internet:red",
53 + .gpio = 25,
54 + .active_low = 1,
55 + },
56 + {
57 + .name = "internet:green",
58 + .gpio = 24,
59 + .active_low = 1,
60 + },
61 + {
62 + .name = "usr1:red",
63 + .gpio = 27,
64 + .active_low = 1,
65 + },
66 + {
67 + .name = "usr1:green",
68 + .gpio = 26,
69 + .active_low = 1,
70 + },
71 + {
72 + .name = "usr2:red",
73 + .gpio = 30,
74 + .active_low = 1,
75 + },
76 + {
77 + .name = "usr2:green",
78 + .gpio = 29,
79 + .active_low = 1,
80 + },
81 + },
82 +
83 + .buttons = {
84 + {
85 + .desc = "sw2",
86 + .gpio = 37,
87 + .active_low = 1,
88 + .type = EV_KEY,
89 + .code = KEY_RESTART,
90 + .threshold = 3,
91 + },
92 + },
93 + /* sw1 is connected to gpio34*/
94 };
95
96 static struct board_info __initdata board_DWVS0 = {
97 --- a/arch/mips/include/asm/mach-bcm63xx/board_bcm963xx.h
98 +++ b/arch/mips/include/asm/mach-bcm63xx/board_bcm963xx.h
99 @@ -54,7 +54,7 @@ struct board_info {
100 struct bcm63xx_dsp_platform_data dsp;
101
102 /* GPIO LEDs */
103 - struct gpio_led leds[8];
104 + struct gpio_led leds[14];
105
106 /* Buttons */
107 struct gpio_button buttons[2];
This page took 0.044928 seconds and 5 git commands to generate.