fp5280g2: Add checkstop-monitor gpio configuration
Tested: Built fp5280g2 and verified that obmc-host-crash.target
was reached after error injection.
Signed-off-by: John Wang <wangzqbj@inspur.com>
Change-Id: Ifad36406a5b0cd5037ac32285dd4f9e74ffc1e07
diff --git a/meta-fp5280g2/recipes-phosphor/host/checkstop-monitor.bbappend b/meta-fp5280g2/recipes-phosphor/host/checkstop-monitor.bbappend
new file mode 100644
index 0000000..27e7cf9
--- /dev/null
+++ b/meta-fp5280g2/recipes-phosphor/host/checkstop-monitor.bbappend
@@ -0,0 +1 @@
+FILESEXTRAPATHS_prepend_fp5280g2 := "${THISDIR}/${PN}:"
diff --git a/meta-fp5280g2/recipes-phosphor/host/checkstop-monitor/obmc/gpio/checkstop b/meta-fp5280g2/recipes-phosphor/host/checkstop-monitor/obmc/gpio/checkstop
new file mode 100644
index 0000000..1665f01
--- /dev/null
+++ b/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