configurations: yosemite5: add E1S expansion board config

Initial E1S expansion board configuration files for Yosemite5 system.

Change-Id: I685ff12477e4db1c71ed2b894c633a6d9b2d4e86
Signed-off-by: Ken Chen <Ken.Chen@quantatw.com>
diff --git a/configurations/meson.build b/configurations/meson.build
index b86708c..52717fe 100644
--- a/configurations/meson.build
+++ b/configurations/meson.build
@@ -157,6 +157,7 @@
     'meta/yosemite4_wailuafalls.json',
     'meta/yosemite4n.json',
     'meta/yosemite5_1kw_paddle_board.json',
+    'meta/yosemite5_e1s_expansion_board.json',
     'meta/yosemite5_mb.json',
     'meta/yosemite5_medusa_board.json',
     'meta/yosemite5_scm.json',
diff --git a/configurations/meta/yosemite5_e1s_expansion_board.json b/configurations/meta/yosemite5_e1s_expansion_board.json
new file mode 100644
index 0000000..7e696f8
--- /dev/null
+++ b/configurations/meta/yosemite5_e1s_expansion_board.json
@@ -0,0 +1,438 @@
+{
+    "Exposes": [
+        {
+            "Address": "0x48",
+            "Bus": 10,
+            "Labels": [
+                "in0",
+                "in1",
+                "in2",
+                "in3",
+                "in4",
+                "in5",
+                "in6",
+                "in7"
+            ],
+            "Name": "E1S_ADC",
+            "Thresholds": [
+                {
+                    "Direction": "less than",
+                    "Hysteresis": 0.216,
+                    "Label": "in0",
+                    "Name": "lower critical",
+                    "Severity": 1,
+                    "Value": 10.8
+                },
+                {
+                    "Direction": "greater than",
+                    "Hysteresis": 0.264,
+                    "Label": "in0",
+                    "Name": "upper critical",
+                    "Severity": 1,
+                    "Value": 13.2
+                },
+                {
+                    "Direction": "less than",
+                    "Hysteresis": 0.0627,
+                    "Label": "in1",
+                    "Name": "lower critical",
+                    "Severity": 1,
+                    "Value": 3.135
+                },
+                {
+                    "Direction": "greater than",
+                    "Hysteresis": 0.0693,
+                    "Label": "in1",
+                    "Name": "upper critical",
+                    "Severity": 1,
+                    "Value": 3.465
+                },
+                {
+                    "Direction": "less than",
+                    "Hysteresis": 0.064,
+                    "Label": "in2",
+                    "Name": "lower critical",
+                    "Severity": 1,
+                    "Value": 3.201
+                },
+                {
+                    "Direction": "greater than",
+                    "Hysteresis": 0.068,
+                    "Label": "in2",
+                    "Name": "upper critical",
+                    "Severity": 1,
+                    "Value": 3.399
+                },
+                {
+                    "Direction": "less than",
+                    "Hysteresis": 0.228,
+                    "Label": "in3",
+                    "Name": "lower critical",
+                    "Severity": 1,
+                    "Value": 11.4
+                },
+                {
+                    "Direction": "greater than",
+                    "Hysteresis": 0.252,
+                    "Label": "in3",
+                    "Name": "upper critical",
+                    "Severity": 1,
+                    "Value": 12.6
+                },
+                {
+                    "Direction": "less than",
+                    "Hysteresis": 0.228,
+                    "Label": "in4",
+                    "Name": "lower critical",
+                    "Severity": 1,
+                    "Value": 11.4
+                },
+                {
+                    "Direction": "greater than",
+                    "Hysteresis": 0.252,
+                    "Label": "in4",
+                    "Name": "upper critical",
+                    "Severity": 1,
+                    "Value": 12.6
+                },
+                {
+                    "Direction": "less than",
+                    "Hysteresis": 0.064,
+                    "Label": "in5",
+                    "Name": "lower critical",
+                    "Severity": 1,
+                    "Value": 3.201
+                },
+                {
+                    "Direction": "greater than",
+                    "Hysteresis": 0.068,
+                    "Label": "in5",
+                    "Name": "upper critical",
+                    "Severity": 1,
+                    "Value": 3.399
+                },
+                {
+                    "Direction": "less than",
+                    "Hysteresis": 0.228,
+                    "Label": "in6",
+                    "Name": "lower critical",
+                    "Severity": 1,
+                    "Value": 11.4
+                },
+                {
+                    "Direction": "greater than",
+                    "Hysteresis": 0.252,
+                    "Label": "in6",
+                    "Name": "upper critical",
+                    "Severity": 1,
+                    "Value": 12.6
+                },
+                {
+                    "Direction": "less than",
+                    "Hysteresis": 0.228,
+                    "Label": "in7",
+                    "Name": "lower critical",
+                    "Severity": 1,
+                    "Value": 11.4
+                },
+                {
+                    "Direction": "greater than",
+                    "Hysteresis": 0.252,
+                    "Label": "in7",
+                    "Name": "upper critical",
+                    "Severity": 1,
+                    "Value": 12.6
+                }
+            ],
+            "Type": "ADS7830",
+            "in0_Name": "E1S_EB_P12V_STBY_VOLT_V",
+            "in1_Name": "E1S_EB_P3V3_AUX_VOLT_V",
+            "in2_Name": "E1S_EB_P3V3_E1S_0_VOLT_V",
+            "in3_Name": "E1S_EB_P12V_E1S_0_VOLT_V",
+            "in4_Name": "E1S_EB_P12V_E1S_0_R_VOLT_V",
+            "in5_Name": "E1S_EB_P3V3_E1S_1_VOLT_V",
+            "in6_Name": "E1S_EB_P12V_E1S_1_VOLT_V",
+            "in7_Name": "E1S_EB_P12V_E1S_1_R_VOLT_V"
+        },
+        {
+            "Address": "$address",
+            "Bus": "$bus",
+            "Name": "Yosemite5 E1S Expansion Board FRU",
+            "Type": "EEPROM"
+        },
+        {
+            "Address": "0x40",
+            "Bus": 10,
+            "Labels": [
+                "vout1",
+                "iout1",
+                "pout1"
+            ],
+            "Name": "E1S_EB_PMON_E1S1",
+            "Thresholds": [
+                {
+                    "Direction": "greater than",
+                    "Hysteresis": 0.05,
+                    "Label": "iout1",
+                    "Name": "upper non recoverable",
+                    "Severity": 4,
+                    "Value": 2.5
+                },
+                {
+                    "Direction": "greater than",
+                    "Hysteresis": 0.044,
+                    "Label": "iout1",
+                    "Name": "upper critical",
+                    "Severity": 1,
+                    "Value": 2.2
+                },
+                {
+                    "Direction": "less than",
+                    "Hysteresis": 0.036,
+                    "Label": "iout1",
+                    "Name": "lower critical",
+                    "Severity": 1,
+                    "Value": 1.8
+                },
+                {
+                    "Direction": "greater than",
+                    "Hysteresis": 0.264,
+                    "Label": "vout1",
+                    "Name": "upper non recoverable",
+                    "Severity": 4,
+                    "Value": 13.2
+                },
+                {
+                    "Direction": "greater than",
+                    "Hysteresis": 0.252,
+                    "Label": "vout1",
+                    "Name": "upper critical",
+                    "Severity": 1,
+                    "Value": 12.6
+                },
+                {
+                    "Direction": "less than",
+                    "Hysteresis": 0.228,
+                    "Label": "vout1",
+                    "Name": "lower critical",
+                    "Severity": 1,
+                    "Value": 11.4
+                },
+                {
+                    "Direction": "less than",
+                    "Hysteresis": 0.216,
+                    "Label": "vout1",
+                    "Name": "lower non recoverable",
+                    "Severity": 4,
+                    "Value": 10.8
+                },
+                {
+                    "Direction": "greater than",
+                    "Hysteresis": 0.6,
+                    "Label": "pout1",
+                    "Name": "upper non recoverable",
+                    "Severity": 4,
+                    "Value": 30
+                },
+                {
+                    "Direction": "greater than",
+                    "Hysteresis": 0.55,
+                    "Label": "pout1",
+                    "Name": "upper critical",
+                    "Severity": 1,
+                    "Value": 27.5
+                },
+                {
+                    "Direction": "less than",
+                    "Hysteresis": 0.45,
+                    "Label": "pout1",
+                    "Name": "lower critical",
+                    "Severity": 1,
+                    "Value": 22.5
+                }
+            ],
+            "Type": "INA233",
+            "iout1_Name": "E1S_EB_PMON_E1S1_P12V_CURR_A",
+            "pout1_Name": "E1S_EB_PMON_E1S1_P12V_PWR_W",
+            "vout1_Name": "E1S_EB_PMON_E1S1_P12V_VOLT_V"
+        },
+        {
+            "Address": "0x45",
+            "Bus": 10,
+            "Labels": [
+                "vout1",
+                "iout1",
+                "pout1"
+            ],
+            "Name": "E1S_EB_PMON_E1S0",
+            "Thresholds": [
+                {
+                    "Direction": "greater than",
+                    "Hysteresis": 0.05,
+                    "Label": "iout1",
+                    "Name": "upper non recoverable",
+                    "Severity": 4,
+                    "Value": 2.5
+                },
+                {
+                    "Direction": "greater than",
+                    "Hysteresis": 0.044,
+                    "Label": "iout1",
+                    "Name": "upper critical",
+                    "Severity": 1,
+                    "Value": 2.2
+                },
+                {
+                    "Direction": "less than",
+                    "Hysteresis": 0.036,
+                    "Label": "iout1",
+                    "Name": "lower critical",
+                    "Severity": 1,
+                    "Value": 1.8
+                },
+                {
+                    "Direction": "greater than",
+                    "Hysteresis": 0.264,
+                    "Label": "vout1",
+                    "Name": "upper non recoverable",
+                    "Severity": 4,
+                    "Value": 13.2
+                },
+                {
+                    "Direction": "greater than",
+                    "Hysteresis": 0.252,
+                    "Label": "vout1",
+                    "Name": "upper critical",
+                    "Severity": 1,
+                    "Value": 12.6
+                },
+                {
+                    "Direction": "less than",
+                    "Hysteresis": 0.228,
+                    "Label": "vout1",
+                    "Name": "lower critical",
+                    "Severity": 1,
+                    "Value": 11.4
+                },
+                {
+                    "Direction": "less than",
+                    "Hysteresis": 0.216,
+                    "Label": "vout1",
+                    "Name": "lower non recoverable",
+                    "Severity": 4,
+                    "Value": 10.8
+                },
+                {
+                    "Direction": "greater than",
+                    "Hysteresis": 0.6,
+                    "Label": "pout1",
+                    "Name": "upper non recoverable",
+                    "Severity": 4,
+                    "Value": 30
+                },
+                {
+                    "Direction": "greater than",
+                    "Hysteresis": 0.55,
+                    "Label": "pout1",
+                    "Name": "upper critical",
+                    "Severity": 1,
+                    "Value": 27.5
+                },
+                {
+                    "Direction": "less than",
+                    "Hysteresis": 0.45,
+                    "Label": "pout1",
+                    "Name": "lower critical",
+                    "Severity": 1,
+                    "Value": 22.5
+                }
+            ],
+            "Type": "INA233",
+            "iout1_Name": "E1S_EB_PMON_E1S0_P12V_CURR_A",
+            "pout1_Name": "E1S_EB_PMON_E1S0_P12V_PWR_W",
+            "vout1_Name": "E1S_EB_PMON_E1S0_P12V_VOLT_V"
+        },
+        {
+            "Address": "0x6a",
+            "Bus": 18,
+            "Name": "E1S_EB_E1S0_TEMP_C",
+            "PowerState": "On",
+            "Thresholds": [
+                {
+                    "Direction": "less than",
+                    "Hysteresis": 0.1,
+                    "Name": "lower critical",
+                    "Severity": 1,
+                    "Value": 5.0
+                },
+                {
+                    "Direction": "greater than",
+                    "Hysteresis": 1.4,
+                    "Name": "upper critical",
+                    "Severity": 1,
+                    "Value": 70.0
+                }
+            ],
+            "Type": "NVME1000"
+        },
+        {
+            "Address": "0x6a",
+            "Bus": 19,
+            "Name": "E1S_EB_E1S1_TEMP_C",
+            "PowerState": "On",
+            "Thresholds": [
+                {
+                    "Direction": "less than",
+                    "Hysteresis": 0.1,
+                    "Name": "lower critical",
+                    "Severity": 1,
+                    "Value": 5.0
+                },
+                {
+                    "Direction": "greater than",
+                    "Hysteresis": 1.4,
+                    "Name": "upper critical",
+                    "Severity": 1,
+                    "Value": 70.0
+                }
+            ],
+            "Type": "NVME1000"
+        },
+        {
+            "Address": "0x49",
+            "Bus": 10,
+            "Name": "E1S_EB_TEMP_C",
+            "Thresholds": [
+                {
+                    "Direction": "less than",
+                    "Hysteresis": 0.1,
+                    "Name": "lower critical",
+                    "Severity": 1,
+                    "Value": 5.0
+                },
+                {
+                    "Direction": "greater than",
+                    "Hysteresis": 0.9,
+                    "Name": "upper critical",
+                    "Severity": 1,
+                    "Value": 45
+                }
+            ],
+            "Type": "TMP75"
+        }
+    ],
+    "Name": "Yosemite5 E1S Expansion Board",
+    "Probe": "xyz.openbmc_project.FruDevice({'PRODUCT_PRODUCT_NAME': 'Yosemite V5 .*', 'BOARD_PRODUCT_NAME': 'E1.S Expansion Board'})",
+    "Type": "Board",
+    "xyz.openbmc_project.Inventory.Decorator.Asset": {
+        "BuildDate": "$BOARD_MANUFACTURE_DATE",
+        "Manufacturer": "$BOARD_MANUFACTURER",
+        "Model": "$BOARD_PRODUCT_NAME",
+        "PartNumber": "$BOARD_PART_NUMBER",
+        "SerialNumber": "$BOARD_SERIAL_NUMBER",
+        "SparePartNumber": "$BOARD_INFO_AM1"
+    },
+    "xyz.openbmc_project.Inventory.Decorator.AssetTag": {
+        "AssetTag": "$PRODUCT_ASSET_TAG"
+    }
+}