[PATCH linux dev-5.10] ARM: dts: rainier: Add 'factory-reset-toggle' as GPIOF6

Adriana Kobylak anoo at linux.ibm.com
Fri Jul 23 00:42:57 AEST 2021



> On Jul 14, 2021, at 4:47 PM, Isaac Kurth <blisaac91 at gmail.com> wrote:
> 
> From: Isaac Kurth <isaac.kurth at ibm.com>
> 
> The state of this GPIO determines whether a factory reset has been
> requested. If a physical switch is used, it can be high or low. During boot,
> the software checks and records the state of this switch. If it is different
> than the previous recorded state, then the read-write portions of memory are
> reformatted.
> 
> Signed-off-by: Isaac Kurth <isaac.kurth at ibm.com>

Reviewed-by: Adriana Kobylak <anoo at us.ibm.com>

> ---
> arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts b/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts
> index 728855c5cb90..81be3a563e6a 100644
> --- a/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts
> +++ b/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts
> @@ -231,7 +231,7 @@ &gpio0 {
> 	/*C0-C7*/	"","","","","","","","",
> 	/*D0-D7*/	"","","","","","","","",
> 	/*E0-E7*/	"","","","","","","","",
> -	/*F0-F7*/	"","","","","","","","",
> +	/*F0-F7*/	"","","","","","","factory-reset-toggle","",
> 	/*G0-G7*/	"","","","","","","","",
> 	/*H0-H7*/	"","bmc-ingraham0","rear-enc-id0","rear-enc-fault0","","","","",
> 	/*I0-I7*/	"","","","","","","","",
> -- 
> 2.25.1
> 



More information about the openbmc mailing list