About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog

Documentation / devicetree / bindings / timer / arm,sp804.txt




Custom Search

Based on kernel version 3.16. Page generated on 2014-08-06 21:38 EST.

1	ARM sp804 Dual Timers
2	---------------------------------------
3	
4	Required properties:
5	- compatible: Should be "arm,sp804" & "arm,primecell"
6	- interrupts: Should contain the list of Dual Timer interrupts. This is the
7		interrupt for timer 1 and timer 2. In the case of a single entry, it is
8		the combined interrupt or if "arm,sp804-has-irq" is present that
9		specifies which timer interrupt is connected.
10	- reg: Should contain location and length for dual timer register.
11	- clocks: clocks driving the dual timer hardware. This list should be 1 or 3
12		clocks.	With 3 clocks, the order is timer0 clock, timer1 clock,
13		apb_pclk. A single clock can also be specified if the same clock is
14		used for all clock inputs.
15	
16	Optional properties:
17	- arm,sp804-has-irq = <#>: In the case of only 1 timer irq line connected, this
18		specifies if the irq connection is for timer 1 or timer 2. A value of 1
19		or 2 should be used.
20	
21	Example:
22	
23		timer0: timer@fc800000 {
24			compatible = "arm,sp804", "arm,primecell";
25			reg = <0xfc800000 0x1000>;
26			interrupts = <0 0 4>, <0 1 4>;
27			clocks = <&timclk1 &timclk2 &pclk>;
28			clock-names = "timer1", "timer2", "apb_pclk";
29		};
Hide Line Numbers
About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog

Information is copyright its respective author. All material is available from the Linux Kernel Source distributed under a GPL License. This page is provided as a free service by mjmwired.net.