original_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 [POWERPC] 83xx: rework platform Kconfig 2008-01-28 13:15:24 -06:00
Makefile [POWERPC] 83xx: add MPC837x RDB platform support 2008-01-28 08:33:05 -06:00
misc.c [POWERPC] 83xx: Don't call ioremap in the reset function 2007-01-26 00:37:11 -06:00
mpc83xx.h [POWERPC] 83xx: mpc8315 - fix USB UTMI Host setup 2008-04-17 09:52:50 -05:00
mpc831x_rdb.c [POWERPC] 83xx: add base platform support for the mpc8315 rdb board 2008-01-28 08:33:00 -06:00
mpc832x_mds.c [POWERPC] QE: get rid of most device_types and model 2008-01-28 08:32:55 -06:00
mpc832x_rdb.c [POWERPC] 83xx: mpc832x_rdb: fix compiler warning 2008-02-05 23:38:10 -06:00
mpc834x_itx.c [POWERPC] MPC8349E-mITX: introduce localbus and pata nodes 2008-01-23 19:33:08 -06:00
mpc834x_mds.c [POWERPC] 83xx: convert boards to use machine_device_initcall 2008-01-23 19:32:39 -06:00
mpc836x_mds.c [POWERPC] QE: get rid of most device_types and model 2008-01-28 08:32:55 -06:00
mpc837x_mds.c [POWERPC] 83xx: Add local bus device nodes to MPC837xMDS device trees. 2008-03-07 08:42:22 -06:00
mpc837x_rdb.c [POWERPC] 83xx: mpc837x_rdb: add simple-bus compatible matching 2008-04-17 01:01:40 -05:00
pci.c [POWERPC] pci32: Add flags modifying the PCI code behaviour 2007-12-20 16:18:07 +11:00
sbc834x.c [POWERPC] 83xx: Add support for Wind River SBC834x boards 2008-01-28 08:30:54 -06:00
usb.c [POWERPC] 83xx: mpc8315 - fix USB UTMI Host setup 2008-04-17 09:52:50 -05:00