blob: 2556261739b66e11d9112a12d04ffe62533bad7e [file] [log] [blame]
Deepak Kodihalli1bb0d382017-08-12 02:01:27 -05001# Sensor id is the key
20x60:
3 sensorType: 0x07
Ratan Gupta47bf3ed2017-03-04 08:33:57 +05304 sensorReadingType: 0x6F
Deepak Kodihalli1bb0d382017-08-12 02:01:27 -05005 # 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
Dhruvaraj Subhashchandrane0af7202017-07-12 06:35:20 -050013 readingType: assertion
Deepak Kodihalli1bb0d382017-08-12 02:01:27 -050014 eventType: 0x6F
15 # All the d-bus interfaces : properties that must be updated for this path
Ratan Gupta47bf3ed2017-03-04 08:33:57 +053016 interfaces:
Deepak Kodihalli1bb0d382017-08-12 02:01:27 -050017 # 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.
Ratan Gupta47bf3ed2017-03-04 08:33:57 +053025 assert: "false"
Deepak Kodihalli1bb0d382017-08-12 02:01:27 -050026 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:
Ratan Gupta47bf3ed2017-03-04 08:33:57 +053038 xyz.openbmc_project.Inventory.Item:
39 Present:
Deepak Kodihalli1bb0d382017-08-12 02:01:27 -050040 6:
41 assert: true
42 deassert: false
Ratan Gupta47bf3ed2017-03-04 08:33:57 +053043 type: bool
Deepak Kodihalli1bb0d382017-08-12 02:01:27 -050044 xyz.openbmc_project.State.Decorator.OperationalStatus:
45 Functional:
46 4:
47 assert: false
48 deassert: true
49 type: bool
50
510x63:
Dhruvaraj Subhashchandrane0af7202017-07-12 06:35:20 -050052 interfaces:
53 xyz.openbmc_project.Control.Boot.RebootAttempts:
54 AttemptsLeft:
Deepak Kodihalli1bb0d382017-08-12 02:01:27 -050055 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
Ratan Gupta47bf3ed2017-03-04 08:33:57 +053062 sensorReadingType: 0x6F
Deepak Kodihalli1bb0d382017-08-12 02:01:27 -050063 sensorType: 0xC3
64 serviceInterface: org.freedesktop.DBus.Properties
65
660x62:
Ratan Gupta47bf3ed2017-03-04 08:33:57 +053067 interfaces:
Deepak Kodihalli1bb0d382017-08-12 02:01:27 -050068 xyz.openbmc_project.Control.Boot.RebootAttempts:
69 AttemptsLeft:
70 0xFF:
71 type: uint32_t
72 path: /xyz/openbmc_project/state/host1
73 readingType: readingAssertion
Ratan Gupta47bf3ed2017-03-04 08:33:57 +053074 sensorReadingType: 0x6F
Deepak Kodihalli1bb0d382017-08-12 02:01:27 -050075 sensorType: 0xC3
76 serviceInterface: org.freedesktop.DBus.Properties