ARM: dts: lpc32xx: set default parent clock for pwm1 & pwm2
The change setup the peripheral clock (PERIPH_CLK) as the default parent clock for PWM1 & PWM2. Signed-off-by: Sylvain Lemieux <slemieux@tycoint.com> Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
This commit is contained in:
parent
1001354ca3
commit
1754906fff
|
@ -479,6 +479,8 @@
|
||||||
compatible = "nxp,lpc3220-pwm";
|
compatible = "nxp,lpc3220-pwm";
|
||||||
reg = <0x4005C000 0x4>;
|
reg = <0x4005C000 0x4>;
|
||||||
clocks = <&clk LPC32XX_CLK_PWM1>;
|
clocks = <&clk LPC32XX_CLK_PWM1>;
|
||||||
|
assigned-clocks = <&clk LPC32XX_CLK_PWM1>;
|
||||||
|
assigned-clock-parents = <&clk LPC32XX_CLK_PERIPH>;
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -486,6 +488,8 @@
|
||||||
compatible = "nxp,lpc3220-pwm";
|
compatible = "nxp,lpc3220-pwm";
|
||||||
reg = <0x4005C004 0x4>;
|
reg = <0x4005C004 0x4>;
|
||||||
clocks = <&clk LPC32XX_CLK_PWM2>;
|
clocks = <&clk LPC32XX_CLK_PWM2>;
|
||||||
|
assigned-clocks = <&clk LPC32XX_CLK_PWM2>;
|
||||||
|
assigned-clock-parents = <&clk LPC32XX_CLK_PERIPH>;
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue