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 }; 22}; 23 24/ { 25 soc { 26 flash_controller2: flash-controller@2 { 27 compatible = "zephyr,sim-flash"; 28 reg = <0x00000000 DT_SIZE_K(40)>; 29 30 #address-cells = <1>; 31 #size-cells = <1>; 32 erase-value = <0xff>; 33 34 flash_sim0: flash_sim@0 { 35 status = "okay"; 36 compatible = "soc-nv-flash"; 37 erase-block-size = <4096>; 38 write-block-size = <1>; 39 reg = <0x00000000 DT_SIZE_K(40)>; 40 41 partitions { 42 compatible = "fixed-partitions"; 43 #address-cells = <1>; 44 #size-cells = <1>; 45 46 slot1_partition: partition@0 { 47 label = "image-1"; 48 reg = <0x00000000 0x00000A000>; 49 }; 50 }; 51 }; 52 }; 53 }; 54}; 55