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