ARM: i.MX31: Add GPT devicetree node
authorSascha Hauer <s.hauer@pengutronix.de>
Thu, 14 Mar 2013 12:08:58 +0000 (13:08 +0100)
committerShawn Guo <shawn.guo@linaro.org>
Tue, 9 Apr 2013 14:52:52 +0000 (22:52 +0800)
The GPT is the GPT timer found on i.MX SoCs.

Since this is the first user of the AIPS2 this patch also adds it.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/boot/dts/imx31.dtsi

index aa488ac..c544925 100644 (file)
                                #clock-cells = <1>;
                        };
                };
+
+               aips@53f00000 { /* AIPS2 */
+                       compatible = "fsl,aips-bus", "simple-bus";
+                       #address-cells = <1>;
+                       #size-cells = <1>;
+                       reg = <0x53f00000 0x100000>;
+                       ranges;
+
+                       gpt: timer@53f90000 {
+                               compatible = "fsl,imx31-gpt";
+                               reg = <0x53f90000 0x4000>;
+                               interrupts = <29>;
+                               clocks = <&clks 10>, <&clks 22>;
+                               clock-names = "ipg", "per";
+                       };
+               };
        };
 };