Skip to content

Commit

Permalink
ARM: dts: everest: Add 'factory-reset-toggle' as GPIOF6
Browse files Browse the repository at this point in the history
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@ibm.com>
Link: https://lore.kernel.org/r/20210901185236.558771-1-isaac.kurth@ibm.com
Signed-off-by: Joel Stanley <joel@jms.id.au>
  • Loading branch information
IsaacPK authored and shenki committed Sep 14, 2021
1 parent cf623b6 commit 230ffbc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion arch/arm/boot/dts/aspeed-bmc-ibm-everest.dts
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,8 @@
/*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*/ "","","","","","","","",
Expand Down

0 comments on commit 230ffbc

Please sign in to comment.