Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions boards/nordic/nrf54h20dk/nrf54h20dk_nrf54h20-ipc_conf.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,15 @@
cpusec_cpuapp_ipc: ipc-1-2 {
compatible = "zephyr,ipc-icmsg";
status = "disabled";
dcache-alignment = <32>;
mboxes = <&cpusec_bellboard 12>,
<&cpuapp_bellboard 0>;
};

cpusec_cpurad_ipc: ipc-1-3 {
compatible = "zephyr,ipc-icmsg";
status = "disabled";
dcache-alignment = <32>;
mboxes = <&cpusec_bellboard 18>,
<&cpurad_bellboard 0>;
};
Expand All @@ -30,27 +32,31 @@
cpuapp_cpusys_ipc: ipc-2-12 {
compatible = "zephyr,ipc-icmsg";
status = "disabled";
dcache-alignment = <32>;
mboxes = <&cpuapp_bellboard 6>,
<&cpusys_vevif 12>;
};

cpuapp_cpuppr_ipc: ipc-2-13 {
compatible = "zephyr,ipc-icmsg";
status = "disabled";
dcache-alignment = <32>;
mboxes = <&cpuapp_bellboard 13>,
<&cpuppr_vevif 12>;
};

cpuapp_cpuflpr_ipc: ipc-2-14 {
compatible = "zephyr,ipc-icmsg";
status = "disabled";
dcache-alignment = <32>;
mboxes = <&cpuapp_bellboard 14>,
<&cpuflpr_vevif 16>;
};

cpurad_cpusys_ipc: ipc-3-12 {
compatible = "zephyr,ipc-icmsg";
status = "disabled";
dcache-alignment = <32>;
mboxes = <&cpurad_bellboard 6>,
<&cpusys_vevif 18>;
};
Expand Down
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"
5 changes: 5 additions & 0 deletions boards/nordic/nrf9280pdk/nrf9280pdk_nrf9280-ipc_conf.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,15 @@
cpusec_cpuapp_ipc: ipc-1-2 {
compatible = "zephyr,ipc-icmsg";
status = "disabled";
dcache-alignment = <32>;
mboxes = <&cpusec_bellboard 12>,
<&cpuapp_bellboard 0>;
};

cpusec_cpurad_ipc: ipc-1-3 {
compatible = "zephyr,ipc-icmsg";
status = "disabled";
dcache-alignment = <32>;
mboxes = <&cpusec_bellboard 18>,
<&cpurad_bellboard 0>;
};
Expand All @@ -30,20 +32,23 @@
cpuapp_cpusys_ipc: ipc-2-12 {
compatible = "zephyr,ipc-icmsg";
status = "disabled";
dcache-alignment = <32>;
mboxes = <&cpuapp_bellboard 6>,
<&cpusys_vevif 12>;
};

cpuapp_cpuppr_ipc: ipc-2-13 {
compatible = "zephyr,ipc-icmsg";
status = "disabled";
dcache-alignment = <32>;
mboxes = <&cpuapp_bellboard 13>,
<&cpuppr_vevif 12>;
};

cpurad_cpusys_ipc: ipc-3-12 {
compatible = "zephyr,ipc-icmsg";
status = "disabled";
dcache-alignment = <32>;
mboxes = <&cpurad_bellboard 6>,
<&cpusys_vevif 18>;
};
Expand Down
2 changes: 1 addition & 1 deletion drivers/cache/Kconfig.nrf
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ config CACHE_NRF_CACHE

config CACHE_NRF_PATCH_LINEADDR
bool "Patch lineaddr"
default y if SOC_NRF54H20
default y if SOC_NRF54H20 || SOC_NRF54H20_ENGB
help
Manually set 28th bit in the LINEADDR in Trustzone Secure build.
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
2 changes: 1 addition & 1 deletion modules/hal_nordic/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ endchoice

config NRF_802154_TEMPERATURE_UPDATE
bool "nRF 802.15.4 temperature update"
default y if !SOC_NRF54H20
default y if !SOC_NRF54H20 && !SOC_NRF54H20_ENGB
help
Enable temperature update for nRF 802.15.4 driver

