From c2ed36f007f9ce51d4ab5b19c51850989e7ffb7c Mon Sep 17 00:00:00 2001 From: Fabio Baltieri Date: Mon, 23 Oct 2023 09:46:41 +0000 Subject: [PATCH] boards: custom_plank: use gpio-as-nreset instead of CONFIG_GPIO_AS_PINRESET CONFIG_GPIO_AS_PINRESET is deprecated, replace it with the new device tree property. Signed-off-by: Fabio Baltieri --- boards/arm/custom_plank/custom_plank.dts | 4 ++++ boards/arm/custom_plank/custom_plank_defconfig | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/boards/arm/custom_plank/custom_plank.dts b/boards/arm/custom_plank/custom_plank.dts index dee804d..233d1f3 100644 --- a/boards/arm/custom_plank/custom_plank.dts +++ b/boards/arm/custom_plank/custom_plank.dts @@ -23,6 +23,10 @@ }; }; +&uicr { + gpio-as-nreset; +}; + &gpio0 { status = "okay"; }; diff --git a/boards/arm/custom_plank/custom_plank_defconfig b/boards/arm/custom_plank/custom_plank_defconfig index 4a5558a..02e28fe 100644 --- a/boards/arm/custom_plank/custom_plank_defconfig +++ b/boards/arm/custom_plank/custom_plank_defconfig @@ -9,6 +9,5 @@ CONFIG_ARM_MPU=y CONFIG_HW_STACK_PROTECTION=y CONFIG_GPIO=y -CONFIG_GPIO_AS_PINRESET=y CONFIG_PINCTRL=y