soc: arm: nordic_nrf: deprecate CONFIG_NFCT_PINS_AS_GPIOS

In favor of the new UICR nfct-pins-as-gpios devicetree property.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
This commit is contained in:
Gerard Marull-Paretas 2023-09-14 14:40:59 +02:00 committed by Carles Cufí
commit 0762008586

View file

@ -47,8 +47,9 @@ config NRF_ACL_FLASH_REGION_SIZE
FLASH region size for the NRF_ACL peripheral. FLASH region size for the NRF_ACL peripheral.
config NFCT_PINS_AS_GPIOS config NFCT_PINS_AS_GPIOS
bool "NFCT pins as GPIOs" bool "[DEPRECATED] NFCT pins as GPIOs"
depends on $(dt_has_compat,$(DT_COMPAT_NORDIC_NRF_NFCT)) depends on $(dt_has_compat,$(DT_COMPAT_NORDIC_NRF_NFCT))
select DEPRECATED
help help
Two pins are usually reserved for NFC in SoCs that implement the Two pins are usually reserved for NFC in SoCs that implement the
NFCT peripheral. This option switches them to normal GPIO mode. NFCT peripheral. This option switches them to normal GPIO mode.
@ -60,6 +61,13 @@ config NFCT_PINS_AS_GPIOS
NFC pins in nRF52 series: P0.09 and P0.10 NFC pins in nRF52 series: P0.09 and P0.10
NFC pins in nRF5340: P0.02 and P0.03 NFC pins in nRF5340: P0.02 and P0.03
This option is deprecated, please use devicetree to configure NFCT
pins as GPIOS like this:
&uicr {
nfct-pins-as-gpios;
};
choice NRF_APPROTECT_HANDLING choice NRF_APPROTECT_HANDLING
bool "APPROTECT handling" bool "APPROTECT handling"
depends on SOC_SERIES_NRF52X || SOC_NRF5340_CPUNET || \ depends on SOC_SERIES_NRF52X || SOC_NRF5340_CPUNET || \