Add Rainier system power-on GPIO support

Add Rainer power-on configuration support and remove unused GPIOs.

(From meta-ibm rev: 114bd7308d03fe7949517cd939b6dd9f575d59cb)

Signed-off-by: Jim Wright <jlwright@us.ibm.com>
Change-Id: I29df80c5d446ebcba929cef334f06969c258f5d9
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/meta-ibm/meta-witherspoon/recipes-phosphor/skeleton/obmc-libobmc-intf/rainier/gpio_defs.json b/meta-ibm/meta-witherspoon/recipes-phosphor/skeleton/obmc-libobmc-intf/rainier/gpio_defs.json
new file mode 100644
index 0000000..828c35b
--- /dev/null
+++ b/meta-ibm/meta-witherspoon/recipes-phosphor/skeleton/obmc-libobmc-intf/rainier/gpio_defs.json
@@ -0,0 +1,38 @@
+{
+    "gpio_configs": {
+
+        "power_config": {
+            "power_good_in": "SYS_PWROK_BUFF",
+            "power_up_outs": [
+                {"name": "SOFTWARE_PGOOD", "polarity": true},
+                {"name": "BMC_POWER_UP", "polarity": true}
+            ],
+            "reset_outs": [
+                {"name": "BMC_DCM_ALL_RESET_N", "polarity": false}
+            ]
+        }
+    },
+
+    "gpio_definitions": [
+        {
+            "name": "BMC_POWER_UP",
+            "pin": "R1",
+            "direction": "out"
+        },
+        {
+            "name": "SOFTWARE_PGOOD",
+            "pin": "F1",
+            "direction": "out"
+        },
+        {
+            "name": "SYS_PWROK_BUFF",
+            "pin": "R2",
+            "direction": "in"
+        },
+        {
+            "name": "BMC_DCM_ALL_RESET_N",
+            "pin": "Q0",
+            "direction": "out"
+        }
+    ]
+}