ARM: shmobile: kzm9g-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:41 +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/sh73a0-kzm9g-reference.dts

index d2b2c9f52c6ffc425f2fc236272b17a02db8fc36..b99e890def54d7e462da5a3065d0aa565295a910 100644 (file)
                vddvario-supply = <&reg_1p8v>;
                vdd33a-supply = <&reg_3p3v>;
        };
+
+       leds {
+               compatible = "gpio-leds";
+               led1 {
+                       gpios = <&pfc 20 GPIO_ACTIVE_LOW>;
+               };
+               led2 {
+                       gpios = <&pfc 21 GPIO_ACTIVE_LOW>;
+               };
+               led3 {
+                       gpios = <&pfc 22 GPIO_ACTIVE_LOW>;
+               };
+               led4 {
+                       gpios = <&pfc 23 GPIO_ACTIVE_LOW>;
+               };
+       };
 };
 
 &i2c0 {
This page took 0.025012 seconds and 5 git commands to generate.