summaryrefslogtreecommitdiff
path: root/meta-fii/meta-kudo/recipes-phosphor
diff options
context:
space:
mode:
authorCharles Boyer <Charles.Boyer@fii-usa.com>2022-02-04 00:11:38 +0300
committerVivekanand Veeracholan <vveerach@google.com>2022-04-21 22:42:58 +0300
commit3d071ee73fe297f86833ac2db25384852255ac01 (patch)
tree7b1938d3ba9c96e55e65e5af85be4cf5080e78d4 /meta-fii/meta-kudo/recipes-phosphor
parent7b2123ff805f73e61fb407b651a866b134486ebb (diff)
downloadopenbmc-3d071ee73fe297f86833ac2db25384852255ac01.tar.xz
meta-fii: meta-kudo: Use phosphor-buttons package
The method to monitor the power and reset buttons through the ampere_power_util.sh with phosphor-gpio-monitor was a temporary solution. It was a temporary workaround until there is support for Nuvoton GPIO in phosphor-buttons. Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com> Change-Id: I34541c0f56887962ad780b811eae44f1d851059d
Diffstat (limited to 'meta-fii/meta-kudo/recipes-phosphor')
-rw-r--r--meta-fii/meta-kudo/recipes-phosphor/skeleton/obmc-libobmc-intf/gpio_defs.json10
1 files changed, 10 insertions, 0 deletions
diff --git a/meta-fii/meta-kudo/recipes-phosphor/skeleton/obmc-libobmc-intf/gpio_defs.json b/meta-fii/meta-kudo/recipes-phosphor/skeleton/obmc-libobmc-intf/gpio_defs.json
index 47cb2cc60f..ad03a73cb6 100644
--- a/meta-fii/meta-kudo/recipes-phosphor/skeleton/obmc-libobmc-intf/gpio_defs.json
+++ b/meta-fii/meta-kudo/recipes-phosphor/skeleton/obmc-libobmc-intf/gpio_defs.json
@@ -15,6 +15,16 @@
"name": "PGOOD",
"num": 200,
"direction": "in"
+ },
+ {
+ "name": "POWER_BUTTON",
+ "num": 192,
+ "direction": "both"
+ },
+ {
+ "name": "RESET_BUTTON",
+ "num": 13,
+ "direction": "both"
}
]
}