Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions boards/arm/v2m_musca_b1/v2m_musca_b1_musca_b1_ns.dts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

/dts-v1/;

#include <mem.h>
#include <arm/armv8-m.dtsi>

/ {
Expand All @@ -20,6 +21,7 @@
zephyr,sram = &sram0;
zephyr,flash = &flash0;
zephyr,shell-uart = &uart1;
zephyr,code-partition = &slot0_ns_partition;
};

cpus {
Expand All @@ -42,7 +44,44 @@

flash0: flash@a070000 {
/* Embedded flash */
compatible = "soc-nv-flash";
reg = <0xa070000 0x1a0000>;
erase-block-size = <4096>;
write-block-size = <4>;
#address-cells = <1>;
#size-cells = <1>;

partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;

/* This code memory region must match what the TF-M
* project has defined for that board - the multi-image
* boot is used in Zephyr. See memory layout details in:
*
* https://git.trustedfirmware.org/TF-M/trusted-firmware-m.git/tree/platform/ext/target/arm/musca_b1/partition/flash_layout.h
*/
slot0_partition: partition@0 {
reg = <0x00000000 DT_SIZE_K(256)>;
};

slot0_ns_partition: partition@40000 {
reg = <0x00040000 DT_SIZE_K(512)>;
};

slot1_partition: partition@c0000 {
reg = <0x000c0000 DT_SIZE_K(256)>;
};

slot1_ns_partition: partition@100000 {
reg = <0x00100000 DT_SIZE_K(512)>;
};

scratch_partition: partition@180000 {
reg = <0x00180000 DT_SIZE_K(96)>;
};
};
};

sram0: memory@20040000 {
Expand Down