kernel: update kernel 3.18 to version 3.18.29
[openwrt.git] / target / linux / bcm53xx / patches-4.4 / 032-ARM-BCM5301X-Add-missing-Netgear-R8000-LEDs.patch
1 From 9789f1fd1fd1d0551132778414faf8e2254408c1 Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <zajec5@gmail.com>
3 Date: Fri, 30 Oct 2015 15:44:01 +0100
4 Subject: [PATCH] ARM: BCM5301X: Add missing Netgear R8000 LEDs
5 MIME-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8
9 Add a bunch of LEDs missing for the Netgear R8000: wireless, wps, 5Ghz radio
10 and USB LEDs.
11
12 Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
13 Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
14 ---
15  arch/arm/boot/dts/bcm4709-netgear-r8000.dts | 30 +++++++++++++++++++++++++++++
16  1 file changed, 30 insertions(+)
17
18 --- a/arch/arm/boot/dts/bcm4709-netgear-r8000.dts
19 +++ b/arch/arm/boot/dts/bcm4709-netgear-r8000.dts
20 @@ -50,6 +50,36 @@
21                         gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>;
22                         linux,default-trigger = "default-off";
23                 };
24 +
25 +               wireless {
26 +                       label = "bcm53xx:white:wireless";
27 +                       gpios = <&chipcommon 14 GPIO_ACTIVE_HIGH>;
28 +                       linux,default-trigger = "default-off";
29 +               };
30 +
31 +               wps {
32 +                       label = "bcm53xx:white:wps";
33 +                       gpios = <&chipcommon 15 GPIO_ACTIVE_HIGH>;
34 +                       linux,default-trigger = "default-off";
35 +               };
36 +
37 +               5ghz-2 {
38 +                       label = "bcm53xx:white:5ghz-2";
39 +                       gpios = <&chipcommon 16 GPIO_ACTIVE_LOW>;
40 +                       linux,default-trigger = "default-off";
41 +               };
42 +
43 +               usb3 {
44 +                       label = "bcm53xx:white:usb3";
45 +                       gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>;
46 +                       linux,default-trigger = "default-off";
47 +               };
48 +
49 +               usb2 {
50 +                       label = "bcm53xx:white:usb2";
51 +                       gpios = <&chipcommon 18 GPIO_ACTIVE_LOW>;
52 +                       linux,default-trigger = "default-off";
53 +               };
54         };
55  
56         gpio-keys {