mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-31 14:35:49 +00:00
Add needed uart pinctrl configuration in pinmux node. Populate stm32 f1 based boards dts files with references to uart pinctrl nodes Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
39 lines
658 B
Plaintext
39 lines
658 B
Plaintext
/*
|
|
* Copyright (c) 2017 Linaro Limited
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
/dts-v1/;
|
|
#include <st/stm32f103Xb.dtsi>
|
|
|
|
/ {
|
|
model = "STMicroelectronics STM32F103RB-NUCLEO board";
|
|
compatible = "st,stm32f103rb-nucleo", "st,stm32f103rb";
|
|
|
|
chosen {
|
|
zephyr,console = &usart2;
|
|
zephyr,sram = &sram0;
|
|
zephyr,flash = &flash0;
|
|
};
|
|
};
|
|
|
|
&usart1 {
|
|
current-speed = <115200>;
|
|
pinctrl-0 = <&usart1_pins_a>;
|
|
pinctrl-names = "default";
|
|
};
|
|
|
|
&usart2 {
|
|
current-speed = <115200>;
|
|
pinctrl-0 = <&usart2_pins_a>;
|
|
pinctrl-names = "default";
|
|
status = "ok";
|
|
};
|
|
|
|
&usart3 {
|
|
current-speed = <115200>;
|
|
pinctrl-0 = <&usart3_pins_a>;
|
|
pinctrl-names = "default";
|
|
};
|