dts: add dts for nucleo boards
This commit provides dts file for nucleo boards. For now dtsi files only populates uart nodes so other nodes are not taken into account into board dts files. Change-Id: Ide95a8ba3671b91ff0311b7671e77b3bf96db297 Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
This commit is contained in:
parent
d899ce16b0
commit
b2f45a9e91
24
dts/arm/nucleo_f103rb.dts
Normal file
24
dts/arm/nucleo_f103rb.dts
Normal file
|
@ -0,0 +1,24 @@
|
|||
/*
|
||||
* Copyright (c) 2017 Linaro Limited
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
/dts-v1/;
|
||||
#include <st/stm32f103rb.dtsi>
|
||||
|
||||
/ {
|
||||
model = "STMicroelectronics STM32F103RB-NUCLEO board";
|
||||
compatible = "st,stm32f103rb-nucleo", "st,stm32f103rb";
|
||||
|
||||
chosen {
|
||||
zephyr,console = &usart2;
|
||||
zephyr,sram = &sram0;
|
||||
zephyr,flash = &flash0;
|
||||
};
|
||||
};
|
||||
|
||||
&usart2 {
|
||||
baud-rate = <115200>;
|
||||
status = "ok";
|
||||
};
|
24
dts/arm/nucleo_f334r8.dts
Normal file
24
dts/arm/nucleo_f334r8.dts
Normal file
|
@ -0,0 +1,24 @@
|
|||
/*
|
||||
* Copyright (c) 2017 Linaro Limited
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
/dts-v1/;
|
||||
#include <st/stm32f334.dtsi>
|
||||
|
||||
/ {
|
||||
model = "STMicroelectronics STM32F334R8-NUCLEO board";
|
||||
compatible = "st,stm32f334r8-nucleo", "st,stm32f334";
|
||||
|
||||
chosen {
|
||||
zephyr,console = &usart2;
|
||||
zephyr,sram = &sram0;
|
||||
zephyr,flash = &flash0;
|
||||
};
|
||||
};
|
||||
|
||||
&usart2 {
|
||||
baud-rate = <115200>;
|
||||
status = "ok";
|
||||
};
|
24
dts/arm/nucleo_f401re.dts
Normal file
24
dts/arm/nucleo_f401re.dts
Normal file
|
@ -0,0 +1,24 @@
|
|||
/*
|
||||
* Copyright (c) 2017 Linaro Limited
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
/dts-v1/;
|
||||
#include <st/stm32f401.dtsi>
|
||||
|
||||
/ {
|
||||
model = "STMicroelectronics STM32F401RE-NUCLEO board";
|
||||
compatible = "st,stm32f401re-nucleo", "st,stm32f401";
|
||||
|
||||
chosen {
|
||||
zephyr,console = &usart2;
|
||||
zephyr,sram = &sram0;
|
||||
zephyr,flash = &flash0;
|
||||
};
|
||||
};
|
||||
|
||||
&usart2 {
|
||||
baud-rate = <115200>;
|
||||
status = "ok";
|
||||
};
|
24
dts/arm/nucleo_f411re.dts
Normal file
24
dts/arm/nucleo_f411re.dts
Normal file
|
@ -0,0 +1,24 @@
|
|||
/*
|
||||
* Copyright (c) 2017 Linaro Limited
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
/dts-v1/;
|
||||
#include <st/stm32f401.dtsi>
|
||||
|
||||
/ {
|
||||
model = "STMicroelectronics STM32F411RE-NUCLEO board";
|
||||
compatible = "st,stm32f411re-nucleo", "st,stm32f411";
|
||||
|
||||
chosen {
|
||||
zephyr,console = &usart2;
|
||||
zephyr,sram = &sram0;
|
||||
zephyr,flash = &flash0;
|
||||
};
|
||||
};
|
||||
|
||||
&usart2 {
|
||||
baud-rate = <115200>;
|
||||
status = "ok";
|
||||
};
|
Loading…
Reference in a new issue