1/* 2 * Copyright (c) 2023 STMicroelectronics 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7/ { 8 /* do not define the leds on the pa5 and pb14 but pwmleds */ 9 leds { 10 status = "disabled"; 11 }; 12}; 13 14&pwmleds { 15 /* NOTE: enable here because it is disabled by default */ 16 status = "okay"; 17}; 18 19&timers2 { 20 pwm2: pwm { 21 /* Change the pin used for PWM2 channel 1 */ 22 /delete-property/ pinctrl-0; 23 pinctrl-0 = <&tim2_ch1_pa5>; 24 }; 25}; 26