ARM: dts: gr-peach: Add user led device nodes
authorJacopo Mondi <jacopo+renesas@jmondi.org>
Thu, 24 Aug 2017 08:48:43 +0000 (10:48 +0200)
committerSimon Horman <horms+renesas@verge.net.au>
Tue, 19 Sep 2017 09:19:49 +0000 (11:19 +0200)
Add device nodes for user leds on gr-peach board.

Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/boot/dts/r7s72100-gr-peach.dts

index bcfa644..13d745b 100644 (file)
@@ -11,6 +11,7 @@
 
 /dts-v1/;
 #include "r7s72100.dtsi"
+#include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/pinctrl/r7s72100-pinctrl.h>
 
 / {
                        reg = <0x00600000 0x00200000>;
                };
        };
+
+leds {
+               status = "okay";
+               compatible = "gpio-leds";
+
+               led1 {
+                       gpios = <&port6 12 GPIO_ACTIVE_HIGH>;
+               };
+       };
 };
 
 &pinctrl {