diff options
author | Maxime Coquelin <mcoquelin.stm32@gmail.com> | 2015-10-14 18:15:04 +0200 |
---|---|---|
committer | Maxime Coquelin <mcoquelin.stm32@gmail.com> | 2016-02-11 12:02:58 +0100 |
commit | 521df6f56dac222c4ad46f27148535ebb68ffefe (patch) | |
tree | 6a46ad4625b640a52340aaf76f09f38511870645 | |
parent | ARM: dts: Add pinctrl node to STM32F429 (diff) | |
download | linux-521df6f56dac222c4ad46f27148535ebb68ffefe.tar.xz linux-521df6f56dac222c4ad46f27148535ebb68ffefe.zip |
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>
-rw-r--r-- | arch/arm/boot/dts/stm32429i-eval.dts | 2 | ||||
-rw-r--r-- | arch/arm/boot/dts/stm32f429-disco.dts | 2 | ||||
-rw-r--r-- | arch/arm/boot/dts/stm32f429.dtsi | 13 |
3 files changed, 17 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/stm32429i-eval.dts b/arch/arm/boot/dts/stm32429i-eval.dts index 6964fc9e97cf..71fe17adf13a 100644 --- a/arch/arm/boot/dts/stm32429i-eval.dts +++ b/arch/arm/boot/dts/stm32429i-eval.dts @@ -71,5 +71,7 @@ }; &usart1 { + pinctrl-0 = <&usart1_pins_a>; + pinctrl-names = "default"; status = "okay"; }; diff --git a/arch/arm/boot/dts/stm32f429-disco.dts b/arch/arm/boot/dts/stm32f429-disco.dts index f0b731db6f53..e3ce796424c3 100644 --- a/arch/arm/boot/dts/stm32f429-disco.dts +++ b/arch/arm/boot/dts/stm32f429-disco.dts @@ -71,5 +71,7 @@ }; &usart1 { + pinctrl-0 = <&usart1_pins_a>; + pinctrl-names = "default"; status = "okay"; }; diff --git a/arch/arm/boot/dts/stm32f429.dtsi b/arch/arm/boot/dts/stm32f429.dtsi index 3fed69ce0b9f..aa6c67d99921 100644 --- a/arch/arm/boot/dts/stm32f429.dtsi +++ b/arch/arm/boot/dts/stm32f429.dtsi @@ -263,6 +263,19 @@ 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 { |