Skip to content

lopper: assists: zephyr_domain_dts: add IOModule GPIO DTS support - #847

Merged
zeddii merged 1 commit into
devicetree-org:masterfrom
katrusatyasri:iomodule-gpio-child-node-generation
Oct 1, 2026
Merged

zeddii merged 1 commit into
devicetree-org:masterfrom
katrusatyasri:iomodule-gpio-child-node-generation

Conversation

@katrusatyasri

Copy link
Copy Markdown

Extend zephyr_domain_dts to support IOModule GPIO peripherals
in the generated Zephyr device tree.

This change generates GPI and GPO child nodes for enabled
IOModule GPIO ports and populates the GPIO controller
properties required by the Zephyr IOModule GPIO driver,
including port number, direction, GPIO width, initial
output value, and interrupt configuration.

Follows the existing IOModule child-node generation model
used for UART, PIT, and interrupt controller instances.

Extend zephyr_domain_dts to generate GPIO child nodes for
AMD/Xilinx IOModule instances in the generated Zephyr device
tree.

The generated nodes represent enabled GPI and GPO ports and
include GPIO controller properties such as port number,
direction, GPIO width, initial output value, and interrupt
configuration.

This allows Zephyr IOModule GPIO devices to be described
automatically from the hardware configuration, following the
existing IOModule child-node generation model used for UART,
PIT, and interrupt controller instances.

Signed-off-by: Satya Sri <satyasri.katru@amd.com>
@katrusatyasri

Copy link
Copy Markdown
Author

@kedareswararao,
please review

@zeddii
zeddii merged commit 036f18e into devicetree-org:master Oct 1, 2026
4 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