mirror of
https://github.com/fail0verflow/switch-linux.git
synced 2025-05-04 02:34:21 -04:00
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:
parent
521df6f56d
commit
b690172f72
2 changed files with 28 additions and 0 deletions
|
@ -64,6 +64,23 @@
|
||||||
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 @@
|
||||||
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 {
|
||||||
|
|
Loading…
Add table
Reference in a new issue