Skip to content

Commit c2ed36f

Browse files
committed
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 <[email protected]>
1 parent b13052c commit c2ed36f

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

boards/arm/custom_plank/custom_plank.dts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@
2323
};
2424
};
2525

26+
&uicr {
27+
gpio-as-nreset;
28+
};
29+
2630
&gpio0 {
2731
status = "okay";
2832
};

boards/arm/custom_plank/custom_plank_defconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,5 @@ CONFIG_ARM_MPU=y
99
CONFIG_HW_STACK_PROTECTION=y
1010

1111
CONFIG_GPIO=y
12-
CONFIG_GPIO_AS_PINRESET=y
1312

1413
CONFIG_PINCTRL=y

0 commit comments

Comments
 (0)