fp5280g2: Add GPIO JSON

These GPIOs are used by the code in skeleton

Tested: Built fp5280g2 and checked rootfs for the config file

(From meta-inspur rev: b23e21c84ba5c7eb4184f51679f8aedb86300965)

Signed-off-by: John Wang <wangzqbj@inspur.com>
Change-Id: I831f0cceb58447c6e96a422b47f8d299f9d06695
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/meta-inspur/meta-fp5280g2/recipes-phosphor/skeleton/obmc-libobmc-intf/gpio_defs.json b/meta-inspur/meta-fp5280g2/recipes-phosphor/skeleton/obmc-libobmc-intf/gpio_defs.json
new file mode 100644
index 0000000..0809fe6
--- /dev/null
+++ b/meta-inspur/meta-fp5280g2/recipes-phosphor/skeleton/obmc-libobmc-intf/gpio_defs.json
@@ -0,0 +1,42 @@
+{
+    "gpio_configs": {
+
+        "power_config": {
+            "power_good_in": "CPLD_BMC_SYS_PWROK",
+            "power_up_outs": [
+                { "name": "BMC_CPLD_SOFTWARE_PG_N", "polarity": false},
+                { "name": "BMC_CPLD_SYS_PWRON", "polarity": false}
+            ],
+            "reset_outs": [
+            ]
+        }
+    },
+
+    "gpio_definitions": [
+        {
+            "name": "BMC_CPLD_SOFTWARE_PG_N",
+            "pin": "J3",
+            "direction": "out"
+        },
+        {
+            "name": "BMC_CPLD_SYS_PWRON",
+            "pin": "AA7",
+            "direction": "out"
+        },
+        {
+            "name": "CPLD_BMC_SYS_PWROK",
+            "pin": "AA1",
+            "direction": "in"
+        },
+        {
+            "name": "POWER_BUTTON",
+            "pin": "AA6",
+            "direction": "both"
+        },
+        {
+            "name": "RESET_BUTTON",
+            "pin": "AB0",
+            "direction": "both"
+        }
+    ]
+}
diff --git a/meta-inspur/meta-fp5280g2/recipes-phosphor/skeleton/obmc-libobmc-intf_%.bbappend b/meta-inspur/meta-fp5280g2/recipes-phosphor/skeleton/obmc-libobmc-intf_%.bbappend
new file mode 100644
index 0000000..27e7cf9
--- /dev/null
+++ b/meta-inspur/meta-fp5280g2/recipes-phosphor/skeleton/obmc-libobmc-intf_%.bbappend
@@ -0,0 +1 @@
+FILESEXTRAPATHS_prepend_fp5280g2 := "${THISDIR}/${PN}:"