diff options
author | Martin Blumenstingl <martin.blumenstingl@googlemail.com> | 2018-10-28 13:35:14 +0100 |
---|---|---|
committer | Kevin Hilman <khilman@baylibre.com> | 2018-11-14 17:20:11 -0800 |
commit | be215b92703bd730fe3968ae8ee1de2e22ba5b1d (patch) | |
tree | 58ec2bc2ede8c92dbf78c6d408cf292681f71a9b /Documentation/devicetree/bindings/timer | |
parent | e55b892e1848e220f5248583b99bdcde63fe8f05 (diff) | |
download | talos-obmc-linux-be215b92703bd730fe3968ae8ee1de2e22ba5b1d.tar.gz talos-obmc-linux-be215b92703bd730fe3968ae8ee1de2e22ba5b1d.zip |
dt-bindings: timer: meson6_timer: document the clock inputs
The Meson Timer IP has two clock inputs:
- pclk which is used as "system clock" timebase of Timer E
- xtal which is used for the 1us, 10us, 100us and 1ms timebases of Timer
A, B, C, D and E
The IP block has four internal dividers (XTAL is running at 24MHz):
- "xtal div 24" for 1us resolution
- "xtal div 240" for 10us resolution
- "xtal div 2400" for 100us resolution
- "xtal div 24000" for 1ms resolution
Suggested-by: Jianxin Pan <jianxin.pan@amlogic.com>
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Diffstat (limited to 'Documentation/devicetree/bindings/timer')
-rw-r--r-- | Documentation/devicetree/bindings/timer/amlogic,meson6-timer.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/timer/amlogic,meson6-timer.txt b/Documentation/devicetree/bindings/timer/amlogic,meson6-timer.txt index dbdda92cffb7..a9da22bda912 100644 --- a/Documentation/devicetree/bindings/timer/amlogic,meson6-timer.txt +++ b/Documentation/devicetree/bindings/timer/amlogic,meson6-timer.txt @@ -5,6 +5,8 @@ Required properties: - compatible : should be "amlogic,meson6-timer" - reg : Specifies base physical address and size of the registers. - interrupts : The four interrupts, one for each timer event +- clocks : phandles to the pclk (system clock) and XTAL clocks +- clock-names : must contain "pclk" and "xtal" Example: @@ -15,4 +17,6 @@ timer@c1109940 { <GIC_SPI 11 IRQ_TYPE_EDGE_RISING>, <GIC_SPI 6 IRQ_TYPE_EDGE_RISING>, <GIC_SPI 29 IRQ_TYPE_EDGE_RISING>; + clocks = <&xtal>, <&clk81>; + clock-names = "xtal", "pclk"; }; |