blob: ff807b29af40c63bc9addbc23eb4e931ef64cdac [file] [log] [blame]
/*
* Copyright (c) 2019, Kwon Tae-young <tykwon@m2i.co.kr>
*
* SPDX-License-Identifier: Apache-2.0
*/
/dts-v1/;
#include <st/f4/stm32f415Rg.dtsi>
/ {
model = "STMicroelectronics Mikroe MINI-M4 for STM32 board";
compatible = "st,stm32f415-mikroe-f415rg", "st,stm32f415";
chosen {
zephyr,console = &usart2;
zephyr,shell-uart = &usart2;
zephyr,sram = &sram0;
zephyr,flash = &flash0;
zephyr,ccm = &ccm0;
};
leds {
compatible = "gpio-leds";
orange_led_1: led_1 {
gpios = <&gpioc 12 GPIO_INT_ACTIVE_HIGH>;
label = "DATA LD1";
};
red_led_2: led_2 {
gpios = <&gpioc 13 GPIO_INT_ACTIVE_HIGH>;
label = "STAT LD2";
};
};
aliases {
led0 = &orange_led_1;
led1 = &red_led_2;
};
};
&usart2 {
current-speed = <115200>;
pinctrl-0 = <&usart2_pins_a>;
pinctrl-names = "default";
status = "ok";
};
&i2c2 {
status = "ok";
};
&spi1 {
status = "ok";
};
&timers3 {
status = "ok";
pwm {
status = "ok";
};
};
&usbotg_fs {
status = "ok";
};