diff options
| author | Thomas Gleixner <tglx@linutronix.de> | 2013-07-12 11:10:30 -0400 |
|---|---|---|
| committer | Thomas Gleixner <tglx@linutronix.de> | 2013-07-12 11:10:30 -0400 |
| commit | b0ec636c93ddd77235bf0f023a8a95d78cb6cafe (patch) | |
| tree | 0aec5825d51087da56c1d9bf5a3ec60316475ce1 /Documentation/devicetree | |
| parent | a272dcca1802a7e265a56e60b0d0a6715b0a8ac2 (diff) | |
| parent | c1b40e447af8695666d4c11cfec4a7407e6a124d (diff) | |
Merge branch 'timers/clockevents' of git://git.linaro.org/people/dlezcano/clockevents into timers/urgent
* New clocksource drivers for ARM SoCs to share
Diffstat (limited to 'Documentation/devicetree')
| -rw-r--r-- | Documentation/devicetree/bindings/arm/global_timer.txt | 24 | ||||
| -rw-r--r-- | Documentation/devicetree/bindings/timer/marvell,orion-timer.txt | 17 |
2 files changed, 41 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/arm/global_timer.txt b/Documentation/devicetree/bindings/arm/global_timer.txt new file mode 100644 index 000000000000..1e548981eda4 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/global_timer.txt | |||
| @@ -0,0 +1,24 @@ | |||
| 1 | |||
| 2 | * ARM Global Timer | ||
| 3 | Cortex-A9 are often associated with a per-core Global timer. | ||
| 4 | |||
| 5 | ** Timer node required properties: | ||
| 6 | |||
| 7 | - compatible : Should be "arm,cortex-a9-global-timer" | ||
| 8 | Driver supports versions r2p0 and above. | ||
| 9 | |||
| 10 | - interrupts : One interrupt to each core | ||
| 11 | |||
| 12 | - reg : Specify the base address and the size of the GT timer | ||
| 13 | register window. | ||
| 14 | |||
| 15 | - clocks : Should be phandle to a clock. | ||
| 16 | |||
| 17 | Example: | ||
| 18 | |||
| 19 | timer@2c000600 { | ||
| 20 | compatible = "arm,cortex-a9-global-timer"; | ||
| 21 | reg = <0x2c000600 0x20>; | ||
| 22 | interrupts = <1 13 0xf01>; | ||
| 23 | clocks = <&arm_periph_clk>; | ||
| 24 | }; | ||
diff --git a/Documentation/devicetree/bindings/timer/marvell,orion-timer.txt b/Documentation/devicetree/bindings/timer/marvell,orion-timer.txt new file mode 100644 index 000000000000..62bb8260cf6a --- /dev/null +++ b/Documentation/devicetree/bindings/timer/marvell,orion-timer.txt | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | Marvell Orion SoC timer | ||
| 2 | |||
| 3 | Required properties: | ||
| 4 | - compatible: shall be "marvell,orion-timer" | ||
| 5 | - reg: base address of the timer register starting with TIMERS CONTROL register | ||
| 6 | - interrupt-parent: phandle of the bridge interrupt controller | ||
| 7 | - interrupts: should contain the interrupts for Timer0 and Timer1 | ||
| 8 | - clocks: phandle of timer reference clock (tclk) | ||
| 9 | |||
| 10 | Example: | ||
| 11 | timer: timer { | ||
| 12 | compatible = "marvell,orion-timer"; | ||
| 13 | reg = <0x20300 0x20>; | ||
| 14 | interrupt-parent = <&bridge_intc>; | ||
| 15 | interrupts = <1>, <2>; | ||
| 16 | clocks = <&core_clk 0>; | ||
| 17 | }; | ||
