]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: shmobile: lager-reference: Add LED6-LED8 to the device tree
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Tue, 16 Jul 2013 09:45:56 +0000 (11:45 +0200)
committerSimon Horman <horms+renesas@verge.net.au>
Tue, 23 Jul 2013 01:05:34 +0000 (10:05 +0900)
LED6 to LED8 are GPIO LEDs. Add corresponding DT nodes.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/boot/dts/r8a7790-lager-reference.dts

index fa5b81bddd53a7541815af081fb0de36d5e5313a..5ee71cf5e36492b110d19a2529bfd0115878325e 100644 (file)
@@ -10,6 +10,7 @@
 
 /dts-v1/;
 /include/ "r8a7790.dtsi"
+#include <dt-bindings/gpio/gpio.h>
 
 / {
        model = "Lager";
                #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>;
+               };
+       };
 };