diff options
Diffstat (limited to 'meta-ibs/meta-cp2-5422/recipes-phosphor/inventory/phosphor-inventory-manager-cpu/cpu.yaml')
-rw-r--r-- | meta-ibs/meta-cp2-5422/recipes-phosphor/inventory/phosphor-inventory-manager-cpu/cpu.yaml | 105 |
1 files changed, 105 insertions, 0 deletions
diff --git a/meta-ibs/meta-cp2-5422/recipes-phosphor/inventory/phosphor-inventory-manager-cpu/cpu.yaml b/meta-ibs/meta-cp2-5422/recipes-phosphor/inventory/phosphor-inventory-manager-cpu/cpu.yaml new file mode 100644 index 0000000000..329d1b20d4 --- /dev/null +++ b/meta-ibs/meta-cp2-5422/recipes-phosphor/inventory/phosphor-inventory-manager-cpu/cpu.yaml @@ -0,0 +1,105 @@ +events: + - name: Add Cpu interface + description: > + Add the cpu interface on the cpu inventory path + type: startup + actions: + - name: createObjects + objs: + /system/board/cpu0: + xyz.openbmc_project.Inventory.Item.Cpu: + Socket: + value: "FCLGA2011-3" + type: string + Family: + value: "XeonCPU-3" + type: string + - name: createObjects + objs: + /system/board/cpu0/core0: + xyz.openbmc_project.Inventory.Item.CpuCore: + + - name: setProperty + interface: xyz.openbmc_project.Inventory.Item.Cpu + property: EffectiveFamily + paths: + - /system/board/cpu0 + value: + type: uint16 + value: 888 + + - name: setProperty + interface: xyz.openbmc_project.Inventory.Item.Cpu + property: EffectiveModel + paths: + - /system/board/cpu0 + value: + type: uint16 + value: 321 + + - name: setProperty + interface: xyz.openbmc_project.Inventory.Item.Cpu + property: Id + paths: + - /system/board/cpu0 + value: + type: uint64 + value: 7008 + + - name: setProperty + interface: xyz.openbmc_project.Inventory.Item.Cpu + property: MaxSpeedInMhz + paths: + - /system/board/cpu0 + value: + type: uint32 + value: 4200 + + - name: setProperty + interface: xyz.openbmc_project.Inventory.Item.Cpu + property: CoreCount + paths: + - /system/board/cpu0 + value: + type: uint16 + value: 1234 + + - name: setProperty + interface: xyz.openbmc_project.Inventory.Item.Cpu + property: ThreadCount + paths: + - /system/board/cpu0 + value: + type: uint16 + value: 152 + + - name: setProperty + interface: xyz.openbmc_project.Inventory.Item.Cpu + property: Step + paths: + - /system/board/cpu0 + value: + type: uint16 + value: 999 + + - name: setProperty + interface: xyz.openbmc_project.Inventory.Item.Cpu + property: Microcode + paths: + - /system/board/cpu0 + value: + type: uint32 + value: 111 + + - name: setProperty + interface: xyz.openbmc_project.Inventory.Item.CpuCore + property: Microcode + paths: + - /system/board/cpu0/core0 + value: + type: uint32 + value: 111 + + + + |