aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree
diff options
context:
space:
mode:
authorTim Kryger <tim.kryger@linaro.org>2013-12-05 14:20:42 -0500
committerChristian Daudt <bcm@fixthebug.org>2013-12-23 02:45:32 -0500
commit0a65172f4814d710fc810c1734f4cd03d9cd655b (patch)
treea4a87b40584e4e9984bfcfb6a69d5dd04d556fa4 /Documentation/devicetree
parent92f5d827d5c3969ddf66462d26d62ca75f94a676 (diff)
Documentation: dt: kona-timer: Add clocks property
The frequency for the Kona timer can either be specified through the device tree or determined by checking the rate of the clock specified in the device tree. Update the documentation to reflect both ways. Signed-off-by: Tim Kryger <tim.kryger@linaro.org> Reviewed-by: Matt Porter <matt.porter@linaro.org> Signed-off-by: Christian Daudt <bcm@fixthebug.org>
Diffstat (limited to 'Documentation/devicetree')
-rw-r--r--Documentation/devicetree/bindings/arm/bcm/kona-timer.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/arm/bcm/kona-timer.txt b/Documentation/devicetree/bindings/arm/bcm/kona-timer.txt
index 17d88b233d1b..39adf54b4388 100644
--- a/Documentation/devicetree/bindings/arm/bcm/kona-timer.txt
+++ b/Documentation/devicetree/bindings/arm/bcm/kona-timer.txt
@@ -8,13 +8,18 @@ Required properties:
8- DEPRECATED: compatible : "bcm,kona-timer" 8- DEPRECATED: compatible : "bcm,kona-timer"
9- reg : Register range for the timer 9- reg : Register range for the timer
10- interrupts : interrupt for the timer 10- interrupts : interrupt for the timer
11- clocks: phandle + clock specifier pair of the external clock
11- clock-frequency: frequency that the clock operates 12- clock-frequency: frequency that the clock operates
12 13
14Only one of clocks or clock-frequency should be specified.
15
16Refer to clocks/clock-bindings.txt for generic clock consumer properties.
17
13Example: 18Example:
14 timer@35006000 { 19 timer@35006000 {
15 compatible = "brcm,kona-timer"; 20 compatible = "brcm,kona-timer";
16 reg = <0x35006000 0x1000>; 21 reg = <0x35006000 0x1000>;
17 interrupts = <0x0 7 0x4>; 22 interrupts = <0x0 7 0x4>;
18 clock-frequency = <32768>; 23 clocks = <&hub_timer_clk>;
19 }; 24 };
20 25