Page MenuHomeFreeBSD

Support PL-connected Ethernet on Zynq platforms.
Needs ReviewPublic

Authored by skibo on Mar 27 2020, 10:20 PM.
Tags
None
Referenced Files
Unknown Object (File)
Jan 23 2024, 3:30 AM
Unknown Object (File)
Dec 25 2023, 2:34 AM
Unknown Object (File)
Dec 20 2023, 4:16 AM
Unknown Object (File)
Nov 21 2023, 8:43 AM
Unknown Object (File)
Nov 21 2023, 6:00 AM
Unknown Object (File)
Nov 13 2023, 3:37 PM
Unknown Object (File)
Nov 12 2023, 8:12 PM
Unknown Object (File)
Nov 11 2023, 2:16 PM

Details

Reviewers
None
Group Reviewers
ARM
Summary

The Zynq SLCR block assumes the Ethernet refernence clock is always sourced
from the IO_PLL. But, to put an Ethernet PHY design in the PL (FPGA) often
requires the reference clock to come from the PL instead. This fix allows
the Ethernet clock to come from any PLL as well as from the PL (via EMIO).
In the case of EMIO sourced clock, the clock dividers are ignored and it
is assumed the PL adjusts the clock frequency when the media changes.

Test Plan

I don't have access to a design with Ethernet connected to the PL. But, I
have tested that the change doesn't affect the more common case of
Ethernet connected to the PS.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 30142
Build 27948: arc lint + arc unit