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