diff mbox

[v2] ARM: dts: blanche: add support for general purpose LEDs

Message ID 2604564.o6QQK9elnf@wasted.cogentembedded.com (mailing list archive)
State New, archived
Headers show

Commit Message

Sergei Shtylyov Aug. 24, 2016, 7:22 p.m. UTC
Add support for the general purpose LEDs on the Blanche board.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>

---
This patch is against the 'renesas-devel-20160824-v4.8-rc3' of Simon Horman's
'renesas.git'.

Changes in version 2:
- removed the "label" props.

 arch/arm/boot/dts/r8a7792-blanche.dts |   17 +++++++++++++++++
 1 file changed, 17 insertions(+)

Comments

Simon Horman Aug. 26, 2016, 1:40 p.m. UTC | #1
On Wed, Aug 24, 2016 at 10:22:22PM +0300, Sergei Shtylyov wrote:
> Add support for the general purpose LEDs on the Blanche board.
> 
> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>

Thanks, I have queued this up.
diff mbox

Patch

Index: renesas/arch/arm/boot/dts/r8a7792-blanche.dts
===================================================================
--- renesas.orig/arch/arm/boot/dts/r8a7792-blanche.dts
+++ renesas/arch/arm/boot/dts/r8a7792-blanche.dts
@@ -159,6 +159,23 @@ 
 		};
 	};
 
+	leds {
+		compatible = "gpio-leds";
+
+		led17 {
+			gpios = <&gpio10 10 GPIO_ACTIVE_HIGH>;
+		};
+		led18 {
+			gpios = <&gpio10 11 GPIO_ACTIVE_HIGH>;
+		};
+		led19 {
+			gpios = <&gpio10 12 GPIO_ACTIVE_HIGH>;
+		};
+		led20 {
+			gpios = <&gpio10 23 GPIO_ACTIVE_HIGH>;
+		};
+	};
+
 	vcc_sdhi0: regulator-vcc-sdhi0 {
 		compatible = "regulator-fixed";