2019-01-20 05:37:55 +01:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2019, Kwon Tae-young <tykwon@m2i.co.kr>
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
|
|
|
/dts-v1/;
|
|
|
|
#include <st/f4/stm32f415Rg.dtsi>
|
|
|
|
|
|
|
|
/ {
|
2019-05-13 10:31:33 +02:00
|
|
|
model = "Mikroe MINI-M4 for STM32 board";
|
|
|
|
compatible = "mikroe,mini-m4-for-stm32", "st,stm32f415rg";
|
2019-01-20 05:37:55 +01:00
|
|
|
|
|
|
|
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 {
|
2019-10-03 18:30:21 +02:00
|
|
|
gpios = <&gpioc 12 GPIO_ACTIVE_HIGH>;
|
2019-01-20 05:37:55 +01:00
|
|
|
label = "DATA LD1";
|
|
|
|
};
|
|
|
|
red_led_2: led_2 {
|
2019-10-03 18:30:21 +02:00
|
|
|
gpios = <&gpioc 13 GPIO_ACTIVE_HIGH>;
|
2019-01-20 05:37:55 +01:00
|
|
|
label = "STAT LD2";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
aliases {
|
|
|
|
led0 = &orange_led_1;
|
|
|
|
led1 = &red_led_2;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&usart2 {
|
|
|
|
current-speed = <115200>;
|
2019-06-14 19:31:16 +02:00
|
|
|
status = "okay";
|
2019-01-20 05:37:55 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
&i2c2 {
|
2019-06-14 19:31:16 +02:00
|
|
|
status = "okay";
|
2019-01-20 05:37:55 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
&spi1 {
|
2019-06-14 19:31:16 +02:00
|
|
|
status = "okay";
|
2019-01-20 05:37:55 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
&timers3 {
|
2019-06-14 19:31:16 +02:00
|
|
|
status = "okay";
|
2019-01-20 05:37:55 +01:00
|
|
|
|
2020-05-01 16:13:37 +02:00
|
|
|
pwm3: pwm {
|
2019-06-14 19:31:16 +02:00
|
|
|
status = "okay";
|
2019-01-20 05:37:55 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&usbotg_fs {
|
2019-06-14 19:31:16 +02:00
|
|
|
status = "okay";
|
2019-01-20 05:37:55 +01:00
|
|
|
};
|
2020-01-21 10:38:57 +01:00
|
|
|
|
|
|
|
&cryp {
|
|
|
|
status = "okay";
|
|
|
|
};
|