Skip to content

Commit 8883feb

Browse files
DatLem0nnashif
authored andcommitted
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]>
1 parent 7ae81e6 commit 8883feb

23 files changed

+89
-401
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: 59 additions & 45 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>;
10398
};
10499

105-
cpusys_cpuapp_ipc_shm: memory@2f88fd60 {
106-
reg = <0x2f88fd60 0x80>;
100+
cpusys_cpuapp_ipc_shm: memory@3f88f680 {
101+
reg = <0x3f88f680 0x80>;
102+
};
103+
104+
cpusec_cpuapp_ipc_shm: memory@3f88fb80 {
105+
reg = <0x3f88fb80 0x80>;
106+
};
107+
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,57 +185,64 @@
178185
};
179186

180187
&mram1x {
181-
cpurad_rx_partitions: cpurad-rx-partitions {
182-
compatible = "nordic,owned-partitions", "fixed-partitions";
183-
status = "disabled";
184-
nordic,access = <NRF_OWNER_ID_RADIOCORE NRF_PERM_RXS>;
188+
partitions {
189+
compatible = "fixed-partitions";
185190
#address-cells = <1>;
186191
#size-cells = <1>;
187192

188-
cpurad_slot0_partition: partition@402000 {
189-
reg = <0x402000 DT_SIZE_K(256)>;
193+
cpuapp_boot_partition: partition@312000 {
194+
reg = <0x312000 DT_SIZE_K(64)>;
190195
};
191-
};
192196

193-
cpuapp_rx_partitions: cpuapp-rx-partitions {
194-
compatible = "nordic,owned-partitions", "fixed-partitions";
195-
status = "disabled";
196-
nordic,access = <NRF_OWNER_ID_APPLICATION NRF_PERM_RXS>;
197-
#address-cells = <1>;
198-
#size-cells = <1>;
197+
cpuapp_slot0_partition: partition@322000 {
198+
reg = <0x322000 DT_SIZE_K(336)>;
199+
};
199200

200-
cpuapp_slot0_partition: partition@442000 {
201-
reg = <0x442000 DT_SIZE_K(1024)>;
201+
cpuapp_slot1_partition: partition@376000 {
202+
reg = <0x376000 DT_SIZE_K(440)>;
202203
};
203204

204-
cpuppr_code_partition: partition@542000 {
205-
reg = <0x542000 DT_SIZE_K(64)>;
205+
cpuppr_code_partition: partition@3E4000 {
206+
reg = <0x3E4000 DT_SIZE_K(64)>;
206207
};
207-
};
208208

209-
cpuapp_rw_partitions: cpuapp-rw-partitions {
210-
compatible = "nordic,owned-partitions", "fixed-partitions";
211-
status = "disabled";
212-
nordic,access = <NRF_OWNER_ID_APPLICATION NRF_PERM_RWS>;
213-
#address-cells = <1>;
214-
#size-cells = <1>;
209+
cpuflpr_code_partition: partition@3F4000 {
210+
reg = <0x3F4000 DT_SIZE_K(48)>;
211+
};
215212

216-
dfu_partition: partition@600000 {
217-
reg = <0x600000 DT_SIZE_K(512)>;
213+
cpurad_slot0_partition: partition@400000 {
214+
reg = <0x400000 DT_SIZE_K(336)>;
218215
};
219216

220-
storage_partition: partition@680000 {
221-
reg = <0x680000 DT_SIZE_K(24)>;
217+
cpurad_slot1_partition: partition@454000 {
218+
reg = <0x454000 DT_SIZE_K(336)>;
222219
};
223-
};
224220

225-
partitions {
226-
compatible = "fixed-partitions";
227-
#address-cells = <1>;
228-
#size-cells = <1>;
221+
storage_partition: partition@600000 {
222+
reg = <0x600000 DT_SIZE_K(40)>;
223+
};
229224

230225
periphconf_partition: partition@60a000 {
231226
reg = <0x60a000 DT_SIZE_K(8)>;
232227
};
228+
229+
/* 0x60c000 was chosen for secure_storage_partition such that
230+
* it resides in the beginning of MRAM11 in storage partition.
231+
*/
232+
secure_storage_partition: partition@60c000 {
233+
compatible = "fixed-subpartitions";
234+
reg = <0x60c000 DT_SIZE_K(8)>;
235+
ranges = <0x0 0x60c000 0x2000>;
236+
#address-cells = <1>;
237+
#size-cells = <1>;
238+
239+
cpuapp_crypto_partition: partition@0 {
240+
reg = <0x0 DT_SIZE_K(4)>;
241+
};
242+
243+
cpuapp_its_partition: partition@1000 {
244+
reg = <0x1000 DT_SIZE_K(4)>;
245+
};
246+
};
233247
};
234248
};

boards/nordic/nrf9280pdk/nrf9280pdk_nrf9280-memory_map_iron.dtsi

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

0 commit comments

Comments
 (0)