meta-facebook: yosemite4: support nic reseat

- Add config for phosphor-gpio-monitor to monitor nics' present.
- If the NIC is plugged in, perform 12V cycle to the serving Hosts to
let the Hosts reload new NIC's information.

Change-Id: I178c5ca7d2bc6b25585e907bad7494c2bb90b961
Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
diff --git a/meta-facebook/meta-yosemite4/recipes-phosphor/gpio/phosphor-gpio-monitor/yosemite4-phosphor-multi-gpio-monitor.json b/meta-facebook/meta-yosemite4/recipes-phosphor/gpio/phosphor-gpio-monitor/yosemite4-phosphor-multi-gpio-monitor.json
index 31f9fd4..a7bbcb1 100644
--- a/meta-facebook/meta-yosemite4/recipes-phosphor/gpio/phosphor-gpio-monitor/yosemite4-phosphor-multi-gpio-monitor.json
+++ b/meta-facebook/meta-yosemite4/recipes-phosphor/gpio/phosphor-gpio-monitor/yosemite4-phosphor-multi-gpio-monitor.json
@@ -96,5 +96,57 @@
             "FALLING": ["rescan-fru-device@8.service"]
         },
         "Continue": true
+    },
+    {
+        "Name": "PRSNT_NIC0_N",
+        "ChipId": "0",
+        "GpioNum": 165,
+        "EventMon": "FALLING",
+        "Targets": {
+            "FALLING": [
+                "obmc-chassis-powercycle@1.target",
+                "obmc-chassis-powercycle@2.target"
+            ]
+        },
+        "Continue": true
+    },
+    {
+        "Name": "PRSNT_NIC1_N",
+        "ChipId": "0",
+        "GpioNum": 32,
+        "EventMon": "FALLING",
+        "Targets": {
+            "FALLING": [
+                "obmc-chassis-powercycle@3.target",
+                "obmc-chassis-powercycle@4.target"
+            ]
+        },
+        "Continue": true
+    },
+    {
+        "Name": "PRSNT_NIC2_N",
+        "ChipId": "0",
+        "GpioNum": 33,
+        "EventMon": "FALLING",
+        "Targets": {
+            "FALLING": [
+                "obmc-chassis-powercycle@5.target",
+                "obmc-chassis-powercycle@6.target"
+            ]
+        },
+        "Continue": true
+    },
+    {
+        "Name": "PRSNT_NIC3_N",
+        "ChipId": "0",
+        "GpioNum": 99,
+        "EventMon": "FALLING",
+        "Targets": {
+            "FALLING": [
+                "obmc-chassis-powercycle@7.target",
+                "obmc-chassis-powercycle@8.target"
+            ]
+        },
+        "Continue": true
     }
 ]