Skip to contentSkip to conversation

ARM: dts: everest: Add 'factory-reset-toggle' as GPIOF6

PATCH New Isaac Kurth 1 participant 1 message Sep 1, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: everest: 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.

---
 arch/arm/boot/dts/aspeed-bmc-ibm-everest.dts | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
arch/arm/boot/dts/aspeed-bmc-ibm-everest.dts +2 -1
index 83fc29309154..73c8f780e5b1 100644
@@ -241,7 +241,8 @@ &gpio0 {
 	/*D0-D7*/	"","","","","","","","",
 	/*E0-E7*/	"","","","","","","","",
 	/*F0-F7*/	"PIN_HOLE_RESET_IN_N","","",
-				"PIN_HOLE_RESET_OUT_N","","","","",
+				"PIN_HOLE_RESET_OUT_N","","",
+				"factory-reset-toggle","",
 	/*G0-G7*/	"","","","","","","","",
 	/*H0-H7*/	"led-rtc-battery","led-bmc","led-rear-enc-id0","led-rear-enc-fault0","","","","",
 	/*I0-I7*/	"","","","","","","","",
Signature · 1 line
2.25.1