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 33 partitions { 34 compatible = "fixed-partitions"; 35 #address-cells = <1>; 36 #size-cells = <1>; 37 38 /* 39 * Following flash partition is compatible with requirements 40 * given in TFM configuration given for current board: 41 * multiple image boot, no tests. 42 * It might require adjustment depending on evolutions on TFM. 43 */ 44 45 boot_partition: partition@0 { 46 label = "mcuboot"; 47 reg = <0x00000000 DT_SIZE_K(80)>; 48 read-only; 49 }; 50 /* Secure image primary slot */ 51 slot0_partition: partition@14000 { 52 label = "image-0"; 53 reg = <0x00014000 DT_SIZE_K(180)>; 54 }; 55 /* Non-secure image primary slot */ 56 slot0_ns_partition: partition@41000 { 57 label = "image-0-nonsecure"; 58 reg = <0x00041000 DT_SIZE_K(36)>; 59 }; 60 /* Secure image secondary slot */ 61 slot1_partition: partition@4a000 { 62 label = "image-1"; 63 reg = <0x0004a000 DT_SIZE_K(180)>; 64 }; 65 /* Non-secure image secondary slot */ 66 slot1_ns_partition: partition@77000 { 67 label = "image-1-nonsecure"; 68 reg = <0x00077000 DT_SIZE_K(36)>; 69 }; 70 /* Applicative Non Volatile Storage */ 71 /* Not available in this config, use secure storage */ 72 }; 73}; 74