We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5f8645 commit 3a4e128Copy full SHA for 3a4e128
tests/drivers/pwm/pwm_loopback/boards/numaker_m55m1.overlay
@@ -0,0 +1,28 @@
1
+/* SPDX-License-Identifier: Apache-2.0 */
2
+
3
+#include <zephyr/dt-bindings/pwm/pwm.h>
4
5
+&pinctrl {
6
+ epwm1_default: epwm1_default {
7
+ group0 {
8
+ /* EVB's D5, D4 --> PC12, PC11 */
9
+ pinmux = <PC12MFP_EPWM1_CH0>,
10
+ <PC11MFP_EPWM1_CH1>;
11
+ };
12
13
+};
14
15
+/ {
16
+ pwm_loopback_0 {
17
+ compatible = "test-pwm-loopback";
18
+ pwms = <&epwm1 0 0 PWM_POLARITY_NORMAL>,
19
+ <&epwm1 1 0 PWM_POLARITY_NORMAL>;
20
21
22
23
+&epwm1 {
24
+ status = "okay";
25
+ prescaler = <19>;
26
+ pinctrl-0 = <&epwm1_default>;
27
+ pinctrl-names = "default";
28
0 commit comments