u-boot-brain/drivers
Sudhakar Rajashekhara df48676aea 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-12-09 10:24:12 +01:00
..
bios_emulator Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
block Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
dma Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
fpga add Xilinx_abort_fn to Xilinx_Spartan3_Slave_Serial_fns 2010-12-09 10:24:10 +01:00
gpio Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
hwmon Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
i2c Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
input Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
misc Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
mmc mmc: omap: timeout counter fix 2010-11-19 16:27:37 -05:00
mtd cfi_flash: fix bug introduced while recent change to flash_get_size() 2010-11-28 19:41:11 +01:00
net da850: Add RMII support for EMAC 2010-12-09 10:24:12 +01:00
pci 74xx_7xx: Cleanup for partial linking and --gc-sections 2010-11-27 23:35:12 +01:00
pcmcia Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
power Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
qe Exclude drivers/qe/fdt.c without CONFIG_QE 2010-11-18 15:22:10 +01:00
rtc Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
serial pl01x: use C structs and readl/writel 2010-12-09 10:24:10 +01:00
spi Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
twserial Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
usb usb: Remove usb_dev_init() from ehci-ppc4xx.c 2010-11-26 21:24:57 +01:00
video Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
watchdog Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00