u-boot-brain/arch
Sudhakar Rajashekhara d26074012b da850: Add RMII support for EMAC
This patch is a port of the work by Sudhakar Rajeshekhara in commit
ab3effbcad8851cc65dc5241a01c064d2030a3b2 of
git://arago-project.org/git/people/sandeep/u-boot-davinci.git.

The da850 UI board has on it an RMII PHY which can be used if the MDC line
to the MII PHY on the baseboard is disabled and the RMII PHY is enabled by
configuring the values of some GPIO pins on the IO expander of the UI board.
This patch implements disabling that line via GPIO2[6], configuring the UI
board's IO expander and setting only the pinmux settings that are needed for
RMII operation.

Tested on da850evm by adding a define for CONFIG_DRIVER_TI_EMAC_USE_RMII.

Signed-off-by: Sudhakar Rajashekhara <sudhakar.raj@ti.com>
Signed-off-by: Ben Gardiner <bengardiner@nanometrics.ca>
CC: Sandeep Paulraj <s-paulraj@ti.com>
CC: Ben Warren <biggerbadderben@gmail.com>
CC: Mike Frysinger <vapier@gentoo.org>
CC: Sughosh Ganu <urwithsughosh@gmail.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
2010-11-30 11:27:44 -05:00
..
arm da850: Add RMII support for EMAC 2010-11-30 11:27:44 -05:00
avr32 Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
blackfin Blackfin: drop initcode.o from combined object 2010-11-19 19:17:57 -05:00
i386 Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
m68k do_reset: unify duplicate prototypes 2010-11-28 21:47:24 +01:00
microblaze Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
mips Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
nios2 do_reset: unify duplicate prototypes 2010-11-28 21:47:24 +01:00
powerpc do_reset: unify duplicate prototypes 2010-11-28 21:47:24 +01:00
sh Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
sparc Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
.gitignore update include/asm/ gitignore after move 2010-05-07 00:17:30 +02:00