All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: shmobile: lager-reference: Add LED6-LED8 to the device tree
@ 2013-07-16  9:45 Laurent Pinchart
  2013-07-23  1:24 ` Simon Horman
  2014-03-17  2:18   ` Simon Horman
  0 siblings, 2 replies; 12+ messages in thread
From: Laurent Pinchart @ 2013-07-16  9:45 UTC (permalink / raw)
  To: linux-sh

LED6 to LED8 are GPIO LEDs. Add corresponding DT nodes.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
---
 arch/arm/boot/dts/r8a7790-lager-reference.dts | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

The patch is based on renesas-devel-20130716.

diff --git a/arch/arm/boot/dts/r8a7790-lager-reference.dts b/arch/arm/boot/dts/r8a7790-lager-reference.dts
index fa5b81b..5ee71cf5 100644
--- a/arch/arm/boot/dts/r8a7790-lager-reference.dts
+++ b/arch/arm/boot/dts/r8a7790-lager-reference.dts
@@ -10,6 +10,7 @@
 
 /dts-v1/;
 /include/ "r8a7790.dtsi"
+#include <dt-bindings/gpio/gpio.h>
 
 / {
 	model = "Lager";
@@ -28,4 +29,17 @@
 		#address-cells = <1>;
 		#size-cells = <1>;
 	};
+
+	leds {
+		compatible = "gpio-leds";
+		led6 {
+			gpios = <&gpio4 22 GPIO_ACTIVE_HIGH>;
+		};
+		led7 {
+			gpios = <&gpio4 23 GPIO_ACTIVE_HIGH>;
+		};
+		led8 {
+			gpios = <&gpio5 17 GPIO_ACTIVE_HIGH>;
+		};
+	};
 };
-- 
Regards,

Laurent Pinchart


^ permalink raw reply related	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2014-03-17  8:21 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-16  9:45 [PATCH] ARM: shmobile: lager-reference: Add LED6-LED8 to the device tree Laurent Pinchart
2013-07-23  1:24 ` Simon Horman
2014-03-17  2:18 ` [PATCH] ARM: shmobile: lager-reference: Work around core clock issues Simon Horman
2014-03-17  2:18   ` Simon Horman
2014-03-17  2:26   ` Kuninori Morimoto
2014-03-17  2:26     ` Kuninori Morimoto
2014-03-17  3:44     ` Simon Horman
2014-03-17  3:44       ` Simon Horman
2014-03-17  8:01   ` Geert Uytterhoeven
2014-03-17  8:01     ` Geert Uytterhoeven
2014-03-17  8:21     ` Simon Horman
2014-03-17  8:21       ` Simon Horman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.