summaryrefslogtreecommitdiff
path: root/meta-ibs/meta-cp2-5422/recipes-phosphor/inventory/phosphor-inventory-manager-dimm/dimm.yaml
blob: 7c8d147d660ef7f7db0e7e2cb1a9058dca2a454a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
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: createObjects
            objs:
              /system/board/dimm0:      
                xyz.openbmc_project.Inventory.Decorator.Asset:        
                  Manufacturer:
                    value: "Manufacturer"
                    type: string       
                  PartNumber:
                    value: "PartNumber"
                    type: string      
                  SerialNumber:
                    value: "SerialNumber"
                    type: string       
                  BuildDate:
                    value: "BuildDate"
                    type: string      
                  Model:
                    value: "Model"
                    type: string       
                  SubModel:
                    value: "SubModel"
                    type: string     
                  SparePartNumber:
                    value: "SparePartNumber"
                    type: string 
                    
          - name: createObjects
            objs:
              /system/board/dimm0: 
                xyz.openbmc_project.Inventory.Decorator.AssetTag:
                  AssetTag:
                    value: "AssetTag"
                    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