Clk wiz zephyr support - #817
Open
sbeesams wants to merge 2 commits into
Open
Conversation
added 2 commits
August 28, 2026 20:30
The clock wizard compatible string wasn't in this list, so the tool didn't recognize it as a supported peripheral. Without this entry the fix in gen_domain_dts.py never runs, and the node gets dropped anyway. Signed-off-by: Beesam Sridhar Sagar <sagar.beesamsridhar@amd.com>
Add support for xlnx,clkx5-wiz-1.0 nodes in the Zephyr DTS generation flow. Handle dual-mapped reg properties by selecting the address mapping for the target domain and generating a domain-specific node. Signed-off-by: Beesam Sridhar Sagar <sagar.beesamsridhar@amd.com>
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.
This patch series adds support for dual-mapped AMD/Xilinx Clocking Wizard (xlnx,clkx5-wiz-1.0) nodes in Lopper.
The first patch updates the Zephyr supported compatibility list to
include the "xlnx,clkx5-wiz-1.0" compatible entry, allowing proper
recognition of the Clocking Wizard node during device tree processing.
The second patch extends the gen_domain_dts assist script to handle
Clocking Wizard nodes whose reg property spans both the APU and RPU
domains, slicing it to the correct per-domain address instead of
dropping the node.
Tested on a Versal Gen2 platform with Lopper-generated dts.