acrn-kernel/arch/powerpc/platforms/83xx
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
..
Kconfig
Makefile
misc.c
mpc83xx.h [POWERPC] 83xx: mpc8315 - fix USB UTMI Host setup 2008-04-17 09:52:50 -05:00
mpc831x_rdb.c
mpc832x_mds.c
mpc832x_rdb.c
mpc834x_itx.c
mpc834x_mds.c
mpc836x_mds.c
mpc837x_mds.c
mpc837x_rdb.c [POWERPC] 83xx: mpc837x_rdb: add simple-bus compatible matching 2008-04-17 01:01:40 -05:00
pci.c
sbc834x.c
usb.c [POWERPC] 83xx: mpc8315 - fix USB UTMI Host setup 2008-04-17 09:52:50 -05:00