1/*
2 * SPDX-License-Identifier: Apache-2.0
3 *
4 * Copyright (c) 2022 STMicroelectronics
5 */
6
7
8/ {
9	pwmleds: pwmleds {
10		compatible = "pwm-leds";
11		status = "okay";
12
13		green_pwm_led: green_pwm_led {
14			pwms = <&pwm2 1 PWM_MSEC(20) PWM_POLARITY_NORMAL>;
15		};
16	};
17
18    aliases {
19        pwm-led0 = &green_pwm_led;
20    };
21
22};
23
24&pwm2 {
25	status = "okay";
26};
27