summaryrefslogtreecommitdiffstats
path: root/include/soc
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>2016-09-22 00:09:35 +0200
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>2016-11-07 23:43:27 +0100
commit35424042c0f3e4edec93e3a1c76a810cc21da95b (patch)
treeeb4fb828b7ea4f860969cf3c18906bd4fc58f25c /include/soc
parente07fd0f67a43966b05222e81c938bc20db11a91d (diff)
downloadlinux-35424042c0f3e4edec93e3a1c76a810cc21da95b.tar.bz2
ARM: at91: add secumod register definitions
Add registers and bits definitions for the security module found on sama5d2. Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'include/soc')
-rw-r--r--include/soc/at91/atmel-secumod.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/include/soc/at91/atmel-secumod.h b/include/soc/at91/atmel-secumod.h
new file mode 100644
index 000000000000..22cd5d506926
--- /dev/null
+++ b/include/soc/at91/atmel-secumod.h
@@ -0,0 +1,19 @@
+/*
+ * Atmel Security Module register offsets and bit definitions.
+ *
+ * Copyright (C) 2016 Atmel
+ *
+ * Author: Alexandre Belloni <alexandre.belloni@free-electrons.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#ifndef _LINUX_SOC_AT91_ATMEL_SECUMOD_H
+#define _LINUX_SOC_AT91_ATMEL_SECUMOD_H
+
+#define AT91_SECUMOD_RAMRDY 0x14
+#define AT91_SECUMOD_RAMRDY_READY BIT(0)
+
+#endif /* _LINUX_SOC_AT91_ATMEL_SECUMOD_H */