meta-ampere: mtmitchell: separate FAN Led group for each FAN

Currently just one LED group for FAN fault check. This causes FAN
fault LED might be changed to OFF even when still having failure on
some FANs.
This commit changes to have LED group for each FAN to fix this issue.

Tested:
1. Unplug two random FANs
2. Plug one FAN into the board and verify that FAN Led status is
   still on
3. Plug all FAN into the board and verify that FAN Led status is off.

Signed-off-by: Hieu Huynh <hieuh@os.amperecomputing.com>
Change-Id: I8cf2eeafbe7372b0eda85c133e88a228b5cd0a2a
diff --git a/meta-ampere/meta-mitchell/recipes-phosphor/inventory/phosphor-inventory-manager/associations.json b/meta-ampere/meta-mitchell/recipes-phosphor/inventory/phosphor-inventory-manager/associations.json
index 1a55553..4afaca0 100644
--- a/meta-ampere/meta-mitchell/recipes-phosphor/inventory/phosphor-inventory-manager/associations.json
+++ b/meta-ampere/meta-mitchell/recipes-phosphor/inventory/phosphor-inventory-manager/associations.json
@@ -21,7 +21,7 @@
                     "fType": "fault_identifying"
                 },
                 "paths": [
-                    "/xyz/openbmc_project/led/groups/fan_fault"
+                    "/xyz/openbmc_project/led/groups/fan0_fault"
                 ]
             },
             {
@@ -59,7 +59,7 @@
                     "fType": "fault_identifying"
                 },
                 "paths": [
-                    "/xyz/openbmc_project/led/groups/fan_fault"
+                    "/xyz/openbmc_project/led/groups/fan1_fault"
                 ]
             },
             {
@@ -97,7 +97,7 @@
                     "fType": "fault_identifying"
                 },
                 "paths": [
-                    "/xyz/openbmc_project/led/groups/fan_fault"
+                    "/xyz/openbmc_project/led/groups/fan2_fault"
                 ]
             },
             {
@@ -135,7 +135,7 @@
                     "fType": "fault_identifying"
                 },
                 "paths": [
-                    "/xyz/openbmc_project/led/groups/fan_fault"
+                    "/xyz/openbmc_project/led/groups/fan3_fault"
                 ]
             },
             {
@@ -173,7 +173,7 @@
                     "fType": "fault_identifying"
                 },
                 "paths": [
-                    "/xyz/openbmc_project/led/groups/fan_fault"
+                    "/xyz/openbmc_project/led/groups/fan4_fault"
                 ]
             },
             {
@@ -211,7 +211,7 @@
                     "fType": "fault_identifying"
                 },
                 "paths": [
-                    "/xyz/openbmc_project/led/groups/fan_fault"
+                    "/xyz/openbmc_project/led/groups/fan5_fault"
                 ]
             },
             {
diff --git a/meta-ampere/meta-mitchell/recipes-phosphor/leds/phosphor-led-manager/com.ampere.Hardware.Chassis.Model.MtMitchell.json b/meta-ampere/meta-mitchell/recipes-phosphor/leds/phosphor-led-manager/com.ampere.Hardware.Chassis.Model.MtMitchell.json
index 098c3fd..8cd5d1b 100644
--- a/meta-ampere/meta-mitchell/recipes-phosphor/leds/phosphor-led-manager/com.ampere.Hardware.Chassis.Model.MtMitchell.json
+++ b/meta-ampere/meta-mitchell/recipes-phosphor/leds/phosphor-led-manager/com.ampere.Hardware.Chassis.Model.MtMitchell.json
@@ -59,7 +59,92 @@
 			]
 		},
 		{
-			"group": "fan_fault",
+			"group": "fan0_fault",
+			"members": [
+				{
+					"Name": "fan_fault",
+					"Action": "On",
+					"DutyOn": 50,
+					"Period": 1000
+				},
+				{
+					"Name": "fault",
+					"Action": "On",
+					"DutyOn": 50,
+					"Period": 1000
+				}
+			]
+		},
+		{
+			"group": "fan1_fault",
+			"members": [
+				{
+					"Name": "fan_fault",
+					"Action": "On",
+					"DutyOn": 50,
+					"Period": 1000
+				},
+				{
+					"Name": "fault",
+					"Action": "On",
+					"DutyOn": 50,
+					"Period": 1000
+				}
+			]
+		},
+		{
+			"group": "fan2_fault",
+			"members": [
+				{
+					"Name": "fan_fault",
+					"Action": "On",
+					"DutyOn": 50,
+					"Period": 1000
+				},
+				{
+					"Name": "fault",
+					"Action": "On",
+					"DutyOn": 50,
+					"Period": 1000
+				}
+			]
+		},
+		{
+			"group": "fan3_fault",
+			"members": [
+				{
+					"Name": "fan_fault",
+					"Action": "On",
+					"DutyOn": 50,
+					"Period": 1000
+				},
+				{
+					"Name": "fault",
+					"Action": "On",
+					"DutyOn": 50,
+					"Period": 1000
+				}
+			]
+		},
+		{
+			"group": "fan4_fault",
+			"members": [
+				{
+					"Name": "fan_fault",
+					"Action": "On",
+					"DutyOn": 50,
+					"Period": 1000
+				},
+				{
+					"Name": "fault",
+					"Action": "On",
+					"DutyOn": 50,
+					"Period": 1000
+				}
+			]
+		},
+		{
+			"group": "fan5_fault",
 			"members": [
 				{
 					"Name": "fan_fault",