-
Notifications
You must be signed in to change notification settings - Fork 7.9k
drivers: gpio: nrfx: Add support for GPIOTE0 on nrf54h20 cpurad #91041
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
henrikbrixandersen
merged 8 commits into
zephyrproject-rtos:main
from
nordic-krch:nrf54h20_rad_gpiote
Aug 7, 2025
+182
−30
Merged
Changes from 7 commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
06933dc
modules: hal_nordic: Bump nrf-regtool to 9.2.0
nordic-krch ae220e4
dts: vendor: nordic: nrf54h20: Add gpiote0 node
nordic-krch 8ac6708
dts: bindings: gpio: nrf-gpiote: Extend description
nordic-krch 4e592fd
modules: hal_nordic: nrfx: Add GPIOTE config flag
nordic-krch 9710383
drivers: gpio: nrfx: Add support for GPIOTE0 on cpurad
nordic-krch 673cbda
tests: drivers: gpio: basic_api: Improve test
nordic-krch c04e127
tests: drivers: gpio: basic_api: Add nrf54h20/cpurad GPIOTE0 config
nordic-krch d1de673
soc: nordic: fix validate_base_addresses NRF_GPIOTE0 for radiocore
bjarki-andreasen File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
tests/drivers/gpio/gpio_basic_api/boards/nrf54h20dk_nrf54h20_cpurad_gpiote0.overlay
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
/* SPDX-License-Identifier: Apache-2.0 */ | ||
|
||
&pinctrl { | ||
gpiote0_default_alt: gpiote0_default_alt { | ||
group1 { | ||
psels = <NRF_PSEL(SPIM_SCK, 1, 4)>; | ||
}; | ||
}; | ||
}; | ||
|
||
/ { | ||
resources { | ||
compatible = "test-gpio-basic-api"; | ||
out-gpios = <&gpio1 5 0>; | ||
in-gpios = <&gpio1 4 0>; | ||
}; | ||
}; | ||
|
||
&gpio1 { | ||
status = "okay"; | ||
gpiote-instance = <&gpiote0>; | ||
}; | ||
|
||
&gpiote0 { | ||
status = "okay"; | ||
pinctrl-0 = <&gpiote0_default_alt>; | ||
pinctrl-names = "default"; | ||
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adding this node causes this check in validate_base_addresses.c to fail for us, since in our case the MDK only defines
NRF_RADIOCORE_GPIOTE
and notNRF_GPIOTE
orNRF_GPIOTE0
:zephyr/soc/nordic/validate_base_addresses.c
Line 186 in d53f324
Would it be possible to add something like
to validate_base_addresses.c?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nordic-krch - will you be able to address this comment?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nordic-krch is on vacation, I have pushed the suggestion