Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 342212
b: refs/heads/master
c: 91dc985
h: refs/heads/master
v: v3
  • Loading branch information
Josh Cartwright authored and Michal Simek committed Nov 14, 2012
1 parent b31db6f commit 7654045
Show file tree
Hide file tree
Showing 4 changed files with 229 additions and 123 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0f586fbf6f6a9119392a5cb0f193ac11c753b09e
refs/heads/master: 91dc985c5e51af7036c1ccf9cea1b05662c96791
53 changes: 53 additions & 0 deletions trunk/arch/arm/boot/dts/zynq-7000.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -109,5 +109,58 @@
};
};
};

ttc0: ttc0@f8001000 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "xlnx,ttc";
reg = <0xF8001000 0x1000>;
clocks = <&cpu_clk 3>;
clock-names = "cpu_1x";
clock-ranges;

ttc0_0: ttc0.0 {
status = "disabled";
reg = <0>;
interrupts = <0 10 4>;
};
ttc0_1: ttc0.1 {
status = "disabled";
reg = <1>;
interrupts = <0 11 4>;
};
ttc0_2: ttc0.2 {
status = "disabled";
reg = <2>;
interrupts = <0 12 4>;
};
};

ttc1: ttc1@f8002000 {
#interrupt-parent = <&intc>;
#address-cells = <1>;
#size-cells = <0>;
compatible = "xlnx,ttc";
reg = <0xF8002000 0x1000>;
clocks = <&cpu_clk 3>;
clock-names = "cpu_1x";
clock-ranges;

ttc1_0: ttc1.0 {
status = "disabled";
reg = <0>;
interrupts = <0 37 4>;
};
ttc1_1: ttc1.1 {
status = "disabled";
reg = <1>;
interrupts = <0 38 4>;
};
ttc1_2: ttc1.2 {
status = "disabled";
reg = <2>;
interrupts = <0 39 4>;
};
};
};
};
10 changes: 10 additions & 0 deletions trunk/arch/arm/boot/dts/zynq-zc702.dts
Original file line number Diff line number Diff line change
Expand Up @@ -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";
};
Loading

0 comments on commit 7654045

Please sign in to comment.