xref: /freebsd-src/sys/contrib/device-tree/include/dt-bindings/memory/tegra210-mc.h (revision 5def4c47d4bd90b209b9b4a4ba9faec15846d8fd)
1c66ec88fSEmmanuel Vadot /* SPDX-License-Identifier: GPL-2.0 */
2c66ec88fSEmmanuel Vadot #ifndef DT_BINDINGS_MEMORY_TEGRA210_MC_H
3c66ec88fSEmmanuel Vadot #define DT_BINDINGS_MEMORY_TEGRA210_MC_H
4c66ec88fSEmmanuel Vadot 
5c66ec88fSEmmanuel Vadot #define TEGRA_SWGROUP_PTC	0
6c66ec88fSEmmanuel Vadot #define TEGRA_SWGROUP_DC	1
7c66ec88fSEmmanuel Vadot #define TEGRA_SWGROUP_DCB	2
8c66ec88fSEmmanuel Vadot #define TEGRA_SWGROUP_AFI	3
9c66ec88fSEmmanuel Vadot #define TEGRA_SWGROUP_AVPC	4
10c66ec88fSEmmanuel Vadot #define TEGRA_SWGROUP_HDA	5
11c66ec88fSEmmanuel Vadot #define TEGRA_SWGROUP_HC	6
12c66ec88fSEmmanuel Vadot #define TEGRA_SWGROUP_NVENC	7
13c66ec88fSEmmanuel Vadot #define TEGRA_SWGROUP_PPCS	8
14c66ec88fSEmmanuel Vadot #define TEGRA_SWGROUP_SATA	9
15c66ec88fSEmmanuel Vadot #define TEGRA_SWGROUP_MPCORE	10
16c66ec88fSEmmanuel Vadot #define TEGRA_SWGROUP_ISP2	11
17c66ec88fSEmmanuel Vadot #define TEGRA_SWGROUP_XUSB_HOST	12
18c66ec88fSEmmanuel Vadot #define TEGRA_SWGROUP_XUSB_DEV	13
19c66ec88fSEmmanuel Vadot #define TEGRA_SWGROUP_ISP2B	14
20c66ec88fSEmmanuel Vadot #define TEGRA_SWGROUP_TSEC	15
21c66ec88fSEmmanuel Vadot #define TEGRA_SWGROUP_A9AVP	16
22c66ec88fSEmmanuel Vadot #define TEGRA_SWGROUP_GPU	17
23c66ec88fSEmmanuel Vadot #define TEGRA_SWGROUP_SDMMC1A	18
24c66ec88fSEmmanuel Vadot #define TEGRA_SWGROUP_SDMMC2A	19
25c66ec88fSEmmanuel Vadot #define TEGRA_SWGROUP_SDMMC3A	20
26c66ec88fSEmmanuel Vadot #define TEGRA_SWGROUP_SDMMC4A	21
27c66ec88fSEmmanuel Vadot #define TEGRA_SWGROUP_VIC	22
28c66ec88fSEmmanuel Vadot #define TEGRA_SWGROUP_VI	23
29c66ec88fSEmmanuel Vadot #define TEGRA_SWGROUP_NVDEC	24
30c66ec88fSEmmanuel Vadot #define TEGRA_SWGROUP_APE	25
31c66ec88fSEmmanuel Vadot #define TEGRA_SWGROUP_NVJPG	26
32c66ec88fSEmmanuel Vadot #define TEGRA_SWGROUP_SE	27
33c66ec88fSEmmanuel Vadot #define TEGRA_SWGROUP_AXIAP	28
34c66ec88fSEmmanuel Vadot #define TEGRA_SWGROUP_ETR	29
35c66ec88fSEmmanuel Vadot #define TEGRA_SWGROUP_TSECB	30
36*5def4c47SEmmanuel Vadot #define TEGRA_SWGROUP_NV	31
37*5def4c47SEmmanuel Vadot #define TEGRA_SWGROUP_NV2	32
38*5def4c47SEmmanuel Vadot #define TEGRA_SWGROUP_PPCS1	33
39*5def4c47SEmmanuel Vadot #define TEGRA_SWGROUP_DC1	34
40*5def4c47SEmmanuel Vadot #define TEGRA_SWGROUP_PPCS2	35
41*5def4c47SEmmanuel Vadot #define TEGRA_SWGROUP_HC1	36
42*5def4c47SEmmanuel Vadot #define TEGRA_SWGROUP_SE1	37
43*5def4c47SEmmanuel Vadot #define TEGRA_SWGROUP_TSEC1	38
44*5def4c47SEmmanuel Vadot #define TEGRA_SWGROUP_TSECB1	39
45*5def4c47SEmmanuel Vadot #define TEGRA_SWGROUP_NVDEC1	40
46c66ec88fSEmmanuel Vadot 
47c66ec88fSEmmanuel Vadot #define TEGRA210_MC_RESET_AFI		0
48c66ec88fSEmmanuel Vadot #define TEGRA210_MC_RESET_AVPC		1
49c66ec88fSEmmanuel Vadot #define TEGRA210_MC_RESET_DC		2
50c66ec88fSEmmanuel Vadot #define TEGRA210_MC_RESET_DCB		3
51c66ec88fSEmmanuel Vadot #define TEGRA210_MC_RESET_HC		4
52c66ec88fSEmmanuel Vadot #define TEGRA210_MC_RESET_HDA		5
53c66ec88fSEmmanuel Vadot #define TEGRA210_MC_RESET_ISP2		6
54c66ec88fSEmmanuel Vadot #define TEGRA210_MC_RESET_MPCORE	7
55c66ec88fSEmmanuel Vadot #define TEGRA210_MC_RESET_NVENC		8
56c66ec88fSEmmanuel Vadot #define TEGRA210_MC_RESET_PPCS		9
57c66ec88fSEmmanuel Vadot #define TEGRA210_MC_RESET_SATA		10
58c66ec88fSEmmanuel Vadot #define TEGRA210_MC_RESET_VI		11
59c66ec88fSEmmanuel Vadot #define TEGRA210_MC_RESET_VIC		12
60c66ec88fSEmmanuel Vadot #define TEGRA210_MC_RESET_XUSB_HOST	13
61c66ec88fSEmmanuel Vadot #define TEGRA210_MC_RESET_XUSB_DEV	14
62c66ec88fSEmmanuel Vadot #define TEGRA210_MC_RESET_A9AVP		15
63c66ec88fSEmmanuel Vadot #define TEGRA210_MC_RESET_TSEC		16
64c66ec88fSEmmanuel Vadot #define TEGRA210_MC_RESET_SDMMC1	17
65c66ec88fSEmmanuel Vadot #define TEGRA210_MC_RESET_SDMMC2	18
66c66ec88fSEmmanuel Vadot #define TEGRA210_MC_RESET_SDMMC3	19
67c66ec88fSEmmanuel Vadot #define TEGRA210_MC_RESET_SDMMC4	20
68c66ec88fSEmmanuel Vadot #define TEGRA210_MC_RESET_ISP2B		21
69c66ec88fSEmmanuel Vadot #define TEGRA210_MC_RESET_GPU		22
70c66ec88fSEmmanuel Vadot #define TEGRA210_MC_RESET_NVDEC		23
71c66ec88fSEmmanuel Vadot #define TEGRA210_MC_RESET_APE		24
72c66ec88fSEmmanuel Vadot #define TEGRA210_MC_RESET_SE		25
73c66ec88fSEmmanuel Vadot #define TEGRA210_MC_RESET_NVJPG		26
74c66ec88fSEmmanuel Vadot #define TEGRA210_MC_RESET_AXIAP		27
75c66ec88fSEmmanuel Vadot #define TEGRA210_MC_RESET_ETR		28
76c66ec88fSEmmanuel Vadot #define TEGRA210_MC_RESET_TSECB		29
77c66ec88fSEmmanuel Vadot 
78c66ec88fSEmmanuel Vadot #endif
79