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
4 changes: 0 additions & 4 deletions dts/arm/nordic/nrf54h20_cpuapp.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,3 @@ wdt011: &cpuapp_wdt011 {};
&grtc {
interrupts = <109 NRF_DEFAULT_IRQ_PRIORITY>;
};

&nfct {
compatible = "nordic,nrf-nfct-v2";
};
2 changes: 1 addition & 1 deletion dts/common/nordic/nrf54h20.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -927,7 +927,7 @@
};

nfct: nfct@985000 {
compatible = "nordic,nrf-nfct";
compatible = "nordic,nrf-nfct-v2";
reg = <0x985000 0x1000>;
status = "disabled";
interrupts = <389 NRF_DEFAULT_IRQ_PRIORITY>;
Expand Down
3 changes: 2 additions & 1 deletion soc/nordic/common/Kconfig.peripherals
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,8 @@ config HAS_HW_NRF_MWU
def_bool $(dt_compat_enabled,$(DT_COMPAT_NORDIC_NRF_MWU))

config HAS_HW_NRF_NFCT
def_bool $(dt_compat_enabled,$(DT_COMPAT_NORDIC_NRF_NFCT))
def_bool $(dt_compat_enabled,$(DT_COMPAT_NORDIC_NRF_NFCT)) || \
$(dt_compat_enabled,$(DT_COMPAT_NORDIC_NRF_NFCT_V2))

config HAS_HW_NRF_NVMC_PE
def_bool $(dt_nodelabel_bool_prop,flash_controller,partial-erase)
Expand Down
4 changes: 3 additions & 1 deletion soc/nordic/nrf54h/soc.c
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,9 @@ void soc_early_init_hook(void)
nrf_spu_periph_perm_dmasec_set(spu, nrf_address_slave_get(ccm030_addr), true);
#endif

if (DT_NODE_HAS_STATUS(DT_NODELABEL(nfct), disabled) &&
if (((IS_ENABLED(CONFIG_SOC_NRF54H20_CPUAPP) &&
DT_NODE_HAS_STATUS(DT_NODELABEL(nfct), disabled)) ||
DT_NODE_HAS_STATUS(DT_NODELABEL(nfct), reserved)) &&
DT_PROP_OR(DT_NODELABEL(nfct), nfct_pins_as_gpios, 0)) {
nrf_nfct_pad_config_enable_set(NRF_NFCT, false);
}
Expand Down