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 c6d4ee3..bcb11a8 100644 (file)
                reg = <0x0 0x48000000 0x0 0x38000000>;
        };
 
                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";
 
        keyboard {
                compatible = "gpio-keys";