summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/include/mach/imx6-ccm-regs.h
diff options
context:
space:
mode:
authorLucas Stach <l.stach@pengutronix.de>2014-08-12 18:05:51 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2014-09-01 14:24:51 +0200
commitce8ed79d56a7d124e0d7a8ba5d013d2546af6ebf (patch)
treec1dc5e13ebb35b0cfec6d5ae438ea94bbb3f6f80 /arch/arm/mach-imx/include/mach/imx6-ccm-regs.h
parent75359aaafc0283d81e8b4be1da1179f50a09d3a4 (diff)
downloadbarebox-ce8ed79d56a7d124e0d7a8ba5d013d2546af6ebf.tar.gz
barebox-ce8ed79d56a7d124e0d7a8ba5d013d2546af6ebf.tar.xz
arm: mach-imx: add MMDC and CCM register defines for use in DCD
Makes .imxcfg files a lot more readable. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-imx/include/mach/imx6-ccm-regs.h')
-rw-r--r--arch/arm/mach-imx/include/mach/imx6-ccm-regs.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/include/mach/imx6-ccm-regs.h b/arch/arm/mach-imx/include/mach/imx6-ccm-regs.h
new file mode 100644
index 0000000000..099d5621de
--- /dev/null
+++ b/arch/arm/mach-imx/include/mach/imx6-ccm-regs.h
@@ -0,0 +1,24 @@
+/*
+ * Copyright (C) Freescale Semiconductor, Inc.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; either version 2 of
+ * the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ */
+
+#define MX6_CCM_CCOSR 0x020c4060
+#define MX6_CCM_CCGR0 0x020C4068
+#define MX6_CCM_CCGR1 0x020C406c
+#define MX6_CCM_CCGR2 0x020C4070
+#define MX6_CCM_CCGR3 0x020C4074
+#define MX6_CCM_CCGR4 0x020C4078
+#define MX6_CCM_CCGR5 0x020C407c
+#define MX6_CCM_CCGR6 0x020C4080
+
+#define MX6_PMU_MISC2 0x020C8170