Expand Down
1 change: 1 addition & 0 deletions modules/hal_nordic/nrfs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ if(CONFIG_NRFS)
zephyr_library_sources_ifdef(CONFIG_NRFS_CLOCK_SERVICE_ENABLED ${SRC_DIR}/services/nrfs_clock.c)
zephyr_library_sources_ifdef(CONFIG_NRFS_DIAG_SERVICE_ENABLED ${SRC_DIR}/services/nrfs_diag.c)
zephyr_library_sources_ifdef(CONFIG_NRFS_DVFS_SERVICE_ENABLED ${SRC_DIR}/services/nrfs_dvfs.c)
zephyr_library_sources_ifdef(CONFIG_NRFS_GDPWR_SERVICE_ENABLED ${SRC_DIR}/services/nrfs_gdpwr.c)
zephyr_library_sources_ifdef(CONFIG_NRFS_MRAM_SERVICE_ENABLED ${SRC_DIR}/services/nrfs_mram.c)
zephyr_library_sources_ifdef(CONFIG_NRFS_PMIC_SERVICE_ENABLED ${SRC_DIR}/services/nrfs_pmic.c)
zephyr_library_sources_ifdef(CONFIG_NRFS_RESET_SERVICE_ENABLED ${SRC_DIR}/services/nrfs_reset.c)
Expand Down
11 changes: 10 additions & 1 deletion modules/hal_nordic/nrfs/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ config NRFS_HAS_DIAG_SERVICE
config NRFS_HAS_DVFS_SERVICE
bool

config NRFS_HAS_GDPWR_SERVICE
bool

config NRFS_HAS_MRAM_SERVICE
bool

Expand Down Expand Up @@ -103,7 +106,7 @@ config NRFS_PMIC_SERVICE_ENABLED
config NRFS_DVFS_SERVICE_ENABLED
bool "DVFS service"
depends on NRFS_HAS_DVFS_SERVICE
default y if SOC_NRF54H20_CPUAPP || SOC_NRF9280_CPUAPP
default y if SOC_NRF54H20_CPUAPP || SOC_NRF54H20_ENGB_CPUAPP || SOC_NRF9280_CPUAPP

config NRFS_DIAG_SERVICE_ENABLED
bool "System Diagnostics service (only for development purposes)"
Expand All @@ -113,6 +116,12 @@ config NRFS_CLOCK_SERVICE_ENABLED
bool "Clock service"
depends on NRFS_HAS_CLOCK_SERVICE
default y

config NRFS_GDPWR_SERVICE_ENABLED
bool "Global domain power request service"
depends on NRFS_HAS_GDPWR_SERVICE
default y

endmenu

rsource "backends/Kconfig"
Expand Down
2 changes: 1 addition & 1 deletion modules/hal_nordic/nrfs/dvfs/ld_dvfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ int32_t ld_dvfs_configure_hsfll(enum dvfs_frequency_setting oppoint)
freq_trim = 2;
}

#if defined(CONFIG_SOC_NRF54H20_CPUAPP) || defined(CONFIG_SOC_NRF9280_CPUAPP)
#if defined(NRF_APPLICATION)
hsfll_trim.vsup = NRF_FICR->TRIM.APPLICATION.HSFLL.TRIM.VSUP;
hsfll_trim.coarse = NRF_FICR->TRIM.APPLICATION.HSFLL.TRIM.COARSE[freq_trim];
hsfll_trim.fine = NRF_FICR->TRIM.APPLICATION.HSFLL.TRIM.FINE[freq_trim];
Expand Down
4 changes: 4 additions & 0 deletions modules/hal_nordic/nrfs/nrfs_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@
#define NRFS_CLOCK_SERVICE_ENABLED
#endif

#ifdef CONFIG_NRFS_GDPWR_SERVICE_ENABLED
#define NRFS_GDPWR_SERVICE_ENABLED
#endif

