mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-02 17:23:11 +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
631 B
Plaintext
39 lines
631 B
Plaintext
/*
|
|
* Copyright (c) 2017 Linaro Limited
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
/dts-v1/;
|
|
#include <st/stm32f103Xe.dtsi>
|
|
|
|
/ {
|
|
model = "STM32 MINI A15 board";
|
|
compatible = "st,stm32_mini_a15", "st,stm32f103ve";
|
|
|
|
chosen {
|
|
zephyr,console = &usart1;
|
|
zephyr,sram = &sram0;
|
|
zephyr,flash = &flash0;
|
|
};
|
|
};
|
|
|
|
&usart1 {
|
|
current-speed = <115200>;
|
|
pinctrl-0 = <&usart1_pins_a>;
|
|
pinctrl-names = "default";
|
|
status = "ok";
|
|
};
|
|
|
|
&usart2 {
|
|
current-speed = <115200>;
|
|
pinctrl-0 = <&usart2_pins_a>;
|
|
pinctrl-names = "default";
|
|
};
|
|
|
|
&usart3 {
|
|
current-speed = <115200>;
|
|
pinctrl-0 = <&usart3_pins_a>;
|
|
pinctrl-names = "default";
|
|
};
|