/delete-node/ &sram0_ns;

&cpuapp_sram {
	sram0_s: image_s@0 {
		/* Secure image memory */
		reg = <0x0 DT_SIZE_K(64)>;
		ranges = <0x0 0x0 DT_SIZE_K(64)>;
	};

	sram0_ns: image_ns@10000 {
		#address-cells = <1>;
		#size-cells = <1>;
		/* Non-Secure image memory */
		reg = <0x10000 DT_SIZE_K(192)>;
		ranges = <0x0 0x10000 DT_SIZE_K(192)>;
	};
};

/delete-node/ &slot0_partition;
/delete-node/ &tfm_ps_partition;
/delete-node/ &tfm_its_partition;
/delete-node/ &tfm_otp_partition;
/delete-node/ &slot0_ns_partition;
/delete-node/ &storage_partition;

&cpuapp_rram {
	partitions {
		boot_partition: partition@0 {
			label = "mcuboot";
			reg = <0x0 0xc000>;
		};

		tfm_its_partition: partition@c000 {
			label = "tfm-its";
			reg = <0xc000 0x2000>;
		};

		tfm_otp_partition: partition@e000 {
			label = "tfm-otp";
			reg = <0xe000 0x2000>;
		};

		tfm_ps_partition: partition@10000 {
			label = "tfm-ps";
			reg = <0x10000 0x4000>;
		};

		slot0_partition: partition@14000 {
			compatible = "fixed-subpartitions";
			label = "image-0";
			reg = <0x14000 0xb2000>;
			ranges = <0x0 0x14000 0xb2000>;
			#address-cells = <1>;
			#size-cells = <1>;

			slot0_s_partition: partition@0 {
				label = "image-0-secure";
				reg = <0x0 0x20000>;
			};

			slot0_ns_partition: partition@20000 {
				label = "image-0-nonsecure";
				reg = <0x20000 0x92000>;
			};
		};

		slot1_partition: partition@c6000 {
			label = "image-1";
			reg = <0xc6000 0x7b000>;
		};

		littlefs_storage: partition@141000 {
			label = "littlefs-storage";
			reg = <0x141000 0x14000>;
		};

		storage_partition: partition@155000 {
			label = "storage";
			reg = <0x155000 0x10000>;
		};
	};
};

