Skip to content

Commit 81f8100

Browse files
khoa-nguyen-18kartben
authored andcommitted
dts: arm: renesas: ra: Correct MSTPD bit for PWM on ra4-cm4
Correct the MSTPD bit for PWM on ra4-cm4 soc Signed-off-by: Khoa Nguyen <[email protected]>
1 parent a408aab commit 81f8100

File tree

3 files changed

+17
-3
lines changed

3 files changed

+17
-3
lines changed

dts/arm/renesas/ra/ra4/r7fa4m1ab3cfp.dtsi

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -312,3 +312,11 @@
312312
port-irq12-pins = <2>;
313313
port-irq14-pins = <5>;
314314
};
315+
316+
&pwm2 {
317+
clocks = <&pclkd MSTPD 6>;
318+
};
319+
320+
&pwm3 {
321+
clocks = <&pclkd MSTPD 6>;
322+
};

dts/arm/renesas/ra/ra4/r7fa4w1ad2cng.dtsi

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,3 +229,11 @@
229229
port-irq-names = "port-irq11";
230230
port-irq11-pins = <1>;
231231
};
232+
233+
&pwm2 {
234+
clocks = <&pclkd MSTPD 5>;
235+
};
236+
237+
&pwm3 {
238+
clocks = <&pclkd MSTPD 5>;
239+
};

dts/arm/renesas/ra/ra4/ra4-cm4-common.dtsi

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,6 @@
362362
compatible = "renesas,ra-pwm";
363363
divider = <RA_PWM_SOURCE_DIV_1>;
364364
channel = <RA_PWM_CHANNEL_2>;
365-
clocks = <&pclkd MSTPD 5>;
366365
reg = <0x40078200 0x100>;
367366
#pwm-cells = <3>;
368367
status = "disabled";
@@ -372,7 +371,6 @@
372371
compatible = "renesas,ra-pwm";
373372
divider = <RA_PWM_SOURCE_DIV_1>;
374373
channel = <RA_PWM_CHANNEL_3>;
375-
clocks = <&pclkd MSTPD 5>;
376374
reg = <0x40078300 0x100>;
377375
#pwm-cells = <3>;
378376
status = "disabled";
@@ -382,7 +380,7 @@
382380
compatible = "renesas,ra-pwm";
383381
divider = <RA_PWM_SOURCE_DIV_1>;
384382
channel = <RA_PWM_CHANNEL_4>;
385-
clocks = <&pclkd MSTPD 5>;
383+
clocks = <&pclkd MSTPD 6>;
386384
reg = <0x40078400 0x100>;
387385
#pwm-cells = <3>;
388386
status = "disabled";

0 commit comments

Comments
 (0)