summaryrefslogtreecommitdiff
path: root/plat/imx/imx8qm/include/sec_rsrc.h
blob: e77a4bd9e30027ff5a37f0699ff16af03a2772a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/*
 * Copyright 2017 NXP
 *
 * SPDX-License-Identifier: BSD-3-Clause
 */

/* Include file detailing the resource partitioning for ATF */

/* resources that are going to stay in secure partition */
sc_rsrc_t secure_rsrcs[] = {
  SC_R_MU_0A,
  SC_R_A53,
  SC_R_A53_0,
  SC_R_A53_1,
  SC_R_A53_2,
  SC_R_A53_3,
  SC_R_A72,
  SC_R_A72_0,
  SC_R_A72_1,
  SC_R_GIC,
  SC_R_GIC_SMMU,
  SC_R_CCI,
  SC_R_SYSTEM,
#ifdef SPD_trusty
  SC_R_CAAM_JR2,
  SC_R_CAAM_JR2_OUT,
  SC_R_CAAM_JR3,
  SC_R_CAAM_JR3_OUT,
#endif
  SC_R_IRQSTR_SCU2
};

/* resources that have register access for non-secure domain */
sc_rsrc_t ns_access_allowed[] = {
  SC_R_GIC,
  SC_R_GIC_SMMU,
  SC_R_CCI
};