MIPS: jz4740: Add DTS nodes for the TCU drivers
[linux-2.6-microblaze.git] / arch / mips / boot / dts / ingenic / jz4780.dtsi
index b03cdec..c54bd7c 100644 (file)
                #clock-cells = <1>;
        };
 
+       tcu: timer@10002000 {
+               compatible = "ingenic,jz4780-tcu",
+                            "ingenic,jz4770-tcu",
+                            "simple-mfd";
+               reg = <0x10002000 0x1000>;
+               #address-cells = <1>;
+               #size-cells = <1>;
+               ranges = <0x0 0x10002000 0x1000>;
+
+               #clock-cells = <1>;
+
+               clocks = <&cgu JZ4780_CLK_RTCLK
+                         &cgu JZ4780_CLK_EXCLK
+                         &cgu JZ4780_CLK_PCLK>;
+               clock-names = "rtc", "ext", "pclk";
+
+               interrupt-controller;
+               #interrupt-cells = <1>;
+
+               interrupt-parent = <&intc>;
+               interrupts = <27 26 25>;
+       };
+
        rtc_dev: rtc@10003000 {
                compatible = "ingenic,jz4780-rtc";
                reg = <0x10003000 0x4c>;