/* * Copyright (c) 2024 Renesas Electronics Corporation * * SPDX-License-Identifier: Apache-2.0 */ #include #include / { pwm_loopback_0 { compatible = "test-pwm-loopback"; /* first index must be a 32-Bit timer */ pwms = <&pwm1 0 0 PWM_POLARITY_NORMAL>, <&pwm4 0 0 PWM_POLARITY_NORMAL>; }; }; &pinctrl { pwm4_default: pwm4_default { group1 { /* GTIOC4A GTIOC4B */ psels = , ; }; }; }; &pwm4 { pinctrl-0 = <&pwm4_default>; pinctrl-names = "default"; interrupts = <65 1>, <66 1>; interrupt-names = "gtioca", "overflow"; status = "okay"; };