Skip to content

Commit a56cb0a

Browse files
nordicjmhenrikbrixandersen
authored andcommitted
dts: vendor: nordic: nrf91xx_partition: Adapt to sub-partitions
Updates to use sub-partitions for TF-M slots Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
1 parent 4d65854 commit a56cb0a

File tree

1 file changed

+28
-10
lines changed

1 file changed

+28
-10
lines changed

dts/vendor/nordic/nrf91xx_partition.dtsi

Lines changed: 28 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -35,23 +35,41 @@
3535
};
3636

3737
slot0_partition: partition@10000 {
38+
compatible = "fixed-subpartitions";
3839
label = "image-0";
39-
reg = <0x00010000 0x40000>;
40-
};
40+
reg = <0x00010000 0x70000>;
41+
ranges = <0x0 0x10000 0x70000>;
42+
#address-cells = <1>;
43+
#size-cells = <1>;
44+
45+
slot0_s_partition: partition@0 {
46+
label = "image-0-secure";
47+
reg = <0x00000000 0x40000>;
48+
};
4149

42-
slot0_ns_partition: partition@50000 {
43-
label = "image-0-nonsecure";
44-
reg = <0x00050000 0x30000>;
50+
slot0_ns_partition: partition@40000 {
51+
label = "image-0-nonsecure";
52+
reg = <0x00040000 0x30000>;
53+
};
4554
};
4655

4756
slot1_partition: partition@80000 {
57+
compatible = "fixed-subpartitions";
4858
label = "image-1";
49-
reg = <0x00080000 0x40000>;
50-
};
59+
reg = <0x00080000 0x70000>;
60+
ranges = <0x0 0x80000 0x70000>;
61+
#address-cells = <1>;
62+
#size-cells = <1>;
63+
64+
slot1_s_partition: partition@0 {
65+
label = "image-1-secure";
66+
reg = <0x00000000 0x40000>;
67+
};
5168

52-
slot1_ns_partition: partition@c0000 {
53-
label = "image-1-nonsecure";
54-
reg = <0x000c0000 0x30000>;
69+
slot1_ns_partition: partition@40000 {
70+
label = "image-1-nonsecure";
71+
reg = <0x00040000 0x30000>;
72+
};
5573
};
5674

5775
tfm_ps_partition: partition@f0000 {

0 commit comments

Comments
 (0)