linux/arch/powerpc
Anton Vorontsov 1a9ebc0cd2 [POWERPC] 83xx: mpc8315 - fix USB UTMI Host setup
Currently USB Host isn't functional on the MPC8315E boards, for two
reasons as described below.

MPC8315 Reference Manual says:
"The USB DR unit must have the same clock ratio as the encryption core
unit, unless one of them has its clock disabled."

The encryption core also drives I2C clock, so it is enabled and is equal
to 01. That means USBDRCM should be 01 here.

Plus, according to MPC8315E-RDB schematics, USB unit consumes CLK_IN
clock from the 24.00MHz oscillator, which means we must adjust REFSEL
bits as well.

p.s.
Idially we should rework whole 83xx/usb.c code, in two steps:
1. Move SCCR code to the U-Boot;
2. Implement fsl,usb-clock property in the device tree, so usb.c could
   decide what clock exactly to use on per-board basis.

Though, today we're not in a hurry since there is just one 8315e board
out there.

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2008-04-17 09:52:50 -05:00
..
boot [POWERPC] 85xx: Fix the size of qe muram for MPC8568E 2008-04-17 09:52:18 -05:00
configs [POWERPC] 83xx: Enable FCM NAND and OF partitions in defconfig 2008-04-17 01:01:41 -05:00
kernel [POWERPC] Make Book-E debug handling SMP safe 2008-04-17 01:01:40 -05:00
lib [POWERPC] Make rheap safe for spinlocks 2008-04-17 09:50:38 -05:00
math-emu [POWERPC] Replace remaining __FUNCTION__ occurrences 2008-04-01 20:43:09 +11:00
mm [POWERPC] Remove unused machine call outs 2008-04-17 10:01:00 +10:00
oprofile Merge branch 'linux-2.6' 2008-04-14 21:11:02 +10:00
platforms [POWERPC] 83xx: mpc8315 - fix USB UTMI Host setup 2008-04-17 09:52:50 -05:00
sysdev [POWERPC] fsl_soc: Factor fsl_get_sys_freq() out of the wdt and spi inits. 2008-04-17 01:01:40 -05:00
xmon [POWERPC] iSeries: Make iseries_reg_save private to iSeries 2008-04-15 21:21:25 +10:00
.gitignore [POWERPC] Add files build to .gitignore 2006-12-04 20:41:29 +11:00
Kconfig [POWERPC] fsl_lbc: implement few UPM routines 2008-04-17 01:01:38 -05:00
Kconfig.debug [POWERPC] cpm-serial: Relocate CPM buffer descriptors and SMC parameter ram. 2008-04-17 01:01:37 -05:00
Makefile [POWERPC] Provide access to arch/powerpc include path on ppc64 2008-04-17 07:46:12 +10:00