Skip to content

Clk wiz zephyr support - #817

Open
sbeesams wants to merge 2 commits into
devicetree-org:masterfrom
sbeesams:clk-wiz-zephyr-support
Open

Clk wiz zephyr support#817
sbeesams wants to merge 2 commits into
devicetree-org:masterfrom
sbeesams:clk-wiz-zephyr-support

Conversation

@sbeesams

Copy link
Copy Markdown

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.

Beesam Sridhar Sagar 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant