meta-facebook:harma:leds : Add gpio leds

Add identify Led
Add heartbeat Led
Add Power Led

Change-Id: I3b9c4d104952e8795f754a4f7531a8dfe5d74e14
Signed-off-by: Peter Yin <peter.yin@quantatw.com>
diff --git a/meta-facebook/meta-harma/recipes-phosphor/leds/phosphor-led-manager/led-group-config.json b/meta-facebook/meta-harma/recipes-phosphor/leds/phosphor-led-manager/led-group-config.json
new file mode 100644
index 0000000..00e2293
--- /dev/null
+++ b/meta-facebook/meta-harma/recipes-phosphor/leds/phosphor-led-manager/led-group-config.json
@@ -0,0 +1,36 @@
+{
+    "leds": [
+        {
+            "group" : "bmc_booted",
+            "members" : [
+                {
+                    "Name" : "bmc_heartbeat_amber",
+                    "Action" : "Blink",
+                    "DutyOn" : 50,
+                    "Period" : 1000
+                }
+            ]
+        },
+        {
+            "group": "power_on",
+            "members": [
+                {
+                    "Name": "power_blue",
+                    "Action": "On",
+                    "Priority": "On"
+                }
+            ]
+        },
+        {
+            "group": "enclosure_identify",
+            "members": [
+                {
+                    "Name": "fp_id_amber",
+                    "Action": "Blink",
+                    "DutyOn": 50,
+                    "Period": 250
+                }
+            ]
+        }
+    ]
+}
diff --git a/meta-facebook/meta-harma/recipes-phosphor/leds/phosphor-led-manager_%.bbappend b/meta-facebook/meta-harma/recipes-phosphor/leds/phosphor-led-manager_%.bbappend
new file mode 100644
index 0000000..23710e8
--- /dev/null
+++ b/meta-facebook/meta-harma/recipes-phosphor/leds/phosphor-led-manager_%.bbappend
@@ -0,0 +1,7 @@
+FILESEXTRAPATHS:prepend:harma := "${THISDIR}/${PN}:"
+
+SRC_URI:append:harma = " file://led-group-config.json"
+
+do_install:append:harma() {
+        install -m 0644 ${WORKDIR}/led-group-config.json ${D}${datadir}/phosphor-led-manager/
+}