Add mctp eids configuration for Yosemite 4
The MCTP specification is defined in DSP0236. As describe in section
8.17.2, we need a configuration for static EIDs. The `mctpd` from
CodeConstuct/mctp will be able to know where those static EIDs located.
The other services will be able to know what those EIDs stand for by the
"Name" as well.
schemas: add `EndpointId` with type `string` and `number`.
Tested: check D-Bus path for configuration.
Change-Id: I587f5a69051f783753f5855d2f51242aa1cd5bc4
Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
diff --git a/configurations/yosemite4_floatingfalls.json b/configurations/yosemite4_floatingfalls.json
index e51624f..e0075c4 100644
--- a/configurations/yosemite4_floatingfalls.json
+++ b/configurations/yosemite4_floatingfalls.json
@@ -1,5 +1,20 @@
{
- "Exposes": [],
+ "Exposes": [
+ {
+ "Address": "0x20",
+ "Bus": "$bus % 16",
+ "EndpointId": "$bus % 15 * 10 + 1",
+ "Name": "BIC",
+ "Type": "MCTPEndpoint"
+ },
+ {
+ "Address": "0x20",
+ "Bus": "$bus % 16",
+ "EndpointId": "$bus % 15 * 10 + 3",
+ "Name": "CXL",
+ "Type": "MCTPEndpoint"
+ }
+ ],
"Name": "Yosemite 4 Floating Falls Slot $bus % 15",
"Probe": "xyz.openbmc_project.FruDevice({'BOARD_PRODUCT_NAME': 'Floating Falls', 'PRODUCT_PRODUCT_NAME': 'Yosemite V4'})",
"Type": "Board",