ARM: dts: stm32: Add usart2_pins on stm32h743
authorPatrice Chotard <patrice.chotard@st.com>
Wed, 7 Jun 2017 07:16:00 +0000 (09:16 +0200)
committerAlexandre TORGUE <alexandre.torgue@st.com>
Fri, 9 Jun 2017 14:38:31 +0000 (16:38 +0200)
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>
Signed-off-by: Alexandre TORGUE <alexandre.torgue@st.com>
arch/arm/boot/dts/stm32h743-pinctrl.dtsi

index fcc1e06..76bbd65 100644 (file)
                                        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;
+                               };
+                       };
                };
        };
 };