ARM: dts: blanche: add support for general purpose LEDs
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Wed, 24 Aug 2016 19:22:22 +0000 (22:22 +0300)
committerSimon Horman <horms+renesas@verge.net.au>
Fri, 26 Aug 2016 13:40:34 +0000 (15:40 +0200)
Add support for the general purpose LEDs on the Blanche board.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/boot/dts/r8a7792-blanche.dts

index 3c6f42b..f3ea43b 100644 (file)
                };
        };
 
+       leds {
+               compatible = "gpio-leds";
+
+               led17 {
+                       gpios = <&gpio10 10 GPIO_ACTIVE_HIGH>;
+               };
+               led18 {
+                       gpios = <&gpio10 11 GPIO_ACTIVE_HIGH>;
+               };
+               led19 {
+                       gpios = <&gpio10 12 GPIO_ACTIVE_HIGH>;
+               };
+               led20 {
+                       gpios = <&gpio10 23 GPIO_ACTIVE_HIGH>;
+               };
+       };
+
        vcc_sdhi0: regulator-vcc-sdhi0 {
                compatible = "regulator-fixed";