blob: 5007b962ec97cceff2ab57053bf8155cae7834e2 [file] [log] [blame]
/*
* Copyright (c) 2021 Denx Software Engineering GmbH
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <zephyr/dt-bindings/pwm/pwm.h>
/ {
pwm_loopback_0 {
compatible = "test-pwm-loopback";
/* first index must be a 32-Bit timer */
pwms = <&pwm2 4 0 PWM_POLARITY_NORMAL>,
<&pwm5 1 0 PWM_POLARITY_NORMAL>;
};
};
/* 32-Bit timers */
&timers2 {
status = "okay";
pwm2: pwm {
status = "okay";
pinctrl-0 = <&tim2_ch4_pa3>; /* CN9 PIN1 A0 */
pinctrl-names = "default";
};
};
&timers5 {
status = "okay";
pwm5: pwm {
status = "okay";
pinctrl-0 = <&tim5_ch1_pa0>; /* CN11 PIN28 */
pinctrl-names = "default";
};
};