summaryrefslogtreecommitdiffstats
path: root/include/soc
diff options
context:
space:
mode:
authorHoria Geantă <horia.geanta@nxp.com>2017-03-17 12:05:57 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2017-03-24 22:02:56 +0800
commit329d09089c473cd49e131dae1a292e319dc0d91a (patch)
tree1992a718bc59610239c07b1595782a4746a2fb9c /include/soc
parent1662e9319b999402d450a2dbaefc49752986a46b (diff)
downloadlinux-329d09089c473cd49e131dae1a292e319dc0d91a.tar.bz2
soc/qman: add dedicated channel ID for CAAM
Add and export the ID of the channel serviced by the CAAM (Cryptographic Acceleration and Assurance Module) DCP. Signed-off-by: Horia Geantă <horia.geanta@nxp.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/soc')
-rw-r--r--include/soc/fsl/qman.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/soc/fsl/qman.h b/include/soc/fsl/qman.h
index 4de1ffcc8982..10b549783ec5 100644
--- a/include/soc/fsl/qman.h
+++ b/include/soc/fsl/qman.h
@@ -36,8 +36,11 @@
/* Hardware constants */
#define QM_CHANNEL_SWPORTAL0 0
#define QMAN_CHANNEL_POOL1 0x21
+#define QMAN_CHANNEL_CAAM 0x80
#define QMAN_CHANNEL_POOL1_REV3 0x401
+#define QMAN_CHANNEL_CAAM_REV3 0x840
extern u16 qm_channel_pool1;
+extern u16 qm_channel_caam;
/* Portal processing (interrupt) sources */
#define QM_PIRQ_CSCI 0x00100000 /* Congestion State Change */