From efb8408ba2e9a2cb1de638441ec60de495ee0f0d Mon Sep 17 00:00:00 2001 From: Gerard Marull-Paretas Date: Mon, 18 Sep 2023 11:02:25 +0200 Subject: [PATCH] soc: arm: nordic_nrf: nrf52: deprecate GPIO_AS_PINRESET In favor of devicetree property in the UICR node. Signed-off-by: Gerard Marull-Paretas --- soc/arm/nordic_nrf/nrf52/Kconfig.soc | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/soc/arm/nordic_nrf/nrf52/Kconfig.soc b/soc/arm/nordic_nrf/nrf52/Kconfig.soc index f1a337cbe12..517b4ce2baa 100644 --- a/soc/arm/nordic_nrf/nrf52/Kconfig.soc +++ b/soc/arm/nordic_nrf/nrf52/Kconfig.soc @@ -94,8 +94,15 @@ config SOC_DCDC_NRF52X_HV Enable nRF52 series System on Chip High Voltage DC/DC converter. config GPIO_AS_PINRESET - bool "GPIO as pin reset (reset button)" - default y + bool "[DEPRECATED] GPIO as pin reset (reset button)" + select DEPRECATED + help + This option is deprecated, use devicetree instead. Example + configuration: + + &uicr { + gpio-as-nreset; + }; config NRF_ENABLE_ICACHE bool "The instruction cache (I-Cache)"