1/* 2 * Copyright (c) 2021 Nordic Semiconductor ASA 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7/delete-node/ &slot1_partition; 8/delete-node/ &slot0_partition; 9/delete-node/ &boot_partition; 10 11&flash0 { 12 partitions { 13 boot_partition: partition@0 { 14 label = "mcuboot"; 15 reg = <0x000000000 0x00010000>; 16 }; 17 slot0_partition: partition@10000 { 18 label = "image-0"; 19 reg = <0x000010000 0x00000A000>; 20 }; 21 slot1_partition: partition@1A000 { 22 label = "image-1"; 23 reg = <0x00001A000 0x00000A000>; 24 }; 25 slot3_partition: partition@24000 { 26 label = "image-3"; 27 reg = <0x000024000 0x00000A000>; 28 }; 29 }; 30}; 31 32/ { 33 soc { 34 flash_controller2: flash-controller@2 { 35 compatible = "zephyr,sim-flash"; 36 reg = <0x00000000 DT_SIZE_K(40)>; 37 38 #address-cells = <1>; 39 #size-cells = <1>; 40 erase-value = <0xff>; 41 42 flash_sim0: flash_sim@0 { 43 status = "okay"; 44 compatible = "soc-nv-flash"; 45 erase-block-size = <4096>; 46 write-block-size = <1>; 47 reg = <0x00000000 DT_SIZE_K(40)>; 48 49 partitions { 50 compatible = "fixed-partitions"; 51 #address-cells = <1>; 52 #size-cells = <1>; 53 54 slot2_partition: partition@0 { 55 label = "image-2"; 56 reg = <0x00000000 0x00000A000>; 57 }; 58 }; 59 }; 60 }; 61 }; 62}; 63