Commit b690172f authored by Maxime Coquelin's avatar Maxime Coquelin

ARM: dts: Add leds support to STM32F429 boards

Acked-by: default avatarPatrice Chotard <patrice.chotard@st.com>
Acked-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: default avatarMaxime Coquelin <mcoquelin.stm32@gmail.com>
parent 521df6f5
...@@ -64,6 +64,23 @@ memory { ...@@ -64,6 +64,23 @@ memory {
aliases { aliases {
serial0 = &usart1; 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 { &clk_hse {
......
...@@ -64,6 +64,17 @@ memory { ...@@ -64,6 +64,17 @@ memory {
aliases { aliases {
serial0 = &usart1; serial0 = &usart1;
}; };
leds {
compatible = "gpio-leds";
red {
gpios = <&gpiog 14 0>;
};
green {
gpios = <&gpiog 13 0>;
linux,default-trigger = "heartbeat";
};
};
}; };
&clk_hse { &clk_hse {
......
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