OpenBIC
OpenSource Bridge-IC
plat_sensor_table.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) Meta Platforms, Inc. and affiliates.
3
*
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
* you may not use this file except in compliance with the License.
6
* You may obtain a copy of the License at
7
*
8
* http://www.apache.org/licenses/LICENSE-2.0
9
*
10
* Unless required by applicable law or agreed to in writing, software
11
* distributed under the License is distributed on an "AS IS" BASIS,
12
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
* See the License for the specific language governing permissions and
14
* limitations under the License.
15
*/
16
17
#ifndef PLAT_SENSOR_TABLE_H
18
#define PLAT_SENSOR_TABLE_H
19
20
#include <stdint.h>
21
22
#define TMP75_1OU_BOARD_ADDR (0x92 >> 1)
23
#define TMP641_CXL_CNTR_ADDR (0x98 >> 1)
24
#define INA233_12V_ADDR (0x8A >> 1)
25
#define INA233_3V3_ADDR (0x80 >> 1)
26
#define VR_P0V85_ASIC_ADDR (0xEC >> 1)
27
#define VR_PVDDQAB_ADDR (0xEC >> 1)
28
#define VR_P0V8_ASIC_ADDR (0xE4 >> 1)
29
#define VR_PVDDQCD_ADDR (0xE4 >> 1)
30
31
#define TMP75_TEMP_OFFSET 0x00
32
#define VR_PAGE_OFFSET 0x00
33
34
#define SENSOR_NUM_TEMP_TMP75 0x50
35
#define SENSOR_NUM_TEMP_CXL 0x51
36
#define SENSOR_NUM_TEMP_P0V85_ASIC 0x52
37
#define SENSOR_NUM_TEMP_PVDDQ_AB 0x53
38
#define SENSOR_NUM_TEMP_P0V8_ASIC 0x54
39
#define SENSOR_NUM_TEMP_PVDDQ_CD 0x55
40
41
#define SENSOR_NUM_POWER_ERROR 0x56
42
#define SENSOR_NUM_VOL_P1V2_STBY 0x57
43
#define SENSOR_NUM_VOL_P1V2_ASIC 0x58
44
#define SENSOR_NUM_VOL_P1V8_ASIC 0x59
45
#define SENSOR_NUM_VOL_PVPP_AB 0x5A
46
#define SENSOR_NUM_VOL_PVPP_CD 0x5B
47
#define SENSOR_NUM_VOL_PVTT_AB 0x5C
48
#define SENSOR_NUM_VOL_PVTT_CD 0x5D
49
#define SENSOR_NUM_VOL_P0V75_ASIC 0x5E
50
#define SENSOR_NUM_VOL_P12V_STBY 0x5F
51
#define SENSOR_NUM_VOL_P3V3_STBY 0x60
52
#define SENSOR_NUM_VOL_P0V85_ASIC 0x61
53
#define SENSOR_NUM_VOL_PVDDQ_AB 0x62
54
#define SENSOR_NUM_VOL_P0V8_ASIC 0x63
55
#define SENSOR_NUM_VOL_PVDDQ_CD 0x64
56
57
#define SENSOR_NUM_CUR_P12V_STBY 0x65
58
#define SENSOR_NUM_CUR_P3V3_STBY 0x66
59
#define SENSOR_NUM_CUR_P0V85_ASIC 0x67
60
#define SENSOR_NUM_CUR_PVDDQ_AB 0x68
61
#define SENSOR_NUM_CUR_P0V8_ASIC 0x69
62
#define SENSOR_NUM_CUR_PVDDQ_CD 0x6A
63
64
#define SENSOR_NUM_PWR_P12V_STBY 0x6B
65
#define SENSOR_NUM_PWR_P3V3_STBY 0x6C
66
#define SENSOR_NUM_PWR_P0V85_ASIC 0x6D
67
#define SENSOR_NUM_PWR_PVDDQ_AB 0x6E
68
#define SENSOR_NUM_PWR_P0V8_ASIC 0x6F
69
#define SENSOR_NUM_PWR_PVDDQ_CD 0x70
70
71
#endif
meta-facebook
yv35-nf
src
platform
plat_sensor_table.h
Generated by
1.9.2