ARM i.MX6: Add pwm support
authorSascha Hauer <s.hauer@pengutronix.de>
Wed, 21 Nov 2012 11:18:28 +0000 (12:18 +0100)
committerSascha Hauer <s.hauer@pengutronix.de>
Thu, 22 Nov 2012 08:16:43 +0000 (09:16 +0100)
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/boot/dts/imx6q.dtsi

index 69fe8f4..d907d06 100644 (file)
                        };
 
                        pwm@02080000 { /* PWM1 */
+                               #pwm-cells = <2>;
+                               compatible = "fsl,imx6q-pwm", "fsl,imx27-pwm";
                                reg = <0x02080000 0x4000>;
                                interrupts = <0 83 0x04>;
+                               clocks = <&clks 62>, <&clks 145>;
+                               clock-names = "ipg", "per";
                        };
 
                        pwm@02084000 { /* PWM2 */
+                               #pwm-cells = <2>;
+                               compatible = "fsl,imx6q-pwm", "fsl,imx27-pwm";
                                reg = <0x02084000 0x4000>;
                                interrupts = <0 84 0x04>;
+                               clocks = <&clks 62>, <&clks 146>;
+                               clock-names = "ipg", "per";
                        };
 
                        pwm@02088000 { /* PWM3 */
+                               #pwm-cells = <2>;
+                               compatible = "fsl,imx6q-pwm", "fsl,imx27-pwm";
                                reg = <0x02088000 0x4000>;
                                interrupts = <0 85 0x04>;
+                               clocks = <&clks 62>, <&clks 147>;
+                               clock-names = "ipg", "per";
                        };
 
                        pwm@0208c000 { /* PWM4 */
+                               #pwm-cells = <2>;
+                               compatible = "fsl,imx6q-pwm", "fsl,imx27-pwm";
                                reg = <0x0208c000 0x4000>;
                                interrupts = <0 86 0x04>;
+                               clocks = <&clks 62>, <&clks 148>;
+                               clock-names = "ipg", "per";
                        };
 
                        flexcan@02090000 { /* CAN1 */