summaryrefslogtreecommitdiff
path: root/meta-ibm/recipes-phosphor/skeleton
diff options
context:
space:
mode:
authorMatt Spinler <spinler@us.ibm.com>2021-03-31 22:31:21 +0300
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2021-04-08 19:47:16 +0300
commited6981eaf7a70858b9d080dd7c498d670546feef (patch)
tree20b869796c1f6a2bdb8608aeaf32f90c3e893adb /meta-ibm/recipes-phosphor/skeleton
parent6e77b406bfcc73753a1c35a80f552a05d29b0656 (diff)
downloadopenbmc-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/skeleton')
-rw-r--r--meta-ibm/recipes-phosphor/skeleton/obmc-libobmc-intf/p10bmc/gpio_defs.json5
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 2960395025..654be093af 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"
}
]
}