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 <fabiobaltieri@google.com>
This commit is contained in:
Fabio Baltieri 2023-10-23 09:46:41 +00:00 committed by Fabio Baltieri
parent b13052c497
commit c2ed36f007
2 changed files with 4 additions and 1 deletions

View file

@ -23,6 +23,10 @@
}; };
}; };
&uicr {
gpio-as-nreset;
};
&gpio0 { &gpio0 {
status = "okay"; status = "okay";
}; };

View file

@ -9,6 +9,5 @@ CONFIG_ARM_MPU=y
CONFIG_HW_STACK_PROTECTION=y CONFIG_HW_STACK_PROTECTION=y
CONFIG_GPIO=y CONFIG_GPIO=y
CONFIG_GPIO_AS_PINRESET=y
CONFIG_PINCTRL=y CONFIG_PINCTRL=y