Skip to content

Commit 85b35f0

Browse files
committed
[nrf-fromlist] boards: nrf9280pdk: Merge cpuapp iron variant into the base variant
Replaces the legacy SDFW compatible board configuration with the IronSide SE compatible one, thus removing support for running samples and tests on nRF9280 devices with the old firmware. Signed-off-by: Ville Kujala <[email protected]> Upstream PR #: 99898
1 parent 25f7b90 commit 85b35f0

23 files changed

+110
-345
lines changed

boards/nordic/nrf9280pdk/Kconfig.defconfig

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,6 @@
44
config HW_STACK_PROTECTION
55
default ARCH_HAS_STACK_PROTECTION
66

7-
if BOARD_NRF9280PDK_NRF9280_CPUAPP
8-
9-
config BT_HCI_IPC
10-
default y if BT
11-
12-
endif # BOARD_NRF9280PDK_NRF9280_CPUAPP
13-
14-
if BOARD_NRF9280PDK_NRF9280_CPURAD
15-
16-
endif # BOARD_NRF9280PDK_NRF9280_CPURAD
17-
187
if BOARD_NRF9280PDK_NRF9280_CPUPPR
198

209
# As PPR has limited memory most of tests does not fit with asserts enabled.
@@ -23,12 +12,12 @@ config ASSERT
2312

2413
endif # BOARD_NRF9280PDK_NRF9280_CPUPPR
2514

26-
if BOARD_NRF9280PDK_NRF9280_CPUAPP_IRON
15+
if BOARD_NRF9280PDK_NRF9280_CPUAPP
2716

2817
config ROM_START_OFFSET
2918
default 0x800 if BOOTLOADER_MCUBOOT
3019

3120
config FLASH_LOAD_OFFSET
3221
default $(dt_nodelabel_reg_addr_hex,cpuapp_boot_partition) if !USE_DT_CODE_PARTITION
3322

34-
endif # BOARD_NRF9280PDK_NRF9280_CPUAPP_IRON
23+
endif # BOARD_NRF9280PDK_NRF9280_CPUAPP

boards/nordic/nrf9280pdk/Kconfig.nrf9280pdk

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22
# SPDX-License-Identifier: Apache-2.0
33

44
config BOARD_NRF9280PDK
5-
select SOC_NRF9280_CPUAPP if (BOARD_NRF9280PDK_NRF9280_CPUAPP || \
6-
BOARD_NRF9280PDK_NRF9280_CPUAPP_IRON)
5+
select SOC_NRF9280_CPUAPP if BOARD_NRF9280PDK_NRF9280_CPUAPP
76
select SOC_NRF9280_CPURAD if BOARD_NRF9280PDK_NRF9280_CPURAD
87
select SOC_NRF9280_CPUPPR if (BOARD_NRF9280PDK_NRF9280_CPUPPR || \
98
BOARD_NRF9280PDK_NRF9280_CPUPPR_XIP)
10-
select SOC_NRF9280_IRON if BOARD_NRF9280PDK_NRF9280_CPUAPP_IRON

boards/nordic/nrf9280pdk/board.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ board:
77
variants:
88
- name: xip
99
cpucluster: cpuppr
10-
- name: iron
11-
cpucluster: cpuapp
1210
revision:
1311
format: major.minor.patch
1412
default: 0.2.0

boards/nordic/nrf9280pdk/nrf9280pdk_nrf9280-ipc_conf.dtsi

Lines changed: 5 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 = "zephyr,ipc-icmsg";
10+
compatible = "nordic,ironside-call";
1111
status = "disabled";
12-
dcache-alignment = <32>;
12+
memory-region = <&cpusec_cpuapp_ipc_shm>;
1313
mboxes = <&cpusec_bellboard 12>,
1414
<&cpuapp_bellboard 0>;
1515
};
1616

