17#ifndef PLAT_SENSOR_TABLE_H
18#define PLAT_SENSOR_TABLE_H
24#define POLL_TIME_BAT3V 3600
27#define TMP75_IN_ADDR (0x94 >> 1)
28#define TMP75_OUT_ADDR (0x92 >> 1)
29#define TMP75_IOM_ADDR (0x94 >> 1)
30#define TMP75_TEMP_OFFSET 0x00
31#define SSD0_ADDR (0xD4 >> 1)
32#define SSD0_OFFSET 0x00
33#define MPS_MP5990_ADDR (0x40 >> 1)
34#define PCH_ADDR (0x2C >> 1)
35#define ME_SENSOR_NUM_TEMP_PCH 0x08
36#define VR_PU14_SRC0_ADDR (0xC0 >> 1)
37#define VR_PU14_SRC1_ADDR (0xC0 >> 1)
38#define VR_PU5_SRC0_ADDR (0xC2 >> 1)
39#define VR_PU5_SRC1_ADDR (0xC8 >> 1)
40#define VR_PU35_SRC0_ADDR (0xC6 >> 1)
41#define VR_PU35_SRC1_ADDR (0xC6 >> 1)
42#define PVCCIN_ADDR VR_PU14_SRC0_ADDR
43#define PVCCFA_EHV_FIVRA_ADDR VR_PU14_SRC0_ADDR
44#define PVCCINFAON_ADDR VR_PU5_SRC0_ADDR
45#define PVCCFA_EHV_ADDR VR_PU5_SRC0_ADDR
46#define PVCCD_HV_ADDR VR_PU35_SRC0_ADDR
47#define VR_VOL_CMD 0x8B
48#define VR_CUR_CMD 0x8C
49#define VR_CUR_IN_CMD 0x89
50#define VR_TEMP_CMD 0x8D
51#define VR_PWR_CMD 0x96
52#define CPU_PECI_ADDR 0x30
53#define INA230_ADDR (0x82 >> 1)
56#define SENSOR_NUM_TEMP_TMP75_IN 0x01
57#define SENSOR_NUM_TEMP_TMP75_OUT 0x02
58#define SENSOR_NUM_TEMP_TMP75_IOM 0x03
59#define SENSOR_NUM_TEMP_PCH 0x04
60#define SENSOR_NUM_TEMP_CPU 0x05
61#define SENSOR_NUM_TEMP_CPU_MARGIN 0x06
62#define SENSOR_NUM_TEMP_CPU_TJMAX 0x07
63#define SENSOR_NUM_TEMP_SSD0 0x08
64#define SENSOR_NUM_TEMP_HSC 0x09
65#define SENSOR_NUM_TEMP_DIMM_A 0x0A
66#define SENSOR_NUM_TEMP_DIMM_C 0x0B
67#define SENSOR_NUM_TEMP_DIMM_E 0x0C
68#define SENSOR_NUM_TEMP_DIMM_G 0x0D
69#define SENSOR_NUM_TEMP_PVCCIN 0x0E
70#define SENSOR_NUM_TEMP_PVCCFA_EHV_FIVRA 0x0F
71#define SENSOR_NUM_TEMP_PVCCFA_EHV 0x10
72#define SENSOR_NUM_TEMP_PVCCD_HV 0x11
73#define SENSOR_NUM_TEMP_PVCCINFAON 0x12
76#define SENSOR_NUM_VOL_STBY12V 0x20
77#define SENSOR_NUM_VOL_BAT3V 0x21
78#define SENSOR_NUM_VOL_STBY3V 0x22
79#define SENSOR_NUM_VOL_STBY1V8 0x23
80#define SENSOR_NUM_VOL_STBY1V05 0x24
81#define SENSOR_NUM_VOL_STBY5V 0x25
82#define SENSOR_NUM_VOL_DIMM12V 0x26
83#define SENSOR_NUM_VOL_STBY1V2 0x27
84#define SENSOR_NUM_VOL_M2_3V3 0x28
85#define SENSOR_NUM_VOL_HSCIN 0x29
86#define SENSOR_NUM_VOL_PVCCIN 0x2A
87#define SENSOR_NUM_VOL_PVCCFA_EHV_FIVRA 0x2B
88#define SENSOR_NUM_VOL_PVCCFA_EHV 0x2C
89#define SENSOR_NUM_VOL_PVCCD_HV 0x2D
90#define SENSOR_NUM_VOL_PVCCINFAON 0x2E
91#define SENSOR_NUM_VOL_IOM_INA 0x2F
94#define SENSOR_NUM_CUR_HSCOUT 0x40
95#define SENSOR_NUM_CUR_PVCCIN 0x41
96#define SENSOR_NUM_CUR_PVCCFA_EHV_FIVRA 0x42
97#define SENSOR_NUM_CUR_PVCCFA_EHV 0x43
98#define SENSOR_NUM_CUR_PVCCD_HV 0x44
99#define SENSOR_NUM_CUR_IN_PVCCD_HV 0x45
100#define SENSOR_NUM_CUR_PVCCINFAON 0x46
101#define SENSOR_NUM_CUR_IOM_INA 0x47
104#define SENSOR_NUM_PWR_CPU 0x60
105#define SENSOR_NUM_PWR_HSCIN 0x61
106#define SENSOR_NUM_PWR_DIMMA_PMIC 0x62
107#define SENSOR_NUM_PWR_DIMMC_PMIC 0x63
108#define SENSOR_NUM_PWR_DIMME_PMIC 0x64
109#define SENSOR_NUM_PWR_DIMMG_PMIC 0x65
110#define SENSOR_NUM_PWR_PVCCIN 0x66
111#define SENSOR_NUM_PWR_PVCCFA_EHV_FIVRA 0x67
112#define SENSOR_NUM_PWR_PVCCFA_EHV 0x68
113#define SENSOR_NUM_PWR_PVCCD_HV 0x69
114#define SENSOR_NUM_PWR_PVCCINFAON 0x6A
115#define SENSOR_NUM_PWR_IOM_INA 0x6B
118#define SENSOR_NUM_SYSTEM_STATUS 0x10
119#define SENSOR_NUM_SYS_STA 0x46
120#define SENSOR_NUM_POWER_ERROR 0x56
121#define SENSOR_NUM_PROC_FAIL 0x65
122#define SENSOR_NUM_VR_HOT 0xB2
123#define SENSOR_NUM_CPUDIMM_HOT 0xB3
124#define SENSOR_NUM_PMIC_ERROR 0xB4
125#define SENSOR_NUM_CATERR 0xEB
126#define SENSOR_NUM_RMCA 0xEC
uint8_t sensor_num
Definition: storage_handler.h:6
Definition: plat_sensor_table.h:128
uint8_t mapping_pmic_sensor_num
Definition: plat_sensor_table.h:130
uint8_t dimm_sensor_num
Definition: plat_sensor_table.h:129