rpcd: iwinfo plugin fixes
[openwrt/svn-archive/archive.git] / target / linux / brcm63xx / patches-4.1 / 550-MIPS-BCM63XX-remove-leds-and-buttons.patch
1 From 997f53b174c63153335508c22dc4493e8e5808d6 Mon Sep 17 00:00:00 2001
2 From: Jonas Gorski <jogo@openwrt.org>
3 Date: Sun, 22 Feb 2015 17:52:32 +0100
4 Subject: [PATCH] MIPS: BCM63XX: remove leds and buttons
5
6 ---
7 arch/mips/bcm63xx/boards/board_bcm963xx.c | 262 -----------------------------
8 1 file changed, 262 deletions(-)
9
10 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
11 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
12 @@ -51,14 +51,6 @@ static struct board_info __initdata boar
13 .use_internal_phy = 1,
14 },
15
16 - .leds = {
17 - {
18 - .name = "CVG834G:green:power",
19 - .gpio = 37,
20 - .default_trigger= "default-on",
21 - },
22 - },
23 -
24 .ephy_reset_gpio = 36,
25 .ephy_reset_gpio_flags = GPIO_ACTIVE_LOW,
26 };
27 @@ -82,35 +74,6 @@ static struct board_info __initdata boar
28 .port_no = 0,
29 },
30
31 - .leds = {
32 - {
33 - .name = "96328avng::ppp-fail",
34 - .gpio = 2,
35 - .active_low = 1,
36 - },
37 - {
38 - .name = "96328avng::power",
39 - .gpio = 4,
40 - .active_low = 1,
41 - .default_trigger = "default-on",
42 - },
43 - {
44 - .name = "96328avng::power-fail",
45 - .gpio = 8,
46 - .active_low = 1,
47 - },
48 - {
49 - .name = "96328avng::wps",
50 - .gpio = 9,
51 - .active_low = 1,
52 - },
53 - {
54 - .name = "96328avng::ppp",
55 - .gpio = 11,
56 - .active_low = 1,
57 - },
58 - },
59 -
60 .has_enetsw = 1,
61
62 .enetsw = {
63 @@ -448,35 +411,6 @@ static struct board_info __initdata boar
64 },
65
66 .has_ohci0 = 1,
67 -
68 - .leds = {
69 - {
70 - .name = "adsl",
71 - .gpio = 3,
72 - .active_low = 1,
73 - },
74 - {
75 - .name = "ses",
76 - .gpio = 5,
77 - .active_low = 1,
78 - },
79 - {
80 - .name = "ppp-fail",
81 - .gpio = 4,
82 - .active_low = 1,
83 - },
84 - {
85 - .name = "power",
86 - .gpio = 0,
87 - .active_low = 1,
88 - .default_trigger = "default-on",
89 - },
90 - {
91 - .name = "stop",
92 - .gpio = 1,
93 - .active_low = 1,
94 - }
95 - },
96 };
97
98 static struct board_info __initdata board_96338w = {
99 @@ -491,35 +425,6 @@ static struct board_info __initdata boar
100 .force_speed_100 = 1,
101 .force_duplex_full = 1,
102 },
103 -
104 - .leds = {
105 - {
106 - .name = "adsl",
107 - .gpio = 3,
108 - .active_low = 1,
109 - },
110 - {
111 - .name = "ses",
112 - .gpio = 5,
113 - .active_low = 1,
114 - },
115 - {
116 - .name = "ppp-fail",
117 - .gpio = 4,
118 - .active_low = 1,
119 - },
120 - {
121 - .name = "power",
122 - .gpio = 0,
123 - .active_low = 1,
124 - .default_trigger = "default-on",
125 - },
126 - {
127 - .name = "stop",
128 - .gpio = 1,
129 - .active_low = 1,
130 - },
131 - },
132 };
133
134 static struct board_info __initdata board_96338w2_e7t = {
135 @@ -618,36 +523,6 @@ static struct board_info __initdata boar
136 .has_phy = 1,
137 .use_internal_phy = 1,
138 },
139 -
140 - .leds = {
141 - {
142 - .name = "adsl-fail",
143 - .gpio = 2,
144 - .active_low = 1,
145 - },
146 - {
147 - .name = "ppp",
148 - .gpio = 3,
149 - .active_low = 1,
150 - },
151 - {
152 - .name = "ppp-fail",
153 - .gpio = 4,
154 - .active_low = 1,
155 - },
156 - {
157 - .name = "power",
158 - .gpio = 0,
159 - .active_low = 1,
160 - .default_trigger = "default-on",
161 -
162 - },
163 - {
164 - .name = "stop",
165 - .gpio = 1,
166 - .active_low = 1,
167 - },
168 - },
169 };
170
171 static struct board_info __initdata board_96348gw_10 = {
172 @@ -682,35 +557,6 @@ static struct board_info __initdata boar
173 .cs = 2,
174 .ext_irq = 2,
175 },
176 -
177 - .leds = {
178 - {
179 - .name = "adsl-fail",
180 - .gpio = 2,
181 - .active_low = 1,
182 - },
183 - {
184 - .name = "ppp",
185 - .gpio = 3,
186 - .active_low = 1,
187 - },
188 - {
189 - .name = "ppp-fail",
190 - .gpio = 4,
191 - .active_low = 1,
192 - },
193 - {
194 - .name = "power",
195 - .gpio = 0,
196 - .active_low = 1,
197 - .default_trigger = "default-on",
198 - },
199 - {
200 - .name = "stop",
201 - .gpio = 1,
202 - .active_low = 1,
203 - },
204 - },
205 };
206
207 static struct board_info __initdata board_96348gw_11 = {
208 @@ -739,35 +585,6 @@ static struct board_info __initdata boar
209 .has_ohci0 = 1,
210 .has_pccard = 1,
211 .has_ehci0 = 1,
212 -
213 - .leds = {
214 - {
215 - .name = "adsl-fail",
216 - .gpio = 2,
217 - .active_low = 1,
218 - },
219 - {
220 - .name = "ppp",
221 - .gpio = 3,
222 - .active_low = 1,
223 - },
224 - {
225 - .name = "ppp-fail",
226 - .gpio = 4,
227 - .active_low = 1,
228 - },
229 - {
230 - .name = "power",
231 - .gpio = 0,
232 - .active_low = 1,
233 - .default_trigger = "default-on",
234 - },
235 - {
236 - .name = "stop",
237 - .gpio = 1,
238 - .active_low = 1,
239 - },
240 - },
241 };
242
243
244 @@ -893,35 +710,6 @@ static struct board_info __initdata boar
245 .ext_irq = 2,
246 .cs = 2,
247 },
248 -
249 - .leds = {
250 - {
251 - .name = "adsl-fail",
252 - .gpio = 2,
253 - .active_low = 1,
254 - },
255 - {
256 - .name = "ppp",
257 - .gpio = 3,
258 - .active_low = 1,
259 - },
260 - {
261 - .name = "ppp-fail",
262 - .gpio = 4,
263 - .active_low = 1,
264 - },
265 - {
266 - .name = "power",
267 - .gpio = 0,
268 - .active_low = 1,
269 - .default_trigger = "default-on",
270 - },
271 - {
272 - .name = "stop",
273 - .gpio = 1,
274 - .active_low = 1,
275 - },
276 - },
277 };
278
279 static struct board_info __initdata board_gw6200 = {
280 @@ -1258,33 +1046,6 @@ static struct board_info __initdata boar
281 .has_ohci0 = 1,
282 .has_pccard = 1,
283 .has_ehci0 = 1,
284 -
285 - .leds = {
286 - {
287 - .name = "adsl-fail",
288 - .gpio = 15,
289 - .active_low = 1,
290 - },
291 - {
292 - .name = "ppp",
293 - .gpio = 22,
294 - .active_low = 1,
295 - },
296 - {
297 - .name = "ppp-fail",
298 - .gpio = 23,
299 - .active_low = 1,
300 - },
301 - {
302 - .name = "power",
303 - .gpio = 4,
304 - .default_trigger = "default-on",
305 - },
306 - {
307 - .name = "stop",
308 - .gpio = 5,
309 - },
310 - },
311 };
312
313 static struct board_info __initdata board_96358vw2 = {
314 @@ -1314,29 +1075,6 @@ static struct board_info __initdata boar
315 .has_pccard = 1,
316 .has_ehci0 = 1,
317 .num_usbh_ports = 2,
318 -
319 - .leds = {
320 - {
321 - .name = "adsl",
322 - .gpio = 22,
323 - .active_low = 1,
324 - },
325 - {
326 - .name = "ppp-fail",
327 - .gpio = 23,
328 - },
329 - {
330 - .name = "power",
331 - .gpio = 5,
332 - .active_low = 1,
333 - .default_trigger = "default-on",
334 - },
335 - {
336 - .name = "stop",
337 - .gpio = 4,
338 - .active_low = 1,
339 - },
340 - },
341 };
342
343 static struct board_info __initdata board_CPVA642 = {