Skip to content

Commit

Permalink
dts: update memory map and remove ext-uicr
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
hakonfam authored and carlescufi committed Oct 27, 2024
1 parent d73fda8 commit 26603ce
Show file tree
Hide file tree
Showing 8 changed files with 45 additions and 29 deletions.
15 changes: 15 additions & 0 deletions boards/nordic/nrf54h20dk/nrf54h20dk_nrf54h20_0_8_0.dtsi
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
/*
* Copyright (c) 2024 Nordic Semiconductor ASA
*
* SPDX-License-Identifier: Apache-2.0
*/

/delete-node/ &suit_storage_partition;

/ {
reserved-memory {
suit_storage_partition: memory@e1eb000 {
reg = <0xe1eb000 DT_SIZE_K(24)>;
};
};
};
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/*
* Copyright (c) 2024 Nordic Semiconductor ASA
*
* SPDX-License-Identifier: Apache-2.0
*/

#include "nrf54h20dk_nrf54h20_0_8_0.dtsi"
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/*
* Copyright (c) 2024 Nordic Semiconductor ASA
*
* SPDX-License-Identifier: Apache-2.0
*/

#include "nrf54h20dk_nrf54h20_0_8_0.dtsi"
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/*
* Copyright (c) 2024 Nordic Semiconductor ASA
*
* SPDX-License-Identifier: Apache-2.0
*/

#include "nrf54h20dk_nrf54h20_0_8_0.dtsi"
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/*
* Copyright (c) 2024 Nordic Semiconductor ASA
*
* SPDX-License-Identifier: Apache-2.0
*/

#include "nrf54h20dk_nrf54h20_0_8_0.dtsi"
7 changes: 0 additions & 7 deletions dts/bindings/arm/nordic,nrf-uicr-v2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,3 @@ properties:
description: |
Domain ID of the domain associated with this UICR instance. Must be unique
across all UICR instances in the system.
ptr-ext-uicr:
type: phandle
required: true
description: |
Handle of a memory region reserved to contain an Extended UICR instance.
The address of that node will be stored in the UICR.PTREXTUICR register.
14 changes: 2 additions & 12 deletions dts/common/nordic/nrf54h20.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -145,16 +145,8 @@
#address-cells = <1>;
#size-cells = <1>;

suit_storage_partition: memory@e1eb000 {
reg = <0xe1eb000 DT_SIZE_K(24)>;
};

cpurad_uicr_ext: memory@e1ff000 {
reg = <0xe1ff000 DT_SIZE_K(2)>;
};

cpuapp_uicr_ext: memory@e1ff800 {
reg = <0xe1ff800 DT_SIZE_K(2)>;
suit_storage_partition: memory@e1ed000 {
reg = <0xe1ed000 DT_SIZE_K(20)>;
};
};

Expand Down Expand Up @@ -217,14 +209,12 @@
compatible = "nordic,nrf-uicr-v2";
reg = <0xfff8000 DT_SIZE_K(2)>;
domain = <2>;
ptr-ext-uicr = <&cpuapp_uicr_ext>;
};

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

ficr: ficr@fffe000 {
Expand Down
10 changes: 0 additions & 10 deletions dts/common/nordic/nrf9280.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -74,14 +74,6 @@
reserved-memory {
#address-cells = <1>;
#size-cells = <1>;

cpurad_uicr_ext: memory@e401000 {
reg = <0xe401000 DT_SIZE_K(2)>;
};

cpuapp_uicr_ext: memory@e401800 {
reg = <0xe401800 DT_SIZE_K(2)>;
};
};

clocks {
Expand Down Expand Up @@ -113,14 +105,12 @@
compatible = "nordic,nrf-uicr-v2";
reg = <0xfff8000 DT_SIZE_K(2)>;
domain = <2>;
ptr-ext-uicr = <&cpuapp_uicr_ext>;
};

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

ficr: ficr@fffe000 {
Expand Down

0 comments on commit 26603ce

Please sign in to comment.