Skip to content

Commit 3fac5fa

Browse files
Hi-Im-Davidnordic-piks
authored andcommitted
tests: drivers: pwm: gpio_loopback: Add support for nrf7120pdk
Add overlays for nrf7120pdk_nrf7120 cpuapp, cpuflpr. Signed-off-by: David Jewsbury <[email protected]>
1 parent 9a941d7 commit 3fac5fa

File tree

3 files changed

+38
-0
lines changed

3 files changed

+38
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
/*
2+
* Copyright (c) 2025 Nordic Semiconductor ASA
3+
*
4+
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
*/
6+
7+
#include <zephyr/dt-bindings/pwm/pwm.h>
8+
#include <zephyr/dt-bindings/gpio/nordic-nrf-gpio.h>
9+
10+
/ {
11+
pwm_to_gpio_loopback: pwm_to_gpio_loopback {
12+
compatible = "test-pwm-to-gpio-loopback";
13+
pwms = <&pwm20 0 0 PWM_POLARITY_NORMAL>;
14+
gpios = <&gpio1 11 GPIO_ACTIVE_HIGH>;
15+
};
16+
};
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
/*
2+
* Copyright (c) 2025 Nordic Semiconductor ASA
3+
*
4+
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
*/
6+
7+
#include <zephyr/dt-bindings/pwm/pwm.h>
8+
#include <zephyr/dt-bindings/gpio/nordic-nrf-gpio.h>
9+
10+
/ {
11+
pwm_to_gpio_loopback: pwm_to_gpio_loopback {
12+
compatible = "test-pwm-to-gpio-loopback";
13+
pwms = <&pwm20 0 0 PWM_POLARITY_NORMAL>;
14+
gpios = <&gpio1 11 GPIO_ACTIVE_HIGH>;
15+
};
16+
};
17+
18+
&uart30 {
19+
/delete-property/ hw-flow-control;
20+
};

tests/drivers/pwm/gpio_loopback/testcase.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,11 @@ tests:
1616
- nrf54h20dk/nrf54h20/cpuapp
1717
- nrf54l15dk/nrf54l15/cpuapp
1818
- nrf54l20pdk/nrf54l20/cpuapp
19+
- nrf7120pdk/nrf7120/cpuapp
1920
integration_platforms:
2021
- nrf54h20dk/nrf54h20/cpuapp
2122
- nrf54l15dk/nrf54l15/cpuapp
23+
- nrf7120pdk/nrf7120/cpuapp
2224

2325
drivers.pwm.gpio_loopback.fast_p7_0:
2426
platform_allow:

0 commit comments

Comments
 (0)