configurations: yosemite5: add CPLD update config
Add CPLD update config for update daemon.
https://gerrit.openbmc.org/c/openbmc/phosphor-bmc-code-mgmt/+/80975
Tested on YV5:
'''
ken@ken-All-Series:~$ curl --silent $creds https://$bmc/redfish/v1/UpdateService/FirmwareInventory/
{
"@odata.id": "/redfish/v1/UpdateService/FirmwareInventory",
"@odata.type": "#SoftwareInventoryCollection.SoftwareInventoryCollection",
"Members": [
{
"@odata.id": "/redfish/v1/UpdateService/FirmwareInventory/6116e97d"
},
{
"@odata.id": "/redfish/v1/UpdateService/FirmwareInventory/YV5_SCM_CPLD_9224"
}
],
"Members@odata.count": 2,
"Name": "Software Inventory Collection"
}
ken@ken-All-Series:~$curl -k ${creds} -H "Content-Type:multipart/form-data" -X POST -F UpdateParameters="{\"Targets\":[\"/redfish/v1/UpdateService/FirmwareInventory/YV5_SCM_CPLD_9224\"],\"@Redfish.OperationApplyTime\":\"Immediate\"};type=application/json" -F "UpdateFile=@${fwpath};type=application/octet-stream" https://${bmc}/redfish/v1/UpdateService/update-multipart
{
"@odata.id": "/redfish/v1/TaskService/Tasks/0",
"@odata.type": "#Task.v1_4_3.Task",
"HidePayload": false,
"Id": "0",
"Messages": [
{
"@odata.type": "#Message.v1_1_1.Message",
"Message": "The task with Id '0' has started.",
"MessageArgs": [
"0"
],
"MessageId": "TaskEvent.1.0.TaskStarted",
"MessageSeverity": "OK",
"Resolution": "None."
}
],
"Name": "Task 0",
"Payload": {
"HttpHeaders": [],
"HttpOperation": "POST",
"TargetUri": "/redfish/v1/UpdateService/update-multipart"
},
"PercentComplete": 0,
"StartTime": "2025-07-09T07:09:41+00:00",
"TaskMonitor": "/redfish/v1/TaskService/TaskMonitors/0",
"TaskState": "Running",
"TaskStatus": "OK"
}
'''
Change-Id: Iec16262725c492a37dace85348509db6e0ecafb6
Signed-off-by: Ken Chen <Ken.Chen@quantatw.com>
diff --git a/configurations/meta/yosemite5_scm.json b/configurations/meta/yosemite5_scm.json
index ad43506..dc314d7 100644
--- a/configurations/meta/yosemite5_scm.json
+++ b/configurations/meta/yosemite5_scm.json
@@ -217,6 +217,26 @@
"Type": "EEPROM"
},
{
+ "Address": "0x40",
+ "Bus": 0,
+ "FirmwareInfo": {
+ "CompatibleHardware": "com.meta.Hardware.Yosemite5.CPLD.LCMXO3D_9400HC_mb",
+ "VendorIANA": 40981
+ },
+ "Name": "Yosemite5_MB_CPLD",
+ "Type": "LatticeLCMXO3D_9400Firmware"
+ },
+ {
+ "Address": "0x40",
+ "Bus": 7,
+ "FirmwareInfo": {
+ "CompatibleHardware": "com.meta.Hardware.Yosemite5.CPLD.LCMXO3D_9400HC_scm",
+ "VendorIANA": 40981
+ },
+ "Name": "Yosemite5_SCM_CPLD",
+ "Type": "LatticeLCMXO3D_9400Firmware"
+ },
+ {
"Address": "0x4B",
"Bus": 9,
"Name": "SCM_INLET_TEMP_C",