Commit 0a65172f authored by Tim Kryger's avatar Tim Kryger Committed by Christian Daudt

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: default avatarTim Kryger <tim.kryger@linaro.org>
Reviewed-by: default avatarMatt Porter <matt.porter@linaro.org>
Signed-off-by: default avatarChristian Daudt <bcm@fixthebug.org>
parent 92f5d827
...@@ -8,13 +8,18 @@ Required properties: ...@@ -8,13 +8,18 @@ Required properties:
- DEPRECATED: compatible : "bcm,kona-timer" - DEPRECATED: compatible : "bcm,kona-timer"
- reg : Register range for the timer - reg : Register range for the timer
- interrupts : interrupt for the timer - interrupts : interrupt for the timer
- clocks: phandle + clock specifier pair of the external clock
- clock-frequency: frequency that the clock operates - clock-frequency: frequency that the clock operates
Only one of clocks or clock-frequency should be specified.
Refer to clocks/clock-bindings.txt for generic clock consumer properties.
Example: Example:
timer@35006000 { timer@35006000 {
compatible = "brcm,kona-timer"; compatible = "brcm,kona-timer";
reg = <0x35006000 0x1000>; reg = <0x35006000 0x1000>;
interrupts = <0x0 7 0x4>; interrupts = <0x0 7 0x4>;
clock-frequency = <32768>; clocks = <&hub_timer_clk>;
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment