ARM: dts: stm32: add usart2 node to stm32mp157c-dk2

Adds the usart2 node to stm32mp157c-dk2 board. usart2 pins are connected
to Bluetooth component. usart2 is disabled by default.

Signed-off-by: Erwan Le Ray <erwan.leray@st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
This commit is contained in:
Erwan Le Ray 2020-06-18 15:06:51 +02:00 committed by Alexandre Torgue
parent f74c7be7ce
commit c622308f8a
1 changed files with 9 additions and 0 deletions

View File

@ -21,6 +21,7 @@ aliases {
serial0 = &uart4;
serial1 = &usart3;
serial2 = &uart7;
serial3 = &usart2;
};
chosen {
@ -86,3 +87,11 @@ ltdc_ep1_out: endpoint@1 {
};
};
};
&usart2 {
pinctrl-names = "default", "sleep", "idle";
pinctrl-0 = <&usart2_pins_c>;
pinctrl-1 = <&usart2_sleep_pins_c>;
pinctrl-2 = <&usart2_idle_pins_c>;
status = "disabled";
};