OSDN Git Service

ARM: shmobile: Koelsch DT reference GPIO LED support
authorMagnus Damm <damm@opensource.se>
Thu, 21 Nov 2013 00:44:04 +0000 (09:44 +0900)
committerSimon Horman <horms+renesas@verge.net.au>
Tue, 10 Dec 2013 08:27:15 +0000 (17:27 +0900)
Add led6, led7 and led8 to the Koelsch DT reference board support.

Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/boot/dts/r8a7791-koelsch-reference.dts

index 8e7e917..1919273 100644 (file)
@@ -11,6 +11,7 @@
 
 /dts-v1/;
 #include "r8a7791.dtsi"
+#include <dt-bindings/gpio/gpio.h>
 
 / {
        model = "Koelsch";
                #address-cells = <1>;
                #size-cells = <1>;
        };
+
+       leds {
+               compatible = "gpio-leds";
+               led6 {
+                       gpios = <&gpio2 19 GPIO_ACTIVE_HIGH>;
+               };
+               led7 {
+                       gpios = <&gpio2 20 GPIO_ACTIVE_HIGH>;
+               };
+               led8 {
+                       gpios = <&gpio2 21 GPIO_ACTIVE_HIGH>;
+               };
+       };
 };
 
 &pfc {