diff options
author | Matt Spinler <spinler@us.ibm.com> | 2021-03-31 22:31:21 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2021-04-08 19:47:16 +0300 |
commit | ed6981eaf7a70858b9d080dd7c498d670546feef (patch) | |
tree | 20b869796c1f6a2bdb8608aeaf32f90c3e893adb /meta-ibm/recipes-phosphor | |
parent | 6e77b406bfcc73753a1c35a80f552a05d29b0656 (diff) | |
download | openbmc-ed6981eaf7a70858b9d080dd7c498d670546feef.tar.xz |
ibm: Add power button GPIO definition
This allows a power button press to power on the system. Rainier and
Everest use the same GPIO.
Tested: Button was pressed and the system booted.
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: Ib8f373dda2adb5575f2a0001d986962e5430fba5
Diffstat (limited to 'meta-ibm/recipes-phosphor')
-rw-r--r-- | meta-ibm/recipes-phosphor/skeleton/obmc-libobmc-intf/p10bmc/gpio_defs.json | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta-ibm/recipes-phosphor/skeleton/obmc-libobmc-intf/p10bmc/gpio_defs.json b/meta-ibm/recipes-phosphor/skeleton/obmc-libobmc-intf/p10bmc/gpio_defs.json index 296039502..654be093a 100644 --- a/meta-ibm/recipes-phosphor/skeleton/obmc-libobmc-intf/p10bmc/gpio_defs.json +++ b/meta-ibm/recipes-phosphor/skeleton/obmc-libobmc-intf/p10bmc/gpio_defs.json @@ -25,6 +25,11 @@ "name": "SYS_PWROK_BUFF", "pin": "R2", "direction": "in" + }, + { + "name": "POWER_BUTTON", + "pin": "P3", + "direction": "both" } ] } |