2017-03-08 00:48:12 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2017 Linaro Limited
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
|
|
|
/dts-v1/;
|
2018-09-27 21:23:09 +08:00
|
|
|
#include <st/f3/stm32f373Xc.dtsi>
|
2017-03-08 00:48:12 +08:00
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "STMicroelectronics STM32373C-EVAL board";
|
|
|
|
compatible = "st,stm32373c-eval", "st,stm32f373";
|
|
|
|
|
|
|
|
chosen {
|
|
|
|
zephyr,console = &usart2;
|
2018-11-27 19:11:04 +08:00
|
|
|
zephyr,shell-uart = &usart2;
|
2017-03-08 00:48:12 +08:00
|
|
|
zephyr,sram = &sram0;
|
|
|
|
zephyr,flash = &flash0;
|
|
|
|
};
|
2017-11-24 17:08:03 +08:00
|
|
|
|
|
|
|
leds {
|
|
|
|
compatible = "gpio-leds";
|
2018-09-19 01:45:43 +08:00
|
|
|
green_led_2: led_2 {
|
2017-11-24 17:08:03 +08:00
|
|
|
gpios = <&gpioc 1 GPIO_INT_ACTIVE_HIGH>;
|
|
|
|
label = "User LD2";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
gpio_keys {
|
|
|
|
compatible = "gpio-keys";
|
2018-09-21 07:25:55 +08:00
|
|
|
user_button: button {
|
2017-11-24 17:08:03 +08:00
|
|
|
label = "Key";
|
|
|
|
gpios = <&gpioa 2 GPIO_INT_ACTIVE_LOW>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
aliases {
|
|
|
|
led0 = &green_led_2;
|
|
|
|
sw0 = &user_button;
|
|
|
|
};
|
2017-03-08 00:48:12 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
&usart2 {
|
2017-04-20 23:10:10 +08:00
|
|
|
current-speed = <115200>;
|
2017-07-25 17:03:31 +08:00
|
|
|
pinctrl-0 = <&usart2_pins_d>;
|
|
|
|
pinctrl-names = "default";
|
2017-03-08 00:48:12 +08:00
|
|
|
status = "ok";
|
|
|
|
};
|
2018-08-18 01:13:16 +08:00
|
|
|
|
|
|
|
&rtc {
|
|
|
|
status = "ok";
|
|
|
|
};
|
2019-02-01 23:12:50 +08:00
|
|
|
|
2019-04-04 15:46:31 +08:00
|
|
|
&iwdg {
|
2019-02-01 23:12:50 +08:00
|
|
|
status = "ok";
|
|
|
|
};
|