You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
488 B
33 lines
488 B
/* |
|
* Copyright (c) 2021 Yonatan Schachter |
|
* |
|
* SPDX-License-Identifier: Apache-2.0 |
|
*/ |
|
|
|
/dts-v1/; |
|
|
|
#include "rpi_pico-common.dtsi" |
|
|
|
/ { |
|
leds { |
|
compatible = "gpio-leds"; |
|
led0: led_0 { |
|
gpios = <&gpio0 25 GPIO_ACTIVE_HIGH>; |
|
label = "LED"; |
|
}; |
|
}; |
|
|
|
pwm_leds { |
|
compatible = "pwm-leds"; |
|
status = "disabled"; |
|
pwm_led0: pwm_led_0 { |
|
pwms = <&pwm 9 PWM_MSEC(20) PWM_POLARITY_NORMAL>; |
|
label = "PWM_LED"; |
|
}; |
|
}; |
|
|
|
aliases { |
|
led0 = &led0; |
|
pwm-led0 = &pwm_led0; |
|
}; |
|
};
|
|
|