Skip to content

Commit 81760b7

Browse files
kartbencfriedt
authored andcommitted
boards: infineon: xmc4x_relax_kit: pwmleds should be disabled initially
The pwmleds node for `xmc45_relax_kit` and `xmc47_relax_kit` should be disabled initially due to the PWM controller the pwmleds node use not being enabled by default. Signed-off-by: Benjamin Cabé <[email protected]>
1 parent 77c348a commit 81760b7

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

boards/infineon/xmc45_relax_kit/xmc45_relax_kit.dts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,9 @@
3939
};
4040
};
4141

42-
pwmleds {
42+
pwmleds: pwmleds {
4343
compatible = "pwm-leds";
44+
status = "disabled";
4445

4546
pwm_led1: pwm_led1 {
4647
pwms = <&pwm_ccu40 2 PWM_SEC(1) PWM_POLARITY_NORMAL>;

boards/infineon/xmc47_relax_kit/xmc47_relax_kit.dts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,9 @@
3838
};
3939
};
4040

41-
pwmleds {
41+
pwmleds: pwmleds {
4242
compatible = "pwm-leds";
43+
status = "disabled";
4344

4445
pwm_led1: pwm_led1 {
4546
pwms = <&pwm_ccu80 4 PWM_SEC(1) PWM_POLARITY_NORMAL>;

samples/basic/blinky_pwm/boards/xmc45_relax_kit.overlay

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* SPDX-License-Identifier: Apache-2.0
55
*/
66

7-
&pwm_led1 {
7+
&pwmleds {
88
status = "okay";
99
};
1010

samples/basic/blinky_pwm/boards/xmc47_relax_kit.overlay

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* SPDX-License-Identifier: Apache-2.0
55
*/
66

7-
&pwm_led1 {
7+
&pwmleds {
88
status = "okay";
99
};
1010

0 commit comments

Comments
 (0)