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)
commit230ffbc782c98a518086efa1e8559dce1e14b7de
tree534a5ea8ce5cc5f416a8b2b3b42acdada94cd20a
parentcf623b6274423d3ec73923e8a73a6ee6d648203c
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