PHY Device Initialization

The following image shows an example of the YT8521 PHY device initialization code.
Figure 1. YT8521 PHY Initialization
The following images show an example of the YT8531 PHY device initialization code.
Figure 2. YT8531 PHY Initialization 1
Figure 3. YT8531 PHY Initialization 2

The above function calls specify how to initialize the Ethernet PHY. You have to use the MDIO bus to access the PHY control registers. Thus, you need to make sure your MDIO interface is configured properly before the configuration.