1/* 2 * (c) Meta Platforms, Inc. and affiliates. 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 8&leds { 9 status = "disabled"; 10}; 11 12&green_pwm_led { 13 pwms = <&ctimer2_pwm 0 PWM_MSEC(20) PWM_POLARITY_INVERTED>; 14 label = "Green PWM LED"; 15 status = "okay"; 16}; 17 18ctimer2_pwm: &ctimer2 { 19 compatible = "nxp,ctimer-pwm"; 20 status = "okay"; 21 clk-source = <5>; 22 clocks = <&clkctl1 MCUX_CTIMER2_CLK>; 23 prescaler = <0>; 24 pinctrl-0 = <&pinmux_ctimer2_pwm>; 25 pinctrl-names = "default"; 26 #pwm-cells = <3>; 27}; 28