summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/zynq-zc702.dts
diff options
context:
space:
mode:
authorJosh Cartwright <josh.cartwright@ni.com>2012-10-31 23:56:14 +0400
committerMichal Simek <michal.simek@xilinx.com>2012-11-14 19:10:42 +0400
commit91dc985c5e51af7036c1ccf9cea1b05662c96791 (patch)
treedd34ce5f4a2946cacf11bfceecce653792158d31 /arch/arm/boot/dts/zynq-zc702.dts
parent0f586fbf6f6a9119392a5cb0f193ac11c753b09e (diff)
downloadlinux-91dc985c5e51af7036c1ccf9cea1b05662c96791.tar.xz
ARM: zynq: add clk binding support to the ttc
Add support for retrieving TTC configuration from device tree. This includes the ability to pull information about the driving clocks from the of_clk bindings. Signed-off-by: Josh Cartwright <josh.cartwright@ni.com> Acked-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'arch/arm/boot/dts/zynq-zc702.dts')
-rw-r--r--arch/arm/boot/dts/zynq-zc702.dts10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/zynq-zc702.dts b/arch/arm/boot/dts/zynq-zc702.dts
index 86f44d5b0265..c772942a399a 100644
--- a/arch/arm/boot/dts/zynq-zc702.dts
+++ b/arch/arm/boot/dts/zynq-zc702.dts
@@ -32,3 +32,13 @@
&ps_clk {
clock-frequency = <33333330>;
};
+
+&ttc0_0 {
+ status = "ok";
+ compatible = "xlnx,ttc-counter-clocksource";
+};
+
+&ttc0_1 {
+ status = "ok";
+ compatible = "xlnx,ttc-counter-clockevent";
+};