ARM: dts: aspeed: 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>
Thu, 21 Oct 2021 06:26:11 +0000 (16:56 +1030)
commit5698a9d9c91cb83bd8d775801ff2704cc24bb5e7
tree7faa740c1e7d5defe35ddc1f6b5b62325bf3aca2
parent1e3a92067b741b7c795fcd2e3303b31be318de95
ARM: dts: aspeed: 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