mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-26 07:35:43 +00:00
Add needed uart pinctrl configuration in pinmux node. This is done thanks to <soc>-pinctrl.dtsi file matching <soc>.dtsi files Populate stm32 f3 based boards dts files with references to uart pinctrl nodes Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
34 lines
573 B
Plaintext
34 lines
573 B
Plaintext
/*
|
|
* Copyright (c) 2017 I-SENSE group of ICCS
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
/dts-v1/;
|
|
#include <st/stm32f303.dtsi>
|
|
|
|
/ {
|
|
model = "STMicroelectronics STM32F3DISCOVERY board";
|
|
compatible = "st,stm32f3discovery", "st,stm32f303";
|
|
|
|
chosen {
|
|
zephyr,console = &usart1;
|
|
zephyr,sram = &sram0;
|
|
zephyr,flash = &flash0;
|
|
};
|
|
};
|
|
|
|
&usart1 {
|
|
current-speed = <115200>;
|
|
pinctrl-0 = <&usart1_pins_b>;
|
|
pinctrl-names = "default";
|
|
status = "ok";
|
|
};
|
|
|
|
&usart2 {
|
|
current-speed = <115200>;
|
|
pinctrl-0 = <&usart2_pins_a>;
|
|
pinctrl-names = "default";
|
|
status = "ok";
|
|
};
|