diff options
author | Jacopo Mondi <jacopo+renesas@jmondi.org> | 2017-08-24 11:48:43 +0300 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2017-09-19 12:19:49 +0300 |
commit | cfce5ac1aaf08fc0920d6572779360f80e8f3489 (patch) | |
tree | 04bccece0c58ebc5d4ca56289070a0af0696e024 /arch/arm/boot/dts/r7s72100-gr-peach.dts | |
parent | 2f8be2d1dadb2b73a1c1ce244c88c509791f5cf2 (diff) | |
download | linux-cfce5ac1aaf08fc0920d6572779360f80e8f3489.tar.xz |
ARM: dts: gr-peach: Add user led device nodes
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>
Diffstat (limited to 'arch/arm/boot/dts/r7s72100-gr-peach.dts')
-rw-r--r-- | arch/arm/boot/dts/r7s72100-gr-peach.dts | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/r7s72100-gr-peach.dts b/arch/arm/boot/dts/r7s72100-gr-peach.dts index bcfa6445bbaa..13d745bb56a5 100644 --- a/arch/arm/boot/dts/r7s72100-gr-peach.dts +++ b/arch/arm/boot/dts/r7s72100-gr-peach.dts @@ -11,6 +11,7 @@ /dts-v1/; #include "r7s72100.dtsi" +#include <dt-bindings/gpio/gpio.h> #include <dt-bindings/pinctrl/r7s72100-pinctrl.h> / { @@ -51,6 +52,15 @@ reg = <0x00600000 0x00200000>; }; }; + +leds { + status = "okay"; + compatible = "gpio-leds"; + + led1 { + gpios = <&port6 12 GPIO_ACTIVE_HIGH>; + }; + }; }; &pinctrl { |