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, D3 --> PC12, PC10 */ 9 pinmux = <PC12MFP_EPWM1_CH0>, 10 <PC10MFP_EPWM1_CH2>; 11 }; 12 }; 13}; 14 15/ { 16 pwm_loopback_0 { 17 compatible = "test-pwm-loopback"; 18 pwms = <&epwm1 0 0 PWM_POLARITY_NORMAL>, 19 <&epwm1 2 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