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 D2, D5 --> PC4, PA6 */
9			pinmux = <PC4MFP_EPWM1_CH1>,
10				 <PA6MFP_EPWM1_CH5>;
11		};
12	};
13};
14
15/ {
16	pwm_loopback_0 {
17		compatible = "test-pwm-loopback";
18		pwms = <&epwm1 1 0 PWM_POLARITY_NORMAL>,
19		       <&epwm1 5 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};
29