2017-05-11 21:19:22 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2017 Linaro Limited
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
|
|
|
/dts-v1/;
|
|
|
|
#include <st/stm32f407.dtsi>
|
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "STMicroelectronics STM32F4DISCOVERY board";
|
|
|
|
compatible = "st,stm32f4discovery", "st,stm32f407";
|
|
|
|
|
|
|
|
chosen {
|
|
|
|
zephyr,console = &usart2;
|
|
|
|
zephyr,sram = &sram0;
|
|
|
|
zephyr,flash = &flash0;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&usart1 {
|
|
|
|
current-speed = <115200>;
|
2017-07-25 17:02:42 +08:00
|
|
|
pinctrl-0 = <&usart1_pins_a>;
|
|
|
|
pinctrl-names = "default";
|
2017-05-11 21:19:22 +08:00
|
|
|
status = "ok";
|
|
|
|
};
|
|
|
|
|
|
|
|
&usart2 {
|
|
|
|
current-speed = <115200>;
|
2017-07-25 17:02:42 +08:00
|
|
|
pinctrl-0 = <&usart2_pins_a>;
|
|
|
|
pinctrl-names = "default";
|
2017-05-11 21:19:22 +08:00
|
|
|
status = "ok";
|
|
|
|
};
|