1/* 2 * Copyright (c) 2023 STMicroelectronics 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 8/ { 9 pwm_loopback_0 { 10 compatible = "test-pwm-loopback"; 11 /* first index must be a 32-Bit timer */ 12 pwms = <&pwm2 1 0 PWM_POLARITY_NORMAL>, 13 <&pwm3 1 0 PWM_POLARITY_NORMAL>; 14 }; 15}; 16 17/* 32-Bit timers */ 18&timers2 { 19 status = "okay"; 20 pwm2: pwm { 21 status = "okay"; 22 pinctrl-0 = <&tim2_ch1_pb6>; /* PB6 D3 */ 23 pinctrl-names = "default"; 24 }; 25}; 26 27&timers3 { 28 status = "okay"; 29 pwm3: pwm { 30 status = "okay"; 31 pinctrl-0 = <&tim3_ch1_pb5>; /* PB5 D1 */ 32 pinctrl-names = "default"; 33 }; 34}; 35