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:
parent
133e4050d8
commit
dd2f0b6792
2 changed files with 2 additions and 4 deletions
|
@ -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";
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue