]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ARM: dts: rainier: Add 'factory-reset-toggle' as GPIOF6
authorIsaac Kurth <isaac.kurth@ibm.com>
Wed, 14 Jul 2021 21:47:41 +0000 (16:47 -0500)
committerJoel Stanley <joel@jms.id.au>
Tue, 17 Aug 2021 08:45:03 +0000 (18:15 +0930)
commit250ea87828aee0f1d9ac49209c4678dcc0a45408
treec8eb6736780a3f96f5f2ed108e80b4d0ed567954
parent6b8b31269898b8891f1f3a95578ceeb109393e23
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 <isaac.kurth@ibm.com>
Reviewed-by: Adriana Kobylak <anoo@us.ibm.com>
Link: https://lore.kernel.org/r/20210714214741.1547052-1-blisaac91@gmail.com
Signed-off-by: Joel Stanley <joel@jms.id.au>
arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts