diff options
author | Benoît Thébaudeau <benoit.thebaudeau@advansee.com> | 2012-08-14 10:33:06 +0000 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2012-09-06 11:04:53 +0200 |
commit | 9ba81baabb3c370af9548348c24d326039589e7f (patch) | |
tree | ab83081c6e4cf033a02bc03f4427d6e8df1a3849 /arch/arm | |
parent | e7619554173a9d9f72dc19f97a804afea135f07f (diff) | |
download | u-boot-imx-9ba81baabb3c370af9548348c24d326039589e7f.zip u-boot-imx-9ba81baabb3c370af9548348c24d326039589e7f.tar.gz u-boot-imx-9ba81baabb3c370af9548348c24d326039589e7f.tar.bz2 |
mx35: Add definitions for clock gate values
Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
Cc: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/include/asm/arch-mx35/crm_regs.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-mx35/crm_regs.h b/arch/arm/include/asm/arch-mx35/crm_regs.h index 7a2d1bb..fa71dea 100644 --- a/arch/arm/include/asm/arch-mx35/crm_regs.h +++ b/arch/arm/include/asm/arch-mx35/crm_regs.h @@ -144,6 +144,12 @@ #define MXC_CCM_ACMR_SSI2_CLK_SEL_MASK (0xF << 0) /* Bit definitions for Clock gating Register*/ +#define MXC_CCM_CGR_CG_MASK 0x3 +#define MXC_CCM_CGR_CG_OFF 0x0 +#define MXC_CCM_CGR_CG_RUN_ON 0x1 +#define MXC_CCM_CGR_CG_RUN_WAIT_ON 0x2 +#define MXC_CCM_CGR_CG_ON 0x3 + #define MXC_CCM_CGR0_ASRC_OFFSET 0 #define MXC_CCM_CGR0_ASRC_MASK (0x3 << 0) #define MXC_CCM_CGR0_ATA_OFFSET 2 |