13 etsec & bcm5482, U-boot deployment – Artesyn COMX-P2020 BSP User Guide (July 2014) User Manual

Page 65

Advertising
background image

U-boot Deployment

COMX-P2020 BSP User Guide (6806800L84B)

65

- write to CFG address

5.4.13 eTSEC & BCM5482

COMX-P2020 provides three enhanced three-speed Ethernet controllers (eTSECs) which
interface to 10 Mbps, 100 Mbps, and 1 Gbps Ethernet/IEEE 802.3™ networks. 2 BCM5482 was
used to connect with eTSECs through RGMII. Each BCM5482 can provide 2 ethernet
transceivers designed for 1000-Mbps, 100-Mbps and 10-Mbps application. The Phy Address for
the eTSECs are list below:

eTSEC0 : phyID = 0

eTSEC1 : phyID = 2

eTSEC2 : phyID = 1

The U-boot provides standard command "mii" to probe, read and write BCM5482 register. This
part is not included in this document.

=> help mii

mii - MII utility commands

Usage:

mii device - list available devices

mii device <devname> - set current device

mii info <addr> - display MII PHY info

mii read <addr> <reg>

- read MII PHY <addr> register <reg>

mii write <addr> <reg> <data> - write MII PHY <addr> register <reg>

mii dump <addr> <reg>

- pretty-print <addr> <reg> (0-5 only)

Addr and/or reg may be ranges, e.g. 2-7.

=>

Advertising