]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: dts: everest: Add 'factory-reset-toggle' as GPIOF6
authorIsaac Kurth <blisaac91@gmail.com>
Wed, 1 Sep 2021 18:52:37 +0000 (18:52 +0000)
committerJoel Stanley <joel@jms.id.au>
Tue, 14 Sep 2021 09:08:48 +0000 (18:38 +0930)
commit9925164112919c42f3a02130df33029d8a1b7282
tree534a5ea8ce5cc5f416a8b2b3b42acdada94cd20a
parent23d460c8f42b8f22d9bd02b9bc38e6ae89f70b30
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.

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>
arch/arm/boot/dts/aspeed-bmc-ibm-everest.dts