ARM i.MX51: Add pwm support
authorSascha Hauer <s.hauer@pengutronix.de>
Sun, 18 Nov 2012 23:57:08 +0000 (00:57 +0100)
committerSascha Hauer <s.hauer@pengutronix.de>
Thu, 22 Nov 2012 08:16:25 +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/imx51.dtsi

index 8cf69c7..2781e47 100644 (file)
                                };
                        };
 
+                       pwm1: pwm@73fb4000 {
+                               #pwm-cells = <2>;
+                               compatible = "fsl,imx51-pwm", "fsl,imx27-pwm";
+                               reg = <0x73fb4000 0x4000>;
+                               clocks = <&clks 37>, <&clks 38>;
+                               clock-names = "ipg", "per";
+                               interrupts = <61>;
+                       };
+
+                       pwm2: pwm@73fb8000 {
+                               #pwm-cells = <2>;
+                               compatible = "fsl,imx51-pwm", "fsl,imx27-pwm";
+                               reg = <0x73fb8000 0x4000>;
+                               clocks = <&clks 39>, <&clks 40>;
+                               clock-names = "ipg", "per";
+                               interrupts = <94>;
+                       };
+
                        uart1: serial@73fbc000 {
                                compatible = "fsl,imx51-uart", "fsl,imx21-uart";
                                reg = <0x73fbc000 0x4000>;