boards: stm3210c_eval: configure serial pins from DT

usart2 pinmuxes are now configured from DT pinctrl.

Signed-off-by: Jeremy LOCHE <lochejeremy@gmail.com>
This commit is contained in:
Jeremy LOCHE 2020-10-06 14:50:39 +02:00 committed by Kumar Gala
commit dd2f0b6792
2 changed files with 2 additions and 4 deletions

View file

@ -6,6 +6,7 @@
/dts-v1/;
#include <st/f1/stm32f107Xc.dtsi>
#include <st/f1/stm32f107v(b-c)tx-pinctrl.dtsi>
/ {
model = "STMicroelectronics STM3210C-EVAL board";
@ -41,6 +42,7 @@
};
&usart2 {
pinctrl-0 = <&usart2_tx_pd5 &usart2_rx_pd6>;
current-speed = <115200>;
status = "okay";
};