linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: shmobile: Enable GPIO LEDs on Genmai
@ 2013-11-13 23:42 Magnus Damm
  2013-11-19  2:04 ` Simon Horman
  0 siblings, 1 reply; 3+ messages in thread
From: Magnus Damm @ 2013-11-13 23:42 UTC (permalink / raw)
  To: linux-arm-kernel

From: Magnus Damm <damm@opensource.se>

Enable led1 and led2 on the Genmai board using
the r7s72100 SoC and the GPIO RZ driver.

Signed-off-by: Magnus Damm <damm@opensource.se>
---

 arch/arm/boot/dts/r7s72100-genmai-reference.dts |   13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

--- 0001/arch/arm/boot/dts/r7s72100-genmai-reference.dts
+++ work/arch/arm/boot/dts/r7s72100-genmai-reference.dts	2013-11-13 22:39:40.000000000 +0900
@@ -9,7 +9,8 @@
  */
 
 /dts-v1/;
-/include/ "r7s72100.dtsi"
+#include "r7s72100.dtsi"
+#include <dt-bindings/gpio/gpio.h>
 
 / {
 	model = "Genmai";
@@ -28,4 +29,14 @@
 		#address-cells = <1>;
 		#size-cells = <1>;
 	};
+
+	leds {
+		compatible = "gpio-leds";
+		led1 {
+			gpios = <&p4 10 GPIO_ACTIVE_LOW>;
+		};
+		led2 {
+			gpios = <&p4 11 GPIO_ACTIVE_LOW>;
+		};
+	};
 };

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

end of thread, other threads:[~2013-11-19  2:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-13 23:42 [PATCH] ARM: shmobile: Enable GPIO LEDs on Genmai Magnus Damm
2013-11-19  2:04 ` Simon Horman
2013-11-19  2:08   ` Simon Horman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).