Skip to content

lopper: assists: zephyr: Ensure nodes are proper for versal R5 zephyr-helloworld build - #793

Merged
zeddii merged 1 commit into
devicetree-org:masterfrom
bentheredonethat:zephyr-r5-versal-fix-july27-2026
Jul 28, 2026
Merged

lopper: assists: zephyr: Ensure nodes are proper for versal R5 zephyr-helloworld build#793
zeddii merged 1 commit into
devicetree-org:masterfrom
bentheredonethat:zephyr-r5-versal-fix-july27-2026

Conversation

@bentheredonethat

Copy link
Copy Markdown
Collaborator

@bentheredonethat

Copy link
Copy Markdown
Collaborator Author

@kedareswararao please review

this is needed for versal R5 Yocto SDT multiconfig target to build (both for configure step and compile step)

Comment thread lopper/assists/gen_domain_dts.py Outdated
node.add(node["#size-cells"])

node["clock-frequency"] = LopperProp("clock-frequency")
node["clock-frequency"].value = node["xlnx,clock-freq"].value

@kedareswararao kedareswararao Jul 28, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what if this property xlnx,clock-freq is not present in the node? please check for the existence of the property and default value in case if its absent

…-helloworld build

SPI node needs right clock-frequency per inherited binding of
https://docs.zephyrproject.org/latest/build/dts/api/bindings/flash_controller/cdns%2Cqspi-nor.html

Signed-off-by: Ben Levinsky <ben.levinsky@amd.com>
@bentheredonethat
bentheredonethat force-pushed the zephyr-r5-versal-fix-july27-2026 branch from eb3d29e to 70d820c Compare July 28, 2026 14:20
@bentheredonethat

Copy link
Copy Markdown
Collaborator Author

@kedareswararao addressed

@zeddii
zeddii merged commit d12bd4e into devicetree-org:master Jul 28, 2026
3 checks passed
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.

3 participants