zephyr/boards/arm/stm32_min_dev/stm32_min_dev.dtsi
Siddharth Chandrasekaran e14985ed42 boards: stm32_min_dev: dts: set UART2 status okay
doc: add UART and LED section listing the pins; reword I2C section.

Signed-off-by: Siddharth Chandrasekaran <siddharth@embedjournal.com>
2019-10-04 18:44:45 -07:00

83 lines
1.1 KiB
Plaintext

/*
* Copyright (c) 2019, embedjournal.com
*
* SPDX-License-Identifier: Apache-2.0
*/
/dts-v1/;
#include <st/f1/stm32f103X8.dtsi>
/ {
model = "STM32 Minimum Development Board";
compatible = "st,stm32f103c8";
chosen {
zephyr,console = &usart1;
zephyr,shell-uart = &usart1;
zephyr,sram = &sram0;
zephyr,flash = &flash0;
};
leds {
compatible = "gpio-leds";
led: led {
gpios = <&gpiob 12 GPIO_INT_ACTIVE_HIGH>;
label = "LD";
};
};
aliases {
led0 = &led;
};
};
&usart1 {
current-speed = <115200>;
pinctrl-0 = <&usart1_pins_a>;
pinctrl-names = "default";
status = "okay";
};
&usart2 {
current-speed = <115200>;
pinctrl-0 = <&usart2_pins_a>;
pinctrl-names = "default";
status = "okay";
};
&usart3 {
current-speed = <115200>;
pinctrl-0 = <&usart3_pins_a>;
pinctrl-names = "default";
};
&i2c1 {
status = "okay";
clock-frequency = <I2C_BITRATE_FAST>;
};
&i2c2 {
status = "okay";
clock-frequency = <I2C_BITRATE_FAST>;
};
&spi1 {
status = "okay";
};
&spi2 {
status = "okay";
};
&timers1 {
status = "okay";
pwm {
status = "okay";
};
};
&usb {
status = "okay";
};