configurations: Add Mori motherboard config

 - Add mori_motherboard.json in configurations
 - Update meson.build
 - Support ADM1266 power sequencer sensor configs

Change-Id: I8de9a11f4df95347e0dde64580b9be7633f1ac74
Signed-off-by: Jonico Eustaquio <jonico.eustaquio@fii-na.com>
diff --git a/configurations/mori_motherboard.json b/configurations/mori_motherboard.json
new file mode 100644
index 0000000..967469d
--- /dev/null
+++ b/configurations/mori_motherboard.json
@@ -0,0 +1,661 @@
+[
+    {
+        "Exposes": [
+            {
+                "Address": "0x40",
+                "Bus": 40,
+                "Labels": [
+                    "vout1",
+                    "vout2",
+                    "vout3",
+                    "vout4",
+                    "vout5",
+                    "vout6",
+                    "vout7",
+                    "vout8",
+                    "vout9",
+                    "vout10",
+                    "vout11",
+                    "vout12",
+                    "vout13",
+                    "vout14",
+                    "vout15",
+                    "vout16",
+                    "vout17"
+                ],
+                "Name": "MB_ADM1266_0",
+                "PowerState": "Always",
+                "Thresholds": [
+                    {
+                        "Direction": "greater than",
+                        "Label": "vout1",
+                        "Name": "upper critical",
+                        "Severity": 1,
+                        "Value": 13.56
+                    },
+                    {
+                        "Direction": "greater than",
+                        "Label": "vout1",
+                        "Name": "upper non critical",
+                        "Severity": 0,
+                        "Value": 12.96
+                    },
+                    {
+                        "Direction": "less than",
+                        "Label": "vout1",
+                        "Name": "lower critical",
+                        "Severity": 1,
+                        "Value": 10.44
+                    },
+                    {
+                        "Direction": "less than",
+                        "Label": "vout1",
+                        "Name": "lower non critical",
+                        "Severity": 0,
+                        "Value": 11.04
+                    },
+                    {
+                        "Direction": "greater than",
+                        "Label": "vout2",
+                        "Name": "upper critical",
+                        "Severity": 1,
+                        "Value": 5.65
+                    },
+                    {
+                        "Direction": "greater than",
+                        "Label": "vout2",
+                        "Name": "upper non critical",
+                        "Severity": 0,
+                        "Value": 5.4
+                    },
+                    {
+                        "Direction": "less than",
+                        "Label": "vout2",
+                        "Name": "lower critical",
+                        "Severity": 1,
+                        "Value": 4.35
+                    },
+                    {
+                        "Direction": "less than",
+                        "Label": "vout2",
+                        "Name": "lower non critical",
+                        "Severity": 0,
+                        "Value": 4.6
+                    },
+                    {
+                        "Direction": "greater than",
+                        "Label": "vout3",
+                        "Name": "upper critical",
+                        "Severity": 1,
+                        "Value": 3.729
+                    },
+                    {
+                        "Direction": "greater than",
+                        "Label": "vout3",
+                        "Name": "upper non critical",
+                        "Severity": 0,
+                        "Value": 3.564
+                    },
+                    {
+                        "Direction": "less than",
+                        "Label": "vout3",
+                        "Name": "lower critical",
+                        "Severity": 1,
+                        "Value": 2.871
+                    },
+                    {
+                        "Direction": "less than",
+                        "Label": "vout3",
+                        "Name": "lower non critical",
+                        "Severity": 0,
+                        "Value": 3.036
+                    },
+                    {
+                        "Direction": "greater than",
+                        "Label": "vout4",
+                        "Name": "upper critical",
+                        "Severity": 1,
+                        "Value": 3.729
+                    },
+                    {
+                        "Direction": "greater than",
+                        "Label": "vout4",
+                        "Name": "upper non critical",
+                        "Severity": 0,
+                        "Value": 3.564
+                    },
+                    {
+                        "Direction": "less than",
+                        "Label": "vout4",
+                        "Name": "lower critical",
+                        "Severity": 1,
+                        "Value": 2.871
+                    },
+                    {
+                        "Direction": "less than",
+                        "Label": "vout4",
+                        "Name": "lower non critical",
+                        "Severity": 0,
+                        "Value": 3.036
+                    },
+                    {
+                        "Direction": "greater than",
+                        "Label": "vout5",
+                        "Name": "upper critical",
+                        "Severity": 1,
+                        "Value": 62
+                    },
+                    {
+                        "Direction": "greater than",
+                        "Label": "vout5",
+                        "Name": "upper non critical",
+                        "Severity": 0,
+                        "Value": 60.8
+                    },
+                    {
+                        "Direction": "less than",
+                        "Label": "vout5",
+                        "Name": "lower critical",
+                        "Severity": 1,
+                        "Value": 34.8
+                    },
+                    {
+                        "Direction": "less than",
+                        "Label": "vout5",
+                        "Name": "lower non critical",
+                        "Severity": 0,
+                        "Value": 36.8
+                    },
+                    {
+                        "Direction": "greater than",
+                        "Label": "vout6",
+                        "Name": "upper critical",
+                        "Severity": 1,
+                        "Value": 16.45
+                    },
+                    {
+                        "Direction": "greater than",
+                        "Label": "vout6",
+                        "Name": "upper non critical",
+                        "Severity": 0,
+                        "Value": 16.17
+                    },
+                    {
+                        "Direction": "less than",
+                        "Label": "vout6",
+                        "Name": "lower critical",
+                        "Severity": 1,
+                        "Value": 8.75
+                    },
+                    {
+                        "Direction": "less than",
+                        "Label": "vout6",
+                        "Name": "lower non critical",
+                        "Severity": 0,
+                        "Value": 9.24
+                    },
+                    {
+                        "Direction": "greater than",
+                        "Label": "vout7",
+                        "Name": "upper critical",
+                        "Severity": 1,
+                        "Value": 1.19
+                    },
+                    {
+                        "Direction": "greater than",
+                        "Label": "vout7",
+                        "Name": "upper non critical",
+                        "Severity": 0,
+                        "Value": 1.175
+                    },
+                    {
+                        "Direction": "less than",
+                        "Label": "vout7",
+                        "Name": "lower critical",
+                        "Severity": 1,
+                        "Value": 0.645
+                    },
+                    {
+                        "Direction": "less than",
+                        "Label": "vout7",
+                        "Name": "lower non critical",
+                        "Severity": 0,
+                        "Value": 0.68
+                    },
+                    {
+                        "Direction": "greater than",
+                        "Label": "vout8",
+                        "Name": "upper critical",
+                        "Severity": 1,
+                        "Value": 1.03
+                    },
+                    {
+                        "Direction": "greater than",
+                        "Label": "vout8",
+                        "Name": "upper non critical",
+                        "Severity": 0,
+                        "Value": 0.981
+                    },
+                    {
+                        "Direction": "less than",
+                        "Label": "vout8",
+                        "Name": "lower critical",
+                        "Severity": 1,
+                        "Value": 0.729
+                    },
+                    {
+                        "Direction": "less than",
+                        "Label": "vout8",
+                        "Name": "lower non critical",
+                        "Severity": 0,
+                        "Value": 0.77
+                    },
+                    {
+                        "Direction": "greater than",
+                        "Label": "vout9",
+                        "Name": "upper critical",
+                        "Severity": 1,
+                        "Value": 1.03
+                    },
+                    {
+                        "Direction": "greater than",
+                        "Label": "vout9",
+                        "Name": "upper non critical",
+                        "Severity": 0,
+                        "Value": 0.981
+                    },
+                    {
+                        "Direction": "less than",
+                        "Label": "vout9",
+                        "Name": "lower critical",
+                        "Severity": 1,
+                        "Value": 0.729
+                    },
+                    {
+                        "Direction": "less than",
+                        "Label": "vout9",
+                        "Name": "lower non critical",
+                        "Severity": 0,
+                        "Value": 0.77
+                    },
+                    {
+                        "Direction": "greater than",
+                        "Label": "vout10",
+                        "Name": "upper critical",
+                        "Severity": 1,
+                        "Value": 2.034
+                    },
+                    {
+                        "Direction": "greater than",
+                        "Label": "vout10",
+                        "Name": "upper non critical",
+                        "Severity": 0,
+                        "Value": 1.944
+                    },
+                    {
+                        "Direction": "less than",
+                        "Label": "vout10",
+                        "Name": "lower critical",
+                        "Severity": 1,
+                        "Value": 1.575
+                    },
+                    {
+                        "Direction": "less than",
+                        "Label": "vout10",
+                        "Name": "lower non critical",
+                        "Severity": 0,
+                        "Value": 1.665
+                    },
+                    {
+                        "Direction": "greater than",
+                        "Label": "vout11",
+                        "Name": "upper critical",
+                        "Severity": 1,
+                        "Value": 1.386
+                    },
+                    {
+                        "Direction": "greater than",
+                        "Label": "vout11",
+                        "Name": "upper non critical",
+                        "Severity": 0,
+                        "Value": 1.32
+                    },
+                    {
+                        "Direction": "less than",
+                        "Label": "vout11",
+                        "Name": "lower critical",
+                        "Severity": 1,
+                        "Value": 1.026
+                    },
+                    {
+                        "Direction": "less than",
+                        "Label": "vout11",
+                        "Name": "lower non critical",
+                        "Severity": 0,
+                        "Value": 1.086
+                    },
+                    {
+                        "Direction": "greater than",
+                        "Label": "vout12",
+                        "Name": "upper critical",
+                        "Severity": 1,
+                        "Value": 1.266
+                    },
+                    {
+                        "Direction": "greater than",
+                        "Label": "vout12",
+                        "Name": "upper non critical",
+                        "Severity": 0,
+                        "Value": 1.212
+                    },
+                    {
+                        "Direction": "less than",
+                        "Label": "vout12",
+                        "Name": "lower critical",
+                        "Severity": 1,
+                        "Value": 0.942
+                    },
+                    {
+                        "Direction": "less than",
+                        "Label": "vout12",
+                        "Name": "lower non critical",
+                        "Severity": 0,
+                        "Value": 0.996
+                    },
+                    {
+                        "Direction": "greater than",
+                        "Label": "vout13",
+                        "Name": "upper critical",
+                        "Severity": 1,
+                        "Value": 1.266
+                    },
+                    {
+                        "Direction": "greater than",
+                        "Label": "vout13",
+                        "Name": "upper non critical",
+                        "Severity": 0,
+                        "Value": 1.212
+                    },
+                    {
+                        "Direction": "less than",
+                        "Label": "vout13",
+                        "Name": "lower critical",
+                        "Severity": 1,
+                        "Value": 0.942
+                    },
+                    {
+                        "Direction": "less than",
+                        "Label": "vout13",
+                        "Name": "lower non critical",
+                        "Severity": 0,
+                        "Value": 0.996
+                    },
+                    {
+                        "Direction": "greater than",
+                        "Label": "vout14",
+                        "Name": "upper critical",
+                        "Severity": 1,
+                        "Value": 0.979
+                    },
+                    {
+                        "Direction": "greater than",
+                        "Label": "vout14",
+                        "Name": "upper non critical",
+                        "Severity": 0,
+                        "Value": 0.935
+                    },
+                    {
+                        "Direction": "less than",
+                        "Label": "vout14",
+                        "Name": "lower critical",
+                        "Severity": 1,
+                        "Value": 0.728
+                    },
+                    {
+                        "Direction": "less than",
+                        "Label": "vout14",
+                        "Name": "lower non critical",
+                        "Severity": 0,
+                        "Value": 0.767
+                    },
+                    {
+                        "Direction": "greater than",
+                        "Label": "vout15",
+                        "Name": "upper critical",
+                        "Severity": 1,
+                        "Value": 2.078
+                    },
+                    {
+                        "Direction": "greater than",
+                        "Label": "vout15",
+                        "Name": "upper non critical",
+                        "Severity": 0,
+                        "Value": 1.98
+                    },
+                    {
+                        "Direction": "less than",
+                        "Label": "vout15",
+                        "Name": "lower critical",
+                        "Severity": 1,
+                        "Value": 1.539
+                    },
+                    {
+                        "Direction": "less than",
+                        "Label": "vout15",
+                        "Name": "lower non critical",
+                        "Severity": 0,
+                        "Value": 1.627
+                    },
+                    {
+                        "Direction": "greater than",
+                        "Label": "vout16",
+                        "Name": "upper critical",
+                        "Severity": 1,
+                        "Value": 0.968
+                    },
+                    {
+                        "Direction": "greater than",
+                        "Label": "vout16",
+                        "Name": "upper non critical",
+                        "Severity": 0,
+                        "Value": 0.924
+                    },
+                    {
+                        "Direction": "less than",
+                        "Label": "vout16",
+                        "Name": "lower critical",
+                        "Severity": 1,
+                        "Value": 0.684
+                    },
+                    {
+                        "Direction": "less than",
+                        "Label": "vout16",
+                        "Name": "lower non critical",
+                        "Severity": 0,
+                        "Value": 0.724
+                    },
+                    {
+                        "Direction": "greater than",
+                        "Label": "vout17",
+                        "Name": "upper critical",
+                        "Severity": 1,
+                        "Value": 1.09
+                    },
+                    {
+                        "Direction": "greater than",
+                        "Label": "vout17",
+                        "Name": "upper non critical",
+                        "Severity": 0,
+                        "Value": 1.04
+                    },
+                    {
+                        "Direction": "less than",
+                        "Label": "vout17",
+                        "Name": "lower critical",
+                        "Severity": 1,
+                        "Value": 0.77
+                    },
+                    {
+                        "Direction": "less than",
+                        "Label": "vout17",
+                        "Name": "lower non critical",
+                        "Severity": 0,
+                        "Value": 0.815
+                    }
+                ],
+                "Type": "ADM1266",
+                "vout10_Max": 2.295,
+                "vout10_Name": "MOBO_1V8_SOC",
+                "vout11_Max": 1.53,
+                "vout11_Name": "MOBO_1V2_SOC",
+                "vout12_Max": 1.53,
+                "vout12_Name": "MOBO_1V1_DQ0123",
+                "vout13_Max": 1.53,
+                "vout13_Name": "MOBO_1V1_DQ4567",
+                "vout14_Max": 1.125,
+                "vout14_Name": "MOBO_0V85_SOC",
+                "vout15_Max": 2.5,
+                "vout15_Name": "MOBO_1V8_RCA",
+                "vout16_Max": 1.02,
+                "vout16_Name": "MOBO_0V8_D2D",
+                "vout17_Max": 1.275,
+                "vout17_Name": "MOBO_0V9_RCA",
+                "vout1_Max": 15.3,
+                "vout1_Name": "MOBO_12V_STB",
+                "vout2_Max": 6.375,
+                "vout2_Name": "MOBO_5V",
+                "vout3_Max": 4.2075,
+                "vout3_Name": "MOBO_3V3",
+                "vout4_Max": 4.2075,
+                "vout4_Name": "MOBO_3V3_STB",
+                "vout5_Max": 102,
+                "vout5_Name": "MOBO_48V",
+                "vout6_Max": 17.85,
+                "vout6_Name": "MOBO_13V5_NBM",
+                "vout7_Max": 1.275,
+                "vout7_Name": "MOBO_0V75_PCP",
+                "vout8_Max": 1.1475,
+                "vout8_Name": "MOBO_0V85_DDR0",
+                "vout9_Max": 1.1475,
+                "vout9_Name": "MOBO_0V85_DDR1"
+            },
+            {
+                "EntityId": 19,
+                "EntityInstance": 0,
+                "Name": "MOBO_12V_STB",
+                "Type": "ADM1266"
+            },
+            {
+                "EntityId": 19,
+                "EntityInstance": 0,
+                "Name": "MOBO_5V",
+                "Type": "ADM1266"
+            },
+            {
+                "EntityId": 19,
+                "EntityInstance": 0,
+                "Name": "MOBO_3V3",
+                "Type": "ADM1266"
+            },
+            {
+                "EntityId": 19,
+                "EntityInstance": 0,
+                "Name": "MOBO_3V3_STB",
+                "Type": "ADM1266"
+            },
+            {
+                "EntityId": 19,
+                "EntityInstance": 0,
+                "Name": "MOBO_48V",
+                "Type": "ADM1266"
+            },
+            {
+                "EntityId": 19,
+                "EntityInstance": 0,
+                "Name": "MOBO_13V5_NBM",
+                "Type": "ADM1266"
+            },
+            {
+                "EntityId": 19,
+                "EntityInstance": 0,
+                "Name": "MOBO_0V75_PCP",
+                "Type": "ADM1266"
+            },
+            {
+                "EntityId": 19,
+                "EntityInstance": 0,
+                "Name": "MOBO_1V1_DQ0123",
+                "Type": "ADM1266"
+            },
+            {
+                "EntityId": 19,
+                "EntityInstance": 0,
+                "Name": "MOBO_1V1_DQ4567",
+                "Type": "ADM1266"
+            },
+            {
+                "EntityId": 19,
+                "EntityInstance": 0,
+                "Name": "MOBO_0V85_DDR0",
+                "Type": "ADM1266"
+            },
+            {
+                "EntityId": 19,
+                "EntityInstance": 0,
+                "Name": "MOBO_0V85_DDR1",
+                "Type": "ADM1266"
+            },
+            {
+                "EntityId": 19,
+                "EntityInstance": 0,
+                "Name": "MOBO_1V8_SOC",
+                "Type": "ADM1266"
+            },
+            {
+                "EntityId": 19,
+                "EntityInstance": 0,
+                "Name": "MOBO_1V2_SOC",
+                "Type": "ADM1266"
+            },
+            {
+                "EntityId": 19,
+                "EntityInstance": 0,
+                "Name": "MOBO_0V85_SOC",
+                "Type": "ADM1266"
+            },
+            {
+                "EntityId": 19,
+                "EntityInstance": 0,
+                "Name": "MOBO_1V8_RCA",
+                "Type": "ADM1266"
+            },
+            {
+                "EntityId": 19,
+                "EntityInstance": 0,
+                "Name": "MOBO_0V8_D2D",
+                "Type": "ADM1266"
+            },
+            {
+                "EntityId": 19,
+                "EntityInstance": 0,
+                "Name": "MOBO_0V9_RCA",
+                "Type": "ADM1266"
+            },
+            {
+                "Address": "0x50",
+                "Bus": 4,
+                "Name": "Motherboard FRU",
+                "Type": "EEPROM"
+            }
+        ],
+        "Name": "Mori_Motherboard",
+        "Probe": "xyz.openbmc_project.FruDevice({'BOARD_PART_NUMBER': '1119241-*'})",
+        "Type": "Board",
+        "xyz.openbmc_project.Inventory.Decorator.Asset": {
+            "Manufacturer": "$BOARD_MANUFACTURER",
+            "Model": "$BOARD_PRODUCT_NAME",
+            "PartNumber": "$BOARD_PART_NUMBER",
+            "SerialNumber": "$BOARD_SERIAL_NUMBER"
+        }
+    }
+]