Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1658916
| From | <patrice.chotard@st.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 1/3] ARM: dts: stm32h743: Add usart2_pins |
| Date | 2017-06-06 18:20 +0200 |
| Message-ID | <tPpn5-2GL-43@gated-at.bofh.it> (permalink) |
| References | <tPpn3-2GL-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
From: Patrice Chotard <patrice.chotard@st.com>
Add usart2 pins definition in order to add usart2 support
dedicated for console output on stm32h743i-disco board.
Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
---
arch/arm/boot/dts/stm32h743-pinctrl.dtsi | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/arch/arm/boot/dts/stm32h743-pinctrl.dtsi b/arch/arm/boot/dts/stm32h743-pinctrl.dtsi
index fcc1e06..76bbd65 100644
--- a/arch/arm/boot/dts/stm32h743-pinctrl.dtsi
+++ b/arch/arm/boot/dts/stm32h743-pinctrl.dtsi
@@ -151,6 +151,19 @@
bias-disable;
};
};
+
+ usart2_pins: usart2@0 {
+ pins1 {
+ pinmux = <STM32H7_PD5_FUNC_USART2_TX>;
+ bias-disable;
+ drive-push-pull;
+ slew-rate = <0>;
+ };
+ pins2 {
+ pinmux = <STM32H7_PD6_FUNC_USART2_RX>;
+ bias-disable;
+ };
+ };
};
};
};
--
1.9.1
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
[PATCH 1/3] ARM: dts: stm32h743: Add usart2_pins <patrice.chotard@st.com> - 2017-06-06 18:20 +0200
csiph-web