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>
This commit is contained in:
Maxime Coquelin 2015-03-16 19:05:57 +01:00
parent 521df6f56d
commit b690172f72
2 changed files with 28 additions and 0 deletions

View File

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

View File

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