Skip to content
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

tests: drivers: gpio: gpio_more_loops: Enable test on 54L* cpuflpr #21012

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
/*
* Copyright (c) 2025 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 = <&gpio1 10 GPIO_ACTIVE_HIGH>;
};

in_gpios: in_gpios {
gpios = <&gpio1 11 GPIO_ACTIVE_HIGH>;
};
};
};

&gpiote20 {
status = "okay";
};

&gpio1 {
status = "okay";
};
Original file line number Diff line number Diff line change
Expand Up @@ -4,29 +4,4 @@
* 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 = <&gpio1 10 GPIO_ACTIVE_HIGH>;
};

in_gpios: in_gpios {
gpios = <&gpio1 11 GPIO_ACTIVE_HIGH>;
};
};
};

&gpiote20 {
status = "okay";
};

&gpio1 {
status = "okay";
};
#include "nrf54l09pdk_nrf54l09_common.dtsi"
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/*
* Copyright (c) 2025 Nordic Semiconductor ASA
*
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
*/

#include "nrf54l09pdk_nrf54l09_common.dtsi"
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
/*
* Copyright (c) 2025 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 8 GPIO_ACTIVE_HIGH>, <&gpio1 8 GPIO_ACTIVE_HIGH>,
<&gpio1 10 GPIO_ACTIVE_HIGH>, <&gpio1 12 GPIO_ACTIVE_HIGH>,
<&gpio2 10 GPIO_ACTIVE_HIGH>;
};

in_gpios: in_gpios {
gpios = <&gpio2 9 GPIO_ACTIVE_HIGH>, <&gpio1 9 GPIO_ACTIVE_HIGH>,
<&gpio1 11 GPIO_ACTIVE_HIGH>, <&gpio1 13 GPIO_ACTIVE_HIGH>,
<&gpio1 14 GPIO_ACTIVE_HIGH>;
};
};
};

&gpiote20 {
status = "okay";
};

&gpio1 {
status = "okay";
};

&gpio2 {
status = "okay";
};
Original file line number Diff line number Diff line change
Expand Up @@ -4,37 +4,4 @@
* 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 8 GPIO_ACTIVE_HIGH>, <&gpio1 8 GPIO_ACTIVE_HIGH>,
<&gpio1 10 GPIO_ACTIVE_HIGH>, <&gpio1 12 GPIO_ACTIVE_HIGH>,
<&gpio2 10 GPIO_ACTIVE_HIGH>;
};

in_gpios: in_gpios {
gpios = <&gpio2 9 GPIO_ACTIVE_HIGH>, <&gpio1 9 GPIO_ACTIVE_HIGH>,
<&gpio1 11 GPIO_ACTIVE_HIGH>, <&gpio1 13 GPIO_ACTIVE_HIGH>,
<&gpio1 14 GPIO_ACTIVE_HIGH>;
};
};
};

&gpiote20 {
status = "okay";
};

&gpio1 {
status = "okay";
};

&gpio2 {
status = "okay";
};
#include "nrf54l15dk_nrf54l15_common.dtsi"
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/*
* Copyright (c) 2025 Nordic Semiconductor ASA
*
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
*/

#include "nrf54l15dk_nrf54l15_common.dtsi"
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
/*
* Copyright (c) 2025 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";
};
Original file line number Diff line number Diff line change
Expand Up @@ -4,37 +4,4 @@
* 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";
};
#include "nrf54l20pdk_nrf54l20_common.dtsi"
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/*
* Copyright (c) 2025 Nordic Semiconductor ASA
*
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
*/

#include "nrf54l20pdk_nrf54l20_common.dtsi"
5 changes: 4 additions & 1 deletion tests/drivers/gpio/gpio_more_loops/testcase.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,11 @@ tests:
drivers.gpio.gpio_more_loops:
platform_allow:
- nrf54l15dk/nrf54l15/cpuapp
- nrf54l20pdk/nrf54l20/cpuapp
- nrf54l15dk/nrf54l15/cpuflpr
- nrf54l09pdk/nrf54l09/cpuapp
- nrf54l09pdk/nrf54l09/cpuflpr
- nrf54l20pdk/nrf54l20/cpuapp
- nrf54l20pdk/nrf54l20/cpuflpr
- nrf54h20dk/nrf54h20/cpuapp
integration_platforms:
- nrf54l15dk/nrf54l15/cpuapp
Expand Down