configurations: yosemite5: add medusa board 2nd source config

add 2nd source config : ISL28022, XDP710, RAA228006

Change-Id: Id142e757132b1d676a58249c5104277edeb27a6e
Signed-off-by: Leo Yang <Leo-Yang@quantatw.com>
diff --git a/configurations/meta/yv5/yosemite5_medusa_board.json b/configurations/meta/yv5/yosemite5_medusa_board.json
index f6dc35b..f87aa7e 100644
--- a/configurations/meta/yv5/yosemite5_medusa_board.json
+++ b/configurations/meta/yv5/yosemite5_medusa_board.json
@@ -512,12 +512,12 @@
             "Labels": [
                 "in0"
             ],
-            "Name": "PDB_ADC_52V_SENSE",
+            "Name": "PDB_ADC_52V_SENSE_INA",
             "Thresholds": [
                 {
                     "Direction": "less than",
                     "Hysteresis": 0.02,
-                    "Label": "in1",
+                    "Label": "in0",
                     "Name": "lower critical",
                     "Severity": 1,
                     "Value": -1
@@ -525,7 +525,7 @@
                 {
                     "Direction": "greater than",
                     "Hysteresis": 0.02,
-                    "Label": "in1",
+                    "Label": "in0",
                     "Name": "upper critical",
                     "Severity": 1,
                     "Value": 1
@@ -540,12 +540,12 @@
             "Labels": [
                 "in0"
             ],
-            "Name": "PDB_ADC_GND_SENSE",
+            "Name": "PDB_ADC_GND_SENSE_INA",
             "Thresholds": [
                 {
                     "Direction": "less than",
                     "Hysteresis": 0.02,
-                    "Label": "in1",
+                    "Label": "in0",
                     "Name": "lower critical",
                     "Severity": 1,
                     "Value": -1
@@ -553,7 +553,7 @@
                 {
                     "Direction": "greater than",
                     "Hysteresis": 0.02,
-                    "Label": "in1",
+                    "Label": "in0",
                     "Name": "upper critical",
                     "Severity": 1,
                     "Value": 1
@@ -568,12 +568,12 @@
             "Labels": [
                 "in0"
             ],
-            "Name": "PDB_ADC_P52V_TMP_SENSE",
+            "Name": "PDB_ADC_P52V_TMP_SENSE_INA",
             "Thresholds": [
                 {
                     "Direction": "less than",
                     "Hysteresis": 0.02,
-                    "Label": "in1",
+                    "Label": "in0",
                     "Name": "lower critical",
                     "Severity": 1,
                     "Value": -1
@@ -581,7 +581,7 @@
                 {
                     "Direction": "greater than",
                     "Hysteresis": 0.02,
-                    "Label": "in1",
+                    "Label": "in0",
                     "Name": "upper critical",
                     "Severity": 1,
                     "Value": 1
@@ -596,7 +596,35 @@
             "Labels": [
                 "in0"
             ],
-            "Name": "PDB_ADC_GND_TMP_SENSE",
+            "Name": "PDB_ADC_GND_TMP_SENSE_INA",
+            "Thresholds": [
+                {
+                    "Direction": "less than",
+                    "Hysteresis": 0.02,
+                    "Label": "in0",
+                    "Name": "lower critical",
+                    "Severity": 1,
+                    "Value": -1
+                },
+                {
+                    "Direction": "greater than",
+                    "Hysteresis": 0.02,
+                    "Label": "in0",
+                    "Name": "upper critical",
+                    "Severity": 1,
+                    "Value": 1
+                }
+            ],
+            "Type": "INA238",
+            "in0_Name": "PDB_ADC_GND_TMP_SENSE_VOLT_V"
+        },
+        {
+            "Address": "0x58",
+            "Bus": 8,
+            "Labels": [
+                "in1"
+            ],
+            "Name": "PDB_ADC_52V_SENSE_ISL",
             "Thresholds": [
                 {
                     "Direction": "less than",
@@ -615,7 +643,91 @@
                     "Value": 1
                 }
             ],
-            "Type": "INA238",
+            "Type": "ISL28022",
+            "in0_Name": "PDB_ADC_52V_SENSE_VOLT_V"
+        },
+        {
+            "Address": "0x59",
+            "Bus": 8,
+            "Labels": [
+                "in1"
+            ],
+            "Name": "PDB_ADC_GND_SENSE_ISL",
+            "Thresholds": [
+                {
+                    "Direction": "less than",
+                    "Hysteresis": 0.02,
+                    "Label": "in1",
+                    "Name": "lower critical",
+                    "Severity": 1,
+                    "Value": -1
+                },
+                {
+                    "Direction": "greater than",
+                    "Hysteresis": 0.02,
+                    "Label": "in1",
+                    "Name": "upper critical",
+                    "Severity": 1,
+                    "Value": 1
+                }
+            ],
+            "Type": "ISL28022",
+            "in0_Name": "PDB_ADC_GND_SENSE_VOLT_V"
+        },
+        {
+            "Address": "0x5a",
+            "Bus": 8,
+            "Labels": [
+                "in1"
+            ],
+            "Name": "PDB_ADC_P52V_TMP_SENSE_ISL",
+            "Thresholds": [
+                {
+                    "Direction": "less than",
+                    "Hysteresis": 0.02,
+                    "Label": "in1",
+                    "Name": "lower critical",
+                    "Severity": 1,
+                    "Value": -1
+                },
+                {
+                    "Direction": "greater than",
+                    "Hysteresis": 0.02,
+                    "Label": "in1",
+                    "Name": "upper critical",
+                    "Severity": 1,
+                    "Value": 1
+                }
+            ],
+            "Type": "ISL28022",
+            "in0_Name": "PDB_ADC_P52V_TMP_SENSE_VOLT_V"
+        },
+        {
+            "Address": "0x5b",
+            "Bus": 8,
+            "Labels": [
+                "in1"
+            ],
+            "Name": "PDB_ADC_GND_TMP_SENSE_ISL",
+            "Thresholds": [
+                {
+                    "Direction": "less than",
+                    "Hysteresis": 0.02,
+                    "Label": "in1",
+                    "Name": "lower critical",
+                    "Severity": 1,
+                    "Value": -1
+                },
+                {
+                    "Direction": "greater than",
+                    "Hysteresis": 0.02,
+                    "Label": "in1",
+                    "Name": "upper critical",
+                    "Severity": 1,
+                    "Value": 1
+                }
+            ],
+            "Type": "ISL28022",
             "in0_Name": "PDB_ADC_GND_TMP_SENSE_VOLT_V"
         },
         {
@@ -628,7 +740,7 @@
                 "temp1",
                 "pin"
             ],
-            "Name": "PDB_P52V_HSC",
+            "Name": "PDB_P52V_HSC_LTC",
             "Thresholds": [
                 {
                     "Direction": "less than",
@@ -723,6 +835,120 @@
             "Type": "LatticeLFMXO5_25Firmware"
         },
         {
+            "Address": "0x5c",
+            "Bus": 8,
+            "Labels": [
+                "vin",
+                "vout1",
+                "iin",
+                "iout1",
+                "temp1",
+                "temp2",
+                "pout1",
+                "pin"
+            ],
+            "Name": "PDB_DISCRETE",
+            "Thresholds": [
+                {
+                    "Direction": "less than",
+                    "Hysteresis": 0.918,
+                    "Label": "vin",
+                    "Name": "lower critical",
+                    "Severity": 1,
+                    "Value": 45.9
+                },
+                {
+                    "Direction": "greater than",
+                    "Hysteresis": 1.12,
+                    "Label": "vin",
+                    "Name": "upper critical",
+                    "Severity": 1,
+                    "Value": 56
+                },
+                {
+                    "Direction": "less than",
+                    "Hysteresis": 0.226,
+                    "Label": "vout1",
+                    "Name": "lower critical",
+                    "Severity": 1,
+                    "Value": 11.3
+                },
+                {
+                    "Direction": "greater than",
+                    "Hysteresis": 0.26,
+                    "Label": "vout1",
+                    "Name": "upper critical",
+                    "Severity": 1,
+                    "Value": 13
+                },
+                {
+                    "Direction": "greater than",
+                    "Hysteresis": 1.772,
+                    "Label": "iin",
+                    "Name": "upper critical",
+                    "Severity": 1,
+                    "Value": 88.6
+                },
+                {
+                    "Direction": "greater than",
+                    "Hysteresis": 7.2,
+                    "Label": "iout1",
+                    "Name": "upper critical",
+                    "Severity": 1,
+                    "Value": 360
+                },
+                {
+                    "Direction": "greater than",
+                    "Hysteresis": 8.14,
+                    "Label": "iout1",
+                    "Name": "upper non recoverable",
+                    "Severity": 4,
+                    "Value": 407
+                },
+                {
+                    "Direction": "greater than",
+                    "Hysteresis": 2.5,
+                    "Label": "temp1",
+                    "Name": "upper critical",
+                    "Severity": 1,
+                    "Value": 125
+                },
+                {
+                    "Direction": "greater than",
+                    "Hysteresis": 1.8,
+                    "Label": "temp2",
+                    "Name": "upper critical",
+                    "Severity": 1,
+                    "Value": 90
+                },
+                {
+                    "Direction": "greater than",
+                    "Hysteresis": 93.6,
+                    "Label": "pout1",
+                    "Name": "upper critical",
+                    "Severity": 1,
+                    "Value": 4680
+                },
+                {
+                    "Direction": "greater than",
+                    "Hysteresis": 99.24,
+                    "Label": "pin",
+                    "Name": "upper critical",
+                    "Severity": 1,
+                    "Value": 4962
+                }
+            ],
+            "Type": "RAA228006",
+            "iin_Name": "PDB_DISCRETE_IIN_CURR_A",
+            "iout1_Name": "PDB_DISCRETE_IOUT_CURR_A",
+            "pin_Name": "PDB_DISCRETE_PIN_PWR_W",
+            "pout1_Name": "PDB_DISCRETE_POUT_PWR_W",
+            "temp1_Name": "PDB_DISCRETE_EXTERNAL_TEMP_C",
+            "temp2_Name": "PDB_DISCRETE_INTERNAL_TEMP_C",
+            "vin_Name": "PDB_DISCRETE_VIN_VOLT_V",
+            "vout1_Name": "PDB_DISCRETE_VOUT_VOLT_V"
+        },
+        {
             "Address": "0x48",
             "Bus": 8,
             "Name": "PDB_R_TEMP_C",
@@ -767,6 +993,98 @@
             "Type": "TMP75"
         },
         {
+            "Address": "0x14",
+            "Bus": 8,
+            "Labels": [
+                "vin",
+                "vout1",
+                "iout1",
+                "temp1",
+                "pin"
+            ],
+            "Name": "PDB_P52V_HSC_XDP",
+            "Thresholds": [
+                {
+                    "Direction": "less than",
+                    "Hysteresis": 0.918,
+                    "Label": "vin",
+                    "Name": "lower critical",
+                    "Severity": 1,
+                    "Value": 45.9
+                },
+                {
+                    "Direction": "greater than",
+                    "Hysteresis": 1.12,
+                    "Label": "vin",
+                    "Name": "upper critical",
+                    "Severity": 1,
+                    "Value": 56
+                },
+                {
+                    "Direction": "less than",
+                    "Hysteresis": 0.918,
+                    "Label": "vout1",
+                    "Name": "lower critical",
+                    "Severity": 1,
+                    "Value": 45.9
+                },
+                {
+                    "Direction": "greater than",
+                    "Hysteresis": 1.12,
+                    "Label": "vout1",
+                    "Name": "upper critical",
+                    "Severity": 1,
+                    "Value": 56
+                },
+                {
+                    "Direction": "greater than",
+                    "Hysteresis": 2.4,
+                    "Label": "iout1",
+                    "Name": "upper critical",
+                    "Severity": 1,
+                    "Value": 120
+                },
+                {
+                    "Direction": "greater than",
+                    "Hysteresis": 3.2,
+                    "Label": "iout1",
+                    "Name": "upper non recoverable",
+                    "Severity": 4,
+                    "Value": 160
+                },
+                {
+                    "Direction": "greater than",
+                    "Hysteresis": 2.5,
+                    "Label": "temp1",
+                    "Name": "upper critical",
+                    "Severity": 1,
+                    "Value": 125
+                },
+                {
+                    "Direction": "greater than",
+                    "Hysteresis": 122.4,
+                    "Label": "pin",
+                    "Name": "upper critical",
+                    "Severity": 1,
+                    "Value": 6120
+                },
+                {
+                    "Direction": "greater than",
+                    "Hysteresis": 163.2,
+                    "Label": "pin",
+                    "Name": "upper non recoverable",
+                    "Severity": 4,
+                    "Value": 8160
+                }
+            ],
+            "Type": "XDP710",
+            "iout1_Name": "PDB_HSC_CURR_A",
+            "pin_Name": "PDB_HSC_PWR_W",
+            "temp1_Name": "PDB_HSC_TEMP_C",
+            "vin_Name": "PDB_HSC_VIN_VOLT_V",
+            "vout1_Name": "PDB_HSC_VOUT_VOLT_V"
+        },
+        {
             "Address": "0x66",
             "Bus": 8,
             "Labels": [