c394f3c481f3c67ed0cd69dbe81b920e3db39675
[openwrt/staging/chunkeey.git] / target / linux / bcm53xx / patches-3.18 / 045-ARM-BCM5301X-Add-LEDs-for-Netgear-R6250-V1.patch
1 From b7e4d148906685882a081e7e50692313c5a8724e Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <zajec5@gmail.com>
3 Date: Wed, 1 Oct 2014 09:23:09 +0200
4 Subject: [PATCH 2/2] ARM: BCM5301X: Add LEDs for Netgear R6250 V1
5 MIME-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8
9 Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
10 ---
11 arch/arm/boot/dts/bcm4708-netgear-r6250.dts | 34 +++++++++++++++++++++++++++++
12 1 file changed, 34 insertions(+)
13
14 --- a/arch/arm/boot/dts/bcm4708-netgear-r6250.dts
15 +++ b/arch/arm/boot/dts/bcm4708-netgear-r6250.dts
16 @@ -32,4 +32,38 @@
17 status = "okay";
18 };
19 };
20 +
21 + leds {
22 + compatible = "gpio-leds";
23 +
24 + logo {
25 + label = "bcm53xx:white:logo";
26 + gpios = <&chipcommon 1 GPIO_ACTIVE_HIGH>;
27 + linux,default-trigger = "default-on";
28 + };
29 +
30 + power0 {
31 + label = "bcm53xx:green:power";
32 + gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
33 + linux,default-trigger = "default-off";
34 + };
35 +
36 + power1 {
37 + label = "bcm53xx:amber:power";
38 + gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
39 + linux,default-trigger = "default-on";
40 + };
41 +
42 + usb {
43 + label = "bcm53xx:blue:usb";
44 + gpios = <&chipcommon 8 GPIO_ACTIVE_LOW>;
45 + linux,default-trigger = "default-off";
46 + };
47 +
48 + wireless {
49 + label = "bcm53xx:blue:wireless";
50 + gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
51 + linux,default-trigger = "default-off";
52 + };
53 + };
54 };