| /* SPDX-License-Identifier: Apache-2.0 */ |
| |
| / { |
| sram@2003F000 { |
| compatible = "zephyr,memory-region", "mmio-sram"; |
| reg = <0x2003F000 DT_SIZE_K(1)>; |
| zephyr,memory-region = "RetainedMem"; |
| status = "okay"; |
| |
| retainedmem { |
| compatible = "zephyr,retained-ram"; |
| status = "okay"; |
| #address-cells = <1>; |
| #size-cells = <1>; |
| |
| boot_info0: boot_info@0 { |
| compatible = "zephyr,retention"; |
| status = "okay"; |
| reg = <0x0 0x100>; |
| }; |
| }; |
| }; |
| |
| chosen { |
| zephyr,bootloader-info = &boot_info0; |
| }; |
| }; |
| |
| /delete-node/ &gpregret1; |
| /delete-node/ &gpregret2; |
| /delete-node/ &boot_partition; |
| /delete-node/ &slot0_partition; |
| /delete-node/ &slot1_partition; |
| |
| &sram0 { |
| reg = <0x20000000 DT_SIZE_K(255)>; |
| }; |
| |
| &flash0 { |
| partitions { |
| compatible = "fixed-partitions"; |
| #address-cells = <1>; |
| #size-cells = <1>; |
| |
| boot_partition: partition@0 { |
| label = "mcuboot"; |
| reg = <0x00000000 0x00020000>; |
| }; |
| slot0_partition: partition@20000 { |
| label = "image-0"; |
| reg = <0x00020000 0x00022000>; |
| }; |
| slot1_partition: partition@42000 { |
| label = "image-1"; |
| reg = <0x00042000 0x00024000>; |
| }; |
| }; |
| }; |