fp5280g2: Add checkstop-monitor gpio configuration
Tested: Built fp5280g2 and verified that obmc-host-crash.target
was reached after error injection.
(From meta-inspur rev: 7429376f373dfe4b51c5ea24f001bb0b47516e6f)
Signed-off-by: John Wang <wangzqbj@inspur.com>
Change-Id: Id0417446c9b40bdd2ebc5e5e9594b122729b0fb1
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/meta-inspur/meta-fp5280g2/recipes-phosphor/host/checkstop-monitor.bbappend b/meta-inspur/meta-fp5280g2/recipes-phosphor/host/checkstop-monitor.bbappend
new file mode 100644
index 0000000..27e7cf9
--- /dev/null
+++ b/meta-inspur/meta-fp5280g2/recipes-phosphor/host/checkstop-monitor.bbappend
@@ -0,0 +1 @@
+FILESEXTRAPATHS_prepend_fp5280g2 := "${THISDIR}/${PN}:"
diff --git a/meta-inspur/meta-fp5280g2/recipes-phosphor/host/checkstop-monitor/obmc/gpio/checkstop b/meta-inspur/meta-fp5280g2/recipes-phosphor/host/checkstop-monitor/obmc/gpio/checkstop
new file mode 100644
index 0000000..1665f01
--- /dev/null
+++ b/meta-inspur/meta-fp5280g2/recipes-phosphor/host/checkstop-monitor/obmc/gpio/checkstop
@@ -0,0 +1,4 @@
+DEVPATH=/dev/input/by-path/platform-gpio-keys-event
+KEY=11
+POLARITY=1
+TARGET=obmc-host-crash@0.target