summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/stm32f429-disco.dts
diff options
context:
space:
mode:
authorMaxime Coquelin <mcoquelin.stm32@gmail.com>2015-03-16 19:05:57 +0100
committerMaxime Coquelin <mcoquelin.stm32@gmail.com>2016-02-11 12:02:59 +0100
commitb690172f7211f3e52e1f79143206d0b2beabb9aa (patch)
treed0a088ec4f6c774863e24aa7e3687377d7887fed /arch/arm/boot/dts/stm32f429-disco.dts
parentARM: dts: Add USART1 pin config to STM32F429 boards (diff)
downloadlinux-b690172f7211f3e52e1f79143206d0b2beabb9aa.tar.xz
linux-b690172f7211f3e52e1f79143206d0b2beabb9aa.zip
ARM: dts: Add leds support to STM32F429 boards
Acked-by: Patrice Chotard <patrice.chotard@st.com> Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Maxime Coquelin <mcoquelin.stm32@gmail.com>
Diffstat (limited to 'arch/arm/boot/dts/stm32f429-disco.dts')
-rw-r--r--arch/arm/boot/dts/stm32f429-disco.dts11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/stm32f429-disco.dts b/arch/arm/boot/dts/stm32f429-disco.dts
index e3ce796424c3..01408073dd53 100644
--- a/arch/arm/boot/dts/stm32f429-disco.dts
+++ b/arch/arm/boot/dts/stm32f429-disco.dts
@@ -64,6 +64,17 @@
aliases {
serial0 = &usart1;
};
+
+ leds {
+ compatible = "gpio-leds";
+ red {
+ gpios = <&gpiog 14 0>;
+ };
+ green {
+ gpios = <&gpiog 13 0>;
+ linux,default-trigger = "heartbeat";
+ };
+ };
};
&clk_hse {