configurations: Add Nuvoton Arbel BMC configuration
Introduce initial configuration file for Arbel BMC.
- Add nuvoton_arbel_bmc.json in configurations
- Update meson.build
Tested:
root@evb-npcm845:/# busctl tree xyz.openbmc_project.EntityManager
|- /xyz/openbmc_project
|- /xyz/openbmc_project/EntityManager
|- /xyz/openbmc_project/inventory/system/board/EVB_ARBEL_NUVOTON
Change-Id: Idf2c9331b02284fc336da6466a4a837046af0633
Signed-off-by: Tim Lee <timlee660101@gmail.com>
diff --git a/configurations/nuvoton_arbel_bmc.json b/configurations/nuvoton_arbel_bmc.json
new file mode 100644
index 0000000..98c5f9f
--- /dev/null
+++ b/configurations/nuvoton_arbel_bmc.json
@@ -0,0 +1,476 @@
+{
+ "Exposes": [
+ {
+ "EntityId": 23,
+ "EntityInstance": 1,
+ "Index": 0,
+ "Name": "ADC1",
+ "PowerState": "Always",
+ "ScaleFactor": 0.045,
+ "Thresholds": [
+ {
+ "Direction": "greater than",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 1.5
+ },
+ {
+ "Direction": "greater than",
+ "Name": "upper non critical",
+ "Severity": 0,
+ "Value": 1.3
+ },
+ {
+ "Direction": "less than",
+ "Name": "lower non critical",
+ "Severity": 0,
+ "Value": 1.1
+ },
+ {
+ "Direction": "less than",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 1.0
+ }
+ ],
+ "Type": "ADC"
+ },
+ {
+ "EntityId": 23,
+ "EntityInstance": 2,
+ "Index": 1,
+ "Name": "ADC2",
+ "PowerState": "Always",
+ "ScaleFactor": 0.092,
+ "Thresholds": [
+ {
+ "Direction": "greater than",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 1.5
+ },
+ {
+ "Direction": "greater than",
+ "Name": "upper non critical",
+ "Severity": 0,
+ "Value": 1.3
+ },
+ {
+ "Direction": "less than",
+ "Name": "lower non critical",
+ "Severity": 0,
+ "Value": 1.1
+ },
+ {
+ "Direction": "less than",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 1.0
+ }
+ ],
+ "Type": "ADC"
+ },
+ {
+ "EntityId": 23,
+ "EntityInstance": 3,
+ "Index": 2,
+ "Name": "ADC3",
+ "PowerState": "Always",
+ "ScaleFactor": 0.166,
+ "Thresholds": [
+ {
+ "Direction": "greater than",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 1.5
+ },
+ {
+ "Direction": "greater than",
+ "Name": "upper non critical",
+ "Severity": 0,
+ "Value": 1.3
+ },
+ {
+ "Direction": "less than",
+ "Name": "lower non critical",
+ "Severity": 0,
+ "Value": 1.1
+ },
+ {
+ "Direction": "less than",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 1.0
+ }
+ ],
+ "Type": "ADC"
+ },
+ {
+ "EntityId": 23,
+ "EntityInstance": 4,
+ "Index": 3,
+ "Name": "ADC4",
+ "PowerState": "Always",
+ "ScaleFactor": 0.32,
+ "Thresholds": [
+ {
+ "Direction": "greater than",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 1.5
+ },
+ {
+ "Direction": "greater than",
+ "Name": "upper non critical",
+ "Severity": 0,
+ "Value": 1.3
+ },
+ {
+ "Direction": "less than",
+ "Name": "lower non critical",
+ "Severity": 0,
+ "Value": 1.1
+ },
+ {
+ "Direction": "less than",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 1.0
+ }
+ ],
+ "Type": "ADC"
+ },
+ {
+ "EntityId": 23,
+ "EntityInstance": 5,
+ "Index": 4,
+ "Name": "ADC5",
+ "PowerState": "Always",
+ "ScaleFactor": 0.68,
+ "Thresholds": [
+ {
+ "Direction": "greater than",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 1.5
+ },
+ {
+ "Direction": "greater than",
+ "Name": "upper non critical",
+ "Severity": 0,
+ "Value": 1.3
+ },
+ {
+ "Direction": "less than",
+ "Name": "lower non critical",
+ "Severity": 0,
+ "Value": 1.1
+ },
+ {
+ "Direction": "less than",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 1.0
+ }
+ ],
+ "Type": "ADC"
+ },
+ {
+ "EntityId": 23,
+ "EntityInstance": 6,
+ "Index": 5,
+ "Name": "ADC6",
+ "PowerState": "Always",
+ "ScaleFactor": 0.833,
+ "Thresholds": [
+ {
+ "Direction": "greater than",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 1.5
+ },
+ {
+ "Direction": "greater than",
+ "Name": "upper non critical",
+ "Severity": 0,
+ "Value": 1.3
+ },
+ {
+ "Direction": "less than",
+ "Name": "lower non critical",
+ "Severity": 0,
+ "Value": 1.1
+ },
+ {
+ "Direction": "less than",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 1.0
+ }
+ ],
+ "Type": "ADC"
+ },
+ {
+ "EntityId": 23,
+ "EntityInstance": 7,
+ "Index": 6,
+ "Name": "ADC7",
+ "PowerState": "Always",
+ "ScaleFactor": 0.91,
+ "Thresholds": [
+ {
+ "Direction": "greater than",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 1.5
+ },
+ {
+ "Direction": "greater than",
+ "Name": "upper non critical",
+ "Severity": 0,
+ "Value": 1.3
+ },
+ {
+ "Direction": "less than",
+ "Name": "lower non critical",
+ "Severity": 0,
+ "Value": 0.9
+ },
+ {
+ "Direction": "less than",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 0.8
+ }
+ ],
+ "Type": "ADC"
+ },
+ {
+ "EntityId": 23,
+ "EntityInstance": 8,
+ "Index": 7,
+ "Name": "ADC8",
+ "PowerState": "Always",
+ "ScaleFactor": 0.955,
+ "Thresholds": [
+ {
+ "Direction": "greater than",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 1.5
+ },
+ {
+ "Direction": "greater than",
+ "Name": "upper non critical",
+ "Severity": 0,
+ "Value": 1.3
+ },
+ {
+ "Direction": "less than",
+ "Name": "lower non critical",
+ "Severity": 0,
+ "Value": 1.1
+ },
+ {
+ "Direction": "less than",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 1.0
+ }
+ ],
+ "Type": "ADC"
+ },
+ {
+ "Name": "evb_emmc",
+ "Type": "EmmcDevice"
+ },
+ {
+ "Connector": {
+ "Name": "BMC Fan connector 1",
+ "Pwm": 0,
+ "Tachs": [
+ 0
+ ]
+ },
+ "EntityId": 29,
+ "EntityInstance": 1,
+ "Index": 0,
+ "MaxReading": 14000,
+ "Name": "Fan1",
+ "PowerState": "Always",
+ "Thresholds": [
+ {
+ "Direction": "less than",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 500
+ },
+ {
+ "Direction": "greater than",
+ "Name": "upper non critical",
+ "Severity": 0,
+ "Value": 8500
+ },
+ {
+ "Direction": "greater than",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 11500
+ }
+ ],
+ "Type": "NuvotonFan"
+ },
+ {
+ "Connector": {
+ "Name": "BMC Fan connector 2",
+ "Pwm": 1,
+ "Tachs": [
+ 1
+ ]
+ },
+ "EntityId": 29,
+ "EntityInstance": 2,
+ "Index": 1,
+ "MaxReading": 14000,
+ "Name": "Fan2",
+ "PowerState": "Always",
+ "Thresholds": [
+ {
+ "Direction": "less than",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 500
+ },
+ {
+ "Direction": "greater than",
+ "Name": "upper non critical",
+ "Severity": 0,
+ "Value": 8500
+ },
+ {
+ "Direction": "greater than",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 11500
+ }
+ ],
+ "Type": "NuvotonFan"
+ },
+ {
+ "Connector": {
+ "Name": "BMC Fan connector 3",
+ "Pwm": 2,
+ "Tachs": [
+ 2
+ ]
+ },
+ "EntityId": 29,
+ "EntityInstance": 3,
+ "Index": 2,
+ "MaxReading": 14000,
+ "Name": "Fan3",
+ "PowerState": "Always",
+ "Thresholds": [
+ {
+ "Direction": "less than",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 500
+ },
+ {
+ "Direction": "greater than",
+ "Name": "upper non critical",
+ "Severity": 0,
+ "Value": 8500
+ },
+ {
+ "Direction": "greater than",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 11500
+ }
+ ],
+ "Type": "NuvotonFan"
+ },
+ {
+ "Connector": {
+ "Name": "BMC Fan connector 4",
+ "Pwm": 3,
+ "Tachs": [
+ 3
+ ]
+ },
+ "EntityId": 29,
+ "EntityInstance": 4,
+ "Index": 3,
+ "MaxReading": 14000,
+ "Name": "Fan4",
+ "PowerState": "Always",
+ "Thresholds": [
+ {
+ "Direction": "less than",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 500
+ },
+ {
+ "Direction": "greater than",
+ "Name": "upper non critical",
+ "Severity": 0,
+ "Value": 8500
+ },
+ {
+ "Direction": "greater than",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 11500
+ }
+ ],
+ "Type": "NuvotonFan"
+ },
+ {
+ "Address": "0x48",
+ "Bus": 6,
+ "EntityId": 7,
+ "EntityInstance": 3,
+ "Name": "EVB_Temp",
+ "Thresholds": [
+ {
+ "Direction": "greater than",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 65.0
+ },
+ {
+ "Direction": "greater than",
+ "Name": "upper non critical",
+ "Severity": 0,
+ "Value": 50.0
+ },
+ {
+ "Direction": "less than",
+ "Name": "lower non critical",
+ "Severity": 0,
+ "Value": 15.0
+ },
+ {
+ "Direction": "less than",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 0
+ }
+ ],
+ "Type": "TMP100"
+ }
+ ],
+ "Name": "EVB_ARBEL_NUVOTON",
+ "Probe": "xyz.openbmc_project.FruDevice({'BOARD_PRODUCT_NAME': 'NUVOTON-ARBEL-EVB'})",
+ "Type": "Board",
+ "xyz.openbmc_project.Inventory.Decorator.Asset": {
+ "Manufacturer": "$BOARD_MANUFACTURER",
+ "Model": "$BOARD_PRODUCT_NAME",
+ "PartNumber": "$BOARD_PART_NUMBER",
+ "SerialNumber": "$BOARD_SERIAL_NUMBER"
+ },
+ "xyz.openbmc_project.Inventory.Item.System": {}
+}
diff --git a/meson.build b/meson.build
index 7055b5d..a966025 100644
--- a/meson.build
+++ b/meson.build
@@ -150,6 +150,7 @@
'mtmitchell_mb.json',
'mudflap.json',
'nisqually.json',
+ 'nuvoton_arbel_bmc.json',
'nvme_intel_p_series.json',
'nvme_p4500_p5500.json',
'pcie_ssd_retimer.json',