aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2013-09-16 16:10:26 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2013-09-16 16:10:26 -0400
commita4ae54f90e0a7063799eb90852aa8648ccfbb791 (patch)
tree88fd7f7920c8849fed99c782ab1fc605da69a375 /Documentation/devicetree
parent3369d116934b70bd2755cdd8b2af9741d18a4047 (diff)
parent63ce2cc474ce962d936ae6dfaa6ae2354b1db5b2 (diff)
Merge branch 'timers/core' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull timer code update from Thomas Gleixner: - armada SoC clocksource overhaul with a trivial merge conflict - Minor improvements to various SoC clocksource drivers * 'timers/core' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: clocksource: armada-370-xp: Add detailed clock requirements in devicetree binding clocksource: armada-370-xp: Get reference fixed-clock by name clocksource: armada-370-xp: Replace WARN_ON with BUG_ON clocksource: armada-370-xp: Fix device-tree binding clocksource: armada-370-xp: Introduce new compatibles clocksource: armada-370-xp: Use CLOCKSOURCE_OF_DECLARE clocksource: armada-370-xp: Simplify TIMER_CTRL register access clocksource: armada-370-xp: Use BIT() ARM: timer-sp: Set dynamic irq affinity ARM: nomadik: add dynamic irq flag to the timer clocksource: sh_cmt: 32-bit control register support clocksource: em_sti: Convert to devm_* managed helpers
Diffstat (limited to 'Documentation/devicetree')
-rw-r--r--Documentation/devicetree/bindings/timer/marvell,armada-370-xp-timer.txt36
1 files changed, 31 insertions, 5 deletions
diff --git a/Documentation/devicetree/bindings/timer/marvell,armada-370-xp-timer.txt b/Documentation/devicetree/bindings/timer/marvell,armada-370-xp-timer.txt
index 36381129d141..f455182b1086 100644
--- a/Documentation/devicetree/bindings/timer/marvell,armada-370-xp-timer.txt
+++ b/Documentation/devicetree/bindings/timer/marvell,armada-370-xp-timer.txt
@@ -2,14 +2,40 @@ Marvell Armada 370 and Armada XP Timers
2--------------------------------------- 2---------------------------------------
3 3
4Required properties: 4Required properties:
5- compatible: Should be "marvell,armada-370-xp-timer" 5- compatible: Should be either "marvell,armada-370-timer" or
6 "marvell,armada-xp-timer" as appropriate.
6- interrupts: Should contain the list of Global Timer interrupts and 7- interrupts: Should contain the list of Global Timer interrupts and
7 then local timer interrupts 8 then local timer interrupts
8- reg: Should contain location and length for timers register. First 9- reg: Should contain location and length for timers register. First
9 pair for the Global Timer registers, second pair for the 10 pair for the Global Timer registers, second pair for the
10 local/private timers. 11 local/private timers.
11- clocks: clock driving the timer hardware
12 12
13Optional properties: 13Clocks required for compatible = "marvell,armada-370-timer":
14- marvell,timer-25Mhz: Tells whether the Global timer supports the 25 14- clocks : Must contain a single entry describing the clock input
15 Mhz fixed mode (available on Armada XP and not on Armada 370) 15
16Clocks required for compatible = "marvell,armada-xp-timer":
17- clocks : Must contain an entry for each entry in clock-names.
18- clock-names : Must include the following entries:
19 "nbclk" (L2/coherency fabric clock),
20 "fixed" (Reference 25 MHz fixed-clock).
21
22Examples:
23
24- Armada 370:
25
26 timer {
27 compatible = "marvell,armada-370-timer";
28 reg = <0x20300 0x30>, <0x21040 0x30>;
29 interrupts = <37>, <38>, <39>, <40>, <5>, <6>;
30 clocks = <&coreclk 2>;
31 };
32
33- Armada XP:
34
35 timer {
36 compatible = "marvell,armada-xp-timer";
37 reg = <0x20300 0x30>, <0x21040 0x30>;
38 interrupts = <37>, <38>, <39>, <40>, <5>, <6>;
39 clocks = <&coreclk 2>, <&refclk>;
40 clock-names = "nbclk", "fixed";
41 };