From ed6981eaf7a70858b9d080dd7c498d670546feef Mon Sep 17 00:00:00 2001 From: Matt Spinler Date: Wed, 31 Mar 2021 14:31:21 -0500 Subject: 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 Change-Id: Ib8f373dda2adb5575f2a0001d986962e5430fba5 --- .../skeleton/obmc-libobmc-intf/p10bmc/gpio_defs.json | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'meta-ibm/recipes-phosphor/skeleton') 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" } ] } -- cgit v1.2.3