1/* 2 * Copyright (c) 2020 Nordic Semiconductor ASA. 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7/* Modify the SRAM partitioning to accommodate the requirements 8 * for the Secure (TF-M) firmware for the configuration that is 9 * used in this sample. 10 */ 11 12/* Increase the size of the Secure Firmware (TF-M). 13 * This modification is not required at the moment, 14 * since TF-M region definitions are configured 15 * statically in the TF-M project. 16 */ 17&sram0_s { 18 reg = <0x20000000 DT_SIZE_K(88)>; 19}; 20 21/* Decrease the size of the Non-Secure Firmware (Zephyr), 22 * and move its starting address to the offset expected by 23 * TF-M. 24 */ 25/delete-node/ &sram0_ns; 26/ { 27 reserved-memory { 28 sram0_ns: image_ns@20016000 { 29 reg = <0x20016000 DT_SIZE_K(168)>; 30 }; 31 }; 32}; 33 34/* Disable UART1, because it is used by default in TF-M */ 35&uart1 { 36 status = "disabled"; 37}; 38