]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
i.MX6: crm_regs: define CCM_CCGRx for use in board config files
authorEric Nelson <eric.nelson@boundarydevices.com>
Tue, 19 Feb 2013 10:07:02 +0000 (10:07 +0000)
committerStefano Babic <sbabic@denx.de>
Thu, 7 Mar 2013 15:43:46 +0000 (16:43 +0100)
Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
arch/arm/include/asm/arch-mx6/crm_regs.h

index d670f30c02b91174d8717c9446f09ffef2612bc7..76764571a700b9e7d64ef4ebb0b0d5c884a83b26 100644 (file)
 #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)