ARM: dts: BCM5301X: Add missing Netgear R8000 LEDs and Keys
PATCH v2 1/1 ARM: dts: BCM5301X: Add missing Netgear R8000 LEDs and Keys
From: Aditya Xavier <[email protected]>
Added two WAN status LEDs and a GPIO Key for Brightness which were missing.
V2: Updated subject, Power LED names, and WAN labels.
--- arch/arm/boot/dts/bcm4709-netgear-r8000.dts | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-)
arch/arm/boot/dts/bcm4709-netgear-r8000.dts +20 -2
@@ -27,18 +27,30 @@ leds { compatible = "gpio-leds"; - power0 { + power-white { label = "bcm53xx:white:power"; gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>; linux,default-trigger = "default-on"; }; - power1 { + power-amber { label = "bcm53xx:amber:power"; gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>; linux,default-trigger = "default-off"; }; + wan-white { + label = "bcm53xx:white:wan"; + gpios = <&chipcommon 8 GPIO_ACTIVE_LOW>; + linux,default-trigger = "default-on"; + }; + + wan-amber { + label = "bcm53xx:amber:wan"; + gpios = <&chipcommon 9 GPIO_ACTIVE_HIGH>; + linux,default-trigger = "default-off"; + }; + 5ghz-1 { label = "bcm53xx:white:5ghz-1"; gpios = <&chipcommon 12 GPIO_ACTIVE_LOW>;
@@ -104,6 +116,12 @@ linux,code = <KEY_RESTART>; gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>; }; + + brightness { + label = "Backlight"; + linux,code = <KEY_BRIGHTNESS_ZERO>; + gpios = <&chipcommon 19 GPIO_ACTIVE_LOW>; + }; }; };
Signature · 1 line
2.9.3
Quoted 4 lines · AdityaXavier
From: Aditya Xavier <[email protected]>
Added two WAN status LEDs and a GPIO Key for Brightness which were missing.
V2: Updated subject, Power LED names, and WAN labels.
Changelog (V2 ... part) should go into that /comments/ section (see below).
Florian: can you drop that line when applying this patch? Otherwise it looks OK to me.
Quoted 1 line
Signed-off-by Aditya Xavier <[email protected]>
Thanks for the patch!
Quoted 1 line
---
Right here, below these 3 dashes is a place where you can add extra comments (they won't go into log when doing "git am").
Quoted 56 lines
arch/arm/boot/dts/bcm4709-netgear-r8000.dts | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-)arch/arm/boot/dts/bcm4709-netgear-r8000.dts +20
-3@@ -27,18 +27,30 @@ leds { compatible = "gpio-leds"; - power0 { + power-white { label = "bcm53xx:white:power"; gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>; linux,default-trigger = "default-on"; }; - power1 { + power-amber { label = "bcm53xx:amber:power"; gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>; linux,default-trigger = "default-off"; }; + wan-white { + label = "bcm53xx:white:wan"; + gpios = <&chipcommon 8 GPIO_ACTIVE_LOW>; + linux,default-trigger = "default-on"; + }; + + wan-amber { + label = "bcm53xx:amber:wan"; + gpios = <&chipcommon 9 GPIO_ACTIVE_HIGH>; + linux,default-trigger = "default-off"; + }; + 5ghz-1 { label = "bcm53xx:white:5ghz-1"; gpios = <&chipcommon 12 GPIO_ACTIVE_LOW>;@@ -104,6 +116,12 @@ linux,code = <KEY_RESTART>; gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>; }; + + brightness { + label = "Backlight"; + linux,code = <KEY_BRIGHTNESS_ZERO>; + gpios = <&chipcommon 19 GPIO_ACTIVE_LOW>; + }; }; }; --2.9.3
Signature · 1 line
Rafa?
Would you require me to send the revised Patch ?
Or would this do ?
And thanks for guiding me through this process :)
Quoted 86 lines · Rafa? Mi?ecki
Quoted 4 lines · AdityaXavier
From: Aditya Xavier <[email protected]>
Added two WAN status LEDs and a GPIO Key for Brightness which were missing.
V2: Updated subject, Power LED names, and WAN labels.Changelog (V2 ... part) should go into that /comments/ section (see below).
Florian: can you drop that line when applying this patch? Otherwise it looks OK to me.Quoted 1 line
Signed-off-by Aditya Xavier <[email protected]>Acked-by Rafa? Mi?ecki <[email protected]>Thanks for the patch!
Quoted 1 line
---
Right here, below these 3 dashes is a place where you can add extra comments (they won't go into log when doing "git am").
Quoted 56 lines
arch/arm/boot/dts/bcm4709-netgear-r8000.dts| 22 ++++++++++++++++++++--1 file changed, 20 insertions(+), 2 deletions(-)arch/arm/boot/dts/bcm4709-netgear-r8000.dts +20
-3@@ -27,18 +27,30 @@ leds { compatible = "gpio-leds"; - power0 { + power-white { label = "bcm53xx:white:power"; gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>; linux,default-trigger = "default-on"; }; - power1 { + power-amber { label = "bcm53xx:amber:power"; gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>; linux,default-trigger = "default-off"; }; + wan-white { + label = "bcm53xx:white:wan"; + gpios = <&chipcommon 8 GPIO_ACTIVE_LOW>; + linux,default-trigger = "default-on"; + }; + + wan-amber { + label = "bcm53xx:amber:wan"; + gpios = <&chipcommon 9 GPIO_ACTIVE_HIGH>; + linux,default-trigger = "default-off"; + }; + 5ghz-1 { label = "bcm53xx:white:5ghz-1"; gpios = <&chipcommon 12 GPIO_ACTIVE_LOW>;@@ -104,6 +116,12 @@ linux,code = <KEY_RESTART>; gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>; }; + + brightness { + label = "Backlight"; + linux,code = <KEY_BRIGHTNESS_ZERO>; + gpios = <&chipcommon 19 GPIO_ACTIVE_LOW>; + }; }; }; --2.9.3
Signature · 1 line
Rafa?
Quoted 3 lines · Aditya Xavier
Would you require me to send the revised Patch ?
Or would this do ?
Will take care of it this time.
Quoted 91 lines
And thanks for guiding me through this process :)
Quoted 86 lines · Rafa? Mi?ecki
Quoted 4 lines · AdityaXavier
From: Aditya Xavier <[email protected]>
Added two WAN status LEDs and a GPIO Key for Brightness which were missing.
V2: Updated subject, Power LED names, and WAN labels.Changelog (V2 ... part) should go into that /comments/ section (see below).
Florian: can you drop that line when applying this patch? Otherwise it looks OK to me.Quoted 1 line
Signed-off-by Aditya Xavier <[email protected]>Acked-by Rafa? Mi?ecki <[email protected]>Thanks for the patch!
Quoted 1 line
---
Right here, below these 3 dashes is a place where you can add extra comments (they won't go into log when doing "git am").
Quoted 56 lines
arch/arm/boot/dts/bcm4709-netgear-r8000.dts| 22 ++++++++++++++++++++--1 file changed, 20 insertions(+), 2 deletions(-)arch/arm/boot/dts/bcm4709-netgear-r8000.dts +20
-3@@ -27,18 +27,30 @@ leds { compatible = "gpio-leds"; - power0 { + power-white { label = "bcm53xx:white:power"; gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>; linux,default-trigger = "default-on"; }; - power1 { + power-amber { label = "bcm53xx:amber:power"; gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>; linux,default-trigger = "default-off"; }; + wan-white { + label = "bcm53xx:white:wan"; + gpios = <&chipcommon 8 GPIO_ACTIVE_LOW>; + linux,default-trigger = "default-on"; + }; + + wan-amber { + label = "bcm53xx:amber:wan"; + gpios = <&chipcommon 9 GPIO_ACTIVE_HIGH>; + linux,default-trigger = "default-off"; + }; + 5ghz-1 { label = "bcm53xx:white:5ghz-1"; gpios = <&chipcommon 12 GPIO_ACTIVE_LOW>;@@ -104,6 +116,12 @@ linux,code = <KEY_RESTART>; gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>; }; + + brightness { + label = "Backlight"; + linux,code = <KEY_BRIGHTNESS_ZERO>; + gpios = <&chipcommon 19 GPIO_ACTIVE_LOW>; + }; }; }; --2.9.3
Signature · 1 line
Rafa?
Signature · 1 line
Florian