Skip to content

Commit 71630e5

Browse files
committed
arm: dts: lpc32xx: add clocks property to Motor Control PWM device tree node
Motor Control PWM depends on its own supply clock, the clock gate control is present in TIMCLK_CTRL1 register. Fixes: b7d41c9 ("ARM: LPC32xx: Add the motor PWM to base dts file") Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
1 parent c23ac0f commit 71630e5

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

arch/arm/boot/dts/nxp/lpc/lpc32xx.dtsi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,7 @@
322322
mpwm: pwm@400e8000 {
323323
compatible = "nxp,lpc3220-motor-pwm";
324324
reg = <0x400e8000 0x78>;
325+
clocks = <&clk LPC32XX_CLK_MCPWM>;
325326
#pwm-cells = <3>;
326327
status = "disabled";
327328
};

0 commit comments

Comments
 (0)