1boot_count_sensor:
2  path: /xyz/openbmc_project/state/host0
3  serviceInterface: org.freedesktop.DBus.Properties
4  readingType: readingAssertion
5  mutability: Mutability::Write|Mutability::Read
6  sensorNamePattern: nameProperty
7  interfaces:
8    xyz.openbmc_project.Control.Boot.RebootAttempts:
9      AttemptsLeft:
10        Offsets:
11          0xFF:
12            type: uint32_t
13
14ps_redundancy_state_sensor:
15  path: /xyz/openbmc_project/control/power_supply_redundancy
16  serviceInterface: org.freedesktop.DBus.Properties
17  readingType: assertion
18  mutability: Mutability::Read
19  sensorNamePattern: nameProperty
20  interfaces:
21    xyz.openbmc_project.Control.PowerSupplyRedundancy:
22      PowerSupplyRedundancyEnabled:
23        Offsets:
24          0x00:
25            type: "bool"
26            assert: false
27          0x01:
28            type: "bool"
29            assert: true
30
31os_boot_sensor:
32  path: /xyz/openbmc_project/state/host0
33  serviceInterface: org.freedesktop.DBus.Properties
34  readingType: assertion
35  mutability: Mutability::Write|Mutability::Read
36  sensorNamePattern: nameProperty
37  interfaces:
38    xyz.openbmc_project.State.OperatingSystem.Status:
39      OperatingSystemState:
40        Offsets:
41          0x01:
42            assert: "xyz.openbmc_project.State.OperatingSystem.Status.OSStatus.CBoot"
43            type: string
44          0x02:
45            assert: "xyz.openbmc_project.State.OperatingSystem.Status.OSStatus.PXEBoot"
46            type: string
47          0x03:
48            assert: "xyz.openbmc_project.State.OperatingSystem.Status.OSStatus.DiagBoot"
49            type: string
50          0x04:
51            assert: "xyz.openbmc_project.State.OperatingSystem.Status.OSStatus.CDROMBoot"
52            type: string
53          0x05:
54            assert: "xyz.openbmc_project.State.OperatingSystem.Status.OSStatus.ROMBoot"
55            type: string
56          0x06:
57            assert: "xyz.openbmc_project.State.OperatingSystem.Status.OSStatus.BootComplete"
58            type: string
59
60fw_boot_sensor:
61  path: /xyz/openbmc_project/state/host0
62  serviceInterface: org.freedesktop.DBus.Properties
63  readingType: eventdata2
64  mutability: Mutability::Write|Mutability::Read
65  sensorNamePattern: nameProperty
66  interfaces:
67    xyz.openbmc_project.State.Boot.Progress:
68      BootProgress:
69        Offsets:
70          0x00:
71            type: string
72            set: "xyz.openbmc_project.State.Boot.Progress.ProgressStages.Unspecified"
73          0x01:
74            type: string
75            set: "xyz.openbmc_project.State.Boot.Progress.ProgressStages.MemoryInit"
76          0x03:
77            type: string
78            set: "xyz.openbmc_project.State.Boot.Progress.ProgressStages.SecondaryProcInit"
79          0x07:
80            type: string
81            set: "xyz.openbmc_project.State.Boot.Progress.ProgressStages.PCIInit"
82          0x13:
83            type: string
84            set: "xyz.openbmc_project.State.Boot.Progress.ProgressStages.OSStart"
85          0x14:
86            type: string
87            set: "xyz.openbmc_project.State.Boot.Progress.ProgressStages.MotherboardInit"
88
89dimm_func_sensor:
90  serviceInterface: xyz.openbmc_project.Inventory.Manager
91  readingType: assertion
92  mutability: Mutability::Write|Mutability::Read
93  sensorNamePattern: nameLeaf
94  interfaces:
95    xyz.openbmc_project.State.Decorator.OperationalStatus:
96      Functional:
97        Offsets:
98          0x04:
99            type:   "bool"
100            assert:  false
101            deassert: true
102        Prereqs:
103          0x06:
104            type: "bool"
105            assert: true
106            deassert: false
107    xyz.openbmc_project.Inventory.Item:
108      Present:
109        Offsets:
110          0x06:
111            type: "bool"
112            assert: true
113            deassert: false
114
115cpu_func_sensor:
116  serviceInterface: xyz.openbmc_project.Inventory.Manager
117  readingType: assertion
118  mutability: Mutability::Write|Mutability::Read
119  sensorNamePattern: nameLeaf
120  interfaces:
121    xyz.openbmc_project.State.Decorator.OperationalStatus:
122      Functional:
123        Offsets:
124          0x08:
125            type:   "bool"
126            assert:  false
127            deassert: true
128        Prereqs:
129          0x07:
130            type: "bool"
131            assert: true
132            deassert: false
133    xyz.openbmc_project.Inventory.Item:
134      Present:
135        Offsets:
136          0x07:
137            type: "bool"
138            assert: true
139            deassert: false
140
141cpucore_func_sensor:
142  serviceInterface: xyz.openbmc_project.Inventory.Manager
143  readingType: assertion
144  mutability: Mutability::Write|Mutability::Read
145  sensorNamePattern: nameParentLeaf
146  interfaces:
147    xyz.openbmc_project.State.Decorator.OperationalStatus:
148      Functional:
149        Offsets:
150          0x08:
151            type:   "bool"
152            assert:  false
153            deassert: true
154        Prereqs:
155          0x07:
156            type: "bool"
157            assert: true
158            deassert: false
159    xyz.openbmc_project.Inventory.Item:
160      Present:
161        Offsets:
162          0x07:
163            type: "bool"
164            assert: true
165            deassert: false
166            skipOn: "deassert"
167
168tpm_required_sensor:
169  path: /xyz/openbmc_project/control/host0/TPMEnable
170  serviceInterface: org.freedesktop.DBus.Properties
171  readingType: assertion
172  mutability: Mutability::Write|Mutability::Read
173  sensorNamePattern: nameLeaf
174  interfaces:
175    xyz.openbmc_project.Control.TPM.Policy:
176      TPMEnable:
177        Offsets:
178          0x00:
179            type: "bool"
180            assert: false
181          0x01:
182            type: "bool"
183            assert: true
184
185gpu_func_sensor:
186  serviceInterface: xyz.openbmc_project.Inventory.Manager
187  readingType: assertion
188  mutability: Mutability::Write|Mutability::Read
189  sensorNamePattern: nameLeaf
190  interfaces:
191    xyz.openbmc_project.State.Decorator.OperationalStatus:
192      Functional:
193        Offsets:
194          0x08:
195            type:   "bool"
196            assert:  false
197            deassert: true
198        Prereqs:
199          0x07:
200            type: "bool"
201            assert: true
202            deassert: false
203    xyz.openbmc_project.Inventory.Item:
204      Present:
205        Offsets:
206          0x07:
207            type: "bool"
208            assert: true
209            deassert: false
210    xyz.openbmc_project.Inventory.Item.Accelerator:
211# Field replaceable doesn't come as a sensor data
212# but we know that GPU is Field replaceable so setting
213# true in both cases.
214    xyz.openbmc_project.Inventory.Decorator.Replaceable:
215      FieldReplaceable:
216        Offsets:
217          0x07:
218            type: "bool"
219            assert: true
220            deassert: true
221
222host_auto_reboot_control_sensor:
223  path: /xyz/openbmc_project/control/host0/auto_reboot
224  serviceInterface: org.freedesktop.DBus.Properties
225  readingType: assertion
226  mutability: Mutability::Write|Mutability::Read
227  sensorNamePattern: nameLeaf
228  interfaces:
229    xyz.openbmc_project.Control.Boot.RebootPolicy:
230      AutoReboot:
231        Offsets:
232          0x00:
233            type: "bool"
234            assert: false
235          0x01:
236            type: "bool"
237            assert: true
238
239turbo_allowed_sensor:
240  path: /xyz/openbmc_project/control/host0/turbo_allowed
241  serviceInterface: org.freedesktop.DBus.Properties
242  readingType: assertion
243  mutability: Mutability::Read
244  sensorNamePattern: nameLeaf
245  interfaces:
246    xyz.openbmc_project.Control.Host.TurboAllowed:
247      TurboAllowed:
248        Offsets:
249          0x00:
250            assert: false
251            deassert: true
252            type: bool
253          0x01:
254            assert: true
255            deassert: false
256            type: bool
257
258cpucore_temp_sensor:
259  serviceInterface: org.freedesktop.DBus.Properties
260  readingType: readingData
261  mutability: Mutability::Write|Mutability::Read
262  sensorNamePattern: nameLeaf
263  multiplierM: 1
264  offsetB: -127
265  bExp: 0
266  rExp: 0
267  unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC
268  scale: -3
269  interfaces:
270    xyz.openbmc_project.Sensor.Value:
271      Value:
272        Offsets:
273          0xFF:
274            type: double
275
276dimm_temp_sensor:
277  serviceInterface: org.freedesktop.DBus.Properties
278  readingType: readingData
279  mutability: Mutability::Write|Mutability::Read
280  sensorNamePattern: nameLeaf
281  multiplierM: 1
282  offsetB: -127
283  bExp: 0
284  rExp: 0
285  unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC
286  scale: -3
287  interfaces:
288    xyz.openbmc_project.Sensor.Value:
289      Value:
290        Offsets:
291          0xFF:
292            type: double
293
294vrm_vdd_temp_sensor:
295  serviceInterface: org.freedesktop.DBus.Properties
296  readingType: readingData
297  mutability: Mutability::Write|Mutability::Read
298  sensorNamePattern: nameLeaf
299  multiplierM: 1
300  offsetB: -127
301  bExp: 0
302  rExp: 0
303  unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC
304  scale: -3
305  interfaces:
306    xyz.openbmc_project.Sensor.Value:
307      Value:
308        Offsets:
309          0xFF:
310            type: double
311
312gpu_temp_sensor:
313  serviceInterface: org.freedesktop.DBus.Properties
314  readingType: readingData
315  mutability: Mutability::Write|Mutability::Read
316  sensorNamePattern: nameLeaf
317  multiplierM: 1
318  offsetB: -127
319  bExp: 0
320  rExp: 0
321  unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC
322  scale: -3
323  interfaces:
324    xyz.openbmc_project.Sensor.Value:
325      Value:
326        Offsets:
327          0xFF:
328            type: double
329
330memory_temp_sensor:
331  serviceInterface: org.freedesktop.DBus.Properties
332  readingType: readingData
333  mutability: Mutability::Write|Mutability::Read
334  sensorNamePattern: nameLeaf
335  multiplierM: 1
336  offsetB: -127
337  bExp: 0
338  rExp: 0
339  unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC
340  scale: -3
341  interfaces:
342    xyz.openbmc_project.Sensor.Value:
343      Value:
344        Offsets:
345          0xFF:
346            type: double
347ps_derating_sensor:
348  serviceInterface: org.freedesktop.DBus.Properties
349  readingType: assertion
350  mutability: Mutability::Read
351  sensorNamePattern: nameProperty
352  interfaces:
353    xyz.openbmc_project.Control.PowerSupplyAttributes:
354      DeratingFactor:
355        Offsets:
356          0xFF:
357            type: uint32_t
358