Skip to content

lopper: assists: Add Versal GEM support for Zephyr domain DTS generation#719

Merged
zeddii merged 1 commit intodevicetree-org:masterfrom
venodela:rpu_gem_support
Mar 16, 2026
Merged

lopper: assists: Add Versal GEM support for Zephyr domain DTS generation#719
zeddii merged 1 commit intodevicetree-org:masterfrom
venodela:rpu_gem_support

Conversation

@venodela
Copy link
Contributor

Add support for Versal GEM (Gigabit Ethernet MAC) nodes in Zephyr domain device tree generation.

  • Convert GEM interrupts from 3-cell format to 4-cell GICv3 format.
  • Extend the GEM controller 'reg' property with the GEM0_REF_CTRL register (CRL_APB).
  • Generate an ethernet_mac child node with required properties such as clock-frequency, interrupts, MAC address, and buffer configuration.
  • Remove existing subnodes before generating the Zephyr-compatible ethernet_mac node.
  • Update the parent node compatible to xlnx,gem-controller.

Add support for Versal GEM (Gigabit Ethernet MAC) nodes in Zephyr domain
device tree generation.

- Convert GEM interrupts from 3-cell format to 4-cell GICv3 format.
- Extend the GEM controller 'reg' property with the GEM0_REF_CTRL
  register (CRL_APB).
- Generate an `ethernet_mac` child node with required properties such as
  clock-frequency, interrupts, MAC address, and buffer configuration.
- Remove existing subnodes before generating the Zephyr-compatible
  ethernet_mac node.
- Update the parent node compatible to `xlnx,gem-controller`.

Signed-off-by: Venkatesh Odela <venkatesh.odela@amd.com>
@zeddii zeddii merged commit c36a82d into devicetree-org:master Mar 16, 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