summaryrefslogtreecommitdiffstats
path: root/arch/ppc/boards/pcm030/pcm030.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/ppc/boards/pcm030/pcm030.c')
-rw-r--r--arch/ppc/boards/pcm030/pcm030.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/ppc/boards/pcm030/pcm030.c b/arch/ppc/boards/pcm030/pcm030.c
index a7fa21d173..c1b0c3fb85 100644
--- a/arch/ppc/boards/pcm030/pcm030.c
+++ b/arch/ppc/boards/pcm030/pcm030.c
@@ -32,6 +32,7 @@
#include <memory.h>
#include <linux/sizes.h>
#include <linux/stat.h>
+#include <asm/io.h>
#include <fs.h>
static struct fec_platform_data fec_info = {
@@ -145,6 +146,12 @@ void initdram (int board_type)
*(vu_long *)MPC5XXX_CS_BURST = 0x00000000;
*(vu_long *)MPC5XXX_CS_DEADCYCLE = 0x33333333;
+ /*
+ * Make USB work due to the special base crystal frequency:
+ * 33,3330MHz * 16 = 533,328MHz main clock, but should be 528 MHz Clock
+ */
+ out_be32((void *)MPC5XXX_CDM_48_FDC, 0x00015555);
+
mpc5200_setup_bus_clocks(1, 4);
if (get_pc() > SZ_128M) {