Skip to content

Commit 992516c

Browse files
mstasiaknordicrlubos
authored andcommitted
[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 cec083e)
1 parent 4084fe8 commit 992516c

File tree

3 files changed

+42
-0
lines changed

3 files changed

+42
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
&pinctrl {
2+
pwm_default: pwm_default {
3+
group1 {
4+
psels = <NRF_PSEL(PWM_OUT0, 0, 0)>;
5+
};
6+
};
7+
pwm_sleep: pwm_sleep {
8+
group1 {
9+
psels = <NRF_PSEL(PWM_OUT0, 0, 0)>;
10+
low-power-enable;
11+
};
12+
};
13+
};
14+
15+
&pwm130 {
16+
status = "okay";
17+
pinctrl-0 = <&pwm_default>;
18+
pinctrl-1 = <&pwm_sleep>;
19+
pinctrl-names = "default", "sleep";
20+
};
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
&pinctrl {
2+
pwm_default: pwm_default {
3+
group1 {
4+
psels = <NRF_PSEL(PWM_OUT0, 0, 0)>;
5+
};
6+
};
7+
pwm_sleep: pwm_sleep {
8+
group1 {
9+
psels = <NRF_PSEL(PWM_OUT0, 0, 0)>;
10+
low-power-enable;
11+
};
12+
};
13+
};
14+
15+
&pwm130 {
16+
status = "reserved";
17+
interrupt-parent = <&cpuppr_clic>;
18+
pinctrl-0 = <&pwm_default>;
19+
pinctrl-1 = <&pwm_sleep>;
20+
pinctrl-names = "default", "sleep";
21+
};
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# nothing here

0 commit comments

Comments
 (0)