Skip to content

Commit 26603ce

Browse files
hakonfamcarlescufi
authored andcommitted
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]>
1 parent d73fda8 commit 26603ce

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
@@ -145,16 +145,8 @@
145145
#address-cells = <1>;
146146
#size-cells = <1>;
147147

148-
suit_storage_partition: memory@e1eb000 {
149-
reg = <0xe1eb000 DT_SIZE_K(24)>;
150-
};
151-
152-
cpurad_uicr_ext: memory@e1ff000 {
153-
reg = <0xe1ff000 DT_SIZE_K(2)>;
154-
};
155-
156-
cpuapp_uicr_ext: memory@e1ff800 {
157-
reg = <0xe1ff800 DT_SIZE_K(2)>;
148+
suit_storage_partition: memory@e1ed000 {
149+
reg = <0xe1ed000 DT_SIZE_K(20)>;
158150
};
159151
};
160152

@@ -217,14 +209,12 @@
217209
compatible = "nordic,nrf-uicr-v2";
218210
reg = <0xfff8000 DT_SIZE_K(2)>;
219211
domain = <2>;
220-
ptr-ext-uicr = <&cpuapp_uicr_ext>;
221212
};
222213

223214
cpurad_uicr: uicr@fffa000 {
224215
compatible = "nordic,nrf-uicr-v2";
225216
reg = <0xfffa000 DT_SIZE_K(2)>;
226217
domain = <3>;
227-
ptr-ext-uicr = <&cpurad_uicr_ext>;
228218
};
229219

230220
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)