2017-10-27 23:22:41 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2017 Bobby Noelte
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
|
|
|
/dts-v1/;
|
|
|
|
#include <st/stm32f091.dtsi>
|
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "STMicroelectronics STM32F091RC-NUCLEO board";
|
|
|
|
compatible = "st,stm32f091rc-nucleo", "st,stm32f091";
|
|
|
|
|
|
|
|
chosen {
|
|
|
|
zephyr,console = &usart2;
|
|
|
|
zephyr,sram = &sram0;
|
|
|
|
zephyr,flash = &flash0;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&usart1 {
|
|
|
|
current-speed = <115200>;
|
|
|
|
pinctrl-0 = <&usart1_pins_a>;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
};
|
|
|
|
|
|
|
|
&usart2 {
|
|
|
|
current-speed = <115200>;
|
|
|
|
pinctrl-0 = <&usart2_pins_a>;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
status = "ok";
|
|
|
|
};
|
2017-11-30 18:03:10 +08:00
|
|
|
|
|
|
|
&i2c1 {
|
|
|
|
status = "ok";
|
|
|
|
clock-frequency = <I2C_BITRATE_FAST>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&i2c2 {
|
|
|
|
status = "ok";
|
|
|
|
clock-frequency = <I2C_BITRATE_FAST>;
|
|
|
|
};
|