]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
mx35: Add definitions for clock gate values
authorBenoît Thébaudeau <benoit.thebaudeau@advansee.com>
Tue, 14 Aug 2012 10:33:06 +0000 (10:33 +0000)
committerStefano Babic <sbabic@denx.de>
Thu, 6 Sep 2012 09:04:53 +0000 (11:04 +0200)
Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
Cc: Stefano Babic <sbabic@denx.de>
arch/arm/include/asm/arch-mx35/crm_regs.h

index 7a2d1bbbf10c830892ef8b1b4cb58dc50c17435d..fa71dead30088716aea80c18b29bc773f8ffe787 100644 (file)
 #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