|
| 1 | +/* |
| 2 | + * Copyright (c) 2025 Nordic Semiconductor ASA |
| 3 | + * |
| 4 | + * SPDX-License-Identifier: Apache-2.0 |
| 5 | + */ |
| 6 | + |
| 7 | +/dts-v1/; |
| 8 | + |
| 9 | +#define USE_NON_SECURE_ADDRESS_MAP 1 |
| 10 | + |
| 11 | +#include "nrf54lm20a_cpuapp_common.dtsi" |
| 12 | + |
| 13 | +/ { |
| 14 | + compatible = "nordic,nrf54lm20dk_nrf54lm20a-cpuapp-ns"; |
| 15 | + model = "Nordic nRF54LM20 DK nRF54LM20A Application MCU Non-Secure"; |
| 16 | + |
| 17 | + chosen { |
| 18 | + zephyr,code-partition = &slot0_ns_partition; |
| 19 | + zephyr,sram = &sram0_ns; |
| 20 | + zephyr,entropy = &psa_rng; |
| 21 | + }; |
| 22 | + |
| 23 | + /delete-node/ rng; |
| 24 | + |
| 25 | + psa_rng: psa-rng { |
| 26 | + status = "okay"; |
| 27 | + }; |
| 28 | +}; |
| 29 | + |
| 30 | +/ { |
| 31 | + /* |
| 32 | + * Default SRAM planning when building for nRF54LM20A with ARM TrustZone-M support |
| 33 | + * - Lowest 208 kB SRAM allocated to Secure image (sram0_s). |
| 34 | + * - Upper 208 kB SRAM allocated to Non-Secure image (sram0_ns). |
| 35 | + * |
| 36 | + * nRF54LM20A has 512 kB of volatile memory (SRAM), but 96kB is allocated for the FLPR MCU. |
| 37 | + * This static layout needs to be the same with the upstream TF-M layout in the |
| 38 | + * header flash_layout.h of the relevant platform. Any updates in the layout |
| 39 | + * needs to happen both in the flash_layout.h and in this file at the same time. |
| 40 | + */ |
| 41 | + reserved-memory { |
| 42 | + #address-cells = <1>; |
| 43 | + #size-cells = <1>; |
| 44 | + ranges; |
| 45 | + |
| 46 | + sram0_s: image_s@20000000 { |
| 47 | + /* Secure image memory */ |
| 48 | + reg = <0x20000000 DT_SIZE_K(256)>; |
| 49 | + }; |
| 50 | + |
| 51 | + sram0_ns: image_ns@20040000 { |
| 52 | + /* Non-Secure image memory */ |
| 53 | + reg = <0x20040000 DT_SIZE_K(256)>; |
| 54 | + }; |
| 55 | + }; |
| 56 | +}; |
| 57 | + |
| 58 | +&bt_hci_sdc { |
| 59 | + status = "okay"; |
| 60 | +}; |
| 61 | + |
| 62 | +&bt_hci_controller { |
| 63 | + status = "disabled"; |
| 64 | +}; |
| 65 | + |
| 66 | +&uart30 { |
| 67 | + /* Disable so that TF-M can use this UART */ |
| 68 | + status = "disabled"; |
| 69 | +}; |
| 70 | + |
| 71 | +/* Include default memory partition configuration file */ |
| 72 | +#include <nordic/nrf54lm20a_ns_partition.dtsi> |
0 commit comments