summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/stm32429i-eval.dts
diff options
context:
space:
mode:
authorMaxime Coquelin <mcoquelin.stm32@gmail.com>2015-03-16 21:05:57 +0300
committerMaxime Coquelin <mcoquelin.stm32@gmail.com>2016-02-11 14:02:59 +0300
commitb690172f7211f3e52e1f79143206d0b2beabb9aa (patch)
treed0a088ec4f6c774863e24aa7e3687377d7887fed /arch/arm/boot/dts/stm32429i-eval.dts
parent521df6f56dac222c4ad46f27148535ebb68ffefe (diff)
downloadlinux-b690172f7211f3e52e1f79143206d0b2beabb9aa.tar.xz
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/stm32429i-eval.dts')
-rw-r--r--arch/arm/boot/dts/stm32429i-eval.dts17
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/stm32429i-eval.dts b/arch/arm/boot/dts/stm32429i-eval.dts
index 71fe17adf13a..e3921d9b00c6 100644
--- a/arch/arm/boot/dts/stm32429i-eval.dts
+++ b/arch/arm/boot/dts/stm32429i-eval.dts
@@ -64,6 +64,23 @@
aliases {
serial0 = &usart1;
};
+
+ leds {
+ compatible = "gpio-leds";
+ green {
+ gpios = <&gpiog 6 1>;
+ linux,default-trigger = "heartbeat";
+ };
+ orange {
+ gpios = <&gpiog 7 1>;
+ };
+ red {
+ gpios = <&gpiog 10 1>;
+ };
+ blue {
+ gpios = <&gpiog 12 1>;
+ };
+ };
};
&clk_hse {