Root/target/linux/brcm63xx/patches-3.3/550-alice_gate2_leds.patch

1--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3@@ -1612,6 +1612,99 @@ static struct board_info __initdata boar
4 
5     .has_ohci0 = 1,
6     .has_ehci0 = 1,
7+
8+ .leds = {
9+ {
10+ .name = "AGPF-S0:red:power",
11+ .gpio = 5,
12+ .active_low = 1,
13+ },
14+ {
15+ .name = "AGPF-S0:green:power",
16+ .gpio = 4,
17+ .active_low = 1,
18+ .default_trigger = "default-on",
19+ },
20+ {
21+ .name = "AGPF-S0:red:service",
22+ .gpio = 7,
23+ .active_low = 1,
24+ },
25+ {
26+ .name = "AGPF-S0:green:service",
27+ .gpio = 6,
28+ .active_low = 1,
29+ },
30+ {
31+ .name = "AGPF-S0:green:adsl",
32+ .gpio = 9,
33+ .active_low = 1,
34+ },
35+ {
36+ .name = "AGPF-S0:red:adsl",
37+ .gpio = 10,
38+ .active_low = 1,
39+ },
40+ {
41+ .name = "AGPF-S0:red:wifi",
42+ .gpio = 23,
43+ .active_low = 1,
44+ },
45+ {
46+ .name = "AGPF-S0:green:wifi",
47+ .gpio = 22,
48+ .active_low = 1,
49+ },
50+ {
51+ .name = "AGPF-S0:green:internet",
52+ .gpio = 25,
53+ .active_low = 1,
54+ },
55+ {
56+ .name = "AGPF-S0:red:internet",
57+ .gpio = 24,
58+ .active_low = 1,
59+ },
60+ {
61+ .name = "AGPF-S0:red:usr1",
62+ .gpio = 27,
63+ .active_low = 1,
64+ },
65+ {
66+ .name = "AGPF-S0:green:usr1",
67+ .gpio = 26,
68+ .active_low = 1,
69+ },
70+ {
71+ .name = "AGPF-S0:red:usr2",
72+ .gpio = 30,
73+ .active_low = 1,
74+ },
75+ {
76+ .name = "AGPF-S0:green:usr2",
77+ .gpio = 29,
78+ .active_low = 1,
79+ },
80+ },
81+
82+ .buttons = {
83+ {
84+ .desc = "reset",
85+ .gpio = 37,
86+ .active_low = 1,
87+ .type = EV_KEY,
88+ .code = KEY_RESTART,
89+ .debounce_interval = BCM963XX_KEYS_DEBOUNCE_INTERVAL,
90+ },
91+ {
92+ .desc = "wps",
93+ .gpio = 34,
94+ .active_low = 1,
95+ .type = EV_KEY,
96+ .code = KEY_WPS_BUTTON,
97+ .debounce_interval = BCM963XX_KEYS_DEBOUNCE_INTERVAL,
98+ },
99+ },
100 };
101 
102 static struct board_info __initdata board_DWVS0 = {
103

Archive Download this file



interactive