-
Notifications
You must be signed in to change notification settings - Fork 1.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_more_loops: Enable test on nrf54l20pdk
Add overlay required to execute test on nrf54l20pdk. Signed-off-by: Sebastian Głąb <[email protected]>
- Loading branch information
1 parent
21dcbec
commit 0543ac7
Showing
3 changed files
with
43 additions
and
1 deletion.
There are no files selected for viewing
40 changes: 40 additions & 0 deletions
40
tests/drivers/gpio/gpio_more_loops/boards/nrf54l20pdk_nrf54l20_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,40 @@ | ||
/* | ||
* Copyright (c) 2024 Nordic Semiconductor ASA | ||
* | ||
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
*/ | ||
|
||
/ { | ||
/* Test requirements: | ||
* out-gpios[0] wire connected with in-gpios[0], | ||
* out-gpios[1] wire connected with in-gpios[1], | ||
* etc. | ||
* Output-input GPIO pair must have identical active level flag. | ||
*/ | ||
test_gpios { | ||
compatible = "gpio-leds"; | ||
out_gpios: out_gpios { | ||
gpios = <&gpio2 0 GPIO_ACTIVE_HIGH>, <&gpio2 2 GPIO_ACTIVE_HIGH>, | ||
<&gpio2 4 GPIO_ACTIVE_HIGH>, <&gpio2 6 GPIO_ACTIVE_HIGH>, | ||
<&gpio1 10 GPIO_ACTIVE_HIGH>; | ||
}; | ||
|
||
in_gpios: in_gpios { | ||
gpios = <&gpio2 1 GPIO_ACTIVE_HIGH>, <&gpio2 3 GPIO_ACTIVE_HIGH>, | ||
<&gpio2 5 GPIO_ACTIVE_HIGH>, <&gpio2 7 GPIO_ACTIVE_HIGH>, | ||
<&gpio1 11 GPIO_ACTIVE_HIGH>; | ||
}; | ||
}; | ||
}; | ||
|
||
&gpiote20 { | ||
status = "okay"; | ||
}; | ||
|
||
&gpio1 { | ||
status = "okay"; | ||
}; | ||
|
||
&gpio2 { | ||
status = "okay"; | ||
}; |
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
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