summaryrefslogtreecommitdiff
path: root/arch/arm/include
diff options
context:
space:
mode:
authorEric Nelson <eric.nelson@boundarydevices.com>2013-02-19 10:07:02 +0000
committerStefano Babic <sbabic@denx.de>2013-03-07 16:43:46 +0100
commit4f60c49a70a1201c2365651dc5dcb76503b58cf3 (patch)
treec900b0de0cbdd045320a33d44548afe72f01824c /arch/arm/include
parentcfb8b9d3351ebb519f9c27e0aeba814e7c81ee85 (diff)
downloadu-boot-imx-4f60c49a70a1201c2365651dc5dcb76503b58cf3.zip
u-boot-imx-4f60c49a70a1201c2365651dc5dcb76503b58cf3.tar.gz
u-boot-imx-4f60c49a70a1201c2365651dc5dcb76503b58cf3.tar.bz2
i.MX6: crm_regs: define CCM_CCGRx for use in board config files
Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
Diffstat (limited to 'arch/arm/include')
-rw-r--r--arch/arm/include/asm/arch-mx6/crm_regs.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-mx6/crm_regs.h b/arch/arm/include/asm/arch-mx6/crm_regs.h
index d670f30..7676457 100644
--- a/arch/arm/include/asm/arch-mx6/crm_regs.h
+++ b/arch/arm/include/asm/arch-mx6/crm_regs.h
@@ -20,6 +20,17 @@
#ifndef __ARCH_ARM_MACH_MX6_CCM_REGS_H__
#define __ARCH_ARM_MACH_MX6_CCM_REGS_H__
+#define CCM_CCGR0 0x020C4068
+#define CCM_CCGR1 0x020C406c
+#define CCM_CCGR2 0x020C4070
+#define CCM_CCGR3 0x020C4074
+#define CCM_CCGR4 0x020C4078
+#define CCM_CCGR5 0x020C407c
+#define CCM_CCGR6 0x020C4080
+
+#define PMU_MISC2 0x020C8170
+
+#ifndef __ASSEMBLY__
struct mxc_ccm_reg {
u32 ccr; /* 0x0000 */
u32 ccdr;
@@ -105,6 +116,7 @@ struct mxc_ccm_reg {
u32 analog_pfd_528_clr;
u32 analog_pfd_528_tog;
};
+#endif
/* Define the bits in register CCR */
#define MXC_CCM_CCR_RBC_EN (1 << 27)