Commit 639f8ff1 authored by Benjamin Gaignard's avatar Benjamin Gaignard Committed by Alexandre Torgue

ARM: dts: stm32: Add leds support to stm32f769 Discovery board

Add nodes for the two user leds.
Signed-off-by: default avatarBenjamin Gaignard <benjamin.gaignard@st.com>
Signed-off-by: default avatarAlexandre Torgue <alexandre.torgue@st.com>
parent 6ce12a74
......@@ -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 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment