u-boot-2016/board/ti
Roger Quadros e607ec993b board: am335x-icev2: add ethernet phy mode detection logic
Both ethernet ports can be used as CPSW ethernet (RMII mode)
or PRU ethernet (MII mode) by setting the jumper near the port.
Read the jumper value and set the pinmux, external mux and
PHY clock accordingly.

As jumper line is overridden by PHY RX_DV pin immediately
after bootstrap (power-up/reset), we have to use GPIO edge
detection to capture the jumper line status.

As u-boot doesn't provide any infrastructure for GPIO edge
detection, we directly access the GPIO registers.

Signed-off-by: Roger Quadros <rogerq@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
2016-10-13 12:25:06 -05:00
..
am43xx treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
am57xx board: am57xx: Fix missing check for beagle_x15 2016-09-07 08:49:05 -04:00
am335x board: am335x-icev2: add ethernet phy mode detection logic 2016-10-13 12:25:06 -05:00
am3517crane omap-common: Common function to display die id, replacing omap3-specific version 2015-10-22 14:18:30 -04:00
beagle treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
common Convert CONFIG_SPL_SERIAL_SUPPORT to Kconfig 2016-09-16 17:27:19 -04:00
dra7xx board: ti: dra7xx: complex definitions should be protected with parentheses 2016-10-08 09:33:35 -04:00
evm omap3: Drop omap3_evm_quick_* targets 2016-08-05 20:53:53 -04:00
ks2_evm board: ks2: Enable ECC using detected DDR size 2016-10-01 20:05:05 -04:00
omap5_uevm arch, board: squash lines for immediate return 2016-09-23 17:53:53 -04:00
panda omap-common: Rename set_muxconf_regs_essential to set_muxconf_regs 2016-03-15 15:12:06 -04:00
sdp4430 omap-common: Rename set_muxconf_regs_essential to set_muxconf_regs 2016-03-15 15:12:06 -04:00
ti814x ti814x_evm: Switch to SYS_GENERIC_BOARD 2015-09-15 13:55:22 -04:00
ti816x ti816x: Switch to SYS_GENERIC_BOARD 2015-09-15 13:55:23 -04:00