2017-03-07 17:48:12 +01:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2017 Linaro Limited
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
|
|
|
/dts-v1/;
|
2018-09-25 19:20:22 -05:00
|
|
|
#include <st/f1/stm32f107Xc.dtsi>
|
2017-03-07 17:48:12 +01:00
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "STMicroelectronics STM3210C-EVAL board";
|
|
|
|
compatible = "st,stm3210c-eval", "st,stm32f107";
|
|
|
|
|
|
|
|
chosen {
|
|
|
|
zephyr,console = &usart2;
|
2018-11-27 12:11:04 +01:00
|
|
|
zephyr,shell-uart = &usart2;
|
2017-03-07 17:48:12 +01:00
|
|
|
zephyr,sram = &sram0;
|
|
|
|
zephyr,flash = &flash0;
|
|
|
|
};
|
2017-11-24 10:08:03 +01:00
|
|
|
|
|
|
|
leds {
|
|
|
|
compatible = "gpio-leds";
|
2018-09-18 19:45:43 +02:00
|
|
|
green_led_2: led_2 {
|
2017-11-24 10:08:03 +01:00
|
|
|
gpios = <&gpiod 13 GPIO_INT_ACTIVE_HIGH>;
|
|
|
|
label = "User LD2";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
gpio_keys {
|
|
|
|
compatible = "gpio-keys";
|
2018-09-21 01:25:55 +02:00
|
|
|
user_button: button {
|
2017-11-24 10:08:03 +01:00
|
|
|
label = "User";
|
|
|
|
gpios = <&gpiob 9 GPIO_INT_ACTIVE_LOW>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
aliases {
|
|
|
|
led0 = &green_led_2;
|
|
|
|
sw0 = &user_button;
|
|
|
|
};
|
2017-03-07 17:48:12 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
&usart2 {
|
2017-04-20 17:10:10 +02:00
|
|
|
current-speed = <115200>;
|
2019-06-14 19:31:16 +02:00
|
|
|
status = "okay";
|
2017-03-07 17:48:12 +01:00
|
|
|
};
|
2019-02-01 16:12:50 +01:00
|
|
|
|
2019-04-04 15:46:31 +08:00
|
|
|
&iwdg {
|
2019-06-14 19:31:16 +02:00
|
|
|
status = "okay";
|
2019-02-01 16:12:50 +01:00
|
|
|
};
|