meta-ieisystems: fp5280g3: Add dcmi sensor configuration
Add the dcmi_sensor.json file for the fp5280g3 platform.
Tested:
~# ipmitool dcmi sensors
Inlet: 1 temperature sensors found:
Record ID 0x0038: Inlet_TEMP | 28 degrees C | ok
CPU: 2 temperature sensors found:
Record ID 0x0039: CPU0_TEMP | 35 degrees C | ok
Record ID 0x003a: CPU1_TEMP | 38 degrees C | ok
Baseboard: 2 temperature sensors found:
Record ID 0x004b: L_OCP_Zone_Temp | 33 degrees C | ok
Record ID 0x004c: R_OCP_Zone_Temp | 35 degrees C | ok
Signed-off-by: George Liu <liuxiwei@ieisystem.com>
Change-Id: Ia6c7a54ba81a17d86d11b05ba4ea638b8a129f4d
diff --git a/meta-ieisystems/meta-fp5280g3/recipes-phosphor/ipmi/phosphor-ipmi-config/dcmi_sensors.json b/meta-ieisystems/meta-fp5280g3/recipes-phosphor/ipmi/phosphor-ipmi-config/dcmi_sensors.json
new file mode 100644
index 0000000..e77a553
--- /dev/null
+++ b/meta-ieisystems/meta-fp5280g3/recipes-phosphor/ipmi/phosphor-ipmi-config/dcmi_sensors.json
@@ -0,0 +1,33 @@
+{
+ "inlet": [
+ {
+ "instance": 0,
+ "dbus": "/xyz/openbmc_project/sensors/temperature/Inlet_Temp",
+ "record_id": 56
+ }
+ ],
+ "baseboard": [
+ {
+ "instance": 0,
+ "dbus": "/xyz/openbmc_project/sensors/temperature/L_OCP_Zone_Temp",
+ "record_id": 75
+ },
+ {
+ "instance": 0,
+ "dbus": "/xyz/openbmc_project/sensors/temperature/R_OCP_Zone_Temp",
+ "record_id": 76
+ }
+ ],
+ "cpu": [
+ {
+ "instance": 1,
+ "dbus": "/xyz/openbmc_project/sensors/temperature/CPU0_Temp",
+ "record_id": 57
+ },
+ {
+ "instance": 1,
+ "dbus": "/xyz/openbmc_project/sensors/temperature/CPU1_Temp",
+ "record_id": 58
+ }
+ ]
+}