summaryrefslogtreecommitdiff
path: root/arch/mips/include/asm/cm.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/include/asm/cm.h')
-rw-r--r--arch/mips/include/asm/cm.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/arch/mips/include/asm/cm.h b/arch/mips/include/asm/cm.h
new file mode 100644
index 0000000000..0261733826
--- /dev/null
+++ b/arch/mips/include/asm/cm.h
@@ -0,0 +1,19 @@
+/*
+ * MIPS Coherence Manager (CM) Register Definitions
+ *
+ * Copyright (c) 2016 Imagination Technologies Ltd.
+ *
+ * SPDX-License-Identifier: GPL-2.0+
+ */
+#ifndef __MIPS_ASM_CM_H__
+#define __MIPS_ASM_CM_H__
+
+/* Global Control Register (GCR) offsets */
+#define GCR_BASE 0x0008
+#define GCR_BASE_UPPER 0x000c
+#define GCR_REV 0x0030
+
+/* GCR_REV CM versions */
+#define GCR_REV_CM3 0x0800
+
+#endif /* __MIPS_ASM_CM_H__ */