-
Notifications
You must be signed in to change notification settings - Fork 6.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: drivers: gpio: gpio_basic_api: Add nrf54h20dk overlays
Add overlays for nrf54h20dk_nrf54h20 cpuapp and cpurad. Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
- Loading branch information
1 parent
c10b9ab
commit 77f0a39
Showing
3 changed files
with
25 additions
and
0 deletions.
There are no files selected for viewing
19 changes: 19 additions & 0 deletions
19
tests/drivers/gpio/gpio_basic_api/boards/nrf54h20dk_nrf54h20_common.dtsi
This file contains 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,19 @@ | ||
/* SPDX-License-Identifier: Apache-2.0 */ | ||
|
||
/ { | ||
resources { | ||
compatible = "test-gpio-basic-api"; | ||
out-gpios = <&gpio0 6 0>; | ||
in-gpios = <&gpio0 7 0>; | ||
}; | ||
}; | ||
|
||
&gpio0 { | ||
status = "okay"; | ||
sense-edge-mask = <0x60>; | ||
}; | ||
|
||
&gpiote130 { | ||
status = "okay"; | ||
owned-channels = < 0 1 >; | ||
}; |
3 changes: 3 additions & 0 deletions
3
tests/drivers/gpio/gpio_basic_api/boards/nrf54h20dk_nrf54h20_cpuapp.overlay
This file contains 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,3 @@ | ||
/* SPDX-License-Identifier: Apache-2.0 */ | ||
|
||
#include "nrf54h20dk_nrf54h20_common.dtsi" |
3 changes: 3 additions & 0 deletions
3
tests/drivers/gpio/gpio_basic_api/boards/nrf54h20dk_nrf54h20_cpurad.overlay
This file contains 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,3 @@ | ||
/* SPDX-License-Identifier: Apache-2.0 */ | ||
|
||
#include "nrf54h20dk_nrf54h20_common.dtsi" |