]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
i.MX6: define bitfields for CHSCCDR register
authorEric Nelson <eric.nelson@boundarydevices.com>
Wed, 19 Sep 2012 08:33:50 +0000 (08:33 +0000)
committerTom Rini <trini@ti.com>
Mon, 15 Oct 2012 18:54:09 +0000 (11:54 -0700)
Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
arch/arm/include/asm/arch-mx6/crm_regs.h

index f066461b650e038d793a19af634a22734b1c0242..d670f30c02b91174d8717c9446f09ffef2612bc7 100644 (file)
@@ -294,6 +294,10 @@ struct mxc_ccm_reg {
 #define MXC_CCM_CHSCCDR_IPU1_DI0_CLK_SEL_MASK          (0x7)
 #define MXC_CCM_CHSCCDR_IPU1_DI0_CLK_SEL_OFFSET                0
 
+#define CHSCCDR_CLK_SEL_LDB_DI0                                3
+#define CHSCCDR_PODF_DIVIDE_BY_3                       2
+#define CHSCCDR_IPU_PRE_CLK_540M_PFD                   5
+
 /* Define the bits in register CSCDR2 */
 #define MXC_CCM_CSCDR2_ECSPI_CLK_PODF_MASK             (0x3F << 19)
 #define MXC_CCM_CSCDR2_ECSPI_CLK_PODF_OFFSET           19