mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-01 21:09:23 +00:00
Add pinctrl node on stm32l4 soc dts files, including uart pinctrl configurations. This is done thanks to <soc>-pinctrl.dtsi file matching the <soc>.dtsi file Populate stm32 l4 based boards dts files with references to uart pinctrl nodes Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
34 lines
566 B
Plaintext
34 lines
566 B
Plaintext
/*
|
|
* Copyright (c) 2017 Linaro Limited
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
/dts-v1/;
|
|
#include <st/stm32l496.dtsi>
|
|
|
|
/ {
|
|
model = "STMicroelectronics STM32L496G-DISCO board";
|
|
compatible = "st,stm32l496g-disco", "st,stm32l496";
|
|
|
|
chosen {
|
|
zephyr,console = &usart2;
|
|
zephyr,sram = &sram0;
|
|
zephyr,flash = &flash0;
|
|
};
|
|
};
|
|
|
|
&usart1 {
|
|
current-speed = <115200>;
|
|
pinctrl-0 = <&usart1_pins_c>;
|
|
pinctrl-names = "default";
|
|
status = "ok";
|
|
};
|
|
|
|
&usart2 {
|
|
current-speed = <115200>;
|
|
pinctrl-0 = <&usart2_pins_c>;
|
|
pinctrl-names = "default";
|
|
status = "ok";
|
|
};
|