1*b843c749SSergey Zigachev /*
2*b843c749SSergey Zigachev  * Copyright (C) 2018  Advanced Micro Devices, Inc.
3*b843c749SSergey Zigachev  *
4*b843c749SSergey Zigachev  * Permission is hereby granted, free of charge, to any person obtaining a
5*b843c749SSergey Zigachev  * copy of this software and associated documentation files (the "Software"),
6*b843c749SSergey Zigachev  * to deal in the Software without restriction, including without limitation
7*b843c749SSergey Zigachev  * the rights to use, copy, modify, merge, publish, distribute, sublicense,
8*b843c749SSergey Zigachev  * and/or sell copies of the Software, and to permit persons to whom the
9*b843c749SSergey Zigachev  * Software is furnished to do so, subject to the following conditions:
10*b843c749SSergey Zigachev  *
11*b843c749SSergey Zigachev  * The above copyright notice and this permission notice shall be included
12*b843c749SSergey Zigachev  * in all copies or substantial portions of the Software.
13*b843c749SSergey Zigachev  *
14*b843c749SSergey Zigachev  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
15*b843c749SSergey Zigachev  * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16*b843c749SSergey Zigachev  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
17*b843c749SSergey Zigachev  * THE COPYRIGHT HOLDER(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
18*b843c749SSergey Zigachev  * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
19*b843c749SSergey Zigachev  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
20*b843c749SSergey Zigachev  */
21*b843c749SSergey Zigachev #ifndef _df_1_7_SH_MASK_HEADER
22*b843c749SSergey Zigachev #define _df_1_7_SH_MASK_HEADER
23*b843c749SSergey Zigachev 
24*b843c749SSergey Zigachev /* FabricConfigAccessControl */
25*b843c749SSergey Zigachev #define FabricConfigAccessControl__CfgRegInstAccEn__SHIFT						0x0
26*b843c749SSergey Zigachev #define FabricConfigAccessControl__CfgRegInstAccRegLock__SHIFT						0x1
27*b843c749SSergey Zigachev #define FabricConfigAccessControl__CfgRegInstID__SHIFT							0x10
28*b843c749SSergey Zigachev #define FabricConfigAccessControl__CfgRegInstAccEn_MASK							0x00000001L
29*b843c749SSergey Zigachev #define FabricConfigAccessControl__CfgRegInstAccRegLock_MASK						0x00000002L
30*b843c749SSergey Zigachev #define FabricConfigAccessControl__CfgRegInstID_MASK							0x00FF0000L
31*b843c749SSergey Zigachev 
32*b843c749SSergey Zigachev /* DF_PIE_AON0_DfGlobalClkGater */
33*b843c749SSergey Zigachev #define DF_PIE_AON0_DfGlobalClkGater__MGCGMode__SHIFT							0x0
34*b843c749SSergey Zigachev #define DF_PIE_AON0_DfGlobalClkGater__MGCGMode_MASK							0x0000000FL
35*b843c749SSergey Zigachev 
36*b843c749SSergey Zigachev /* DF_CS_AON0_DramBaseAddress0 */
37*b843c749SSergey Zigachev #define DF_CS_AON0_DramBaseAddress0__AddrRngVal__SHIFT							0x0
38*b843c749SSergey Zigachev #define DF_CS_AON0_DramBaseAddress0__LgcyMmioHoleEn__SHIFT						0x1
39*b843c749SSergey Zigachev #define DF_CS_AON0_DramBaseAddress0__IntLvNumChan__SHIFT						0x4
40*b843c749SSergey Zigachev #define DF_CS_AON0_DramBaseAddress0__IntLvAddrSel__SHIFT						0x8
41*b843c749SSergey Zigachev #define DF_CS_AON0_DramBaseAddress0__DramBaseAddr__SHIFT						0xc
42*b843c749SSergey Zigachev #define DF_CS_AON0_DramBaseAddress0__AddrRngVal_MASK							0x00000001L
43*b843c749SSergey Zigachev #define DF_CS_AON0_DramBaseAddress0__LgcyMmioHoleEn_MASK						0x00000002L
44*b843c749SSergey Zigachev #define DF_CS_AON0_DramBaseAddress0__IntLvNumChan_MASK							0x000000F0L
45*b843c749SSergey Zigachev #define DF_CS_AON0_DramBaseAddress0__IntLvAddrSel_MASK							0x00000700L
46*b843c749SSergey Zigachev #define DF_CS_AON0_DramBaseAddress0__DramBaseAddr_MASK							0xFFFFF000L
47*b843c749SSergey Zigachev 
48*b843c749SSergey Zigachev //DF_CS_AON0_CoherentSlaveModeCtrlA0
49*b843c749SSergey Zigachev #define DF_CS_AON0_CoherentSlaveModeCtrlA0__ForceParWrRMW__SHIFT					0x3
50*b843c749SSergey Zigachev #define DF_CS_AON0_CoherentSlaveModeCtrlA0__ForceParWrRMW_MASK						0x00000008L
51*b843c749SSergey Zigachev 
52*b843c749SSergey Zigachev #endif
53