Skip to content

Commit e4ae7d0

Browse files
ssekar15kartben
authored andcommitted
samples: pwm: add the lp_mspm0g3507 to the blinky_pwm and led/pwm samples
The lp_mspm0g3507 has a red LED that can be driven by GPIO or PWM TIMA0 CH0, set maximum prescale and divider to arrive lower timer clock from clock source. Add to the samples. Signed-off-by: Saravanan Sekar <[email protected]>
1 parent 41ea399 commit e4ae7d0

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
/*
2+
* SPDX-License-Identifier: Apache-2.0
3+
*
4+
* Copyright (c) 2025 Linumiz GmbH
5+
*/
6+
7+
&tima0 {
8+
ti,clk-prescaler = <255>;
9+
ti,clk-div = <8>;
10+
status = "okay";
11+
};
12+
13+
&pwma0 {
14+
status = "okay";
15+
};

0 commit comments

Comments
 (0)