|
| 1 | +/* |
| 2 | + * Copyright (c) 2026 Nordic Semiconductor ASA |
| 3 | + * |
| 4 | + * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause |
| 5 | + */ |
| 6 | + |
| 7 | +/ { |
| 8 | + chosen { |
| 9 | + nordic,lwm2m-carrier-partition = &lwm2m_carrier_partition; |
| 10 | + zephyr,settings-partition = &settings_storage_partition; |
| 11 | + }; |
| 12 | +}; |
| 13 | + |
| 14 | +/delete-node/ &boot_partition; |
| 15 | +/delete-node/ &slot0_partition; |
| 16 | +/delete-node/ &slot1_partition; |
| 17 | +/delete-node/ &tfm_ps_partition; |
| 18 | +/delete-node/ &tfm_its_partition; |
| 19 | +/delete-node/ &tfm_otp_partition; |
| 20 | +/delete-node/ &storage_partition; |
| 21 | + |
| 22 | +&flash0 { |
| 23 | + /* |
| 24 | + * 0x0000_0000 Primary area (1008 kB) |
| 25 | + * 0x0000_0000 Primary secure image ( 32 kB) |
| 26 | + * 0x0000_8000 Primary non-secure image ( 976 kB) |
| 27 | + * 0x000f_c000 Carrier library storage ( 8 kB) |
| 28 | + * 0x000f_e000 Settings storage ( 8 kB) |
| 29 | + */ |
| 30 | + partitions { |
| 31 | + ranges; |
| 32 | + #address-cells = <1>; |
| 33 | + #size-cells = <1>; |
| 34 | + |
| 35 | + slot0_partition: partition@0 { |
| 36 | + compatible = "zephyr,mapped-partition"; |
| 37 | + label = "image-0"; |
| 38 | + reg = <0x0 0xfc000>; |
| 39 | + ranges = <0x0 0x0 0xfc000>; |
| 40 | + #address-cells = <1>; |
| 41 | + #size-cells = <1>; |
| 42 | + |
| 43 | + slot0_s_partition: partition@0 { |
| 44 | + compatible = "zephyr,mapped-partition"; |
| 45 | + label = "image-0-secure"; |
| 46 | + reg = <0x0 0x8000>; |
| 47 | + }; |
| 48 | + |
| 49 | + slot0_ns_partition: partition@8000 { |
| 50 | + compatible = "zephyr,mapped-partition"; |
| 51 | + label = "image-0-nonsecure"; |
| 52 | + reg = <0x8000 0xf4000>; |
| 53 | + }; |
| 54 | + }; |
| 55 | + |
| 56 | + storage_partition: partition@fc000 { |
| 57 | + compatible = "zephyr,mapped-partition"; |
| 58 | + label = "storage"; |
| 59 | + reg = <0xfc000 0x4000>; |
| 60 | + ranges = <0x0 0xfc000 0x4000>; |
| 61 | + #address-cells = <1>; |
| 62 | + #size-cells = <1>; |
| 63 | + |
| 64 | + lwm2m_carrier_partition: partition@0 { |
| 65 | + compatible = "zephyr,mapped-partition"; |
| 66 | + label = "lwm2m-carrier"; |
| 67 | + reg = <0x0 0x2000>; |
| 68 | + }; |
| 69 | + |
| 70 | + settings_storage_partition: partition@2000 { |
| 71 | + compatible = "zephyr,mapped-partition"; |
| 72 | + label = "settings-storage"; |
| 73 | + reg = <0x2000 0x2000>; |
| 74 | + }; |
| 75 | + }; |
| 76 | + }; |
| 77 | +}; |
| 78 | + |
| 79 | +#include <samples/cellular/nrf91_sram_partitions.dtsi> |
0 commit comments