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_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"
+}