1 From 4a5782a889cfbc8523d7097c3f147572ed5129a6 Mon Sep 17 00:00:00 2001
2 From: Aditya Xavier <adityaxavier@gmail.com>
3 Date: Sat, 28 Jan 2017 20:07:49 +0530
4 Subject: [PATCH] ARM: dts: BCM5301X: Add missing Netgear R8000 LEDs and Keys
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
9 Added two WAN status LEDs and a GPIO key for brightness which were
12 Signed-off-by: Aditya Xavier <adityaxavier@gmail.com>
13 Acked-by: Rafał Miłecki <rafal@milecki.pl>
14 Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
16 arch/arm/boot/dts/bcm4709-netgear-r8000.dts | 22 ++++++++++++++++++++--
17 1 file changed, 20 insertions(+), 2 deletions(-)
19 --- a/arch/arm/boot/dts/bcm4709-netgear-r8000.dts
20 +++ b/arch/arm/boot/dts/bcm4709-netgear-r8000.dts
23 compatible = "gpio-leds";
27 label = "bcm53xx:white:power";
28 gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
29 linux,default-trigger = "default-on";
34 label = "bcm53xx:amber:power";
35 gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
36 linux,default-trigger = "default-off";
40 + label = "bcm53xx:white:wan";
41 + gpios = <&chipcommon 8 GPIO_ACTIVE_LOW>;
42 + linux,default-trigger = "default-on";
46 + label = "bcm53xx:amber:wan";
47 + gpios = <&chipcommon 9 GPIO_ACTIVE_HIGH>;
48 + linux,default-trigger = "default-off";
52 label = "bcm53xx:white:5ghz-1";
53 gpios = <&chipcommon 12 GPIO_ACTIVE_LOW>;
55 linux,code = <KEY_RESTART>;
56 gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>;
60 + label = "Backlight";
61 + linux,code = <KEY_BRIGHTNESS_ZERO>;
62 + gpios = <&chipcommon 19 GPIO_ACTIVE_LOW>;