zephyr/boards/arm/stm32f030_demo/stm32f030_demo.dts

44 lines
697 B
Plaintext

/*
* Copyright (c) 2019 Antony Pavlov <antonynpavlov@gmail.com>
*
* SPDX-License-Identifier: Apache-2.0
*/
/dts-v1/;
#include <st/f0/stm32f030X4.dtsi>
/ {
model = "STM32F030 DEMO board";
compatible = "st,stm32f030-demo", "st,stm32f030f4p6", "st,stm32f030";
chosen {
zephyr,console = &usart1;
zephyr,shell-uart = &usart1;
zephyr,sram = &sram0;
zephyr,flash = &flash0;
};
leds {
compatible = "gpio-leds";
led: led {
gpios = <&gpioa 4 GPIO_INT_ACTIVE_HIGH>;
label = "User LED";
};
};
aliases {
led0 = &led;
};
};
&usart1 {
current-speed = <115200>;
pinctrl-0 = <&usart1_pins_b>;
pinctrl-names = "default";
status = "okay";
};
&iwdg {
status = "okay";
};