Change GPIO configurations for Multi Node ID
1. Use type "MultiNodeID" to define GPIO pins
2. Use type "MultiNodePresence" to define node presence detector
Tested:
Node ID and node presence info can be read by IPMI command
Change-Id: I0560b017e6ff74277f1a63fe34c9b6930160b285
Signed-off-by: Qiang XU <qiang.xu@linux.intel.com>
diff --git a/configurations/BNP Baseboard.json b/configurations/BNP Baseboard.json
index d402881..939c4f9 100644
--- a/configurations/BNP Baseboard.json
+++ b/configurations/BNP Baseboard.json
@@ -64,40 +64,26 @@
"Type": "Gpio"
},
{
+ "GpioPins": [
+ 59,
+ 60,
+ 61,
+ 62
+ ],
+ "Name": "Multi Node ID",
+ "Type": "MultiNodeID"
+ },
+ {
"Address": "0x18",
"Bus": 1,
"Name": "Multi Node Presence Detector",
- "Type": "MultiNode"
- },
- {
- "BindGpioNodeID": "Node ID GPIO 0",
- "Name": "Multi Node ID 0",
- "Type": "MultiNode"
- },
- {
- "BindGpioNodeID": "Node ID GPIO 1",
- "Name": "Multi Node ID 1",
- "Type": "MultiNode"
- },
- {
- "BindGpioNodeID": "Node ID GPIO 2",
- "Name": "Multi Node ID 2",
- "Type": "MultiNode"
- },
- {
- "BindGpioNodeID": "Node ID GPIO 3",
- "Name": "Multi Node ID 3",
- "Type": "MultiNode"
- },
- {
- "Name": "Multi Node Supported",
- "Type": "MultiNode"
+ "Type": "MultiNodePresence"
}
],
"Name": "BNP Baseboard",
"Probe": "xyz.openbmc_project.FruDevice({'PRODUCT_PRODUCT_NAME': '.*BNP'})",
- "Type": "Board",
"ProductId": 124,
+ "Type": "Board",
"xyz.openbmc_project.Inventory.Decorator.Asset": {
"Manufacturer": "$PRODUCT_MANUFACTURER",
"Model": "$PRODUCT_PRODUCT_NAME",