Skip to content

Commit

Permalink
[nrf fromlist] dts: update memory map and remove ext-uicr
Browse files Browse the repository at this point in the history
Upstream PR: zephyrproject-rtos/zephyr#79507

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 jonathannilsen committed Oct 24, 2024
1 parent 56d8e60 commit 323d9f4
Show file tree
Hide file tree
Showing 8 changed files with 45 additions and 21 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 @@ -148,16 +148,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 @@ -220,14 +212,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
2 changes: 0 additions & 2 deletions dts/common/nordic/nrf9280.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -113,14 +113,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 323d9f4

Please sign in to comment.