1c3859c14SThierry Reding /* SPDX-License-Identifier: (GPL-2.0 OR MIT) */
2*40efe139SSameer Pujar /* Copyright (c) 2018-2022, NVIDIA CORPORATION. All rights reserved. */
3c3859c14SThierry Reding 
4c3859c14SThierry Reding #ifndef DT_BINDINGS_MEMORY_TEGRA234_MC_H
5c3859c14SThierry Reding #define DT_BINDINGS_MEMORY_TEGRA234_MC_H
6c3859c14SThierry Reding 
7c3859c14SThierry Reding /* special clients */
8c3859c14SThierry Reding #define TEGRA234_SID_INVALID		0x00
9c3859c14SThierry Reding #define TEGRA234_SID_PASSTHROUGH	0x7f
10c3859c14SThierry Reding 
11*40efe139SSameer Pujar /* NISO0 stream IDs */
12*40efe139SSameer Pujar #define TEGRA234_SID_APE	0x02
13c3859c14SThierry Reding 
14c3859c14SThierry Reding /* NISO1 stream IDs */
15c3859c14SThierry Reding #define TEGRA234_SID_SDMMC4	0x02
16c3859c14SThierry Reding #define TEGRA234_SID_BPMP	0x10
17c3859c14SThierry Reding 
18c3859c14SThierry Reding /*
19c3859c14SThierry Reding  * memory client IDs
20c3859c14SThierry Reding  */
21c3859c14SThierry Reding 
22c3859c14SThierry Reding /* sdmmcd memory read client */
23c3859c14SThierry Reding #define TEGRA234_MEMORY_CLIENT_SDMMCRAB 0x63
24c3859c14SThierry Reding /* sdmmcd memory write client */
25c3859c14SThierry Reding #define TEGRA234_MEMORY_CLIENT_SDMMCWAB 0x67
26c3859c14SThierry Reding /* BPMP read client */
27c3859c14SThierry Reding #define TEGRA234_MEMORY_CLIENT_BPMPR 0x93
28c3859c14SThierry Reding /* BPMP write client */
29c3859c14SThierry Reding #define TEGRA234_MEMORY_CLIENT_BPMPW 0x94
30c3859c14SThierry Reding /* BPMPDMA read client */
31c3859c14SThierry Reding #define TEGRA234_MEMORY_CLIENT_BPMPDMAR 0x95
32c3859c14SThierry Reding /* BPMPDMA write client */
33c3859c14SThierry Reding #define TEGRA234_MEMORY_CLIENT_BPMPDMAW 0x96
34*40efe139SSameer Pujar /* APEDMA read client */
35*40efe139SSameer Pujar #define TEGRA234_MEMORY_CLIENT_APEDMAR 0x9f
36*40efe139SSameer Pujar /* APEDMA write client */
37*40efe139SSameer Pujar #define TEGRA234_MEMORY_CLIENT_APEDMAW 0xa0
38c3859c14SThierry Reding 
39c3859c14SThierry Reding #endif
40