ARM: dts: lpc32xx: set default parent clock for pwm1 & pwm2
authorSylvain Lemieux <slemieux@tycoint.com>
Thu, 8 Sep 2016 17:47:53 +0000 (13:47 -0400)
committerSylvain Lemieux <slemieux@tycoint.com>
Tue, 25 Oct 2016 17:29:31 +0000 (13:29 -0400)
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>
arch/arm/boot/dts/lpc32xx.dtsi

index b5841fab51c10c31733447c1a61a65fac3984539..d81fe433e3c82eafa0ea1703a5b6fe7905e6f7ac 100644 (file)
                                compatible = "nxp,lpc3220-pwm";
                                reg = <0x4005C000 0x4>;
                                clocks = <&clk LPC32XX_CLK_PWM1>;
+                               assigned-clocks = <&clk LPC32XX_CLK_PWM1>;
+                               assigned-clock-parents = <&clk LPC32XX_CLK_PERIPH>;
                                status = "disabled";
                        };
 
                                compatible = "nxp,lpc3220-pwm";
                                reg = <0x4005C004 0x4>;
                                clocks = <&clk LPC32XX_CLK_PWM2>;
+                               assigned-clocks = <&clk LPC32XX_CLK_PWM2>;
+                               assigned-clock-parents = <&clk LPC32XX_CLK_PERIPH>;
                                status = "disabled";
                        };