configurations: sbp1: Add M.2 NVMe temperature sensors
SBP1 has two M.2 slots that hosts NVMe drives. When a NVMe is pluged
the temperature can be read using nvmesensor.
Add a custom name for each M.2 drive and add it to a separate
temperature zone.
Tested: M.2 NVMe temperatures are not visible on the webui as the M.2
drives do not have a provision IPMI FRU EEPROM.
busctl introspect xyz.openbmc_project.NVMeSensor \
/xyz/openbmc_project/sensors/temperature/M2_SSD2_Temperature
shows the NVMe temperature.
Change-Id: I3449450069329fb9241ca5a3cff4feba62e13555
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
diff --git a/configurations/sbp1_chassis.json b/configurations/sbp1_chassis.json
index 92490aa..a9c9c9b 100644
--- a/configurations/sbp1_chassis.json
+++ b/configurations/sbp1_chassis.json
@@ -2022,6 +2022,32 @@
]
},
{
+ "Class": "temp",
+ "FFGainCoefficient": 0,
+ "FFOffCoefficient": 0,
+ "ICoefficient": -5,
+ "ILimitMax": 18000,
+ "ILimitMin": 2500,
+ "Inputs": [
+ "M2 SSD1 Temperature",
+ "M2 SSD2 Temperature"
+ ],
+ "Name": "M2 SSD Temperature",
+ "NegativeHysteresis": 0,
+ "OutLimitMax": 18000,
+ "OutLimitMin": 2500,
+ "Outputs": [],
+ "PCoefficient": -500,
+ "PositiveHysteresis": 0,
+ "SetPoint": 85,
+ "SlewNeg": 0,
+ "SlewPos": 0,
+ "Type": "Pid",
+ "Zones": [
+ "PSU"
+ ]
+ },
+ {
"FailSafePercent": 35,
"MinThermalOutput": 2500,
"Name": "PSU",
diff --git a/configurations/sbp1_nvme.json b/configurations/sbp1_nvme.json
new file mode 100644
index 0000000..a5a329d
--- /dev/null
+++ b/configurations/sbp1_nvme.json
@@ -0,0 +1,20 @@
+{
+ "Exposes": [
+ {
+ "Address": "0x6a",
+ "Bus": "50",
+ "Name": "M2 SSD1 Temperature",
+ "Type": "NVME1000"
+ },
+ {
+ "Address": "0x6a",
+ "Bus": "52",
+ "Name": "M2 SSD2 Temperature",
+ "Type": "NVME1000"
+ }
+ ],
+ "Name": "SBP1 NVMe",
+ "Probe": "xyz.openbmc_project.FruDevice({'BOARD_PRODUCT_NAME': '.*SBP1'})",
+ "ProductId": 0,
+ "Type": "NVMe"
+}