]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/arm/include/asm/arch-mx5/crm_regs.h
MX5: Modify the PLL decoding algorithm
[karo-tx-uboot.git] / arch / arm / include / asm / arch-mx5 / crm_regs.h
index 4ed8eb31c8a283ed6d46ff2fdb66b8dddcfd171c..fcc0e36fa5a66f9c532d70f1bef51084aebe7d6e 100644 (file)
@@ -200,4 +200,15 @@ struct mxc_ccm_reg {
 /* Define the bits in register CLPCR */
 #define MXC_CCM_CLPCR_BYPASS_IPU_LPM_HS                 (0x1 << 18)
 
+#define        MXC_DPLLC_CTL_HFSM                              (1 << 7)
+#define        MXC_DPLLC_CTL_DPDCK0_2_EN                       (1 << 12)
+
+#define        MXC_DPLLC_OP_PDF_MASK                           0xf
+#define        MXC_DPLLC_OP_MFI_MASK                           (0xf << 4)
+#define        MXC_DPLLC_OP_MFI_OFFSET                         4
+
+#define        MXC_DPLLC_MFD_MFD_MASK                          0x7ffffff
+
+#define        MXC_DPLLC_MFN_MFN_MASK                          0x7ffffff
+
 #endif                         /* __ARCH_ARM_MACH_MX51_CRM_REGS_H__ */