1# Sensor id is the key
20x60:
3  sensorType: 0x07
4  sensorReadingType: 0x6F
5  # A "set" operation on this sensor should update this d-bus path.
6  # If the path is not specified, an MRW parser will try to determine the path
7  # based on the sensor id, on MRW based systems.  This typically happens for
8  # inventory items.
9  path: /org/open_power/control/occ0
10  # The interface that exposes method(s) to update the path above.
11  serviceInterface: org.freedesktop.DBus.Properties
12  # Where the sensor value is represented - assertion bits/reading/event data
13  readingType: assertion
14  eventType: 0x6F
15  # All the d-bus interfaces : properties that must be updated for this path
16  interfaces:
17    # One or more interface dict entries
18    org.open_power.OCC.Status:
19      OccActive:
20        # Sensor type specific offset
21        0x06:
22          # OccActive is a boolean
23          type: "bool"
24          # If offset 0x06 is asserted, set OccActive as false.
25          assert: "false"
26          deassert: "true"
27
280x61:
29  sensorType: 0x04
30  sensorReadingType: 0x6F
31  # Inventory paths intentionally leave out the inventory root,
32  # /xyz/openbmc_project/inventory, because phosphor-inventory-manager
33  # adds that.
34  path: /system/chassis/motherboard/dimm1
35  serviceInterface: xyz.openbmc_project.Inventory.Manager
36  readingType: assertion
37  interfaces:
38    xyz.openbmc_project.Inventory.Item:
39      Present:
40        6:
41          assert: true
42          deassert: false
43          type: bool
44    xyz.openbmc_project.State.Decorator.OperationalStatus:
45      Functional:
46        4:
47          assert: false
48          deassert: true
49          type: bool
50
510x63:
52  interfaces:
53    xyz.openbmc_project.Control.Boot.RebootAttempts:
54      AttemptsLeft:
55        0xFF:
56          type: uint32_t
57  path: /xyz/openbmc_project/state/host0
58  # A special case of assertion, where the entire assert bitfield
59  # serves as the value, or reading. Hence, the offset above is intentionally
60  # 0xFF, to indicate not to check any specific bits in the assertion.
61  readingType: readingAssertion
62  sensorReadingType: 0x6F
63  sensorType: 0xC3
64  serviceInterface: org.freedesktop.DBus.Properties
65
660x62:
67  interfaces:
68    xyz.openbmc_project.Control.Boot.RebootAttempts:
69      AttemptsLeft:
70        0xFF:
71          type: uint32_t
72  path: /xyz/openbmc_project/state/host1
73  readingType: readingAssertion
74  sensorReadingType: 0x6F
75  sensorType: 0xC3
76  serviceInterface: org.freedesktop.DBus.Properties
77