mirror of
https://github.com/torvalds/linux.git
synced 2024-12-19 01:23:20 +00:00
0c1dcfd53b
This patch add a DT enabled driver for timers found on Marvell Orion SoCs (Kirkwood, Dove, Orion5x, and Discovery Innovation). It installs a free- running clocksource on timer0 and a clockevent source on timer1. Corresponding device tree documentation is also added. Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Tested-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com> Tested-by: Andrew Lunn <andrew@lunn.ch>
18 lines
530 B
Plaintext
18 lines
530 B
Plaintext
Marvell Orion SoC timer
|
|
|
|
Required properties:
|
|
- compatible: shall be "marvell,orion-timer"
|
|
- reg: base address of the timer register starting with TIMERS CONTROL register
|
|
- interrupt-parent: phandle of the bridge interrupt controller
|
|
- interrupts: should contain the interrupts for Timer0 and Timer1
|
|
- clocks: phandle of timer reference clock (tclk)
|
|
|
|
Example:
|
|
timer: timer {
|
|
compatible = "marvell,orion-timer";
|
|
reg = <0x20300 0x20>;
|
|
interrupt-parent = <&bridge_intc>;
|
|
interrupts = <1>, <2>;
|
|
clocks = <&core_clk 0>;
|
|
};
|