zephyr/boards/st/stm32l562e_dk/stm32l562e_dk.dts
Miguel Gazquez c04352aa98 boards: stm32l562e-dk: add st7789v screen controller
This commit add the description of the fmc in the SoC stm32l5, and the
description of the screen controller st7789v in the board stm32l562e-dk.

Signed-off-by: Miguel Gazquez <miguel.gazquez@bootlin.com>
2024-08-17 08:56:04 -04:00

57 lines
921 B
Text

/*
* Copyright (c) 2020 Yestin Sun
*
* SPDX-License-Identifier: Apache-2.0
*/
/dts-v1/;
#include "stm32l562e_dk_common.dtsi"
/ {
model = "STMicroelectronics STM32L562E-DK Discovery board";
compatible = "st,stm32l562e-dk";
#address-cells = <1>;
#size-cells = <1>;
chosen {
zephyr,console = &usart1;
zephyr,shell-uart = &usart1;
zephyr,sram = &sram0;
zephyr,flash = &flash0;
zephyr,bt-c2h-uart = &usart1;
zephyr,display = &st7789v;
};
aliases {
led0 = &green_led_10;
sw0 = &user_button;
watchdog0 = &iwdg;
accel0 = &lsm6dso;
};
};
&timers2 {
st,prescaler = <10000>;
};
&iwdg {
status = "okay";
};
&aes {
status = "okay";
};
&flash0 {
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
/* 2KB at the end of 512KB flash is set for storage */
storage_partition: partition@7f800 {
reg = <0x0007f800 DT_SIZE_K(2)>;
};
};
};