meta-ieisystems: nf5280m7: Add dcmi sensor configuration
Add the dcmi_sensor.json file for the nf5280m7 platform.
Tested:
~# ipmitool dcmi sensors
Inlet: 1 temperature sensors found:
Record ID 0x0001: Inlet_Temp | 40 degrees C | ok
CPU: 4 temperature sensors found:
Record ID 0x0003: CPU0_TEMP | 39 degrees C | ok
Record ID 0x0004: CPU1_TEMP | 41 degrees C | ok
Record ID 0x00ea: CPU0_DTS_Margin | 61 degrees C | ok
Record ID 0x00eb: CPU1_DTS_Margin | 59 degrees C | ok
Baseboard: 1 temperature sensors found:
Record ID 0x0002: Outlet_Temp | 38 degrees C | ok
Signed-off-by: George Liu <liuxiwei@ieisystem.com>
Change-Id: I5ed7d2249bbae4041d4d7a0720a68e9dac61c280
diff --git a/meta-ieisystems/meta-nf5280m7/recipes-phosphor/ipmi/phosphor-ipmi-config/dcmi_sensors.json b/meta-ieisystems/meta-nf5280m7/recipes-phosphor/ipmi/phosphor-ipmi-config/dcmi_sensors.json
new file mode 100644
index 0000000..c4fba64
--- /dev/null
+++ b/meta-ieisystems/meta-nf5280m7/recipes-phosphor/ipmi/phosphor-ipmi-config/dcmi_sensors.json
@@ -0,0 +1,38 @@
+{
+ "inlet": [
+ {
+ "instance": 0,
+ "dbus": "/xyz/openbmc_project/sensors/temperature/Inlet_Temp",
+ "record_id": 1
+ }
+ ],
+ "baseboard": [
+ {
+ "instance": 0,
+ "dbus": "/xyz/openbmc_project/sensors/temperature/Outlet_Temp",
+ "record_id": 2
+ }
+ ],
+ "cpu": [
+ {
+ "instance": 1,
+ "dbus": "/xyz/openbmc_project/sensors/temperature/CPU0_Temp",
+ "record_id": 3
+ },
+ {
+ "instance": 1,
+ "dbus": "/xyz/openbmc_project/sensors/temperature/CPU1_Temp",
+ "record_id": 4
+ },
+ {
+ "instance": 1,
+ "dbus": "/xyz/openbmc_project/sensors/temperature/CPU0_DTS_Margin",
+ "record_id": 234
+ },
+ {
+ "instance": 1,
+ "dbus": "/xyz/openbmc_project/sensors/temperature/CPU1_DTS_Margin",
+ "record_id": 235
+ }
+ ]
+}