-
Notifications
You must be signed in to change notification settings - Fork 7.4k
Misc. support for nrf9280pdk_cpuapp_iron #90756
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
ayla-nordicsemi
wants to merge
4
commits into
zephyrproject-rtos:main
Choose a base branch
from
ayla-nordicsemi:nordic_lr_ironside_adaptation
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+232
−11
Open
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
c78326f
soc: nordic: add support of 'iron' variant to application
ayla-nordicsemi 183d80c
boards: nordic: add 'iron' board variant to application
ayla-nordicsemi 8e4086b
drivers: firmware: nrf_ironside: add nrf9280 to CPUCONF service
ayla-nordicsemi dc440b3
drivers: firmware: nrf_ironside: Add error message in case of invalid…
ayla-nordicsemi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,3 +19,13 @@ config ASSERT | |
default n if ZTEST | ||
|
||
endif # BOARD_NRF9280PDK_NRF9280_CPUPPR | ||
|
||
if BOARD_NRF9280PDK_NRF9280_CPUAPP_IRON | ||
|
||
config ROM_START_OFFSET | ||
default 0x800 if BOOTLOADER_MCUBOOT | ||
|
||
config FLASH_LOAD_OFFSET | ||
default 0x2c000 if !USE_DT_CODE_PARTITION | ||
Comment on lines
+28
to
+29
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. use dt Kconfig functions to get this value |
||
|
||
endif # BOARD_NRF9280PDK_NRF9280_CPUAPP_IRON |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,3 +7,5 @@ board: | |
variants: | ||
- name: xip | ||
cpucluster: cpuppr | ||
- name: iron | ||
cpucluster: cpuapp |
30 changes: 30 additions & 0 deletions
30
boards/nordic/nrf9280pdk/nrf9280pdk_nrf9280-ipc_conf_iron.dtsi
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
/* | ||
* Copyright (c) 2025 Nordic Semiconductor ASA | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
/* This file is to be merged with the original ipc_conf.dtsi in the future. */ | ||
|
||
/ { | ||
ipc { | ||
/delete-node/ ipc-1-2; | ||
/delete-node/ ipc-1-3; | ||
|
||
cpusec_cpuapp_ipc: ipc-1-2 { | ||
compatible = "nordic,ironside-call"; | ||
memory-region = <&cpusec_cpuapp_ipc_shm>; | ||
mboxes = <&cpusec_bellboard 12>, | ||
<&cpuapp_bellboard 0>; | ||
status = "disabled"; | ||
}; | ||
|
||
cpusec_cpurad_ipc: ipc-1-3 { | ||
compatible = "nordic,ironside-call"; | ||
memory-region = <&cpusec_cpurad_ipc_shm>; | ||
mboxes = <&cpusec_bellboard 18>, | ||
<&cpurad_bellboard 0>; | ||
status = "disabled"; | ||
}; | ||
}; | ||
}; |
79 changes: 79 additions & 0 deletions
79
boards/nordic/nrf9280pdk/nrf9280pdk_nrf9280-memory_map_iron.dtsi
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
/* | ||
* Copyright (c) 2025 Nordic Semiconductor ASA | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
/* This file is to be merged with the original memory_map.dtsi in the future. | ||
* The following nodes will be replaced: | ||
*/ | ||
/delete-node/ &cpuapp_cpusys_ipc_shm; | ||
/delete-node/ &cpusec_cpuapp_ipc_shm; | ||
/delete-node/ &cpusys_cpuapp_ipc_shm; | ||
/delete-node/ &cpuapp_rw_partitions; | ||
/delete-node/ &cpuapp_rx_partitions; | ||
/delete-node/ &cpurad_rx_partitions; | ||
|
||
/ { | ||
reserved-memory { | ||
cpuapp_cpusys_ipc_shm: memory@2f88f600 { | ||
reg = <0x2f88f600 0x80>; | ||
}; | ||
|
||
cpusys_cpuapp_ipc_shm: memory@2f88f680 { | ||
reg = <0x2f88f680 0x80>; | ||
}; | ||
|
||
cpusec_cpuapp_ipc_shm: memory@2f88fb80 { | ||
reg = <0x2f88fb80 0x80>; | ||
}; | ||
|
||
cpuapp_ironside_se_event_report: memory@2f88fc00 { | ||
reg = <0x2f88fc00 0x100>; | ||
}; | ||
|
||
cpuapp_ironside_se_boot_report: memory@2f88fd00 { | ||
reg = <0x2f88fd00 0x200>; | ||
}; | ||
}; | ||
}; | ||
|
||
&mram1x { | ||
partitions { | ||
compatible = "fixed-partitions"; | ||
#address-cells = <1>; | ||
#size-cells = <1>; | ||
|
||
cpuapp_boot_partition: partition@2c000 { | ||
reg = <0x2c000 DT_SIZE_K(64)>; | ||
}; | ||
|
||
cpuapp_slot0_partition: partition@3c000 { | ||
reg = <0x3c000 DT_SIZE_K(336)>; | ||
}; | ||
|
||
cpurad_slot0_partition: partition@90000 { | ||
reg = <0x90000 DT_SIZE_K(336)>; | ||
}; | ||
|
||
cpuppr_code_partition: partition@e4000 { | ||
reg = <0xe4000 DT_SIZE_K(64)>; | ||
}; | ||
|
||
cpuflpr_code_partition: partition@f4000 { | ||
reg = <0xf4000 DT_SIZE_K(48)>; | ||
}; | ||
|
||
cpuapp_slot1_partition: partition@100000 { | ||
reg = <0x100000 DT_SIZE_K(336)>; | ||
}; | ||
|
||
cpurad_slot1_partition: partition@154000 { | ||
reg = <0x154000 DT_SIZE_K(336)>; | ||
}; | ||
|
||
storage_partition: partition@1a8000 { | ||
reg = <0x1a8000 DT_SIZE_K(40)>; | ||
}; | ||
}; | ||
}; |
39 changes: 39 additions & 0 deletions
39
boards/nordic/nrf9280pdk/nrf9280pdk_nrf9280_cpuapp_iron.dts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
/* | ||
* Copyright (c) 2025 Nordic Semiconductor ASA | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
#include "nrf9280pdk_nrf9280_cpuapp.dts" | ||
#include "nrf9280pdk_nrf9280-ipc_conf_iron.dtsi" | ||
#include "nrf9280pdk_nrf9280-memory_map_iron.dtsi" | ||
|
||
/delete-node/ &cpusec_cpurad_ipc; | ||
|
||
/ { | ||
chosen { | ||
zephyr,code-partition = &slot0_partition; | ||
zephyr,uart-mcumgr = &uart136; | ||
}; | ||
}; | ||
|
||
&cpusec_bellboard { | ||
status = "okay"; | ||
}; | ||
|
||
&cpusec_cpuapp_ipc { | ||
mbox-names = "tx", "rx"; | ||
status = "okay"; | ||
}; | ||
|
||
boot_partition: &cpuapp_boot_partition { | ||
label = "mcuboot"; | ||
}; | ||
|
||
slot0_partition: &cpuapp_slot0_partition { | ||
label = "image-0"; | ||
}; | ||
|
||
slot1_partition: &cpuapp_slot1_partition { | ||
label = "image-1"; | ||
}; |
23 changes: 23 additions & 0 deletions
23
boards/nordic/nrf9280pdk/nrf9280pdk_nrf9280_cpuapp_iron.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Copyright (c) 2024 Nordic Semiconductor ASA | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
identifier: nrf9280pdk/nrf9280/cpuapp/iron | ||
name: nRF9280-DK-nRF9280-Application | ||
type: mcu | ||
arch: arm | ||
toolchain: | ||
- gnuarmemb | ||
- xtools | ||
- zephyr | ||
sysbuild: true | ||
ram: 512 | ||
flash: 1024 | ||
supported: | ||
- adc | ||
- counter | ||
- gpio | ||
- i2c | ||
- pwm | ||
- spi | ||
- watchdog | ||
- usbd |
29 changes: 29 additions & 0 deletions
29
boards/nordic/nrf9280pdk/nrf9280pdk_nrf9280_cpuapp_iron_defconfig
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Copyright (c) 2024 Nordic Semiconductor ASA | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
# Enable UART driver | ||
CONFIG_SERIAL=y | ||
|
||
# Enable console | ||
CONFIG_CONSOLE=y | ||
CONFIG_UART_CONSOLE=y | ||
|
||
# Enable MPU | ||
CONFIG_ARM_MPU=y | ||
|
||
# Enable hardware stack protection | ||
CONFIG_HW_STACK_PROTECTION=y | ||
|
||
# MPU-based null-pointer dereferencing detection cannot be applied | ||
# as the (0x0 - 0x400) region is unmapped for this target. | ||
CONFIG_NULL_POINTER_EXCEPTION_DETECTION_NONE=y | ||
|
||
# Enable cache | ||
CONFIG_CACHE_MANAGEMENT=y | ||
CONFIG_EXTERNAL_CACHE=y | ||
|
||
# Enable GPIO | ||
CONFIG_GPIO=y | ||
|
||
# UICR generation is not supported, and when reintroduced will not use nrf-regtool. | ||
CONFIG_NRF_REGTOOL_GENERATE_UICR=n |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.