1/* 2 * Copyright (c) 2019 Nordic Semiconductor ASA 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7/* Flash partition table compatible with Nordic nRF5 bootloader */ 8 9&flash0 { 10 partitions { 11 compatible = "fixed-partitions"; 12 #address-cells = <1>; 13 #size-cells = <1>; 14 15 /* MCUboot placed after Nordic MBR (this is set with the FLASH_LOAD_OFFSET 16 * Kconfig value when BOARD_HAS_NRF5_BOOTLOADER is enabled), otherwise MCUboot 17 * will be placed at 0x0. The size of this partition ensures that MCUBoot can 18 * be built with CDC ACM support and w/o optimizations. 19 */ 20 boot_partition: partition@0 { 21 label = "mcuboot"; 22 reg = <0x00000000 0x00010000>; 23 }; 24 25 slot0_partition: partition@10000 { 26 label = "image-0"; 27 reg = <0x00010000 0x00066000>; 28 }; 29 slot1_partition: partition@76000 { 30 label = "image-1"; 31 reg = <0x00076000 0x00066000>; 32 }; 33 storage_partition: partition@dc000 { 34 label = "storage"; 35 reg = <0x000dc000 0x00004000>; 36 }; 37 38 /* Nordic nRF5 bootloader <0xe0000 0x1c000> 39 * 40 * In addition, the last and second last flash pages 41 * are used by the nRF5 bootloader and MBR to store settings. 42 */ 43 }; 44}; 45