]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm: am57xx: cl-som-am57x: add ETH support
authorDmitry Lifshitz <lifshitz@compulab.co.il>
Wed, 28 Dec 2016 16:28:35 +0000 (18:28 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 2 Jan 2017 16:14:07 +0000 (11:14 -0500)
commitfc300e2c5d9b6217400d89a58e35a69b362ad288
treec612e3719583bff2e349799e69acac409cd9805d
parent965c509f0a06ea506432e1f90fdd43a0faff6c23
arm: am57xx: cl-som-am57x: add ETH support

Add MAC support.

Use PHY, connected to RGMII1 as a default Eth adapter,
by appropriate setting of 'cpsw_data.active_slave'.

'cpsw_phy' env variable can override this setting.

Set the MAC addresses in the U-Boot environment.
The addresses are retrieved from the on-board EEPROM or from the SOC's
MAC fuses.

Set the following PHYs RGMII clock delays:
- Enable RX delay
- Disable TX delay

Signed-off-by: Dmitry Lifshitz <lifshitz@compulab.co.il>
[uri.mashiach@compulab.co.il: add RGMII clock delays]
Signed-off-by: Uri Mashiach <uri.mashiach@compulab.co.il>
Acked-by: Igor Grinberg <grinberg@compulab.co.il>
Reviewed-by: Tom Rini <trini@konsulko.com>
board/compulab/cl-som-am57x/Makefile
board/compulab/cl-som-am57x/eth.c [new file with mode: 0644]
board/compulab/cl-som-am57x/mux.c
include/configs/cl-som-am57x.h