Warning: This file is not a C or C++ file. It does not have highlighting.

1/*
2 * Copyright (C) 2017 Advanced Micro Devices, Inc.
3 *
4 * Permission is hereby granted, free of charge, to any person obtaining a
5 * copy of this software and associated documentation files (the "Software"),
6 * to deal in the Software without restriction, including without limitation
7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
8 * and/or sell copies of the Software, and to permit persons to whom the
9 * Software is furnished to do so, subject to the following conditions:
10 *
11 * The above copyright notice and this permission notice shall be included
12 * in all copies or substantial portions of the Software.
13 *
14 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
15 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
17 * THE COPYRIGHT HOLDER(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
18 * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
19 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
20 */
21#ifndef _thm_9_0_DEFAULT_HEADER
22#define _thm_9_0_DEFAULT_HEADER
23
24
25// addressBlock: thm_thm_SmuThmDec
26#define mmTHM_TCON_CUR_TMP_DEFAULT 0x00000000
27#define mmTHM_TCON_HTC_DEFAULT 0x00004000
28#define mmTHM_TCON_THERM_TRIP_DEFAULT 0x00000001
29#define mmTHM_GPIO_PROCHOT_CTRL_DEFAULT 0x000000f9
30#define mmTHM_GPIO_THERMTRIP_CTRL_DEFAULT 0x001000f9
31#define mmTHM_GPIO_PWM_CTRL_DEFAULT 0x000000f9
32#define mmTHM_GPIO_TACHIN_CTRL_DEFAULT 0x000000f9
33#define mmTHM_GPIO_PUMPOUT_CTRL_DEFAULT 0x000000f9
34#define mmTHM_GPIO_PUMPIN_CTRL_DEFAULT 0x000000f9
35#define mmTHM_THERMAL_INT_ENA_DEFAULT 0x00000000
36#define mmTHM_THERMAL_INT_CTRL_DEFAULT 0x0fff0078
37#define mmTHM_THERMAL_INT_STATUS_DEFAULT 0x00000000
38#define mmTHM_TMON0_RDIL0_DATA_DEFAULT 0x00000000
39#define mmTHM_TMON0_RDIL1_DATA_DEFAULT 0x00000000
40#define mmTHM_TMON0_RDIL2_DATA_DEFAULT 0x00000000
41#define mmTHM_TMON0_RDIL3_DATA_DEFAULT 0x00000000
42#define mmTHM_TMON0_RDIL4_DATA_DEFAULT 0x00000000
43#define mmTHM_TMON0_RDIL5_DATA_DEFAULT 0x00000000
44#define mmTHM_TMON0_RDIL6_DATA_DEFAULT 0x00000000
45#define mmTHM_TMON0_RDIL7_DATA_DEFAULT 0x00000000
46#define mmTHM_TMON0_RDIL8_DATA_DEFAULT 0x00000000
47#define mmTHM_TMON0_RDIL9_DATA_DEFAULT 0x00000000
48#define mmTHM_TMON0_RDIL10_DATA_DEFAULT 0x00000000
49#define mmTHM_TMON0_RDIL11_DATA_DEFAULT 0x00000000
50#define mmTHM_TMON0_RDIL12_DATA_DEFAULT 0x00000000
51#define mmTHM_TMON0_RDIL13_DATA_DEFAULT 0x00000000
52#define mmTHM_TMON0_RDIL14_DATA_DEFAULT 0x00000000
53#define mmTHM_TMON0_RDIL15_DATA_DEFAULT 0x00000000
54#define mmTHM_TMON0_RDIR0_DATA_DEFAULT 0x00000000
55#define mmTHM_TMON0_RDIR1_DATA_DEFAULT 0x00000000
56#define mmTHM_TMON0_RDIR2_DATA_DEFAULT 0x00000000
57#define mmTHM_TMON0_RDIR3_DATA_DEFAULT 0x00000000
58#define mmTHM_TMON0_RDIR4_DATA_DEFAULT 0x00000000
59#define mmTHM_TMON0_RDIR5_DATA_DEFAULT 0x00000000
60#define mmTHM_TMON0_RDIR6_DATA_DEFAULT 0x00000000
61#define mmTHM_TMON0_RDIR7_DATA_DEFAULT 0x00000000
62#define mmTHM_TMON0_RDIR8_DATA_DEFAULT 0x00000000
63#define mmTHM_TMON0_RDIR9_DATA_DEFAULT 0x00000000
64#define mmTHM_TMON0_RDIR10_DATA_DEFAULT 0x00000000
65#define mmTHM_TMON0_RDIR11_DATA_DEFAULT 0x00000000
66#define mmTHM_TMON0_RDIR12_DATA_DEFAULT 0x00000000
67#define mmTHM_TMON0_RDIR13_DATA_DEFAULT 0x00000000
68#define mmTHM_TMON0_RDIR14_DATA_DEFAULT 0x00000000
69#define mmTHM_TMON0_RDIR15_DATA_DEFAULT 0x00000000
70#define mmTHM_TMON0_INT_DATA_DEFAULT 0x00000000
71#define mmTHM_TMON0_DEBUG_DEFAULT 0x00000000
72#define mmTHM_TMON1_RDIL0_DATA_DEFAULT 0x00000000
73#define mmTHM_TMON1_RDIL1_DATA_DEFAULT 0x00000000
74#define mmTHM_TMON1_RDIL2_DATA_DEFAULT 0x00000000
75#define mmTHM_TMON1_RDIL3_DATA_DEFAULT 0x00000000
76#define mmTHM_TMON1_RDIL4_DATA_DEFAULT 0x00000000
77#define mmTHM_TMON1_RDIL5_DATA_DEFAULT 0x00000000
78#define mmTHM_TMON1_RDIL6_DATA_DEFAULT 0x00000000
79#define mmTHM_TMON1_RDIL7_DATA_DEFAULT 0x00000000
80#define mmTHM_TMON1_RDIL8_DATA_DEFAULT 0x00000000
81#define mmTHM_TMON1_RDIL9_DATA_DEFAULT 0x00000000
82#define mmTHM_TMON1_RDIL10_DATA_DEFAULT 0x00000000
83#define mmTHM_TMON1_RDIL11_DATA_DEFAULT 0x00000000
84#define mmTHM_TMON1_RDIL12_DATA_DEFAULT 0x00000000
85#define mmTHM_TMON1_RDIL13_DATA_DEFAULT 0x00000000
86#define mmTHM_TMON1_RDIL14_DATA_DEFAULT 0x00000000
87#define mmTHM_TMON1_RDIL15_DATA_DEFAULT 0x00000000
88#define mmTHM_TMON1_RDIR0_DATA_DEFAULT 0x00000000
89#define mmTHM_TMON1_RDIR1_DATA_DEFAULT 0x00000000
90#define mmTHM_TMON1_RDIR2_DATA_DEFAULT 0x00000000
91#define mmTHM_TMON1_RDIR3_DATA_DEFAULT 0x00000000
92#define mmTHM_TMON1_RDIR4_DATA_DEFAULT 0x00000000
93#define mmTHM_TMON1_RDIR5_DATA_DEFAULT 0x00000000
94#define mmTHM_TMON1_RDIR6_DATA_DEFAULT 0x00000000
95#define mmTHM_TMON1_RDIR7_DATA_DEFAULT 0x00000000
96#define mmTHM_TMON1_RDIR8_DATA_DEFAULT 0x00000000
97#define mmTHM_TMON1_RDIR9_DATA_DEFAULT 0x00000000
98#define mmTHM_TMON1_RDIR10_DATA_DEFAULT 0x00000000
99#define mmTHM_TMON1_RDIR11_DATA_DEFAULT 0x00000000
100#define mmTHM_TMON1_RDIR12_DATA_DEFAULT 0x00000000
101#define mmTHM_TMON1_RDIR13_DATA_DEFAULT 0x00000000
102#define mmTHM_TMON1_RDIR14_DATA_DEFAULT 0x00000000
103#define mmTHM_TMON1_RDIR15_DATA_DEFAULT 0x00000000
104#define mmTHM_TMON1_INT_DATA_DEFAULT 0x00000000
105#define mmTHM_TMON1_DEBUG_DEFAULT 0x00000000
106#define mmTHM_DIE1_TEMP_DEFAULT 0x00000000
107#define mmTHM_DIE2_TEMP_DEFAULT 0x00000000
108#define mmTHM_DIE3_TEMP_DEFAULT 0x00000000
109#define mmCG_MULT_THERMAL_CTRL_DEFAULT 0x08400001
110#define mmCG_MULT_THERMAL_STATUS_DEFAULT 0x00000000
111#define mmTHM_TMON0_COEFF_DEFAULT 0x00024068
112#define mmTHM_TMON1_COEFF_DEFAULT 0x00024068
113#define mmCG_FDO_CTRL0_DEFAULT 0x0000642c
114#define mmCG_FDO_CTRL1_DEFAULT 0x001e1f7d
115#define mmCG_FDO_CTRL2_DEFAULT 0x02bf0228
116#define mmCG_TACH_CTRL_DEFAULT 0x00008002
117#define mmCG_TACH_STATUS_DEFAULT 0x00000000
118#define mmCG_THERMAL_STATUS_DEFAULT 0x00000000
119#define mmCG_PUMP_CTRL0_DEFAULT 0x0000642c
120#define mmCG_PUMP_CTRL1_DEFAULT 0x001e1f7d
121#define mmCG_PUMP_CTRL2_DEFAULT 0x02bf0228
122#define mmCG_PUMP_TACH_CTRL_DEFAULT 0x00008002
123#define mmCG_PUMP_TACH_STATUS_DEFAULT 0x00000000
124#define mmCG_PUMP_STATUS_DEFAULT 0x00000000
125#define mmTHM_TCON_LOCAL0_DEFAULT 0x00000000
126#define mmTHM_TCON_LOCAL1_DEFAULT 0x00000000
127#define mmTHM_TCON_LOCAL2_DEFAULT 0x00000060
128#define mmTHM_TCON_LOCAL3_DEFAULT 0x00000000
129#define mmTHM_TCON_LOCAL4_DEFAULT 0x00000000
130#define mmTHM_TCON_LOCAL5_DEFAULT 0x00000000
131#define mmTHM_TCON_LOCAL6_DEFAULT 0x00000000
132#define mmTHM_TCON_LOCAL7_DEFAULT 0x00000000
133#define mmTHM_TCON_LOCAL8_DEFAULT 0x00000000
134#define mmTHM_TCON_LOCAL9_DEFAULT 0x00000000
135#define mmTHM_TCON_LOCAL10_DEFAULT 0x00000000
136#define mmTHM_TCON_LOCAL11_DEFAULT 0x00000000
137#define mmTHM_TCON_LOCAL12_DEFAULT 0x00000000
138#define mmTHM_TCON_LOCAL13_DEFAULT 0x00000000
139#define mmTHM_BACO_CNTL_DEFAULT 0x00000004
140#define mmTHM_BACO_TIMING0_DEFAULT 0x80a06050
141#define mmTHM_BACO_TIMING1_DEFAULT 0x1020f070
142#define mmXTAL_CNTL_DEFAULT 0x00006010
143#define mmSBTSI_REMOTE_TEMP_DEFAULT 0x00000000
144#define mmSBRMI_CONTROL_DEFAULT 0x00000000
145#define mmSBRMI_COMMAND_DEFAULT 0x00000000
146#define mmSBRMI_WRITE_DATA0_DEFAULT 0x00000000
147#define mmSBRMI_WRITE_DATA1_DEFAULT 0x00000000
148#define mmSBRMI_WRITE_DATA2_DEFAULT 0x00000000
149#define mmSBRMI_READ_DATA0_DEFAULT 0x00000000
150#define mmSBRMI_READ_DATA1_DEFAULT 0x00000000
151#define mmSBRMI_CORE_EN_NUMBER_DEFAULT 0x00000010
152#define mmSBRMI_CORE_EN_STATUS0_DEFAULT 0x00000000
153#define mmSBRMI_CORE_EN_STATUS1_DEFAULT 0x00000000
154#define mmSBRMI_APIC_STATUS0_DEFAULT 0x00000000
155#define mmSBRMI_APIC_STATUS1_DEFAULT 0x00000000
156#define mmSBRMI_MCE_STATUS0_DEFAULT 0x00000000
157#define mmSBRMI_MCE_STATUS1_DEFAULT 0x00000000
158#define mmSMBUS_CNTL0_DEFAULT 0x00030082
159#define mmSMBUS_CNTL1_DEFAULT 0x0000063f
160#define mmSMBUS_BLKWR_CMD_CTRL0_DEFAULT 0x12110201
161#define mmSMBUS_BLKWR_CMD_CTRL1_DEFAULT 0x0003005a
162#define mmSMBUS_BLKRD_CMD_CTRL0_DEFAULT 0x00001303
163#define mmSMBUS_BLKRD_CMD_CTRL1_DEFAULT 0x00000000
164#define mmSMBUS_TIMING_CNTL0_DEFAULT 0x028a4f5c
165#define mmSMBUS_TIMING_CNTL1_DEFAULT 0x08036927
166#define mmSMBUS_TIMING_CNTL2_DEFAULT 0x0021e548
167#define mmSMBUS_TRIGGER_CNTL_DEFAULT 0x00000000
168#define mmSMBUS_UDID_CNTL0_DEFAULT 0x7fffffff
169#define mmSMBUS_UDID_CNTL1_DEFAULT 0x00000000
170#define mmSMBUS_UDID_CNTL2_DEFAULT 0x00000043
171#define mmSMBUS_BACO_DUMMY_DEFAULT 0x00000000
172#define mmSMBUS_BACO_ADDR_RANGE0_LOW_DEFAULT 0x00000000
173#define mmSMBUS_BACO_ADDR_RANGE0_HIGH_DEFAULT 0x00000000
174#define mmSMBUS_BACO_ADDR_RANGE1_LOW_DEFAULT 0x00000000
175#define mmSMBUS_BACO_ADDR_RANGE1_HIGH_DEFAULT 0x00000000
176#define mmSMBUS_BACO_ADDR_RANGE2_LOW_DEFAULT 0x00000000
177#define mmSMBUS_BACO_ADDR_RANGE2_HIGH_DEFAULT 0x00000000
178#define mmSMBUS_BACO_ADDR_RANGE3_LOW_DEFAULT 0x00000000
179#define mmSMBUS_BACO_ADDR_RANGE3_HIGH_DEFAULT 0x00000000
180#define mmSMBUS_BACO_ADDR_RANGE4_LOW_DEFAULT 0x00000000
181#define mmSMBUS_BACO_ADDR_RANGE4_HIGH_DEFAULT 0x00000000
182#define mmTHM_GPIO_MACO_EN_CTRL_DEFAULT 0x000000f9
183#define mmTHM_BACO_TIMING2_DEFAULT 0x00903040
184#define mmTHM_BACO_TIMING_DEFAULT 0x00000a8c
185#define mmTHM_TMON0_REMOTE_START_DEFAULT 0x00000000
186#define mmTHM_TMON0_REMOTE_END_DEFAULT 0x00000000
187#define mmTHM_TMON1_REMOTE_START_DEFAULT 0x00000000
188#define mmTHM_TMON1_REMOTE_END_DEFAULT 0x00000000
189#define mmTHM_TMON2_REMOTE_START_DEFAULT 0x00000000
190#define mmTHM_TMON2_REMOTE_END_DEFAULT 0x00000000
191#define mmTHM_TMON3_REMOTE_START_DEFAULT 0x00000000
192#define mmTHM_TMON3_REMOTE_END_DEFAULT 0x00000000
193
194#endif
195

Warning: This file is not a C or C++ file. It does not have highlighting.

source code of linux/drivers/gpu/drm/amd/include/asic_reg/thm/thm_9_0_default.h