Commit 521df6f5 authored by Maxime Coquelin's avatar Maxime Coquelin

ARM: dts: Add USART1 pin config to STM32F429 boards

This patch selects USART1 pin configuration on PA9/PA10 pins
for both Eval and Disco boards.
Acked-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Acked-by: default avatarPatrice Chotard <patrice.chotard@st.com>
Signed-off-by: default avatarMaxime Coquelin <mcoquelin.stm32@gmail.com>
parent 2dbd0593
......@@ -71,5 +71,7 @@ &clk_hse {
};
&usart1 {
pinctrl-0 = <&usart1_pins_a>;
pinctrl-names = "default";
status = "okay";
};
......@@ -71,5 +71,7 @@ &clk_hse {
};
&usart1 {
pinctrl-0 = <&usart1_pins_a>;
pinctrl-names = "default";
status = "okay";
};
......@@ -263,6 +263,19 @@ gpiok: gpio@40022800 {
clocks = <&rcc 0 266>;
st,bank-name = "GPIOK";
};
usart1_pins_a: usart1@0 {
pins1 {
pinmux = <STM32F429_PA9_FUNC_USART1_TX>;
bias-disable;
drive-push-pull;
slew-rate = <0>;
};
pins2 {
pinmux = <STM32F429_PA10_FUNC_USART1_RX>;
bias-disable;
};
};
};
rcc: rcc@40023810 {
......
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