2017-03-08 00:04:58 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2017 Linaro Limited
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
|
|
|
/dts-v1/;
|
2017-04-06 00:22:20 +08:00
|
|
|
#include <st/stm32f103Xb.dtsi>
|
2017-03-08 00:04:58 +08:00
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "STMicroelectronics STM32F103RB-NUCLEO board";
|
|
|
|
compatible = "st,stm32f103rb-nucleo", "st,stm32f103rb";
|
|
|
|
|
|
|
|
chosen {
|
|
|
|
zephyr,console = &usart2;
|
|
|
|
zephyr,sram = &sram0;
|
|
|
|
zephyr,flash = &flash0;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2017-07-25 17:04:12 +08:00
|
|
|
&usart1 {
|
|
|
|
current-speed = <115200>;
|
|
|
|
pinctrl-0 = <&usart1_pins_a>;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
};
|
|
|
|
|
2017-03-08 00:04:58 +08:00
|
|
|
&usart2 {
|
2017-04-20 23:10:10 +08:00
|
|
|
current-speed = <115200>;
|
2017-07-25 17:04:12 +08:00
|
|
|
pinctrl-0 = <&usart2_pins_a>;
|
|
|
|
pinctrl-names = "default";
|
2017-03-08 00:04:58 +08:00
|
|
|
status = "ok";
|
|
|
|
};
|
2017-07-25 17:04:12 +08:00
|
|
|
|
|
|
|
&usart3 {
|
|
|
|
current-speed = <115200>;
|
|
|
|
pinctrl-0 = <&usart3_pins_a>;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
};
|