There's no reason to add soc compatible at this level. Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
64 lines
890 B
Text
64 lines
890 B
Text
/*
|
|
* Copyright (c) 2019 Linumiz
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
/dts-v1/;
|
|
#include <st/f4/stm32f401Xc.dtsi>
|
|
|
|
/ {
|
|
model = "STMicroelectronics Flight Controller Board";
|
|
compatible = "st,flight-controller-board";
|
|
|
|
chosen {
|
|
zephyr,console = &usart1;
|
|
zephyr,shell-uart = &usart1;
|
|
zephyr,sram = &sram0;
|
|
zephyr,flash = &flash0;
|
|
};
|
|
|
|
leds {
|
|
compatible = "gpio-leds";
|
|
red_led_1: led_1 {
|
|
gpios = <&gpiob 5 GPIO_ACTIVE_HIGH>;
|
|
label = "User LD1";
|
|
};
|
|
|
|
red_led_2: led_2 {
|
|
gpios = <&gpiob 4 GPIO_ACTIVE_HIGH>;
|
|
label = "User LD2";
|
|
};
|
|
};
|
|
|
|
aliases {
|
|
led0 = &red_led_1;
|
|
led1 = &red_led_2;
|
|
};
|
|
};
|
|
|
|
&i2c2 {
|
|
status = "okay";
|
|
clock-frequency = <I2C_BITRATE_FAST>;
|
|
};
|
|
|
|
&usart1 {
|
|
current-speed = <115200>;
|
|
status = "okay";
|
|
};
|
|
|
|
&timers2 {
|
|
status = "okay";
|
|
|
|
pwm2: pwm {
|
|
status = "okay";
|
|
};
|
|
};
|
|
|
|
&rtc {
|
|
status = "okay";
|
|
};
|
|
|
|
&iwdg {
|
|
status = "okay";
|
|
};
|