summaryrefslogtreecommitdiff
path: root/meta-ibs/meta-cp2-5422/recipes-phosphor/inventory/phosphor-inventory-manager-dimm/dimm.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'meta-ibs/meta-cp2-5422/recipes-phosphor/inventory/phosphor-inventory-manager-dimm/dimm.yaml')
-rw-r--r--meta-ibs/meta-cp2-5422/recipes-phosphor/inventory/phosphor-inventory-manager-dimm/dimm.yaml91
1 files changed, 91 insertions, 0 deletions
diff --git a/meta-ibs/meta-cp2-5422/recipes-phosphor/inventory/phosphor-inventory-manager-dimm/dimm.yaml b/meta-ibs/meta-cp2-5422/recipes-phosphor/inventory/phosphor-inventory-manager-dimm/dimm.yaml
new file mode 100644
index 0000000000..9e5db64438
--- /dev/null
+++ b/meta-ibs/meta-cp2-5422/recipes-phosphor/inventory/phosphor-inventory-manager-dimm/dimm.yaml
@@ -0,0 +1,91 @@
+events:
+ - name: Add Dimm interface
+ description: >
+ Add the dimm interface on the cpu inventory path
+ type: startup
+ actions:
+ - name: createObjects
+ objs:
+ /system/board/dimm0:
+ xyz.openbmc_project.Inventory.Item.Dimm:
+ MemoryDeviceLocator:
+ value: "CPU1_DIMM_B1"
+ type: string
+ MemoryTypeDetail:
+ value: "Synchronous, Static column"
+ type: string
+
+ - name: setProperty
+ interface: xyz.openbmc_project.Inventory.Item.Dimm
+ property: MemoryDataWidth
+ paths:
+ - /system/board/dimm0
+ value:
+ type: uint16
+ value: 256
+
+ - name: setProperty
+ interface: xyz.openbmc_project.Inventory.Item.Dimm
+ property: MemorySizeInKB
+ paths:
+ - /system/board/dimm0
+ value:
+ type: size
+ value: 32000
+
+ - name: setProperty
+ interface: xyz.openbmc_project.Inventory.Item.Dimm
+ property: MaxMemorySpeedInMhz
+ paths:
+ - /system/board/dimm0
+ value:
+ type: uint16
+ value: 2600
+
+ - name: setProperty
+ interface: xyz.openbmc_project.Inventory.Item.Dimm
+ property: MemoryConfiguredSpeedInMhz
+ paths:
+ - /system/board/dimm0
+ value:
+ type: uint16
+ value: 2600
+
+ - name: setProperty
+ interface: xyz.openbmc_project.Inventory.Item.Dimm
+ property: CASLatencies
+ paths:
+ - /system/board/dimm0
+ value:
+ type: uint16
+ value: 21
+
+ - name: setProperty
+ interface: xyz.openbmc_project.Inventory.Item.Dimm
+ property: RevisionCode
+ paths:
+ - /system/board/dimm0
+ value:
+ type: uint16
+ value: 5
+
+ - name: setProperty
+ interface: xyz.openbmc_project.Inventory.Item.Dimm
+ property: MemoryTotalWidth
+ paths:
+ - /system/board/dimm0
+ value:
+ type: uint16
+ value: 255
+
+ - name: setProperty
+ interface: xyz.openbmc_project.Inventory.Item.Dimm
+ property: MemoryAttributes
+ paths:
+ - /system/board/dimm0
+ value:
+ type: byte
+ value: 0x10
+
+
+