1/* SPDX-License-Identifier: Apache-2.0 */ 2 3/ { 4 chosen { 5 zephyr,boot-mode = &boot_mode0; 6 }; 7}; 8 9&gpregret1 { 10 status = "okay"; 11 12 boot_mode0: boot_mode@0 { 13 compatible = "zephyr,retention"; 14 status = "okay"; 15 reg = <0x0 0x1>; 16 }; 17}; 18 19/delete-node/ &boot_partition; 20/delete-node/ &slot0_partition; 21/delete-node/ &slot1_partition; 22 23&flash0 { 24 partitions { 25 compatible = "fixed-partitions"; 26 #address-cells = <1>; 27 #size-cells = <1>; 28 29 boot_partition: partition@0 { 30 label = "mcuboot"; 31 reg = <0x00000000 0x00020000>; 32 }; 33 slot0_partition: partition@20000 { 34 label = "image-0"; 35 reg = <0x00020000 0x00020000>; 36 }; 37 slot1_partition: partition@40000 { 38 label = "image-1"; 39 reg = <0x00040000 0x00020000>; 40 }; 41 }; 42}; 43