Add PMBUS Bus and Address to chassis
PSU KeepAlive function need to ping PSU FRU through I2C bus. Add pmbus bus
number and address to entity-manager chassis config then KeepAlive can know
which bus and address to ping.
Tested:
There are bus and address property under
/xyz/openbmc_project/inventory/system/board/WFP_Baseboard/PSU_ADDRESS
in entity-manager
Signed-off-by: Cheng C Yang <cheng.c.yang@linux.intel.com>
Change-Id: I8951c6685f45d5ebf348076b44ae5bc122c9f293
diff --git a/configurations/R1000 Chassis.json b/configurations/R1000 Chassis.json
index db2a858..baab7de 100644
--- a/configurations/R1000 Chassis.json
+++ b/configurations/R1000 Chassis.json
@@ -592,6 +592,15 @@
"Zone 5",
"Zone 6"
]
+ },
+ {
+ "Bus": 7,
+ "Address": [
+ "0x50",
+ "0x51"
+ ],
+ "Name": "PSU address",
+ "Type": "PSUPresence"
}
],
"Name": "R1000 Chassis",
@@ -614,4 +623,4 @@
"AssetTag": "$PRODUCT_ASSET_TAG"
},
"xyz.openbmc_project.Inventory.Item.System": {}
-}
\ No newline at end of file
+}
diff --git a/configurations/R2000 Chassis.json b/configurations/R2000 Chassis.json
index 8d704fb..03f3d43 100644
--- a/configurations/R2000 Chassis.json
+++ b/configurations/R2000 Chassis.json
@@ -472,6 +472,15 @@
"Zone 5",
"Zone 6"
]
+ },
+ {
+ "Bus": 7,
+ "Address": [
+ "0x50",
+ "0x51"
+ ],
+ "Name": "PSU address",
+ "Type": "PSUPresence"
}
],
"Name": "R2000 Chassis",
@@ -494,4 +503,4 @@
"AssetTag": "$PRODUCT_ASSET_TAG"
},
"xyz.openbmc_project.Inventory.Item.System": {}
-}
\ No newline at end of file
+}
diff --git a/configurations/STP P4000 Chassis.json b/configurations/STP P4000 Chassis.json
index cf67cdb..8b93d5f 100644
--- a/configurations/STP P4000 Chassis.json
+++ b/configurations/STP P4000 Chassis.json
@@ -119,6 +119,15 @@
}
],
"Type": "AspeedFan"
+ },
+ {
+ "Bus": 7,
+ "Address": [
+ "0x50",
+ "0x51"
+ ],
+ "Name": "PSU address",
+ "Type": "PSUPresence"
}
],
"Name": "P4000 Chassis",
@@ -127,4 +136,4 @@
"AND",
"xyz.openbmc_project.FruDevice({'BOARD_PRODUCT_NAME': 'FFPANEL'})"
]
-}
\ No newline at end of file
+}