diff options
author | Jacopo Mondi <jacopo+renesas@jmondi.org> | 2017-06-22 17:54:35 +0300 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2017-07-31 18:09:53 +0300 |
commit | 55ec65552d3b53987853c61bd487de9e239f06a3 (patch) | |
tree | 5def5cbd75ecbc0cdce815692bff6bde3c2828dd /arch/arm/boot/dts/r7s72100-genmai.dts | |
parent | 2d164e690f040c5bb58117ab35175ae585f53c58 (diff) | |
download | linux-55ec65552d3b53987853c61bd487de9e239f06a3.tar.xz |
ARM: dts: genmai: Add user led device nodes
Add device nodes for user leds on Genmai 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-genmai.dts')
-rw-r--r-- | arch/arm/boot/dts/r7s72100-genmai.dts | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/r7s72100-genmai.dts b/arch/arm/boot/dts/r7s72100-genmai.dts index 0766661d4206..e7824f0857c6 100644 --- a/arch/arm/boot/dts/r7s72100-genmai.dts +++ b/arch/arm/boot/dts/r7s72100-genmai.dts @@ -11,6 +11,7 @@ /dts-v1/; #include "r7s72100.dtsi" +#include <dt-bindings/gpio/gpio.h> #include <dt-bindings/pinctrl/r7s72100-pinctrl.h> / { @@ -35,6 +36,19 @@ #address-cells = <1>; #size-cells = <1>; }; + + leds { + status = "okay"; + compatible = "gpio-leds"; + + led1 { + gpios = <&port4 10 GPIO_ACTIVE_LOW>; + }; + + led2 { + gpios = <&port4 11 GPIO_ACTIVE_LOW>; + }; + }; }; &pinctrl { |