From a6499575197410ccf4ef79cc7ad5caf8a0cad320 Mon Sep 17 00:00:00 2001 From: Stanley Chu Date: Fri, 12 Jun 2020 11:56:04 +0800 Subject: meta-quanta: olympus-nuvoton: add ipmi yaml config add configuration yaml files for fru and sensors (From meta-quanta rev: 8327e2c69649eb91175b5e12002e57662411730e) Signed-off-by: Stanley Chu Signed-off-by: Joseph Liu Change-Id: I0571b349ad77df5d773f8547a0effabddd568dca Signed-off-by: Andrew Geissler --- .../configuration/olympus-nuvoton-yaml-config.bb | 31 + .../olympus-nuvoton-ipmi-fru-properties.yaml | 284 +++++++++ .../olympus-nuvoton-ipmi-fru.yaml | 672 +++++++++++++++++++++ .../olympus-nuvoton-ipmi-sensors.yaml | 627 +++++++++++++++++++ .../ipmi/phosphor-ipmi-fru_%.bbappend | 9 +- .../ipmi/phosphor-ipmi-host_%.bbappend | 6 + 6 files changed, 1627 insertions(+), 2 deletions(-) create mode 100644 meta-quanta/meta-olympus-nuvoton/recipes-phosphor/configuration/olympus-nuvoton-yaml-config.bb create mode 100644 meta-quanta/meta-olympus-nuvoton/recipes-phosphor/configuration/olympus-nuvoton-yaml-config/olympus-nuvoton-ipmi-fru-properties.yaml create mode 100644 meta-quanta/meta-olympus-nuvoton/recipes-phosphor/configuration/olympus-nuvoton-yaml-config/olympus-nuvoton-ipmi-fru.yaml create mode 100644 meta-quanta/meta-olympus-nuvoton/recipes-phosphor/configuration/olympus-nuvoton-yaml-config/olympus-nuvoton-ipmi-sensors.yaml create mode 100644 meta-quanta/meta-olympus-nuvoton/recipes-phosphor/ipmi/phosphor-ipmi-host_%.bbappend diff --git a/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/configuration/olympus-nuvoton-yaml-config.bb b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/configuration/olympus-nuvoton-yaml-config.bb new file mode 100644 index 000000000..c8b24cb61 --- /dev/null +++ b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/configuration/olympus-nuvoton-yaml-config.bb @@ -0,0 +1,31 @@ +SUMMARY = "YAML configuration for Olympus Nuvoton" +PR = "r1" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10" + +inherit allarch + +SRC_URI_olympus-nuvoton = " \ + file://olympus-nuvoton-ipmi-fru.yaml \ + file://olympus-nuvoton-ipmi-fru-properties.yaml \ + file://olympus-nuvoton-ipmi-sensors.yaml \ + " + +S = "${WORKDIR}" + +do_install_olympus-nuvoton() { + install -m 0644 -D olympus-nuvoton-ipmi-fru-properties.yaml \ + ${D}${datadir}/${BPN}/ipmi-extra-properties.yaml + install -m 0644 -D olympus-nuvoton-ipmi-fru.yaml \ + ${D}${datadir}/${BPN}/ipmi-fru-read.yaml + install -m 0644 -D olympus-nuvoton-ipmi-sensors.yaml \ + ${D}${datadir}/${BPN}/ipmi-sensors.yaml +} + +FILES_${PN}-dev = " \ + ${datadir}/${BPN}/ipmi-extra-properties.yaml \ + ${datadir}/${BPN}/ipmi-fru-read.yaml \ + ${datadir}/${BPN}/ipmi-sensors.yaml \ + " + +ALLOW_EMPTY_${PN} = "1" diff --git a/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/configuration/olympus-nuvoton-yaml-config/olympus-nuvoton-ipmi-fru-properties.yaml b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/configuration/olympus-nuvoton-yaml-config/olympus-nuvoton-ipmi-fru-properties.yaml new file mode 100644 index 000000000..b15ed5fd3 --- /dev/null +++ b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/configuration/olympus-nuvoton-yaml-config/olympus-nuvoton-ipmi-fru-properties.yaml @@ -0,0 +1,284 @@ +/system: + xyz.openbmc_project.Inventory.Decorator.Cacheable: + Cached: 'true' + xyz.openbmc_project.Inventory.Decorator.Replaceable: + FieldReplaceable: 'true' + xyz.openbmc_project.Inventory.Item: + Present: 'true' +/system/chassis: + xyz.openbmc_project.Inventory.Decorator.Replaceable: + FieldReplaceable: 'true' + xyz.openbmc_project.Inventory.Decorator.Cacheable: + Cached: 'true' + xyz.openbmc_project.Inventory.Item: + Present: 'true' +/system/chassis/motherboard: + xyz.openbmc_project.Inventory.Decorator.Cacheable: + Cached: 'true' + xyz.openbmc_project.Inventory.Decorator.Replaceable: + FieldReplaceable: 'true' + xyz.openbmc_project.Inventory.Item: + Present: 'true' +/system/chassis/motherboard/management_card/bmc: + xyz.openbmc_project.Inventory.Decorator.Replaceable: + FieldReplaceable: 'true' + xyz.openbmc_project.Inventory.Decorator.Cacheable: + Cached: 'true' + xyz.openbmc_project.Inventory.Item: + Present: 'true' +/system/chassis/motherboard/cpu0: + xyz.openbmc_project.Inventory.Decorator.Replaceable: + FieldReplaceable: 'true' + xyz.openbmc_project.Inventory.Decorator.Cacheable: + Cached: 'true' + xyz.openbmc_project.Inventory.Item: + Present: 'true' + xyz.openbmc_project.State.Decorator.OperationalStatus: + Functional: 'true' +/system/chassis/motherboard/cpu1: + xyz.openbmc_project.Inventory.Decorator.Replaceable: + FieldReplaceable: 'true' + xyz.openbmc_project.Inventory.Decorator.Cacheable: + Cached: 'true' + xyz.openbmc_project.Inventory.Item: + Present: 'true' + xyz.openbmc_project.State.Decorator.OperationalStatus: + Functional: 'true' +/system/chassis/motherboard/dimm_a0: + xyz.openbmc_project.Inventory.Decorator.Replaceable: + FieldReplaceable: 'true' + xyz.openbmc_project.Inventory.Decorator.Cacheable: + Cached: 'true' + xyz.openbmc_project.Inventory.Item: + Present: 'true' + xyz.openbmc_project.State.Decorator.OperationalStatus: + Functional: 'true' +/system/chassis/motherboard/dimm_a1: + xyz.openbmc_project.Inventory.Decorator.Replaceable: + FieldReplaceable: 'true' + xyz.openbmc_project.Inventory.Decorator.Cacheable: + Cached: 'true' + xyz.openbmc_project.Inventory.Item: + Present: 'true' + xyz.openbmc_project.State.Decorator.OperationalStatus: + Functional: 'true' +/system/chassis/motherboard/dimm_a2: + xyz.openbmc_project.Inventory.Decorator.Replaceable: + FieldReplaceable: 'true' + xyz.openbmc_project.Inventory.Decorator.Cacheable: + Cached: 'true' + xyz.openbmc_project.Inventory.Item: + Present: 'true' + xyz.openbmc_project.State.Decorator.OperationalStatus: + Functional: 'true' +/system/chassis/motherboard/dimm_a3: + xyz.openbmc_project.Inventory.Decorator.Replaceable: + FieldReplaceable: 'true' + xyz.openbmc_project.Inventory.Decorator.Cacheable: + Cached: 'true' + xyz.openbmc_project.Inventory.Item: + Present: 'true' + xyz.openbmc_project.State.Decorator.OperationalStatus: + Functional: 'true' +/system/chassis/motherboard/dimm_a4: + xyz.openbmc_project.Inventory.Decorator.Replaceable: + FieldReplaceable: 'true' + xyz.openbmc_project.Inventory.Decorator.Cacheable: + Cached: 'true' + xyz.openbmc_project.Inventory.Item: + Present: 'true' + xyz.openbmc_project.State.Decorator.OperationalStatus: + Functional: 'true' +/system/chassis/motherboard/dimm_a5: + xyz.openbmc_project.Inventory.Decorator.Replaceable: + FieldReplaceable: 'true' + xyz.openbmc_project.Inventory.Decorator.Cacheable: + Cached: 'true' + xyz.openbmc_project.Inventory.Item: + Present: 'true' + xyz.openbmc_project.State.Decorator.OperationalStatus: + Functional: 'true' +/system/chassis/motherboard/dimm_b0: + xyz.openbmc_project.Inventory.Decorator.Replaceable: + FieldReplaceable: 'true' + xyz.openbmc_project.Inventory.Decorator.Cacheable: + Cached: 'true' + xyz.openbmc_project.Inventory.Item: + Present: 'true' + xyz.openbmc_project.State.Decorator.OperationalStatus: + Functional: 'true' +/system/chassis/motherboard/dimm_b1: + xyz.openbmc_project.Inventory.Decorator.Replaceable: + FieldReplaceable: 'true' + xyz.openbmc_project.Inventory.Decorator.Cacheable: + Cached: 'true' + xyz.openbmc_project.Inventory.Item: + Present: 'true' + xyz.openbmc_project.State.Decorator.OperationalStatus: + Functional: 'true' +/system/chassis/motherboard/dimm_b2: + xyz.openbmc_project.Inventory.Decorator.Replaceable: + FieldReplaceable: 'true' + xyz.openbmc_project.Inventory.Decorator.Cacheable: + Cached: 'true' + xyz.openbmc_project.Inventory.Item: + Present: 'true' + xyz.openbmc_project.State.Decorator.OperationalStatus: + Functional: 'true' +/system/chassis/motherboard/dimm_b3: + xyz.openbmc_project.Inventory.Decorator.Replaceable: + FieldReplaceable: 'true' + xyz.openbmc_project.Inventory.Decorator.Cacheable: + Cached: 'true' + xyz.openbmc_project.Inventory.Item: + Present: 'true' + xyz.openbmc_project.State.Decorator.OperationalStatus: + Functional: 'true' +/system/chassis/motherboard/dimm_b4: + xyz.openbmc_project.Inventory.Decorator.Replaceable: + FieldReplaceable: 'true' + xyz.openbmc_project.Inventory.Decorator.Cacheable: + Cached: 'true' + xyz.openbmc_project.Inventory.Item: + Present: 'true' + xyz.openbmc_project.State.Decorator.OperationalStatus: + Functional: 'true' +/system/chassis/motherboard/dimm_b5: + xyz.openbmc_project.Inventory.Decorator.Replaceable: + FieldReplaceable: 'true' + xyz.openbmc_project.Inventory.Decorator.Cacheable: + Cached: 'true' + xyz.openbmc_project.Inventory.Item: + Present: 'true' + xyz.openbmc_project.State.Decorator.OperationalStatus: + Functional: 'true' +/system/chassis/motherboard/dimm_c0: + xyz.openbmc_project.Inventory.Decorator.Replaceable: + FieldReplaceable: 'true' + xyz.openbmc_project.Inventory.Decorator.Cacheable: + Cached: 'true' + xyz.openbmc_project.Inventory.Item: + Present: 'true' + xyz.openbmc_project.State.Decorator.OperationalStatus: + Functional: 'true' +/system/chassis/motherboard/dimm_c1: + xyz.openbmc_project.Inventory.Decorator.Replaceable: + FieldReplaceable: 'true' + xyz.openbmc_project.Inventory.Decorator.Cacheable: + Cached: 'true' + xyz.openbmc_project.Inventory.Item: + Present: 'true' + xyz.openbmc_project.State.Decorator.OperationalStatus: + Functional: 'true' +/system/chassis/motherboard/dimm_c2: + xyz.openbmc_project.Inventory.Decorator.Replaceable: + FieldReplaceable: 'true' + xyz.openbmc_project.Inventory.Decorator.Cacheable: + Cached: 'true' + xyz.openbmc_project.Inventory.Item: + Present: 'true' + xyz.openbmc_project.State.Decorator.OperationalStatus: + Functional: 'true' +/system/chassis/motherboard/dimm_c3: + xyz.openbmc_project.Inventory.Decorator.Replaceable: + FieldReplaceable: 'true' + xyz.openbmc_project.Inventory.Decorator.Cacheable: + Cached: 'true' + xyz.openbmc_project.Inventory.Item: + Present: 'true' + xyz.openbmc_project.State.Decorator.OperationalStatus: + Functional: 'true' +/system/chassis/motherboard/dimm_c4: + xyz.openbmc_project.Inventory.Decorator.Replaceable: + FieldReplaceable: 'true' + xyz.openbmc_project.Inventory.Decorator.Cacheable: + Cached: 'true' + xyz.openbmc_project.Inventory.Item: + Present: 'true' + xyz.openbmc_project.State.Decorator.OperationalStatus: + Functional: 'true' +/system/chassis/motherboard/dimm_c5: + xyz.openbmc_project.Inventory.Decorator.Replaceable: + FieldReplaceable: 'true' + xyz.openbmc_project.Inventory.Decorator.Cacheable: + Cached: 'true' + xyz.openbmc_project.Inventory.Item: + Present: 'true' + xyz.openbmc_project.State.Decorator.OperationalStatus: + Functional: 'true' +/system/chassis/motherboard/dimm_d0: + xyz.openbmc_project.Inventory.Decorator.Replaceable: + FieldReplaceable: 'true' + xyz.openbmc_project.Inventory.Decorator.Cacheable: + Cached: 'true' + xyz.openbmc_project.Inventory.Item: + Present: 'true' + xyz.openbmc_project.State.Decorator.OperationalStatus: + Functional: 'true' +/system/chassis/motherboard/dimm_d1: + xyz.openbmc_project.Inventory.Decorator.Replaceable: + FieldReplaceable: 'true' + xyz.openbmc_project.Inventory.Decorator.Cacheable: + Cached: 'true' + xyz.openbmc_project.Inventory.Item: + Present: 'true' + xyz.openbmc_project.State.Decorator.OperationalStatus: + Functional: 'true' +/system/chassis/motherboard/dimm_d2: + xyz.openbmc_project.Inventory.Decorator.Replaceable: + FieldReplaceable: 'true' + xyz.openbmc_project.Inventory.Decorator.Cacheable: + Cached: 'true' + xyz.openbmc_project.Inventory.Item: + Present: 'true' + xyz.openbmc_project.State.Decorator.OperationalStatus: + Functional: 'true' +/system/chassis/motherboard/dimm_d3: + xyz.openbmc_project.Inventory.Decorator.Replaceable: + FieldReplaceable: 'true' + xyz.openbmc_project.Inventory.Decorator.Cacheable: + Cached: 'true' + xyz.openbmc_project.Inventory.Item: + Present: 'true' + xyz.openbmc_project.State.Decorator.OperationalStatus: + Functional: 'true' +/system/chassis/motherboard/dimm_d4: + xyz.openbmc_project.Inventory.Decorator.Replaceable: + FieldReplaceable: 'true' + xyz.openbmc_project.Inventory.Decorator.Cacheable: + Cached: 'true' + xyz.openbmc_project.Inventory.Item: + Present: 'true' + xyz.openbmc_project.State.Decorator.OperationalStatus: + Functional: 'true' +/system/chassis/motherboard/dimm_d5: + xyz.openbmc_project.Inventory.Decorator.Replaceable: + FieldReplaceable: 'true' + xyz.openbmc_project.Inventory.Decorator.Cacheable: + Cached: 'true' + xyz.openbmc_project.Inventory.Item: + Present: 'true' + xyz.openbmc_project.State.Decorator.OperationalStatus: + Functional: 'true' +/system/chassis/motherboard/powersupply0: + xyz.openbmc_project.Inventory.Decorator.Replaceable: + FieldReplaceable: 'true' + xyz.openbmc_project.Inventory.Decorator.Cacheable: + Cached: 'true' + xyz.openbmc_project.Inventory.Item: + Present: 'true' +/system/chassis/motherboard/powersupply1: + xyz.openbmc_project.Inventory.Decorator.Replaceable: + FieldReplaceable: 'true' + xyz.openbmc_project.Inventory.Decorator.Cacheable: + Cached: 'true' + xyz.openbmc_project.Inventory.Item: + Present: 'true' +/system/chassis/motherboard/fan: + xyz.openbmc_project.Inventory.Decorator.Replaceable: + FieldReplaceable: 'true' + xyz.openbmc_project.Inventory.Decorator.Cacheable: + Cached: 'true' + xyz.openbmc_project.Inventory.Item: + Present: 'true' + diff --git a/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/configuration/olympus-nuvoton-yaml-config/olympus-nuvoton-ipmi-fru.yaml b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/configuration/olympus-nuvoton-yaml-config/olympus-nuvoton-ipmi-fru.yaml new file mode 100644 index 000000000..70bfbe2b3 --- /dev/null +++ b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/configuration/olympus-nuvoton-yaml-config/olympus-nuvoton-ipmi-fru.yaml @@ -0,0 +1,672 @@ +1: + /system: + entityID: 7 + entityInstance: 1 + interfaces: + xyz.openbmc_project.Inventory.Decorator.Asset: + Manufacturer: + IPMIFruProperty: Manufacturer + IPMIFruSection: Product + Model: + IPMIFruProperty: Custom Field 1 + IPMIFruSection: Product + SerialNumber: + IPMIFruProperty: Serial Number + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Decorator.Revision: + Version: + IPMIFruProperty: Version + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item.System: + /system/chassis/motherboard: + entityID: 7 + entityInstance: 1 + interfaces: + xyz.openbmc_project.Inventory.Decorator.Asset: + BuildDate: + IPMIFruProperty: Mfg Date + IPMIFruSection: Board + SerialNumber: + IPMIFruProperty: Serial Number + IPMIFruSection: Board + PartNumber: + IPMIFruProperty: Part Number + IPMIFruSection: Board + Manufacturer: + IPMIFruProperty: Manufacturer + IPMIFruSection: Board + xyz.openbmc_project.Inventory.Item: + PrettyName: + IPMIFruProperty: Name + IPMIFruSection: Board + xyz.openbmc_project.Inventory.Decorator.Revision: + Version: + IPMIFruProperty: FRU File ID + IPMIFruSection: Board + xyz.openbmc_project.Inventory.Decorator.VendorInformation: + CustomField1: + IPMIFruProperty: Custom Field 1 + IPMIFruSection: Board + IPMIFruValueDelimiter: 58 + xyz.openbmc_project.Inventory.Item.Board: +2: + /system/chassis/motherboard/management_card/bmc: + entityID: 7 + entityInstance: 1 + interfaces: + xyz.openbmc_project.Inventory.Decorator.Asset: + BuildDate: + IPMIFruProperty: Mfg Date + IPMIFruSection: Board + SerialNumber: + IPMIFruProperty: Serial Number + IPMIFruSection: Board + PartNumber: + IPMIFruProperty: Part Number + IPMIFruSection: Board + Manufacturer: + IPMIFruProperty: Manufacturer + IPMIFruSection: Board + xyz.openbmc_project.Inventory.Item: + PrettyName: + IPMIFruProperty: Name + IPMIFruSection: Board + xyz.openbmc_project.Inventory.Decorator.Revision: + Version: + IPMIFruProperty: FRU File ID + IPMIFruSection: Board + xyz.openbmc_project.Common.UUID: + UUID: + IPMIFruProperty: Custom Field 1 + IPMIFruSection: Board + IPMIFruValueDelimiter: 58 + xyz.openbmc_project.Inventory.Item.Board: + xyz.openbmc_project.Inventory.Item.Bmc: + xyz.openbmc_project.Inventory.Item.NetworkInterface: + MACAddress: + IPMIFruProperty: Custom Field 2 + IPMIFruSection: Board + xyz.openbmc_project.Inventory.Item.Ethernet: +3: + /system/chassis/motherboard/cpu0: + entityID: 3 + entityInstance: 1 + interfaces: + xyz.openbmc_project.Inventory.Decorator.Asset: + BuildDate: + IPMIFruProperty: Mfg Date + IPMIFruSection: Board + Manufacturer: + IPMIFruProperty: Manufacturer + IPMIFruSection: Board + SerialNumber: + IPMIFruProperty: Serial Number + IPMIFruSection: Board + xyz.openbmc_project.Inventory.Item: + PrettyName: + IPMIFruProperty: Name + IPMIFruSection: Board + xyz.openbmc_project.Inventory.Item.Cpu: +4: + /system/chassis/motherboard/cpu1: + entityID: 3 + entityInstance: 2 + interfaces: + xyz.openbmc_project.Inventory.Decorator.Asset: + BuildDate: + IPMIFruProperty: Mfg Date + IPMIFruSection: Board + Manufacturer: + IPMIFruProperty: Manufacturer + IPMIFruSection: Board + SerialNumber: + IPMIFruProperty: Serial Number + IPMIFruSection: Board + xyz.openbmc_project.Inventory.Item: + PrettyName: + IPMIFruProperty: Name + IPMIFruSection: Board + xyz.openbmc_project.Inventory.Item.Cpu: +5: + /system/chassis/motherboard/dimm_a0: + entityID: 8 + entityInstance: 1 + interfaces: + xyz.openbmc_project.Inventory.Decorator.Asset: + BuildDate: + IPMIFruProperty: Mfg Date + IPMIFruSection: Product + Manufacturer: + IPMIFruProperty: Manufacturer + IPMIFruSection: Product + SerialNumber: + IPMIFruProperty: Serial Number + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item: + PrettyName: + IPMIFruProperty: Name + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item.Dimm: +6: + /system/chassis/motherboard/dimm_a1: + entityID: 8 + entityInstance: 2 + interfaces: + xyz.openbmc_project.Inventory.Decorator.Asset: + BuildDate: + IPMIFruProperty: Mfg Date + IPMIFruSection: Product + Manufacturer: + IPMIFruProperty: Manufacturer + IPMIFruSection: Product + SerialNumber: + IPMIFruProperty: Serial Number + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item: + PrettyName: + IPMIFruProperty: Name + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item.Dimm: +7: + /system/chassis/motherboard/dimm_a2: + entityID: 8 + entityInstance: 3 + interfaces: + xyz.openbmc_project.Inventory.Decorator.Asset: + BuildDate: + IPMIFruProperty: Mfg Date + IPMIFruSection: Product + Manufacturer: + IPMIFruProperty: Manufacturer + IPMIFruSection: Product + SerialNumber: + IPMIFruProperty: Serial Number + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item: + PrettyName: + IPMIFruProperty: Name + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item.Dimm: +8: + /system/chassis/motherboard/dimm_a3: + entityID: 8 + entityInstance: 4 + interfaces: + xyz.openbmc_project.Inventory.Decorator.Asset: + BuildDate: + IPMIFruProperty: Mfg Date + IPMIFruSection: Product + Manufacturer: + IPMIFruProperty: Manufacturer + IPMIFruSection: Product + SerialNumber: + IPMIFruProperty: Serial Number + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item: + PrettyName: + IPMIFruProperty: Name + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item.Dimm: +9: + /system/chassis/motherboard/dimm_a4: + entityID: 8 + entityInstance: 5 + interfaces: + xyz.openbmc_project.Inventory.Decorator.Asset: + BuildDate: + IPMIFruProperty: Mfg Date + IPMIFruSection: Product + Manufacturer: + IPMIFruProperty: Manufacturer + IPMIFruSection: Product + SerialNumber: + IPMIFruProperty: Serial Number + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item: + PrettyName: + IPMIFruProperty: Name + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item.Dimm: +10: + /system/chassis/motherboard/dimm_a5: + entityID: 8 + entityInstance: 6 + interfaces: + xyz.openbmc_project.Inventory.Decorator.Asset: + BuildDate: + IPMIFruProperty: Mfg Date + IPMIFruSection: Product + Manufacturer: + IPMIFruProperty: Manufacturer + IPMIFruSection: Product + SerialNumber: + IPMIFruProperty: Serial Number + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item: + PrettyName: + IPMIFruProperty: Name + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item.Dimm: +11: + /system/chassis/motherboard/dimm_b0: + entityID: 8 + entityInstance: 7 + interfaces: + xyz.openbmc_project.Inventory.Decorator.Asset: + BuildDate: + IPMIFruProperty: Mfg Date + IPMIFruSection: Product + Manufacturer: + IPMIFruProperty: Manufacturer + IPMIFruSection: Product + SerialNumber: + IPMIFruProperty: Serial Number + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item: + PrettyName: + IPMIFruProperty: Name + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item.Dimm: +12: + /system/chassis/motherboard/dimm_b1: + entityID: 8 + entityInstance: 8 + interfaces: + xyz.openbmc_project.Inventory.Decorator.Asset: + BuildDate: + IPMIFruProperty: Mfg Date + IPMIFruSection: Product + Manufacturer: + IPMIFruProperty: Manufacturer + IPMIFruSection: Product + SerialNumber: + IPMIFruProperty: Serial Number + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item: + PrettyName: + IPMIFruProperty: Name + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item.Dimm: +13: + /system/chassis/motherboard/dimm_b2: + entityID: 8 + entityInstance: 9 + interfaces: + xyz.openbmc_project.Inventory.Decorator.Asset: + BuildDate: + IPMIFruProperty: Mfg Date + IPMIFruSection: Product + Manufacturer: + IPMIFruProperty: Manufacturer + IPMIFruSection: Product + SerialNumber: + IPMIFruProperty: Serial Number + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item: + PrettyName: + IPMIFruProperty: Name + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item.Dimm: +14: + /system/chassis/motherboard/dimm_b3: + entityID: 8 + entityInstance: 10 + interfaces: + xyz.openbmc_project.Inventory.Decorator.Asset: + BuildDate: + IPMIFruProperty: Mfg Date + IPMIFruSection: Product + Manufacturer: + IPMIFruProperty: Manufacturer + IPMIFruSection: Product + SerialNumber: + IPMIFruProperty: Serial Number + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item: + PrettyName: + IPMIFruProperty: Name + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item.Dimm: +15: + /system/chassis/motherboard/dimm_b4: + entityID: 8 + entityInstance: 11 + interfaces: + xyz.openbmc_project.Inventory.Decorator.Asset: + BuildDate: + IPMIFruProperty: Mfg Date + IPMIFruSection: Product + Manufacturer: + IPMIFruProperty: Manufacturer + IPMIFruSection: Product + SerialNumber: + IPMIFruProperty: Serial Number + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item: + PrettyName: + IPMIFruProperty: Name + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item.Dimm: +16: + /system/chassis/motherboard/dimm_b5: + entityID: 8 + entityInstance: 12 + interfaces: + xyz.openbmc_project.Inventory.Decorator.Asset: + BuildDate: + IPMIFruProperty: Mfg Date + IPMIFruSection: Product + Manufacturer: + IPMIFruProperty: Manufacturer + IPMIFruSection: Product + SerialNumber: + IPMIFruProperty: Serial Number + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item: + PrettyName: + IPMIFruProperty: Name + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item.Dimm: +17: + /system/chassis/motherboard/dimm_c0: + entityID: 8 + entityInstance: 13 + interfaces: + xyz.openbmc_project.Inventory.Decorator.Asset: + BuildDate: + IPMIFruProperty: Mfg Date + IPMIFruSection: Product + Manufacturer: + IPMIFruProperty: Manufacturer + IPMIFruSection: Product + SerialNumber: + IPMIFruProperty: Serial Number + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item: + PrettyName: + IPMIFruProperty: Name + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item.Dimm: +18: + /system/chassis/motherboard/dimm_c1: + entityID: 8 + entityInstance: 14 + interfaces: + xyz.openbmc_project.Inventory.Decorator.Asset: + BuildDate: + IPMIFruProperty: Mfg Date + IPMIFruSection: Product + Manufacturer: + IPMIFruProperty: Manufacturer + IPMIFruSection: Product + SerialNumber: + IPMIFruProperty: Serial Number + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item: + PrettyName: + IPMIFruProperty: Name + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item.Dimm: +19: + /system/chassis/motherboard/dimm_c2: + entityID: 8 + entityInstance: 15 + interfaces: + xyz.openbmc_project.Inventory.Decorator.Asset: + BuildDate: + IPMIFruProperty: Mfg Date + IPMIFruSection: Product + Manufacturer: + IPMIFruProperty: Manufacturer + IPMIFruSection: Product + SerialNumber: + IPMIFruProperty: Serial Number + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item: + PrettyName: + IPMIFruProperty: Name + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item.Dimm: +20: + /system/chassis/motherboard/dimm_c3: + entityID: 8 + entityInstance: 16 + interfaces: + xyz.openbmc_project.Inventory.Decorator.Asset: + BuildDate: + IPMIFruProperty: Mfg Date + IPMIFruSection: Product + Manufacturer: + IPMIFruProperty: Manufacturer + IPMIFruSection: Product + SerialNumber: + IPMIFruProperty: Serial Number + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item: + PrettyName: + IPMIFruProperty: Name + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item.Dimm: +21: + /system/chassis/motherboard/dimm_c4: + entityID: 8 + entityInstance: 17 + interfaces: + xyz.openbmc_project.Inventory.Decorator.Asset: + BuildDate: + IPMIFruProperty: Mfg Date + IPMIFruSection: Product + Manufacturer: + IPMIFruProperty: Manufacturer + IPMIFruSection: Product + SerialNumber: + IPMIFruProperty: Serial Number + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item: + PrettyName: + IPMIFruProperty: Name + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item.Dimm: +22: + /system/chassis/motherboard/dimm_c5: + entityID: 8 + entityInstance: 18 + interfaces: + xyz.openbmc_project.Inventory.Decorator.Asset: + BuildDate: + IPMIFruProperty: Mfg Date + IPMIFruSection: Product + Manufacturer: + IPMIFruProperty: Manufacturer + IPMIFruSection: Product + SerialNumber: + IPMIFruProperty: Serial Number + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item: + PrettyName: + IPMIFruProperty: Name + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item.Dimm: +23: + /system/chassis/motherboard/dimm_d0: + entityID: 8 + entityInstance: 19 + interfaces: + xyz.openbmc_project.Inventory.Decorator.Asset: + BuildDate: + IPMIFruProperty: Mfg Date + IPMIFruSection: Product + Manufacturer: + IPMIFruProperty: Manufacturer + IPMIFruSection: Product + SerialNumber: + IPMIFruProperty: Serial Number + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item: + PrettyName: + IPMIFruProperty: Name + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item.Dimm: +24: + /system/chassis/motherboard/dimm_d1: + entityID: 8 + entityInstance: 20 + interfaces: + xyz.openbmc_project.Inventory.Decorator.Asset: + BuildDate: + IPMIFruProperty: Mfg Date + IPMIFruSection: Product + Manufacturer: + IPMIFruProperty: Manufacturer + IPMIFruSection: Product + SerialNumber: + IPMIFruProperty: Serial Number + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item: + PrettyName: + IPMIFruProperty: Name + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item.Dimm: +25: + /system/chassis/motherboard/dimm_d2: + entityID: 8 + entityInstance: 21 + interfaces: + xyz.openbmc_project.Inventory.Decorator.Asset: + BuildDate: + IPMIFruProperty: Mfg Date + IPMIFruSection: Product + Manufacturer: + IPMIFruProperty: Manufacturer + IPMIFruSection: Product + SerialNumber: + IPMIFruProperty: Serial Number + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item: + PrettyName: + IPMIFruProperty: Name + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item.Dimm: +26: + /system/chassis/motherboard/dimm_d3: + entityID: 8 + entityInstance: 22 + interfaces: + xyz.openbmc_project.Inventory.Decorator.Asset: + BuildDate: + IPMIFruProperty: Mfg Date + IPMIFruSection: Product + Manufacturer: + IPMIFruProperty: Manufacturer + IPMIFruSection: Product + SerialNumber: + IPMIFruProperty: Serial Number + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item: + PrettyName: + IPMIFruProperty: Name + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item.Dimm: +27: + /system/chassis/motherboard/dimm_d4: + entityID: 8 + entityInstance: 23 + interfaces: + xyz.openbmc_project.Inventory.Decorator.Asset: + BuildDate: + IPMIFruProperty: Mfg Date + IPMIFruSection: Product + Manufacturer: + IPMIFruProperty: Manufacturer + IPMIFruSection: Product + SerialNumber: + IPMIFruProperty: Serial Number + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item: + PrettyName: + IPMIFruProperty: Name + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item.Dimm: +28: + /system/chassis/motherboard/dimm_d5: + entityID: 8 + entityInstance: 24 + interfaces: + xyz.openbmc_project.Inventory.Decorator.Asset: + BuildDate: + IPMIFruProperty: Mfg Date + IPMIFruSection: Product + Manufacturer: + IPMIFruProperty: Manufacturer + IPMIFruSection: Product + SerialNumber: + IPMIFruProperty: Serial Number + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item: + PrettyName: + IPMIFruProperty: Name + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item.Dimm: +29: + /system/chassis/motherboard/powersupply0: + entityID: 10 + entityInstance: 1 + interfaces: + xyz.openbmc_project.Inventory.Decorator.Asset: + BuildDate: + IPMIFruProperty: Mfg Date + IPMIFruSection: Board + Manufacturer: + IPMIFruProperty: Manufacturer + IPMIFruSection: Board + Model: + IPMIFruProperty: Model Number + IPMIFruSection: Board + PartNumber: + IPMIFruProperty: Part Number + IPMIFruSection: Board + SerialNumber: + IPMIFruProperty: Serial Number + IPMIFruSection: Board + xyz.openbmc_project.Inventory.Item: + PrettyName: + IPMIFruProperty: Name + IPMIFruSection: Board + xyz.openbmc_project.Inventory.Item.PowerSupply: +30: + /system/chassis/motherboard/powersupply1: + entityID: 10 + entityInstance: 1 + interfaces: + xyz.openbmc_project.Inventory.Decorator.Asset: + BuildDate: + IPMIFruProperty: Mfg Date + IPMIFruSection: Board + Manufacturer: + IPMIFruProperty: Manufacturer + IPMIFruSection: Board + Model: + IPMIFruProperty: Model Number + IPMIFruSection: Board + PartNumber: + IPMIFruProperty: Part Number + IPMIFruSection: Board + SerialNumber: + IPMIFruProperty: Serial Number + IPMIFruSection: Board + xyz.openbmc_project.Inventory.Item: + PrettyName: + IPMIFruProperty: Name + IPMIFruSection: Board + xyz.openbmc_project.Inventory.Item.PowerSupply: +31: + /system/chassis/motherboard/fan: + entityID: 29 + entityInstance: 1 + interfaces: + xyz.openbmc_project.Inventory.Item: + PrettyName: + IPMIFruProperty: Product Name + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item.Fan: + diff --git a/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/configuration/olympus-nuvoton-yaml-config/olympus-nuvoton-ipmi-sensors.yaml b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/configuration/olympus-nuvoton-yaml-config/olympus-nuvoton-ipmi-sensors.yaml new file mode 100644 index 000000000..c91c216e3 --- /dev/null +++ b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/configuration/olympus-nuvoton-yaml-config/olympus-nuvoton-ipmi-sensors.yaml @@ -0,0 +1,627 @@ +1: &temperature + entityID: 0x07 + entityInstance: 1 + sensorType: 0x01 + path: /xyz/openbmc_project/sensors/temperature/bmc_card + sensorReadingType: 0x01 + multiplierM: 1 + offsetB: 0 + bExp: 0 + rExp: 0 + scale: -3 + unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC + mutability: Mutability::Write|Mutability::Read + serviceInterface: org.freedesktop.DBus.Properties + readingType: readingData + sensorNamePattern: nameLeaf + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 0xFF: + type: int64_t + +2: + <<: *temperature + entityInstance: 2 + path: /xyz/openbmc_project/sensors/temperature/inlet + +3: + <<: *temperature + entityInstance: 3 + path: /xyz/openbmc_project/sensors/temperature/outlet + +4: + <<: *temperature + entityInstance: 4 + path: /xyz/openbmc_project/sensors/temperature/MB0_Temp + +5: + <<: *temperature + entityInstance: 5 + path: /xyz/openbmc_project/sensors/temperature/p0_vccin_vr_temp +6: + <<: *temperature + entityInstance: 6 + path: /xyz/openbmc_project/sensors/temperature/p0_vccio_vr_temp +7: + <<: *temperature + entityInstance: 7 + path: /xyz/openbmc_project/sensors/temperature/p1_vccin_vr_temp +8: + <<: *temperature + entityInstance: 8 + path: /xyz/openbmc_project/sensors/temperature/p1_vccio_vr_temp + +9: &voltage + entityID: 0x07 + entityInstance: 9 + sensorType: 0x02 + path: /xyz/openbmc_project/sensors/voltage/MB0_Vin + sensorReadingType: 0x01 + multiplierM: 8 + offsetB: 0 + bExp: 0 + rExp: -2 + scale: -3 + mutability: Mutability::Write|Mutability::Read + serviceInterface: org.freedesktop.DBus.Properties + readingType: readingData + sensorNamePattern: nameLeaf + unit: xyz.openbmc_project.Sensor.Value.Unit.Volts + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 0xFF: + type: int64_t + +10: + <<: *voltage + entityInstance: 10 + path: /xyz/openbmc_project/sensors/voltage/MB0_Vout + +11: + <<: *voltage + entityInstance: 11 + path: /xyz/openbmc_project/sensors/voltage/p0_vccin_vr_voltage + +12: + <<: *voltage + entityInstance: 12 + path: /xyz/openbmc_project/sensors/voltage/p0_vccio_vr_voltage + +13: + <<: *voltage + entityInstance: 13 + path: /xyz/openbmc_project/sensors/voltage/p1_vccin_vr_voltage + +14: + <<: *voltage + entityInstance: 14 + path: /xyz/openbmc_project/sensors/voltage/p1_vccio_vr_voltage + +15: + <<: *voltage + entityInstance: 15 + path: /xyz/openbmc_project/sensors/voltage/P12V_STBY + +16: + <<: *voltage + entityInstance: 16 + path: /xyz/openbmc_project/sensors/voltage/P1V05_STBY_PCH + +17: + <<: *voltage + entityInstance: 17 + path: /xyz/openbmc_project/sensors/voltage/P3V3 + +18: + <<: *voltage + entityInstance: 18 + path: /xyz/openbmc_project/sensors/voltage/P3V3_STBY + +19: + <<: *voltage + entityInstance: 19 + path: /xyz/openbmc_project/sensors/voltage/P3V_BAT +20: + <<: *voltage + entityInstance: 20 + path: /xyz/openbmc_project/sensors/voltage/P5V +21: + <<: *voltage + entityInstance: 21 + path: /xyz/openbmc_project/sensors/voltage/P5V_STBY +22: + <<: *voltage + entityInstance: 22 + path: /xyz/openbmc_project/sensors/voltage/PVNN_STBY_PCH + +23: &power + entityID: 0x07 + entityInstance: 23 + sensorType: 0x08 + path: /xyz/openbmc_project/sensors/power/MB0_Pin + sensorReadingType: 0x01 + multiplierM: 48 + offsetB: 0 + bExp: 0 + rExp: -3 + scale: -6 + mutability: Mutability::Write|Mutability::Read + serviceInterface: org.freedesktop.DBus.Properties + readingType: readingData + sensorNamePattern: nameLeaf + unit: xyz.openbmc_project.Sensor.Value.Unit.Watts + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 0xFF: + type: int64_t +24: + <<: *power + entityInstance: 24 + path: /xyz/openbmc_project/sensors/power/p0_vccin_vr_pin +25: + <<: *power + entityInstance: 25 + path: /xyz/openbmc_project/sensors/power/p0_vccin_vr_pout +26: + <<: *power + entityInstance: 26 + path: /xyz/openbmc_project/sensors/power/p0_vccio_vr_pin +27: + <<: *power + entityInstance: 27 + path: /xyz/openbmc_project/sensors/power/p0_vccio_vr_pout +28: + <<: *power + entityInstance: 28 + path: /xyz/openbmc_project/sensors/power/p1_vccin_vr_pin +29: + <<: *power + entityInstance: 29 + path: /xyz/openbmc_project/sensors/power/p1_vccin_vr_pout +30: + <<: *power + entityInstance: 30 + path: /xyz/openbmc_project/sensors/power/p1_vccio_vr_pin +31: + <<: *power + entityInstance: 31 + path: /xyz/openbmc_project/sensors/power/p1_vccio_vr_pout + +32: ¤t + entityID: 0x07 + entityInstance: 32 + sensorType: 0x03 + path: /xyz/openbmc_project/sensors/current/MB0_Iout + sensorReadingType: 0x01 + multiplierM: 40 + offsetB: 10 + bExp: 0 + rExp: -3 + scale: -3 + mutability: Mutability::Write|Mutability::Read + serviceInterface: org.freedesktop.DBus.Properties + readingType: readingData + sensorNamePattern: nameLeaf + unit: xyz.openbmc_project.Sensor.Value.Unit.Amperes + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 0xFF: + type: int64_t + +33: + <<: *current + entityInstance: 33 + path: /xyz/openbmc_project/sensors/current/p0_vccin_vr_current +34: + <<: *current + entityInstance: 34 + path: /xyz/openbmc_project/sensors/current/p0_vccio_vr_current +35: + <<: *current + entityInstance: 35 + path: /xyz/openbmc_project/sensors/current/p1_vccin_vr_current +36: + <<: *current + entityInstance: 36 + path: /xyz/openbmc_project/sensors/current/p1_vccio_vr_current + +37: &temperature_dimm + entityID: 0x20 + entityInstance: 1 + sensorType: 0x01 + path: /xyz/openbmc_project/sensors/temperature/p0_dimm_vr0_temp + sensorReadingType: 0x01 + multiplierM: 1 + offsetB: 0 + bExp: 0 + rExp: 0 + scale: -3 + unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC + mutability: Mutability::Write|Mutability::Read + serviceInterface: org.freedesktop.DBus.Properties + readingType: readingData + sensorNamePattern: nameLeaf + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 0xFF: + type: int64_t + +38: + <<: *temperature_dimm + entityInstance: 2 + path: /xyz/openbmc_project/sensors/temperature/p0_dimm_vr1_temp + +39: + <<: *temperature_dimm + entityInstance: 3 + path: /xyz/openbmc_project/sensors/temperature/p1_dimm_vr0_temp + +40: + <<: *temperature_dimm + entityInstance: 4 + path: /xyz/openbmc_project/sensors/temperature/p1_dimm_vr1_temp + +41: &voltage_dimm + entityID: 0x20 + entityInstance: 5 + sensorType: 0x02 + path: /xyz/openbmc_project/sensors/voltage/p0_dimm_vr0_voltage + sensorReadingType: 0x01 + multiplierM: 8 + offsetB: 0 + bExp: 0 + rExp: -2 + scale: -3 + mutability: Mutability::Write|Mutability::Read + serviceInterface: org.freedesktop.DBus.Properties + readingType: readingData + sensorNamePattern: nameLeaf + unit: xyz.openbmc_project.Sensor.Value.Unit.Volts + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 0xFF: + type: int64_t +42: + <<: *voltage_dimm + entityInstance: 6 + path: /xyz/openbmc_project/sensors/voltage/p0_dimm_vr1_voltage + +43: + <<: *voltage_dimm + entityInstance: 7 + path: /xyz/openbmc_project/sensors/voltage/p1_dimm_vr0_voltage + +44: + <<: *voltage_dimm + entityInstance: 8 + path: /xyz/openbmc_project/sensors/voltage/p1_dimm_vr1_voltage + +45: &power_dimm + entityID: 0x20 + entityInstance: 9 + sensorType: 0x08 + path: /xyz/openbmc_project/sensors/power/p0_dimm_vr0_pin + sensorReadingType: 0x01 + multiplierM: 48 + offsetB: 0 + bExp: 0 + rExp: -3 + scale: -6 + mutability: Mutability::Write|Mutability::Read + serviceInterface: org.freedesktop.DBus.Properties + readingType: readingData + sensorNamePattern: nameLeaf + unit: xyz.openbmc_project.Sensor.Value.Unit.Watts + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 0xFF: + type: int64_t +46: + <<: *power_dimm + entityInstance: 10 + path: /xyz/openbmc_project/sensors/power/p0_dimm_vr0_pout + +47: + <<: *power_dimm + entityInstance: 11 + path: /xyz/openbmc_project/sensors/power/p0_dimm_vr1_pin + +48: + <<: *power_dimm + entityInstance: 12 + path: /xyz/openbmc_project/sensors/power/p0_dimm_vr1_pout + +49: + <<: *power_dimm + entityInstance: 13 + path: /xyz/openbmc_project/sensors/power/p1_dimm_vr0_pin + +50: + <<: *power_dimm + entityInstance: 14 + path: /xyz/openbmc_project/sensors/power/p1_dimm_vr0_pout + +51: + <<: *power_dimm + entityInstance: 15 + path: /xyz/openbmc_project/sensors/power/p1_dimm_vr1_pin + +52: + <<: *power_dimm + entityInstance: 16 + path: /xyz/openbmc_project/sensors/power/p1_dimm_vr1_pout + +53: ¤t_dimm + entityID: 0x20 + entityInstance: 17 + sensorType: 0x03 + path: /xyz/openbmc_project/sensors/current/p0_dimm_vr0_current + sensorReadingType: 0x01 + multiplierM: 40 + offsetB: 10 + bExp: 0 + rExp: -3 + scale: -3 + mutability: Mutability::Write|Mutability::Read + serviceInterface: org.freedesktop.DBus.Properties + readingType: readingData + sensorNamePattern: nameLeaf + unit: xyz.openbmc_project.Sensor.Value.Unit.Amperes + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 0xFF: + type: int64_t +54: + <<: *current_dimm + entityInstance: 18 + path: /xyz/openbmc_project/sensors/current/p0_dimm_vr0_lin + +55: + <<: *current_dimm + entityInstance: 19 + path: /xyz/openbmc_project/sensors/current/p0_dimm_vr1_current + +56: + <<: *current_dimm + entityInstance: 20 + path: /xyz/openbmc_project/sensors/current/p0_dimm_vr1_lin + +57: + <<: *current_dimm + entityInstance: 21 + path: /xyz/openbmc_project/sensors/current/p1_dimm_vr0_current + +58: + <<: *current_dimm + entityInstance: 22 + path: /xyz/openbmc_project/sensors/current/p1_dimm_vr0_lin + +59: + <<: *current_dimm + entityInstance: 23 + path: /xyz/openbmc_project/sensors/current/p1_dimm_vr1_current + +60: + <<: *current_dimm + entityInstance: 24 + path: /xyz/openbmc_project/sensors/current/p1_dimm_vr1_lin + +61: + entityID: 0x13 + entityInstance: 1 + sensorType: 0x01 + path: /xyz/openbmc_project/sensors/temperature/ps0_tempture + sensorReadingType: 0x01 + multiplierM: 1 + offsetB: 0 + bExp: 0 + rExp: 0 + scale: -3 + unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC + mutability: Mutability::Write|Mutability::Read + serviceInterface: org.freedesktop.DBus.Properties + readingType: readingData + sensorNamePattern: nameLeaf + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 0xFF: + type: int64_t +62: + <<: *voltage + entityID: 0x0A + entityInstance: 2 + path: /xyz/openbmc_project/sensors/voltage/ps0_input_voltage + multiplierM: 2 + offsetB: 0 + bExp: 0 + rExp: 0 + scale: -3 +63: + <<: *voltage + entityID: 0x0A + entityInstance: 3 + path: /xyz/openbmc_project/sensors/voltage/ps0_output_voltage + multiplierM: 8 + offsetB: 0 + bExp: 0 + rExp: -2 + scale: -3 + +64: + <<: *current + entityID: 0x0A + entityInstance: 4 + path: /xyz/openbmc_project/sensors/current/ps0_input_current +65: + <<: *current + entityID: 0x0A + entityInstance: 5 + path: /xyz/openbmc_project/sensors/current/ps0_output_current +66: + <<: *power + entityID: 0x0A + entityInstance: 6 + path: /xyz/openbmc_project/sensors/power/ps0_input_power + multiplierM: 6 + offsetB: 0 + bExp: 0 + rExp: 0 + scale: -6 +67: + <<: *power + entityID: 0x0A + entityInstance: 7 + path: /xyz/openbmc_project/sensors/power/ps0_output_power + multiplierM: 6 + offsetB: 0 + bExp: 0 + rExp: 0 + scale: -6 +68: &fan_tach + entityID: 0x0A + entityInstance: 8 + sensorType: 0x04 + path: /xyz/openbmc_project/sensors/fan_tach/ps0_fan1 + sensorReadingType: 0x01 + multiplierM: 100 + offsetB: 0 + bExp: 0 + rExp: 0 + unit: xyz.openbmc_project.Sensor.Value.Unit.RPMS + scale: 0 + serviceInterface: org.freedesktop.DBus.Properties + readingType: readingData + sensorNamePattern: nameLeaf + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 0xFF: + type: int64_t +69: + <<: *fan_tach + entityID: 0x0A + entityInstance: 9 + sensorType: 0x04 + path: /xyz/openbmc_project/sensors/fan_tach/ps0_fan2 + +70: + <<: *fan_tach + entityID: 0x1D + entityInstance: 1 + path: /xyz/openbmc_project/sensors/fan_tach/fan1 +71: + <<: *fan_tach + entityID: 0x1D + entityInstance: 2 + path: /xyz/openbmc_project/sensors/fan_tach/fan2 +72: + <<: *fan_tach + entityID: 0x1D + entityInstance: 3 + path: /xyz/openbmc_project/sensors/fan_tach/fan3 +73: + <<: *fan_tach + entityID: 0x1D + entityInstance: 4 + path: /xyz/openbmc_project/sensors/fan_tach/fan4 +74: + <<: *fan_tach + entityID: 0x1D + entityInstance: 5 + path: /xyz/openbmc_project/sensors/fan_tach/fan5 +75: + <<: *fan_tach + entityID: 0x1D + entityInstance: 6 + path: /xyz/openbmc_project/sensors/fan_tach/fan6 + +76: + <<: *temperature + entityID: 0x03 + entityInstance: 1 + path: /xyz/openbmc_project/sensors/temperature/Core_0_CPU0 + +77: + <<: *temperature + entityID: 0x03 + entityInstance: 2 + path: /xyz/openbmc_project/sensors/temperature/Core_1_CPU0 + +78: + <<: *temperature + entityID: 0x03 + entityInstance: 3 + path: /xyz/openbmc_project/sensors/temperature/Core_2_CPU0 + +79: + <<: *temperature + entityID: 0x03 + entityInstance: 4 + path: /xyz/openbmc_project/sensors/temperature/Core_3_CPU0 +80: + <<: *temperature + entityID: 0x03 + entityInstance: 5 + path: /xyz/openbmc_project/sensors/temperature/Core_4_CPU0 +81: + <<: *temperature + entityID: 0x03 + entityInstance: 6 + path: /xyz/openbmc_project/sensors/temperature/Core_5_CPU0 +82: + <<: *temperature + entityID: 0x03 + entityInstance: 7 + path: /xyz/openbmc_project/sensors/temperature/Core_0_CPU1 +83: + <<: *temperature + entityID: 0x03 + entityInstance: 8 + path: /xyz/openbmc_project/sensors/temperature/Core_1_CPU1 + +84: + <<: *temperature + entityID: 0x03 + entityInstance: 9 + path: /xyz/openbmc_project/sensors/temperature/Core_2_CPU1 + +85: + <<: *temperature + entityID: 0x03 + entityInstance: 10 + path: /xyz/openbmc_project/sensors/temperature/Core_3_CPU1 +86: + <<: *temperature + entityID: 0x03 + entityInstance: 11 + path: /xyz/openbmc_project/sensors/temperature/Core_4_CPU1 +87: + <<: *temperature + entityID: 0x03 + entityInstance: 12 + path: /xyz/openbmc_project/sensors/temperature/Core_5_CPU1 +88: + <<: *temperature + entityID: 0x03 + entityInstance: 13 + path: /xyz/openbmc_project/sensors/temperature/DIMM_C1_CPU0 + diff --git a/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/ipmi/phosphor-ipmi-fru_%.bbappend b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/ipmi/phosphor-ipmi-fru_%.bbappend index ba0862d3a..deec87d31 100644 --- a/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/ipmi/phosphor-ipmi-fru_%.bbappend +++ b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/ipmi/phosphor-ipmi-fru_%.bbappend @@ -2,6 +2,13 @@ inherit obmc-phosphor-systemd FILESEXTRAPATHS_prepend_olympus-nuvoton := "${THISDIR}/${PN}:" +DEPENDS_append_olympus-nuvoton = " olympus-nuvoton-yaml-config" + +EXTRA_OECONF_olympus-nuvoton = " \ + YAML_GEN=${STAGING_DIR_HOST}${datadir}/olympus-nuvoton-yaml-config/ipmi-fru-read.yaml \ + PROP_YAML=${STAGING_DIR_HOST}${datadir}/olympus-nuvoton-yaml-config/ipmi-extra-properties.yaml \ + " + EEPROM_NAMES = "motherboard bmc" EEPROMFMT = "system/chassis/{0}" @@ -18,5 +25,3 @@ INSTFMT = "obmc-read-eeprom@{0}.service" FMT = "../${TMPL}:${TGT}.wants/${INSTFMT}" SYSTEMD_LINK_${PN}_append_olympus-nuvoton := " ${@compose_list(d, 'FMT', 'EEPROMS_ESCAPED')}" -FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" - diff --git a/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/ipmi/phosphor-ipmi-host_%.bbappend b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/ipmi/phosphor-ipmi-host_%.bbappend new file mode 100644 index 000000000..7746e902f --- /dev/null +++ b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/ipmi/phosphor-ipmi-host_%.bbappend @@ -0,0 +1,6 @@ +DEPENDS_append_olympus-nuvoton = " olympus-nuvoton-yaml-config" + +EXTRA_OECONF_olympus-nuvoton = " \ + SENSOR_YAML_GEN=${STAGING_DIR_HOST}${datadir}/olympus-nuvoton-yaml-config/ipmi-sensors.yaml \ + FRU_YAML_GEN=${STAGING_DIR_HOST}${datadir}/olympus-nuvoton-yaml-config/ipmi-fru-read.yaml \ + " -- cgit v1.2.3