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>
This commit is contained in:
Benjamin Gaignard 2018-02-27 14:43:56 +01:00 committed by Alexandre Torgue
parent 6ce12a7463
commit 639f8ff113

View File

@ -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 @@ aliases {
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 {