Commit 88945597 authored by Emanuele Di Santo's avatar Emanuele Di Santo Committed by Anas Nashif
Browse files

modules: hal_nordic: nrf: add nRF9280 support



Enable NRFS support for nRF9280, including DVFS.

Signed-off-by: default avatarEmanuele Di Santo <emdi@nordicsemi.no>
parent f156dd7d
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -36,7 +36,7 @@ config NRFS_HAS_VBUS_DETECTOR_SERVICE

config NRFS
	bool "nRF Services Support"
	select NRFS_LOCAL_DOMAIN if (SOC_NRF54H20_CPUAPP || SOC_NRF54H20_CPURAD)
	select NRFS_LOCAL_DOMAIN if (SOC_NRF54H20_CPUAPP || SOC_NRF54H20_CPURAD || SOC_NRF9280_CPUAPP || SOC_NRF9280_CPURAD)
	depends on HAS_NRFS
	help
	  This option enables the nRF Services library.
@@ -95,7 +95,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
	default y if SOC_NRF54H20_CPUAPP || SOC_NRF9280_CPUAPP

config NRFS_DIAG_SERVICE_ENABLED
	bool "System Diagnostics service (only for development purposes)"
+1 −1
Original line number Diff line number Diff line
@@ -264,7 +264,7 @@ int32_t ld_dvfs_configure_hsfll(enum dvfs_frequency_setting oppoint)

	uint8_t freq_trim = get_dvfs_oppoint_data(oppoint)->new_f_trim_entry;

#ifdef CONFIG_SOC_NRF54H20_CPUAPP
#if defined(CONFIG_SOC_NRF54H20_CPUAPP) || defined(CONFIG_SOC_NRF9280_CPUAPP)
	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];