1717
cpusec_cpurad_ipc: ipc-1-3 {
18-
compatible = "zephyr,ipc-icmsg";
18+
compatible = "nordic,ironside-call";
1919
status = "disabled";
20-
dcache-alignment = <32>;
20+
memory-region = <&cpusec_cpurad_ipc_shm>;
2121
mboxes = <&cpusec_bellboard 18>,
2222
<&cpurad_bellboard 0>;
2323
};
@@ -33,6 +33,7 @@
3333
cpuapp_cpusys_ipc: ipc-2-12 {
3434
compatible = "zephyr,ipc-icmsg";
3535
status = "disabled";
36+
unbound = "enable";
3637
dcache-alignment = <32>;
3738
mboxes = <&cpuapp_bellboard 6>,
3839
<&cpusys_vevif 12>;

boards/nordic/nrf9280pdk/nrf9280pdk_nrf9280-ipc_conf_iron.dtsi

Lines changed: 0 additions & 30 deletions
This file was deleted.

boards/nordic/nrf9280pdk/nrf9280pdk_nrf9280-memory_map.dtsi

Lines changed: 80 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,6 @@
3838
#size-cells = <1>;
3939
ranges = <0x0 0x2f012000 0x81000>;
4040

41-
cpusec_cpuapp_ipc_shm: memory@0 {
42-
reg = <0x0 DT_SIZE_K(2)>;
43-
};
44-
45-
cpuapp_cpusec_ipc_shm: memory@800 {
46-
reg = <0x800 DT_SIZE_K(2)>;
47-
};
48-
4941
cpuapp_data: memory@1000 {
5042
reg = <0x1000 DT_SIZE_K(512)>;
5143
};
@@ -98,12 +90,27 @@
9890
};
9991
};
10092

