Skip to content

Commit a6f2f24

Browse files
jonathannilsenrlubos
authored andcommitted
Revert "[nrf fromlist] boards: nrf54h20dk: Merge iron variants into the base variants"
This reverts commit 6a5823e. Signed-off-by: Jonathan Nilsen <[email protected]>
1 parent b431f4d commit a6f2f24

38 files changed

+475
-115
lines changed

boards/nordic/nrf54h20dk/Kconfig.defconfig

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -9,26 +9,28 @@ config BT_HCI_IPC
99
config MAX_THREAD_BYTES
1010
default 3 if USERSPACE
1111

12-
config ROM_START_OFFSET
13-
default 0x800 if BOOTLOADER_MCUBOOT
14-
15-
if !USE_DT_CODE_PARTITION
16-
17-
# Application core firmware must start at this offset when not using MCUboot.
18-
# However, the default 'zephyr,code-partition' in DT is set for MCUboot.
19-
config FLASH_LOAD_OFFSET
20-
default $(dt_nodelabel_reg_addr_hex,cpuapp_boot_partition)
21-
22-
endif # !USE_DT_CODE_PARTITION
23-
2412
endif # BOARD_NRF54H20DK_NRF54H20_CPUAPP
2513

2614
if BOARD_NRF54H20DK_NRF54H20_CPURAD
2715

2816
config MAX_THREAD_BYTES
2917
default 3 if USERSPACE
3018

19+
endif # BOARD_NRF54H20DK_NRF54H20_CPURAD
20+
21+
if BOARD_NRF54H20DK_NRF54H20_CPUAPP_IRON
22+
3123
config ROM_START_OFFSET
3224
default 0x800 if BOOTLOADER_MCUBOOT
3325

34-
endif # BOARD_NRF54H20DK_NRF54H20_CPURAD
26+
config FLASH_LOAD_OFFSET
27+
default 0x2c000 if !USE_DT_CODE_PARTITION
28+
29+
endif # BOARD_NRF54H20DK_NRF54H20_CPUAPP_IRON
30+
31+
if BOARD_NRF54H20DK_NRF54H20_CPURAD_IRON
32+
33+
config ROM_START_OFFSET
34+
default 0x800 if BOOTLOADER_MCUBOOT
35+
36+
endif # BOARD_NRF54H20DK_NRF54H20_CPURAD_IRON

boards/nordic/nrf54h20dk/Kconfig.nrf54h20dk

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,13 @@
22
# SPDX-License-Identifier: Apache-2.0
33

44
config BOARD_NRF54H20DK
5-
select SOC_NRF54H20_CPUAPP if BOARD_NRF54H20DK_NRF54H20_CPUAPP
6-
select SOC_NRF54H20_CPURAD if BOARD_NRF54H20DK_NRF54H20_CPURAD
5+
select SOC_NRF54H20_CPUAPP if (BOARD_NRF54H20DK_NRF54H20_CPUAPP || \
6+
BOARD_NRF54H20DK_NRF54H20_CPUAPP_IRON)
7+
select SOC_NRF54H20_CPURAD if (BOARD_NRF54H20DK_NRF54H20_CPURAD || \
8+
BOARD_NRF54H20DK_NRF54H20_CPURAD_IRON)
79
select SOC_NRF54H20_CPUPPR if (BOARD_NRF54H20DK_NRF54H20_CPUPPR || \
810
BOARD_NRF54H20DK_NRF54H20_CPUPPR_XIP)
911
select SOC_NRF54H20_CPUFLPR if (BOARD_NRF54H20DK_NRF54H20_CPUFLPR || \
1012
BOARD_NRF54H20DK_NRF54H20_CPUFLPR_XIP)
13+
select SOC_NRF54H20_IRON if (BOARD_NRF54H20DK_NRF54H20_CPUAPP_IRON || \
14+
BOARD_NRF54H20DK_NRF54H20_CPURAD_IRON)

boards/nordic/nrf54h20dk/board.cmake

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22

33
include(${ZEPHYR_BASE}/boards/common/nrfutil.board.cmake)
44

