ARM: shmobile: armadillo-reference: Add LED1-LED4 to the device tree
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Thu, 9 May 2013 22:23:04 +0000 (00:23 +0200)
committerSimon Horman <horms+renesas@verge.net.au>
Mon, 22 Jul 2013 01:12:38 +0000 (10:12 +0900)
LED1 to LED4 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/r8a7740-armadillo800eva-reference.dts

index 8ec4cd174a5886a10a75e010e123733b0e12f397..366f72989dc369b886468d7f25eea7f2f87200c5 100644 (file)
                regulator-boot-on;
        };
 
+       leds {
+               compatible = "gpio-leds";
+               led1 {
+                       gpios = <&pfc 102 GPIO_ACTIVE_HIGH>;
+               };
+               led2 {
+                       gpios = <&pfc 111 GPIO_ACTIVE_HIGH>;
+               };
+               led3 {
+                       gpios = <&pfc 110 GPIO_ACTIVE_HIGH>;
+               };
+               led4 {
+                       gpios = <&pfc 177 GPIO_ACTIVE_HIGH>;
+               };
+       };
 };
 
 &i2c0 {
This page took 0.025782 seconds and 5 git commands to generate.