-
Notifications
You must be signed in to change notification settings - Fork 147
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
boards: custom_plank: use gpio-as-nreset instead of CONFIG_GPIO_AS_PI…
…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
1 parent
b13052c
commit c2ed36f
Showing
2 changed files
with
4 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,6 +23,10 @@ | |
}; | ||
}; | ||
|
||
&uicr { | ||
gpio-as-nreset; | ||
}; | ||
|
||
&gpio0 { | ||
status = "okay"; | ||
}; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,5 @@ CONFIG_ARM_MPU=y | |
CONFIG_HW_STACK_PROTECTION=y | ||
|
||
CONFIG_GPIO=y | ||
CONFIG_GPIO_AS_PINRESET=y | ||
|
||
CONFIG_PINCTRL=y |