5-
if(CONFIG_BOARD_NRF54H20DK_NRF54H20_CPUAPP OR CONFIG_BOARD_NRF54H20DK_NRF54H20_CPURAD)
5+
if(CONFIG_BOARD_NRF54H20DK_NRF54H20_CPUAPP OR
6+
CONFIG_BOARD_NRF54H20DK_NRF54H20_CPURAD OR
7+
CONFIG_BOARD_NRF54H20DK_NRF54H20_CPUAPP_IRON OR
8+
CONFIG_BOARD_NRF54H20DK_NRF54H20_CPURAD_IRON)
69
if(CONFIG_SOC_NRF54H20_CPUAPP)
710
set(JLINKSCRIPTFILE ${CMAKE_CURRENT_LIST_DIR}/support/nrf54h20_cpuapp.JLinkScript)
811
else()
@@ -14,7 +17,7 @@ if(CONFIG_BOARD_NRF54H20DK_NRF54H20_CPUAPP OR CONFIG_BOARD_NRF54H20DK_NRF54H20_C
1417
endif()
1518

1619
if(CONFIG_BOARD_NRF54H20DK_NRF54H20_CPUPPR OR CONFIG_BOARD_NRF54H20DK_NRF54H20_CPUFLPR)
17-
if(CONFIG_SOC_NRF54H20_CPUPPR)
20+
if(CONFIG_BOARD_NRF54H20DK_NRF54H20_CPUPPR)
1821
set(JLINKSCRIPTFILE ${CMAKE_CURRENT_LIST_DIR}/support/nrf54h20_cpuppr.JLinkScript)
1922
else()
2023
set(JLINKSCRIPTFILE ${CMAKE_CURRENT_LIST_DIR}/support/nrf54h20_cpuflpr.JLinkScript)

boards/nordic/nrf54h20dk/board.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ board:
99
cpucluster: cpuppr
1010
- name: xip
1111
cpucluster: cpuflpr
12+
- name: iron
13+
cpucluster: cpuapp
14+
- name: iron
15+
cpucluster: cpurad
1216
revision:
1317
format: major.minor.patch
1418
default: "0.9.0"

boards/nordic/nrf54h20dk/nrf54h20dk_nrf54h20-ipc_conf.dtsi

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,17 @@
77
/ {
88
ipc {
99
cpusec_cpuapp_ipc: ipc-1-2 {
10-
compatible = "nordic,ironside-call";
10+
compatible = "zephyr,ipc-icmsg";
1111
status = "disabled";
12-
memory-region = <&cpusec_cpuapp_ipc_shm>;
12+
dcache-alignment = <32>;
1313
mboxes = <&cpusec_bellboard 12>,
1414
<&cpuapp_bellboard 0>;
1515
};
1616

1717
cpusec_cpurad_ipc: ipc-1-3 {
18-
compatible = "nordic,ironside-call";
18+
compatible = "zephyr,ipc-icmsg";
1919
status = "disabled";
20-
memory-region = <&cpusec_cpurad_ipc_shm>;
20+
dcache-alignment = <32>;
2121
mboxes = <&cpusec_bellboard 18>,
2222
<&cpurad_bellboard 0>;
2323
};
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
/*
2+
* Copyright (c) 2025 Nordic Semiconductor ASA
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
/* This file is to be merged with the original ipc_conf.dtsi in the future. */
8+
9+
/ {
10+
ipc {
11+
/delete-node/ ipc-1-2;
12+
/delete-node/ ipc-1-3;
13+
14+
cpusec_cpuapp_ipc: ipc-1-2 {
15+
compatible = "nordic,ironside-call";
16+
memory-region = <&cpusec_cpuapp_ipc_shm>;
17+
mboxes = <&cpusec_bellboard 12>,
18+
<&cpuapp_bellboard 0>;
19+
status = "disabled";
20+
};
21+
22+
cpusec_cpurad_ipc: ipc-1-3 {
23+
compatible = "nordic,ironside-call";
24+
memory-region = <&cpusec_cpurad_ipc_shm>;
25+
mboxes = <&cpusec_bellboard 18>,
26+
<&cpurad_bellboard 0>;
27+
status = "disabled";
28+
};
29+
};
30+
};

boards/nordic/nrf54h20dk/nrf54h20dk_nrf54h20-memory_map.dtsi

Lines changed: 50 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,14 @@
1616
#size-cells = <1>;
1717
ranges = <0x0 0x2f010000 0x41000>;
1818

19+
cpusec_cpuapp_ipc_shm: memory@0 {
20+
reg = <0x0 DT_SIZE_K(2)>;
21+
};
22+
23+
cpuapp_cpusec_ipc_shm: memory@800 {
24+
reg = <0x800 DT_SIZE_K(2)>;
25+
};
26+
1927
cpuapp_data: memory@1000 {
2028
reg = <0x1000 DT_SIZE_K(256)>;
2129
};
@@ -29,6 +37,14 @@
2937
#address-cells = <1>;
3038
#size-cells = <1>;
3139
ranges = <0x0 0x2f051000 0x1000>;
40+
41+
cpusec_cpurad_ipc_shm: memory@0 {
42+
reg = <0x0 DT_SIZE_K(2)>;
43+
};
44+
45+
cpurad_cpusec_ipc_shm: memory@800 {
46+
reg = <0x800 DT_SIZE_K(2)>;
47+
};
3248
};
3349

3450
etr_buf_ram0x_region: memory@2f0be000 {
@@ -65,44 +81,20 @@
6581
};
6682
};
6783

68-
cpuapp_cpusys_ipc_shm: memory@2f88f600 {
69-
reg = <0x2f88f600 0x80>;
70-
};
71-
72-
cpusys_cpuapp_ipc_shm: memory@2f88f680 {
73-
reg = <0x2f88f680 0x80>;
74-
};
75-
76-
cpurad_cpusys_ipc_shm: memory@2f88f700 {
77-
reg = <0x2f88f700 0x80>;
84+
cpuapp_cpusys_ipc_shm: memory@2f88fce0 {
85+
reg = <0x2f88fce0 0x80>;
7886
};
7987

80-
cpusys_cpurad_ipc_shm: memory@2f88f780 {
81-
reg = <0x2f88f780 0x80>;
88+
cpusys_cpuapp_ipc_shm: memory@2f88fd60 {
89+
reg = <0x2f88fd60 0x80>;
8290
};
8391

84-
cpusec_cpurad_ipc_shm: memory@2f88f800 {
85-
reg = <0x2f88f800 0x80>;
92+
cpurad_cpusys_ipc_shm: memory@2f88fe00 {
93+
reg = <0x2f88fe00 0x80>;
8694
};
8795

88-
cpurad_ironside_se_event_report: memory@2f88f880 {
89-
reg = <0x2f88f880 0x100>;
90-
};
91-
92-
cpurad_ironside_se_boot_report: memory@2f88f980 {
93-
reg = <0x2f88f980 0x200>;
94-
};
95-
96-
cpusec_cpuapp_ipc_shm: memory@2f88fb80 {
97-
reg = <0x2f88fb80 0x80>;
98-
};
99-
100-
cpuapp_ironside_se_event_report: memory@2f88fc00 {
101-
reg = <0x2f88fc00 0x100>;
102-
};
103-
104-
cpuapp_ironside_se_boot_report: memory@2f88fd00 {
105-
reg = <0x2f88fd00 0x200>;
96+
cpusys_cpurad_ipc_shm: memory@2f88fe80 {
97+
reg = <0x2f88fe80 0x80>;
10698
};
10799

108100
/*
@@ -195,21 +187,27 @@
195187
};
196188

197189
&mram1x {
198-
partitions {
199-
compatible = "fixed-partitions";
190+
cpurad_rx_partitions: cpurad-rx-partitions {
191+
compatible = "nordic,owned-partitions", "fixed-partitions";
192+
status = "disabled";
193+
nordic,access = <NRF_OWNER_ID_RADIOCORE NRF_PERM_RXS>;
200194
#address-cells = <1>;
201195
#size-cells = <1>;
202196

203-
cpuapp_boot_partition: partition@2c000 {
204-
reg = <0x2c000 DT_SIZE_K(64)>;
197+
cpurad_slot0_partition: partition@54000 {
198+
reg = <0x54000 DT_SIZE_K(256)>;
205199
};
200+
};
206201

207-
cpuapp_slot0_partition: partition@3c000 {
208-
reg = <0x3c000 DT_SIZE_K(336)>;
209-
};
202+
cpuapp_rx_partitions: cpuapp-rx-partitions {
203+
compatible = "nordic,owned-partitions", "fixed-partitions";
204+
status = "disabled";
205+
nordic,access = <NRF_OWNER_ID_APPLICATION NRF_PERM_RXS>;
206+
#address-cells = <1>;
207+
#size-cells = <1>;
210208

211-
cpurad_slot0_partition: partition@90000 {
212-
reg = <0x90000 DT_SIZE_K(336)>;
209+
cpuapp_slot0_partition: partition@94000 {
210+
reg = <0x94000 DT_SIZE_K(320)>;
213211
};
214212

215213
cpuppr_code_partition: partition@e4000 {
@@ -219,17 +217,21 @@
219217
cpuflpr_code_partition: partition@f4000 {
220218
reg = <0xf4000 DT_SIZE_K(48)>;
221219
};
220+
};
222221

223-
cpuapp_slot1_partition: partition@100000 {
224-
reg = <0x100000 DT_SIZE_K(336)>;
225-
};
222+
cpuapp_rw_partitions: cpuapp-rw-partitions {
223+
compatible = "nordic,owned-partitions", "fixed-partitions";
224+
status = "disabled";
225+
nordic,access = <NRF_OWNER_ID_APPLICATION NRF_PERM_RWS>;
226+
#address-cells = <1>;
227+
#size-cells = <1>;
226228

227-
cpurad_slot1_partition: partition@154000 {
228-
reg = <0x154000 DT_SIZE_K(336)>;
229+
dfu_partition: partition@100000 {
230+
reg = < 0x100000 DT_SIZE_K(908) >;
229231
};
230232

231-
storage_partition: partition@1a8000 {
232-
reg = <0x1a8000 DT_SIZE_K(40)>;
233+
storage_partition: partition@1e3000 {
234+
reg = < 0x1e3000 DT_SIZE_K(40) >;
233235
};
234236
};
235237
};
Lines changed: 104 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,104 @@
1+
/*
2+
* Copyright (c) 2025 Nordic Semiconductor ASA
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
/* This file is to be merged with the original memory_map.dtsi in the future.
8+
* The following nodes will be replaced:
9+
*/
10+
/delete-node/ &cpuapp_cpusec_ipc_shm;
11+
/delete-node/ &cpuapp_cpusys_ipc_shm;
12+
/delete-node/ &cpurad_cpusec_ipc_shm;
13+
/delete-node/ &cpurad_cpusys_ipc_shm;
14+
/delete-node/ &cpusec_cpuapp_ipc_shm;
15+
/delete-node/ &cpusec_cpurad_ipc_shm;
16+
/delete-node/ &cpusys_cpuapp_ipc_shm;
17+
/delete-node/ &cpusys_cpurad_ipc_shm;
18+
/delete-node/ &cpuapp_rw_partitions;
19+
/delete-node/ &cpuapp_rx_partitions;
20+
/delete-node/ &cpurad_rx_partitions;
21+
22+
/ {
23+
reserved-memory {
24+
cpuapp_cpusys_ipc_shm: memory@2f88f600 {
25+
reg = <0x2f88f600 0x80>;
26+
};
27+
28+
cpusys_cpuapp_ipc_shm: memory@2f88f680 {
29+
reg = <0x2f88f680 0x80>;
30+
};
31+
32+
cpurad_cpusys_ipc_shm: memory@2f88f700 {
33+
reg = <0x2f88f700 0x80>;
34+
};
35+
36+
cpusys_cpurad_ipc_shm: memory@2f88f780 {
37+
reg = <0x2f88f780 0x80>;
38+
};
39+
40+
cpusec_cpurad_ipc_shm: memory@2f88f800 {
41+
reg = <0x2f88f800 0x80>;
42+
};
43+
44+
cpurad_ironside_se_event_report: memory@2f88f880 {
45+
reg = <0x2f88f880 0x100>;
46+
};
47+
48+
cpurad_ironside_se_boot_report: memory@2f88f980 {
49+
reg = <0x2f88f980 0x200>;
50+
};
51+
52+
cpusec_cpuapp_ipc_shm: memory@2f88fb80 {
53+
reg = <0x2f88fb80 0x80>;
54+
};
55+
56+
cpuapp_ironside_se_event_report: memory@2f88fc00 {
57+
reg = <0x2f88fc00 0x100>;
58+
};
59+
60+
cpuapp_ironside_se_boot_report: memory@2f88fd00 {
61+
reg = <0x2f88fd00 0x200>;
62+
};
63+
};
64+
};
65+
66+
&mram1x {
67+
partitions {
68+
compatible = "fixed-partitions";
69+
#address-cells = <1>;
70+
#size-cells = <1>;
71+
72+
cpuapp_boot_partition: partition@2c000 {
73+
reg = <0x2c000 DT_SIZE_K(64)>;
74+
};
75+
76+
cpuapp_slot0_partition: partition@3c000 {
77+
reg = <0x3c000 DT_SIZE_K(336)>;
78+
};
79+
80+
cpurad_slot0_partition: partition@90000 {
81+
reg = <0x90000 DT_SIZE_K(336)>;
82+
};
83+
84+
cpuppr_code_partition: partition@e4000 {
85+
reg = <0xe4000 DT_SIZE_K(64)>;
86+
};
87+
88+
cpuflpr_code_partition: partition@f4000 {
89+
reg = <0xf4000 DT_SIZE_K(48)>;
90+
};
91+
92+
cpuapp_slot1_partition: partition@100000 {
93+
reg = <0x100000 DT_SIZE_K(336)>;
94+
};
95+
96+
cpurad_slot1_partition: partition@154000 {
97+
reg = <0x154000 DT_SIZE_K(336)>;
98+
};
99+
100+
storage_partition: partition@1a8000 {
101+
reg = <0x1a8000 DT_SIZE_K(40)>;
102+
};
103+
};
104+
};

0 commit comments

Comments
 (0)