]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: at91: add secumod register definitions
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Wed, 21 Sep 2016 22:09:35 +0000 (00:09 +0200)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Mon, 7 Nov 2016 22:43:27 +0000 (23:43 +0100)
Add registers and bits definitions for the security module found on
sama5d2.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
include/soc/at91/atmel-secumod.h [new file with mode: 0644]

diff --git a/include/soc/at91/atmel-secumod.h b/include/soc/at91/atmel-secumod.h
new file mode 100644 (file)
index 0000000..22cd5d5
--- /dev/null
@@ -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 */