-
Notifications
You must be signed in to change notification settings - Fork 645
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[nrf fromtree] tests: drivers: pwm: add support for nRF54H20 cpuppr PWM
Added support for nRF54H20 cpuppr PWM in pwm_api test. Signed-off-by: Michał Stasiak <[email protected]> (cherry picked from commit cec083edd1a51e85d45e66764feec7cffd6eb4df)
- Loading branch information
1 parent
106f95b
commit c9b0d3d
Showing
3 changed files
with
42 additions
and
0 deletions.
There are no files selected for viewing
20 changes: 20 additions & 0 deletions
20
tests/drivers/pwm/pwm_api/boards/nrf54h20dk_nrf54h20_cpuppr.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,20 @@ | ||
&pinctrl { | ||
pwm_default: pwm_default { | ||
group1 { | ||
psels = <NRF_PSEL(PWM_OUT0, 0, 0)>; | ||
}; | ||
}; | ||
pwm_sleep: pwm_sleep { | ||
group1 { | ||
psels = <NRF_PSEL(PWM_OUT0, 0, 0)>; | ||
low-power-enable; | ||
}; | ||
}; | ||
}; | ||
|
||
&pwm130 { | ||
status = "okay"; | ||
pinctrl-0 = <&pwm_default>; | ||
pinctrl-1 = <&pwm_sleep>; | ||
pinctrl-names = "default", "sleep"; | ||
}; |
21 changes: 21 additions & 0 deletions
21
tests/drivers/pwm/pwm_api/sysbuild/vpr_launcher/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,21 @@ | ||
&pinctrl { | ||
pwm_default: pwm_default { | ||
group1 { | ||
psels = <NRF_PSEL(PWM_OUT0, 0, 0)>; | ||
}; | ||
}; | ||
pwm_sleep: pwm_sleep { | ||
group1 { | ||
psels = <NRF_PSEL(PWM_OUT0, 0, 0)>; | ||
low-power-enable; | ||
}; | ||
}; | ||
}; | ||
|
||
&pwm130 { | ||
status = "reserved"; | ||
interrupt-parent = <&cpuppr_clic>; | ||
pinctrl-0 = <&pwm_default>; | ||
pinctrl-1 = <&pwm_sleep>; | ||
pinctrl-names = "default", "sleep"; | ||
}; |
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 @@ | ||
# nothing here |