#ifdef CONFIG_SOC_POSIX
#define NRFS_UNIT_TESTS_ENABLED
#endif
Expand Down
2 changes: 1 addition & 1 deletion soc/nordic/common/vpr/Kconfig.sysbuild
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
config VPR_LAUNCHER
bool "VPR launcher"
default y
depends on (SOC_NRF54H20_CPUPPR || SOC_NRF54H20_CPUFLPR || SOC_NRF54L15_ENGA_CPUFLPR || SOC_NRF54L15_CPUFLPR || SOC_NRF9280_CPUPPR)
depends on (SOC_NRF54H20_CPUPPR || SOC_NRF54H20_ENGB_CPUPPR || SOC_NRF54H20_CPUFLPR || SOC_NRF54H20_ENGB_CPUFLPR || SOC_NRF54L15_ENGA_CPUFLPR || SOC_NRF54L15_CPUFLPR || SOC_NRF9280_CPUPPR)
help
Include VPR launcher in build.
VPR launcher is a minimal sample built for an ARM core that starts given VPR core.
Expand Down
2 changes: 2 additions & 0 deletions soc/nordic/nrf54h/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ config SOC_NRF54H20_CPUAPP_COMMON
select HAS_SEGGER_RTT if ZEPHYR_SEGGER_MODULE
select NRFS_HAS_CLOCK_SERVICE
select NRFS_HAS_DVFS_SERVICE
select NRFS_HAS_GDPWR_SERVICE
select NRFS_HAS_MRAM_SERVICE
select NRFS_HAS_TEMP_SERVICE
select NRFS_HAS_VBUS_DETECTOR_SERVICE
Expand All @@ -49,6 +50,7 @@ config SOC_NRF54H20_CPURAD_COMMON
select CPU_HAS_CUSTOM_FIXED_SOC_MPU_REGIONS
select HAS_SEGGER_RTT if ZEPHYR_SEGGER_MODULE
select NRFS_HAS_CLOCK_SERVICE
select NRFS_HAS_GDPWR_SERVICE
select NRFS_HAS_MRAM_SERVICE
select NRFS_HAS_TEMP_SERVICE
select NRFS_HAS_VBUS_DETECTOR_SERVICE
Expand Down
2 changes: 2 additions & 0 deletions soc/nordic/nrf92/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ config SOC_NRF9230_ENGB_CPUAPP
select HAS_NORDIC_DMM
select HAS_SEGGER_RTT if ZEPHYR_SEGGER_MODULE
select NRFS_HAS_CLOCK_SERVICE
select NRFS_HAS_GDPWR_SERVICE
select NRFS_HAS_MRAM_SERVICE
select NRFS_HAS_PMIC_SERVICE
select NRFS_HAS_TEMP_SERVICE
Expand All @@ -40,6 +41,7 @@ config SOC_NRF9230_ENGB_CPURAD
select HAS_NORDIC_DMM
select HAS_SEGGER_RTT if ZEPHYR_SEGGER_MODULE
select NRFS_HAS_CLOCK_SERVICE
select NRFS_HAS_GDPWR_SERVICE
select NRFS_HAS_MRAM_SERVICE
select NRFS_HAS_PMIC_SERVICE
select NRFS_HAS_TEMP_SERVICE
Expand Down
5 changes: 3 additions & 2 deletions subsys/logging/frontends/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,9 @@ config LOG_FRONTEND_STMESP_DICT

config LOG_FRONTEND_STMESP_FSC
bool "Send fully self-contained messages"
select LOG_MSG_APPEND_RO_STRING_LOC if (!NRF_ETR && !SOC_NRF54H20_CPUPPR && \
!SOC_NRF54H20_CPUFLPR)
select LOG_MSG_APPEND_RO_STRING_LOC if !(NRF_ETR || \
SOC_NRF54H20_CPUPPR || SOC_NRF54H20_ENGB_CPUPPR || \
SOC_NRF54H20_CPUFLPR || SOC_NRF54H20_ENGB_CPUFLPR)

config LOG_FRONTEND_STMESP_FLUSH_COUNT
int "Number of flushing words"
Expand Down
2 changes: 1 addition & 1 deletion west.yml
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ manifest:
groups:
- hal
- name: hal_nordic
revision: bc25c094a8cf3064f4f9c1e8060b46e1989edf95
revision: 4a3ba8eaca8f5255f550db7bc54dc3e23212da64
path: modules/hal/nordic
groups:
- hal
Expand Down
Loading