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

index e7da58595d140381f4790fc2e80381c998c2cb3a..7a9dab26b458941f83f774d395c0e12a84075780 100644 (file)
        /*D0-D7*/       "","","","","","","","",
        /*E0-E7*/       "","","","","","","","",
        /*F0-F7*/       "PIN_HOLE_RESET_IN_N","","",
-                               "PIN_HOLE_RESET_OUT_N","","","","",
+                               "PIN_HOLE_RESET_OUT_N","","",
+                               "factory-reset-toggle","",
        /*G0-G7*/       "","","","","","","","",
        /*H0-H7*/       "led-rtc-battery","led-bmc","led-rear-enc-id0","led-rear-enc-fault0","","","","",
        /*I0-I7*/       "","","","","","","","",