1/*
2 * Copyright (c) 2021 Yonatan Schachter
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7/* Pico and Pico 2 boards (but not Pico W) have a common LED placement. */
8/ {
9	leds {
10		compatible = "gpio-leds";
11		led0: led_0 {
12			gpios = <&gpio0 25 GPIO_ACTIVE_HIGH>;
13			label = "LED";
14		};
15	};
16
17	pwm_leds {
18		compatible = "pwm-leds";
19		status = "disabled";
20		pwm_led0: pwm_led_0 {
21			pwms = <&pwm 9 PWM_MSEC(20) PWM_POLARITY_NORMAL>;
22			label = "PWM_LED";
23		};
24	};
25
26	aliases {
27		led0 = &led0;
28		pwm-led0 = &pwm_led0;
29	};
30};
31