summaryrefslogtreecommitdiff
path: root/include/asm-arm/arch-mx53/mx53.h
diff options
context:
space:
mode:
authorTerry Lv <r65388@freescale.com>2011-08-24 16:15:47 +0800
committerTerry Lv <r65388@freescale.com>2011-09-01 13:57:21 +0800
commit7db399587fe4cd8d0e77491e9b2fad47c0a82be2 (patch)
tree7c4b34e73aff3607eb7dec6ea522203da355f5b3 /include/asm-arm/arch-mx53/mx53.h
parentea7a4199586b4b9cd9a4e13c0e420a4e1699a297 (diff)
downloadu-boot-imx-7db399587fe4cd8d0e77491e9b2fad47c0a82be2.zip
u-boot-imx-7db399587fe4cd8d0e77491e9b2fad47c0a82be2.tar.gz
u-boot-imx-7db399587fe4cd8d0e77491e9b2fad47c0a82be2.tar.bz2
ENGR00155283: Set dpgdck0_2_en to 0 when freq is lower than 300MHz
1. Set dpgdck0_2_en to 0 when required freq is lower than 300Mhz. 2. When dpgdck0_2_en is 0, the formula to calculate output freq will be changed to 2 * freq * []. Signed-off-by: Terry Lv <r65388@freescale.com>
Diffstat (limited to 'include/asm-arm/arch-mx53/mx53.h')
-rw-r--r--include/asm-arm/arch-mx53/mx53.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/include/asm-arm/arch-mx53/mx53.h b/include/asm-arm/arch-mx53/mx53.h
index 6e02fc9..a0b1a78 100644
--- a/include/asm-arm/arch-mx53/mx53.h
+++ b/include/asm-arm/arch-mx53/mx53.h
@@ -388,17 +388,20 @@
#define DP_MFD_532 (24 - 1)
#define DP_MFN_532 13
-#define DP_OP_455 ((8 << 4) + ((2 - 1) << 0))
+#define DP_OP_455 ((9 << 4) + ((2 - 1) << 0))
#define DP_MFD_455 (48 - 1)
-#define DP_MFN_455 71
+#define DP_MFN_455 23
#define DP_OP_400 ((8 << 4) + ((2 - 1) << 0))
#define DP_MFD_400 (3 - 1)
#define DP_MFN_400 1
-#define DP_OP_216 ((6 << 4) + ((3 - 1) << 0))
-#define DP_MFD_216 (4 - 1)
-#define DP_MFN_216 3
+/* For freq lower than 300MHz, dpgdck0_2_en is 0.
+ * Thus the parameters is for 432MHz.
+ */
+#define DP_OP_216 ((8 << 4) + ((2 - 1) << 0))
+#define DP_MFD_216 (1 - 1)
+#define DP_MFN_216 1
#define PLL_DP_CTL 0x00
#define PLL_DP_CONFIG 0x04