1/* SPDX-License-Identifier: Apache-2.0 */ 2 3/ { 4 sram@2003FC00 { 5 compatible = "zephyr,memory-region", "mmio-sram"; 6 reg = <0x2003FC00 DT_SIZE_K(1)>; 7 zephyr,memory-region = "RetainedMem"; 8 status = "okay"; 9 10 retainedmem { 11 compatible = "zephyr,retained-ram"; 12 status = "okay"; 13 #address-cells = <1>; 14 #size-cells = <1>; 15 16 boot_mode0: boot_mode@0 { 17 compatible = "zephyr,retention"; 18 status = "okay"; 19 reg = <0x0 0x100>; 20 prefix = [08 04]; 21 checksum = <1>; 22 }; 23 }; 24 }; 25 26 27 chosen { 28 zephyr,boot-mode = &boot_mode0; 29 zephyr,uart-mcumgr = &cdc_acm_uart; 30 }; 31}; 32 33&zephyr_udc0 { 34 status = "okay"; 35 36 cdc_acm_uart: cdc_acm_uart { 37 compatible = "zephyr,cdc-acm-uart"; 38 }; 39}; 40 41/delete-node/ &gpregret1; 42/delete-node/ &gpregret2; 43/delete-node/ &boot_partition; 44/delete-node/ &slot0_partition; 45/delete-node/ &slot1_partition; 46 47&sram0 { 48 reg = <0x20000000 DT_SIZE_K(255)>; 49}; 50 51&flash0 { 52 partitions { 53 compatible = "fixed-partitions"; 54 #address-cells = <1>; 55 #size-cells = <1>; 56 57 boot_partition: partition@0 { 58 label = "mcuboot"; 59 reg = <0x00000000 0x00020000>; 60 }; 61 slot0_partition: partition@20000 { 62 label = "image-0"; 63 reg = <0x00020000 0x00020000>; 64 }; 65 slot1_partition: partition@40000 { 66 label = "image-1"; 67 reg = <0x00040000 0x00020000>; 68 }; 69 }; 70}; 71