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)
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

index 36f6407bb8e69a7baf3cf379dd753809d58bff2e..3591ee15f3450b5cd39eb2588fc656d020ab8c00 100644 (file)
        /*C0-C7*/       "","","","","","","","",
        /*D0-D7*/       "","","","","","","","",
        /*E0-E7*/       "","","","","","","","",
-       /*F0-F7*/       "","","","","","","","",
+       /*F0-F7*/       "","","","","","","factory-reset-toggle","",
        /*G0-G7*/       "","","","","","","","",
        /*H0-H7*/       "","bmc-ingraham0","rear-enc-id0","rear-enc-fault0","","","","",
        /*I0-I7*/       "","","","","","","bmc-secure-boot","",