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: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Patrice Chotard <patrice.chotard@st.com>
Signed-off-by: Maxime Coquelin <mcoquelin.stm32@gmail.com>
This commit is contained in:
Maxime Coquelin 2015-10-14 18:15:04 +02:00
parent 2dbd0593e8
commit 521df6f56d
3 changed files with 17 additions and 0 deletions

View file

@ -71,5 +71,7 @@ &clk_hse {
};
&usart1 {
pinctrl-0 = <&usart1_pins_a>;
pinctrl-names = "default";
status = "okay";
};

View file

@ -71,5 +71,7 @@ &clk_hse {
};
&usart1 {
pinctrl-0 = <&usart1_pins_a>;
pinctrl-names = "default";
status = "okay";
};

View file

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