101-
cpuapp_cpusys_ipc_shm: memory@2f88fce0 {
102-
reg = <0x2f88fce0 0x80>;
93+
/* Workaround for a data cache related issue with SoC1.1, use secure addresses
94+
* for cpuapp_cpusys_ipc_shm, cpusys_cpuapp_ipc_shm and cpusec_cpuapp_ipc_shm.
95+
*/
96+
cpuapp_cpusys_ipc_shm: memory@3f88f600 {
97+
reg = <0x3f88f600 0x80>;
98+
};
99+
100+
cpusys_cpuapp_ipc_shm: memory@3f88f680 {
101+
reg = <0x3f88f680 0x80>;
102+
};
103+
104+
cpusec_cpuapp_ipc_shm: memory@3f88fb80 {
105+
reg = <0x3f88fb80 0x80>;
103106
};
104107

105-
cpusys_cpuapp_ipc_shm: memory@2f88fd60 {
106-
reg = <0x2f88fd60 0x80>;
108+
cpuapp_ironside_se_event_report: memory@2f88fc00 {
109+
reg = <0x2f88fc00 0x100>;
110+
};
111+
112+
cpuapp_ironside_se_boot_report: memory@2f88fd00 {
113+
reg = <0x2f88fd00 0x200>;
107114
};
108115

109116
cpurad_cpusys_ipc_shm: memory@2f88fe00 {
@@ -178,6 +185,7 @@
178185
};
179186

180187
&mram1x {
188+
<<<<<<< HEAD
181189
cpurad_rx_partitions: cpurad-rx-partitions {
182190
compatible = "nordic,owned-partitions", "fixed-partitions";
183191
status = "disabled";
@@ -219,6 +227,66 @@
219227

220228
storage_partition: partition@680000 {
221229
reg = <0x680000 DT_SIZE_K(24)>;
230+
=======
231+
partitions {
232+
compatible = "fixed-partitions";
233+
#address-cells = <1>;
234+
#size-cells = <1>;
235+
236+
cpuapp_boot_partition: partition@312000 {
237+
reg = <0x312000 DT_SIZE_K(64)>;
238+
};
239+
240+
cpuapp_slot0_partition: partition@322000 {
241+
reg = <0x322000 DT_SIZE_K(336)>;
242+
};
243+
244+
cpuapp_slot1_partition: partition@376000 {
245+
reg = <0x376000 DT_SIZE_K(440)>;
246+
};
247+
248+
cpuppr_code_partition: partition@3E4000 {
249+
reg = <0x3E4000 DT_SIZE_K(64)>;
250+
};
251+
252+
cpuflpr_code_partition: partition@3F4000 {
253+
reg = <0x3F4000 DT_SIZE_K(48)>;
254+
};
255+
256+
cpurad_slot0_partition: partition@400000 {
257+
reg = <0x400000 DT_SIZE_K(336)>;
258+
};
259+
260+
cpurad_slot1_partition: partition@454000 {
261+
reg = <0x454000 DT_SIZE_K(336)>;
262+
};
263+
264+
storage_partition: partition@600000 {
265+
reg = <0x600000 DT_SIZE_K(40)>;
266+
};
267+
268+
periphconf_partition: partition@60a000 {
269+
reg = <0x60a000 DT_SIZE_K(8)>;
270+
};
271+
272+
/* 0x60c000 was chosen for secure_storage_partition such that
273+
* it resides in the beginning of MRAM11 in storage partition.
274+
*/
275+
secure_storage_partition: partition@60c000 {
276+
compatible = "fixed-subpartitions";
277+
reg = <0x60c000 DT_SIZE_K(8)>;
278+
ranges = <0x0 0x60c000 0x2000>;
279+
#address-cells = <1>;
280+
#size-cells = <1>;
281+
282+
cpuapp_crypto_partition: partition@0 {
283+
reg = <0x0 DT_SIZE_K(4)>;
284+
};
285+
286+
cpuapp_its_partition: partition@1000 {
287+
reg = <0x1000 DT_SIZE_K(4)>;
288+
};
289+
>>>>>>> fe0df6fe87f (boards: nrf9280pdk: Merge cpuapp iron variant into the base variant)
222290
};
223291
};
224292
};

boards/nordic/nrf9280pdk/nrf9280pdk_nrf9280-memory_map_iron.dtsi

Lines changed: 0 additions & 82 deletions
This file was deleted.

boards/nordic/nrf9280pdk/nrf9280pdk_nrf9280_cpuapp.dts

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,11 @@
2020

2121
chosen {
2222
zephyr,console = &uart136;
23-
zephyr,code-partition = &cpuapp_slot0_partition;
23+
zephyr,code-partition = &slot0_partition;
2424
zephyr,flash = &mram1x;
2525
zephyr,sram = &cpuapp_data;
2626
zephyr,shell-uart = &uart136;
27+
zephyr,uart-mcumgr = &uart136;
2728
zephyr,bt-hci = &bt_hci_ipc0;
2829
nordic,802154-spinel-ipc = &ipc0;
2930
zephyr,entropy = &psa_rng;
@@ -149,14 +150,17 @@
149150
status = "okay";
150151
};
151152

153+
&cpusec_bellboard {
154+
status = "okay";
155+
};
156+
152157
&cpusys_vevif {
153158
status = "okay";
154159
};
155160

156161
&cpusec_cpuapp_ipc {
157162
mbox-names = "tx", "rx";
158-
tx-region = <&cpuapp_cpusec_ipc_shm>;
159-
rx-region = <&cpusec_cpuapp_ipc_shm>;
163+
status = "okay";
160164
};
161165

162166
ipc0: &cpuapp_cpurad_ipc {
@@ -190,12 +194,18 @@ ipc0: &cpuapp_cpurad_ipc {
190194
status = "okay";
191195
};
192196

193-
&cpuapp_rx_partitions {
194-
status = "okay";
197+
ironside_se_boot_report: &cpuapp_ironside_se_boot_report {};
198+
199+
boot_partition: &cpuapp_boot_partition {
200+
label = "mcuboot";
195201
};
196202

197-
&cpuapp_rw_partitions {
198-
status = "okay";
203+
slot0_partition: &cpuapp_slot0_partition {
204+
label = "image-0";
205+
};
206+
207+
slot1_partition: &cpuapp_slot1_partition {
208+
label = "image-1";
199209
};
200210

201211
&cpuppr_vpr {

boards/nordic/nrf9280pdk/nrf9280pdk_nrf9280_cpuapp.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ type: mcu
77
arch: arm
88
toolchain:
99
- gnuarmemb
10+
- xtools
1011
- zephyr
1112
sysbuild: true
1213
ram: 512

boards/nordic/nrf9280pdk/nrf9280pdk_nrf9280_cpuapp_defconfig

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ CONFIG_SERIAL=y
88
CONFIG_CONSOLE=y
99
CONFIG_UART_CONSOLE=y
1010

11-
CONFIG_USE_DT_CODE_PARTITION=y
12-
1311
# Enable MPU
1412
CONFIG_ARM_MPU=y
1513

0 commit comments

Comments
 (0)