Skip to content

Commit 281f7cc

Browse files
committed
[nrf fromtree] dts: update memory map and remove ext-uicr
Extended UICR will not be used as its configurations will be merged with the UICR registers in NVR. Memory maps changes are needed to align with pre compiled firmware. Signed-off-by: Håkon Amundsen <[email protected]> Signed-off-by: Jonathan Nilsen <[email protected]> (cherry picked from commit 26603ce)
1 parent 54562e9 commit 281f7cc

File tree

8 files changed

+45
-29
lines changed

8 files changed

+45
-29
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
/*
2+
* Copyright (c) 2024 Nordic Semiconductor ASA
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
/delete-node/ &suit_storage_partition;
8+
9+
/ {
10+
reserved-memory {
11+
suit_storage_partition: memory@e1eb000 {
12+
reg = <0xe1eb000 DT_SIZE_K(24)>;
13+
};
14+
};
15+
};
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/*
2+
* Copyright (c) 2024 Nordic Semiconductor ASA
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
#include "nrf54h20dk_nrf54h20_0_8_0.dtsi"
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/*
2+
* Copyright (c) 2024 Nordic Semiconductor ASA
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
#include "nrf54h20dk_nrf54h20_0_8_0.dtsi"
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/*
2+
* Copyright (c) 2024 Nordic Semiconductor ASA
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
#include "nrf54h20dk_nrf54h20_0_8_0.dtsi"
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/*
2+
* Copyright (c) 2024 Nordic Semiconductor ASA
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
#include "nrf54h20dk_nrf54h20_0_8_0.dtsi"

dts/bindings/arm/nordic,nrf-uicr-v2.yaml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,3 @@ properties:
1717
description: |
1818
Domain ID of the domain associated with this UICR instance. Must be unique
1919
across all UICR instances in the system.
20-
21-
ptr-ext-uicr:
22-
type: phandle
23-
required: true
24-
description: |
25-
Handle of a memory region reserved to contain an Extended UICR instance.
26-
The address of that node will be stored in the UICR.PTREXTUICR register.

dts/common/nordic/nrf54h20.dtsi

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -148,16 +148,8 @@
148148
#address-cells = <1>;
149149
#size-cells = <1>;
150150

151-
suit_storage_partition: memory@e1eb000 {
152-
reg = <0xe1eb000 DT_SIZE_K(24)>;
153-
};
154-
155-
cpurad_uicr_ext: memory@e1ff000 {
156-
reg = <0xe1ff000 DT_SIZE_K(2)>;
157-
};
158-
159-
cpuapp_uicr_ext: memory@e1ff800 {
160-
reg = <0xe1ff800 DT_SIZE_K(2)>;
151+
suit_storage_partition: memory@e1ed000 {
152+
reg = <0xe1ed000 DT_SIZE_K(20)>;
161153
};
162154
};
163155

@@ -220,14 +212,12 @@
220212
compatible = "nordic,nrf-uicr-v2";
221213
reg = <0xfff8000 DT_SIZE_K(2)>;
222214
domain = <2>;
223-
ptr-ext-uicr = <&cpuapp_uicr_ext>;
224215
};
225216

226217
cpurad_uicr: uicr@fffa000 {
227218
compatible = "nordic,nrf-uicr-v2";
228219
reg = <0xfffa000 DT_SIZE_K(2)>;
229220
domain = <3>;
230-
ptr-ext-uicr = <&cpurad_uicr_ext>;
231221
};
232222

233223
ficr: ficr@fffe000 {

dts/common/nordic/nrf9280.dtsi

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -74,14 +74,6 @@
7474
reserved-memory {
7575
#address-cells = <1>;
7676
#size-cells = <1>;
77-
78-
cpurad_uicr_ext: memory@e401000 {
79-
reg = <0xe401000 DT_SIZE_K(2)>;
80-
};
81-
82-
cpuapp_uicr_ext: memory@e401800 {
83-
reg = <0xe401800 DT_SIZE_K(2)>;
84-
};
8577
};
8678

8779
clocks {
@@ -113,14 +105,12 @@
113105
compatible = "nordic,nrf-uicr-v2";
114106
reg = <0xfff8000 DT_SIZE_K(2)>;
115107
domain = <2>;
116-
ptr-ext-uicr = <&cpuapp_uicr_ext>;
117108
};
118109

119110
cpurad_uicr: uicr@fffa000 {
120111
compatible = "nordic,nrf-uicr-v2";
121112
reg = <0xfffa000 DT_SIZE_K(2)>;
122113
domain = <3>;
123-
ptr-ext-uicr = <&cpurad_uicr_ext>;
124114
};
125115

126116
ficr: ficr@fffe000 {

0 commit comments

Comments
 (0)