1/* 2 * Copyright (c) 2025 Renesas Electronics Corporation 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7#include <zephyr/dt-bindings/pwm/pwm.h> 8#include <zephyr/dt-bindings/pwm/ra_pwm.h> 9 10/ { 11 pwm_loopback_0 { 12 compatible = "test-pwm-loopback"; 13 /* first index must be a 32-Bit timer */ 14 pwms = <&pwm1 0 0 PWM_POLARITY_NORMAL>, 15 <&pwm3 0 0 PWM_POLARITY_NORMAL>; 16 }; 17}; 18 19&pinctrl { 20 pwm3_default: pwm3_default { 21 group1 { 22 /* GTIOC3A */ 23 psels = <RA_PSEL(RA_PSEL_GPT1, 1, 11)>; 24 }; 25 }; 26}; 27 28&pwm3 { 29 pinctrl-0 = <&pwm3_default>; 30 pinctrl-names = "default"; 31 interrupts = <30 1>, <31 1>; 32 interrupt-names = "gtioca", "overflow"; 33 status = "okay"; 34}; 35