meta-lanyang: add LED recipe

Update LED Manager recipe to support Lanyang machine

Tested: Built the LED recipe then checked the LED behavior
	on Lanyang
Change-Id: Ic6be977815897007e09ebc685f1e714be02c36c9
Signed-off-by: Brian Yang <yang.brianc.w@inventec.com>
diff --git a/meta-lanyang/recipes-phosphor/leds/lanyang-led-manager-config-native.bb b/meta-lanyang/recipes-phosphor/leds/lanyang-led-manager-config-native.bb
new file mode 100644
index 0000000..083002e
--- /dev/null
+++ b/meta-lanyang/recipes-phosphor/leds/lanyang-led-manager-config-native.bb
@@ -0,0 +1,18 @@
+SUMMARY = "Phosphor LED Group Management for Lanyang"
+PR = "r1"
+
+inherit native
+inherit obmc-phosphor-license
+
+PROVIDES += "virtual/phosphor-led-manager-config-native"
+
+SRC_URI += "file://led.yaml"
+S = "${WORKDIR}"
+
+# Overwrite the example led layout yaml file prior
+# to building the phosphor-led-manager package
+do_install() {
+    SRC=${S}
+    DEST=${D}${datadir}/phosphor-led-manager
+    install -D ${SRC}/led.yaml ${DEST}/led.yaml
+}
diff --git a/meta-lanyang/recipes-phosphor/leds/lanyang-led-manager-config/led.yaml b/meta-lanyang/recipes-phosphor/leds/lanyang-led-manager-config/led.yaml
new file mode 100755
index 0000000..5eb11f1
--- /dev/null
+++ b/meta-lanyang/recipes-phosphor/leds/lanyang-led-manager-config/led.yaml
@@ -0,0 +1,31 @@
+bmc_booted:
+    sys_boot_status:
+        Action: 'Blink'
+        DutyOn: 50
+        Period: 1000
+        Priority: 'On'
+
+power_on:
+    sys_boot_status:
+        Action: 'On'
+        DutyOn: 50
+        Period: 0
+        Priority: 'On'
+
+enclosure_fault:
+    plt_fault:
+        Action: 'On'
+
+enclosure_identify:
+    attention:
+        Action: 'Blink'
+        DutyOn: 50
+        Period: 1000
+
+lamp_test:
+    plt_fault:
+        Action: 'Blink'
+        DutyOn: 50
+        Period: 1000
+    attention:
+        Action: 'On'