]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
arm: zynq: Add smp_twd timer
authorMichal Simek <michal.simek@xilinx.com>
Wed, 27 Mar 2013 12:36:39 +0000 (13:36 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 4 Apr 2013 07:23:59 +0000 (09:23 +0200)
The zynq has a Cortex-A9 with the corresponding smp_twd timers. Use them.

Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/boot/dts/zynq-7000.dtsi

index 51243db2e9e4cd812ce435b8f534e7c26028cd4a..2a1df1bc4b9927c6b7bc00d79485f6243950eba6 100644 (file)
                        clock-names = "cpu_1x";
                        clock-ranges;
                };
+               scutimer: scutimer@f8f00600 {
+                       interrupt-parent = <&intc>;
+                       interrupts = < 1 13 0x301 >;
+                       compatible = "arm,cortex-a9-twd-timer";
+                       reg = < 0xf8f00600 0x20 >;
+                       clocks = <&cpu_clk 1>;
+               } ;
        };
 };