Skip to content

Commit

Permalink
boards: custom_plank: use gpio-as-nreset instead of CONFIG_GPIO_AS_PI…
Browse files Browse the repository at this point in the history
…NRESET

CONFIG_GPIO_AS_PINRESET is deprecated, replace it with the new device
tree property.

Signed-off-by: Fabio Baltieri <[email protected]>
  • Loading branch information
fabiobaltieri committed Oct 23, 2023
1 parent b13052c commit c2ed36f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 4 additions & 0 deletions boards/arm/custom_plank/custom_plank.dts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@
};
};

&uicr {
gpio-as-nreset;
};

&gpio0 {
status = "okay";
};
Expand Down
1 change: 0 additions & 1 deletion boards/arm/custom_plank/custom_plank_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,5 @@ CONFIG_ARM_MPU=y
CONFIG_HW_STACK_PROTECTION=y

CONFIG_GPIO=y
CONFIG_GPIO_AS_PINRESET=y

CONFIG_PINCTRL=y

0 comments on commit c2ed36f

Please sign in to comment.