diff options
author | Chris Brandt <chris.brandt@renesas.com> | 2017-07-20 13:20:19 -0500 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2017-07-31 17:10:11 +0200 |
commit | a4604f4d245fe58aac3bc792296ef2e9ec774e12 (patch) | |
tree | 2ea36917dabe72bf60727a0b1b50abd384dd6fbe /arch/arm | |
parent | 35ff4c0edf7779c455cb41e727f59ed10e478416 (diff) |
ARM: dts: rskrza1: Add LED0 pin support
Add pin configuration for LED0 which is connected to a GPIO.
Signed-off-by: Chris Brandt <chris.brandt@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/boot/dts/r7s72100-rskrza1.dts | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/r7s72100-rskrza1.dts b/arch/arm/boot/dts/r7s72100-rskrza1.dts index f8285b951140..5dcaaf131d27 100644 --- a/arch/arm/boot/dts/r7s72100-rskrza1.dts +++ b/arch/arm/boot/dts/r7s72100-rskrza1.dts @@ -10,6 +10,7 @@ /dts-v1/; #include "r7s72100.dtsi" +#include <dt-bindings/gpio/gpio.h> #include <dt-bindings/pinctrl/r7s72100-pinctrl.h> / { @@ -34,6 +35,15 @@ #address-cells = <1>; #size-cells = <1>; }; + + leds { + status = "okay"; + compatible = "gpio-leds"; + + led0 { + gpios = <&port7 1 GPIO_ACTIVE_LOW>; + }; + }; }; &extal_clk { |