GMAC support for A733 - #12
Draft
ziyao233 wants to merge 3 commits into
Draft
Conversation
A733 also ships a dwmac 4 GMAC controller, but its glue registers differ: they are in a separate memory region instead of the syscon, and provide wider fields for RGMII TX delay fine tunning. We also have a discrete ahb reset, and we must delay glue register setup until clock/reset of the GMAC is ready. Note that we now use the externally-supplied RGMII clock as the GMAC transmitting clock, since the internal one somehow doesn't work. This doesn't match vendor driver behavior and requires investigation. Signed-off-by: Yao Zi <me@ziyao.cc>
Signed-off-by: Yao Zi <me@ziyao.cc>
The expected GMAC delay differs a lot from the value provided by the vendor. It might be caused by we're working with another GMAC TX clock, i.e., the one supplied through SoC's RGMII0-CLKIN pin. Signed-off-by: Yao Zi <me@ziyao.cc>
ziyao233
marked this pull request as draft
August 3, 2026 21:22
Author
|
Mark as draft for now since Kconfig updates couldn't be carried before #10 lands. |
Author
|
Speedtesting, |
MingNeil
approved these changes
Aug 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.