arm64: dts: h3ulcb: enable GPIO leds
authorVladimir Barinov <vladimir.barinov@cogentembedded.com>
Mon, 5 Sep 2016 12:40:21 +0000 (15:40 +0300)
committerSimon Horman <horms+renesas@verge.net.au>
Thu, 8 Sep 2016 07:35:25 +0000 (09:35 +0200)
This supports GPIO leds on H3ULCB board

Signed-off-by: Vladimir Barinov <vladimir.barinov@cogentembedded.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm64/boot/dts/renesas/r8a7795-h3ulcb.dts

index c6d4ee336740150b960acb4e9ce50afa6a68ee14..bcb11a86834345c2a4bb6d15c63d4168cd5e4ecd 100644 (file)
                reg = <0x0 0x48000000 0x0 0x38000000>;
        };
 
+       leds {
+               compatible = "gpio-leds";
+
+               led5 {
+                       gpios = <&gpio6 12 GPIO_ACTIVE_HIGH>;
+               };
+               led6 {
+                       gpios = <&gpio6 13 GPIO_ACTIVE_HIGH>;
+               };
+       };
+
        keyboard {
                compatible = "gpio-keys";