提交 639f8ff1 编写于 作者: B Benjamin Gaignard 提交者: Alexandre Torgue

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

Add nodes for the two user leds.
Signed-off-by: NBenjamin Gaignard <benjamin.gaignard@st.com>
Signed-off-by: NAlexandre Torgue <alexandre.torgue@st.com>
上级 6ce12a74
...@@ -44,6 +44,7 @@ ...@@ -44,6 +44,7 @@
#include "stm32f746.dtsi" #include "stm32f746.dtsi"
#include "stm32f769-pinctrl.dtsi" #include "stm32f769-pinctrl.dtsi"
#include <dt-bindings/input/input.h> #include <dt-bindings/input/input.h>
#include <dt-bindings/gpio/gpio.h>
/ { / {
model = "STMicroelectronics STM32F769-DISCO board"; model = "STMicroelectronics STM32F769-DISCO board";
...@@ -62,6 +63,16 @@ ...@@ -62,6 +63,16 @@
serial0 = &usart1; 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 { &cec {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册