OSDN Git Service

arm64: dts: m3ulcb: enable GPIO leds
authorVladimir Barinov <vladimir.barinov@cogentembedded.com>
Thu, 3 Nov 2016 18:07:31 +0000 (21:07 +0300)
committerSimon Horman <horms+renesas@verge.net.au>
Mon, 21 Nov 2016 09:18:48 +0000 (10:18 +0100)
This supports GPIO leds on M3ULCB board

Signed-off-by: Vladimir Barinov <vladimir.barinov@cogentembedded.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm64/boot/dts/renesas/r8a7796-m3ulcb.dts

index 96cda59..49162bd 100644 (file)
                /* first 128MB is reserved for secure area. */
                reg = <0x0 0x48000000 0x0 0x38000000>;
        };
+
+       leds {
+               compatible = "gpio-leds";
+
+               led5 {
+                       gpios = <&gpio6 12 GPIO_ACTIVE_HIGH>;
+               };
+               led6 {
+                       gpios = <&gpio6 13 GPIO_ACTIVE_HIGH>;
+               };
+       };
 };
 
 &extal_clk {