2017-05-21 20:52:30 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2017, embedjournal.com
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
|
|
|
/dts-v1/;
|
|
|
|
#include <st/stm32f103Xb.dtsi>
|
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "STM32 Minimum Development Board";
|
|
|
|
compatible = "st,stm32_min_dev", "st,stm32f103rb";
|
|
|
|
|
|
|
|
chosen {
|
|
|
|
zephyr,console = &usart1;
|
|
|
|
zephyr,sram = &sram0;
|
|
|
|
zephyr,flash = &flash0;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&usart1 {
|
|
|
|
current-speed = <115200>;
|
2017-07-25 17:04:12 +08:00
|
|
|
pinctrl-0 = <&usart1_pins_a>;
|
|
|
|
pinctrl-names = "default";
|
2017-05-21 20:52:30 +08:00
|
|
|
status = "ok";
|
|
|
|
};
|
2017-07-25 17:04:12 +08:00
|
|
|
|
|
|
|
&usart2 {
|
|
|
|
current-speed = <115200>;
|
|
|
|
pinctrl-0 = <&usart2_pins_a>;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
};
|
|
|
|
|
|
|
|
&usart3 {
|
|
|
|
current-speed = <115200>;
|
|
|
|
pinctrl-0 = <&usart3_pins_a>;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
};
|