Skip to content

Commit cfd2e10

Browse files
FelixWang47831jhedberg
authored andcommitted
tests: drivers: pwm: pwm_api: enable qtmr test
Add mimxrt1180_evk_mimxrt1189_cm33_qtmr.overlay for test. Signed-off-by: Felix Wang <[email protected]>
1 parent 8e97541 commit cfd2e10

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
/*
2+
* Copyright 2025 NXP
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
/ {
8+
aliases {
9+
pwm-test = &qtmr4;
10+
};
11+
};
12+
13+
&pinctrl {
14+
qtmr4_timer0_default: qtmr4 {
15+
group0 {
16+
pinmux = <&iomuxc_gpio_ad_00_qtimer4_timer0>;
17+
drive-strength = "high";
18+
slew-rate = "fast";
19+
};
20+
};
21+
};
22+
23+
&qtmr4 {
24+
compatible = "nxp,qtmr-pwm";
25+
pinctrl-0 = <&qtmr4_timer0_default>;
26+
pinctrl-names = "default";
27+
#pwm-cells = <3>;
28+
prescaler = <32>;
29+
status = "okay";
30+
};

0 commit comments

Comments
 (0)