1/* 2 * Copyright (c) 2020 Yestin Sun 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7/dts-v1/; 8#include "stm32l562e_dk_common.dtsi" 9 10/ { 11 model = "STMicroelectronics STM32L562E-DK Discovery board"; 12 compatible = "st,stm32l562e-dk"; 13 14 #address-cells = <1>; 15 #size-cells = <1>; 16 17 chosen { 18 zephyr,console = &usart1; 19 zephyr,shell-uart = &usart1; 20 zephyr,sram = &sram0; 21 zephyr,flash = &flash0; 22 zephyr,bt-c2h-uart = &usart1; 23 zephyr,display = &st7789v; 24 }; 25 26 aliases { 27 led0 = &green_led_10; 28 sw0 = &user_button; 29 watchdog0 = &iwdg; 30 accel0 = &lsm6dso; 31 }; 32}; 33 34&timers2 { 35 st,prescaler = <10000>; 36}; 37 38&iwdg { 39 status = "okay"; 40}; 41 42&aes { 43 status = "okay"; 44}; 45 46&flash0 { 47 partitions { 48 compatible = "fixed-partitions"; 49 #address-cells = <1>; 50 #size-cells = <1>; 51 52 /* 2KB at the end of 512KB flash is set for storage */ 53 storage_partition: partition@7f800 { 54 reg = <0x0007f800 DT_SIZE_K(2)>; 55 }; 56 }; 57}; 58