mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-30 03:55:21 +00:00
To move forward and remove use of Kconfig in dts files lets just create SoC specific dtsi files that the boards can include. We also seperate out the F7 dtsi files into their own dir. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
68 lines
1.2 KiB
Plaintext
68 lines
1.2 KiB
Plaintext
/*
|
|
* Copyright (c) 2018 Yong Jin
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
/dts-v1/;
|
|
#include <st/f7/stm32f769Xi.dtsi>
|
|
|
|
/ {
|
|
model = "STMicroelectronics STM32F769I DISCOVERY board";
|
|
compatible = "st,stm32f769I-disco", "st,stm32f769";
|
|
|
|
chosen {
|
|
zephyr,console = &usart1;
|
|
zephyr,sram = &sram0;
|
|
zephyr,flash = &flash0;
|
|
};
|
|
|
|
leds {
|
|
compatible = "gpio-leds";
|
|
red_led_1:led_1 {
|
|
gpios = <&gpioj 13 GPIO_INT_ACTIVE_HIGH>;
|
|
label = "User LD1";
|
|
};
|
|
green_led_2:led_2 {
|
|
gpios = <&gpioj 5 GPIO_INT_ACTIVE_HIGH>;
|
|
label = "User LD2";
|
|
};
|
|
green_led_3:led_3 {
|
|
gpios = <&gpioa 12 GPIO_INT_ACTIVE_HIGH>;
|
|
label = "User LD3";
|
|
};
|
|
red_led_4:led_4 {
|
|
gpios = <&gpiod 4 GPIO_INT_ACTIVE_HIGH>;
|
|
label = "User LD4";
|
|
};
|
|
};
|
|
|
|
gpio_keys {
|
|
compatible = "gpio-keys";
|
|
user_button: button {
|
|
label = "User";
|
|
gpios = <&gpioa 0 GPIO_INT_ACTIVE_HIGH>;
|
|
};
|
|
};
|
|
|
|
aliases {
|
|
led0 = &red_led_1;
|
|
led1 = &green_led_2;
|
|
led2 = &green_led_3;
|
|
led3 = &red_led_4;
|
|
sw0 = &user_button;
|
|
};
|
|
};
|
|
|
|
&usart1 {
|
|
current-speed = <115200>;
|
|
pinctrl-names = "default";
|
|
status = "ok";
|
|
};
|
|
|
|
&usart6 {
|
|
current-speed = <115200>;
|
|
pinctrl-names = "default";
|
|
status = "ok";
|
|
};
|