Skip to content

arch/nrf91: add GPIOTE support#19128

Open
raiden00pl wants to merge 3 commits into
apache:masterfrom
raiden00pl:nuttx-nr91-gpioe
Open

arch/nrf91: add GPIOTE support#19128
raiden00pl wants to merge 3 commits into
apache:masterfrom
raiden00pl:nuttx-nr91-gpioe

Conversation

@raiden00pl

Copy link
Copy Markdown
Member

Summary

  • arch/nrf91: add GPIOTE driver
  • arch/nrf91: grant GPIOTE1 to the non-secure domain
  • boards/nrf91/thingy91: ARCH_HAVE_IRQBUTTONS support

Ported from NRF53

Impact

new feature: gpio interrupts

Testing

thingy91 with button state over lwm2m

Port the GPIOTE driver from nrf53, which shares the same secure/non-secure
TrustZone split. The non-secure application uses GPIOTE1 (the register base
and interrupt are selected by the build security domain). This provides GPIO
edge interrupts, e.g. for board buttons.

Signed-off-by: raiden00pl <raiden00@railab.me>
Add CONFIG_NRF91_GPIOTE1_NS so the secure firmware can hand the non-secure
GPIOTE instance to the application, allowing a non-secure app to use GPIO
interrupts.

Signed-off-by: raiden00pl <raiden00@railab.me>
@github-actions github-actions Bot added Area: Build system Arch: arm Issues related to ARM (32-bit) architecture Size: L The size of the change in this PR is large labels Jun 13, 2026
select ARCH_HAVE_IRQBUTTONS so ARCH_IRQBUTTONS can be enabled.

Signed-off-by: raiden00pl <raiden00@railab.me>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Arch: arm Issues related to ARM (32-bit) architecture Area: Build system Size: L The size of the change in this PR is large

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants