From: Isaac Kurth Date: Wed, 14 Jul 2021 21:47:41 +0000 (-0500) Subject: ARM: dts: rainier: Add 'factory-reset-toggle' as GPIOF6 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=250ea87828aee0f1d9ac49209c4678dcc0a45408;p=users%2Fjedix%2Flinux-maple.git ARM: dts: rainier: Add 'factory-reset-toggle' as GPIOF6 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 Reviewed-by: Adriana Kobylak Link: https://lore.kernel.org/r/20210714214741.1547052-1-blisaac91@gmail.com Signed-off-by: Joel Stanley --- diff --git a/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts b/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts index 6419c9762c0b6..d1467d5163f28 100644 --- a/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts +++ b/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts @@ -259,7 +259,7 @@ /*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*/ "","","","","","","","",