1/* 2 * Copyright (c) 2020 STMicroelectronics 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7/dts-v1/; 8#include "nucleo_l552ze_q-common.dtsi" 9 10/ { 11 model = "STMicroelectronics STM32L552ZE-NUCLEO-Q board"; 12 compatible = "st,stm32l552ze-nucleo-q"; 13 14 #address-cells = <1>; 15 #size-cells = <1>; 16 17 chosen { 18 zephyr,console = &lpuart1; 19 zephyr,shell-uart = &lpuart1; 20 zephyr,sram = &sram0; 21 zephyr,flash = &flash0; 22 zephyr,code-partition = &slot0_ns_partition; 23 }; 24 25 aliases { 26 led0 = &blue_led_1; 27 sw0 = &user_button; 28 }; 29}; 30 31&flash0 { 32 partitions { 33 compatible = "fixed-partitions"; 34 #address-cells = <1>; 35 #size-cells = <1>; 36 37 /* 38 * Following flash partition is compatible with requirements 39 * given in TFM configuration given for current board: 40 * multiple image boot, no tests. 41 * It might require adjustment depending on evolutions on TFM. 42 */ 43 44 boot_partition: partition@0 { 45 label = "mcuboot"; 46 reg = <0x00000000 DT_SIZE_K(80)>; 47 read-only; 48 }; 49 50 /* Secure image primary slot */ 51 slot0_partition: partition@14000 { 52 label = "image-0"; 53 reg = <0x00014000 DT_SIZE_K(180)>; 54 }; 55 56 /* Non-secure image primary slot */ 57 slot0_ns_partition: partition@41000 { 58 label = "image-0-nonsecure"; 59 reg = <0x00041000 DT_SIZE_K(36)>; 60 }; 61 62 /* Secure image secondary slot */ 63 slot1_partition: partition@4a000 { 64 label = "image-1"; 65 reg = <0x0004a000 DT_SIZE_K(180)>; 66 }; 67 68 /* Non-secure image secondary slot */ 69 slot1_ns_partition: partition@77000 { 70 label = "image-1-nonsecure"; 71 reg = <0x00077000 DT_SIZE_K(36)>; 72 }; 73 /* Applicative Non Volatile Storage */ 74 /* Not available in this config, use secure storage */ 75 }; 76}; 77