configs: Add PCIe slot power states for Bonnell
Add the entries to Bonnell's 11.json so that the host can send down the
PCIE slot power states for the four PCIe slots. These are the same as
on Rainier and Everest.
Tested:
The power state in phosphor-inventory-manager is accurately reflected
for a plugged in card.
Change-Id: Ic04e6d11750add7656bc7ac40135e2bfa4b8490e
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
diff --git a/configurations/pdr/com.ibm.Hardware.Chassis.Model.Bonnell/11.json b/configurations/pdr/com.ibm.Hardware.Chassis.Model.Bonnell/11.json
index f392a85..47e54b7 100644
--- a/configurations/pdr/com.ibm.Hardware.Chassis.Model.Bonnell/11.json
+++ b/configurations/pdr/com.ibm.Hardware.Chassis.Model.Bonnell/11.json
@@ -402,6 +402,98 @@
}
}
]
+ },
+ {
+ "entity_path": "/xyz/openbmc_project/inventory/system/chassis/motherboard/pcieslot0",
+ "effecters": [
+ {
+ "set": {
+ "id": 257,
+ "size": 1,
+ "states": [0, 1, 4]
+ },
+ "dbus": {
+ "path": "/xyz/openbmc_project/inventory/system/chassis/motherboard/pcieslot0",
+ "interface": "xyz.openbmc_project.State.Decorator.PowerState",
+ "property_name": "PowerState",
+ "property_type": "string",
+ "property_values": [
+ "xyz.openbmc_project.State.Decorator.PowerState.State.Unknown",
+ "xyz.openbmc_project.State.Decorator.PowerState.State.On",
+ "xyz.openbmc_project.State.Decorator.PowerState.State.Off"
+ ]
+ }
+ }
+ ]
+ },
+ {
+ "entity_path": "/xyz/openbmc_project/inventory/system/chassis/motherboard/pcieslot1",
+ "effecters": [
+ {
+ "set": {
+ "id": 257,
+ "size": 1,
+ "states": [0, 1, 4]
+ },
+ "dbus": {
+ "path": "/xyz/openbmc_project/inventory/system/chassis/motherboard/pcieslot1",
+ "interface": "xyz.openbmc_project.State.Decorator.PowerState",
+ "property_name": "PowerState",
+ "property_type": "string",
+ "property_values": [
+ "xyz.openbmc_project.State.Decorator.PowerState.State.Unknown",
+ "xyz.openbmc_project.State.Decorator.PowerState.State.On",
+ "xyz.openbmc_project.State.Decorator.PowerState.State.Off"
+ ]
+ }
+ }
+ ]
+ },
+ {
+ "entity_path": "/xyz/openbmc_project/inventory/system/chassis/motherboard/pcieslot2",
+ "effecters": [
+ {
+ "set": {
+ "id": 257,
+ "size": 1,
+ "states": [0, 1, 4]
+ },
+ "dbus": {
+ "path": "/xyz/openbmc_project/inventory/system/chassis/motherboard/pcieslot2",
+ "interface": "xyz.openbmc_project.State.Decorator.PowerState",
+ "property_name": "PowerState",
+ "property_type": "string",
+ "property_values": [
+ "xyz.openbmc_project.State.Decorator.PowerState.State.Unknown",
+ "xyz.openbmc_project.State.Decorator.PowerState.State.On",
+ "xyz.openbmc_project.State.Decorator.PowerState.State.Off"
+ ]
+ }
+ }
+ ]
+ },
+ {
+ "entity_path": "/xyz/openbmc_project/inventory/system/chassis/motherboard/pcieslot3",
+ "effecters": [
+ {
+ "set": {
+ "id": 257,
+ "size": 1,
+ "states": [0, 1, 4]
+ },
+ "dbus": {
+ "path": "/xyz/openbmc_project/inventory/system/chassis/motherboard/pcieslot3",
+ "interface": "xyz.openbmc_project.State.Decorator.PowerState",
+ "property_name": "PowerState",
+ "property_type": "string",
+ "property_values": [
+ "xyz.openbmc_project.State.Decorator.PowerState.State.Unknown",
+ "xyz.openbmc_project.State.Decorator.PowerState.State.On",
+ "xyz.openbmc_project.State.Decorator.PowerState.State.Off"
+ ]
+ }
+ }
+ ]
}
]
}