diff options
author | Benjamin Gaignard <benjamin.gaignard@st.com> | 2018-02-27 14:43:56 +0100 |
---|---|---|
committer | Alexandre Torgue <alexandre.torgue@st.com> | 2018-02-27 14:57:14 +0100 |
commit | 639f8ff1130cde363410ff5a5a341e72ae2c05f8 (patch) | |
tree | 594fbce914b6c2f0e2305cac7d038d6e0c03e597 /arch/arm/boot/dts/stm32f769-disco.dts | |
parent | 6ce12a74632e5583d8cf07fbf1b935c75de36bd3 (diff) |
ARM: dts: stm32: Add leds support to stm32f769 Discovery board
Add nodes for the two user leds.
Signed-off-by: Benjamin Gaignard <benjamin.gaignard@st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
Diffstat (limited to 'arch/arm/boot/dts/stm32f769-disco.dts')
-rw-r--r-- | arch/arm/boot/dts/stm32f769-disco.dts | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/stm32f769-disco.dts b/arch/arm/boot/dts/stm32f769-disco.dts index 9dba286c6d2f..ecaeb603788b 100644 --- a/arch/arm/boot/dts/stm32f769-disco.dts +++ b/arch/arm/boot/dts/stm32f769-disco.dts @@ -44,6 +44,7 @@ #include "stm32f746.dtsi" #include "stm32f769-pinctrl.dtsi" #include <dt-bindings/input/input.h> +#include <dt-bindings/gpio/gpio.h> / { model = "STMicroelectronics STM32F769-DISCO board"; @@ -62,6 +63,16 @@ serial0 = &usart1; }; + leds { + compatible = "gpio-leds"; + green { + gpios = <&gpioj 5 GPIO_ACTIVE_HIGH>; + linux,default-trigger = "heartbeat"; + }; + red { + gpios = <&gpioj 13 GPIO_ACTIVE_HIGH>; + }; + }; }; &cec { |