]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - Documentation/devicetree/bindings/timer/faraday,fttmr010.txt
Merge tag 'renesas-fixes4-for-v4.13' of https://git.kernel.org/pub/scm/linux/kernel...
[karo-tx-linux.git] / Documentation / devicetree / bindings / timer / faraday,fttmr010.txt
1 Faraday Technology timer
2
3 This timer is a generic IP block from Faraday Technology, embedded in the
4 Cortina Systems Gemini SoCs and other designs.
5
6 Required properties:
7
8 - compatible : Must be one of
9   "faraday,fttmr010"
10   "cortina,gemini-timer", "faraday,fttmr010"
11   "moxa,moxart-timer", "faraday,fttmr010"
12   "aspeed,ast2400-timer"
13   "aspeed,ast2500-timer"
14
15 - reg : Should contain registers location and length
16 - interrupts : Should contain the three timer interrupts usually with
17   flags for falling edge
18
19 Optionally required properties:
20
21 - clocks : a clock to provide the tick rate for "faraday,fttmr010"
22 - clock-names : should be "EXTCLK" and "PCLK" for the external tick timer
23   and peripheral clock respectively, for "faraday,fttmr010"
24 - syscon : a phandle to the global Gemini system controller if the compatible
25   type is "cortina,gemini-timer"
26
27 Example:
28
29 timer@43000000 {
30         compatible = "faraday,fttmr010";
31         reg = <0x43000000 0x1000>;
32         interrupts = <14 IRQ_TYPE_EDGE_FALLING>, /* Timer 1 */
33                    <15 IRQ_TYPE_EDGE_FALLING>, /* Timer 2 */
34                    <16 IRQ_TYPE_EDGE_FALLING>; /* Timer 3 */
35         clocks = <&extclk>, <&pclk>;
36         clock-names = "EXTCLK", "PCLK";
37 };