xref: /freebsd/sys/contrib/device-tree/Bindings/timer/faraday,fttmr010.txt (revision b077aed33b7b6aefca7b17ddb250cf521f938613)
1Faraday Technology timer
2
3This timer is a generic IP block from Faraday Technology, embedded in the
4Cortina Systems Gemini SoCs and other designs.
5
6Required 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  "aspeed,ast2600-timer"
15
16- reg : Should contain registers location and length
17- interrupts : Should contain the three timer interrupts usually with
18  flags for falling edge
19
20Optionally required properties:
21
22- clocks : a clock to provide the tick rate for "faraday,fttmr010"
23- clock-names : should be "EXTCLK" and "PCLK" for the external tick timer
24  and peripheral clock respectively, for "faraday,fttmr010"
25- syscon : a phandle to the global Gemini system controller if the compatible
26  type is "cortina,gemini-timer"
27
28Example:
29
30timer@43000000 {
31	compatible = "faraday,fttmr010";
32	reg = <0x43000000 0x1000>;
33	interrupts = <14 IRQ_TYPE_EDGE_FALLING>, /* Timer 1 */
34		   <15 IRQ_TYPE_EDGE_FALLING>, /* Timer 2 */
35		   <16 IRQ_TYPE_EDGE_FALLING>; /* Timer 3 */
36	clocks = <&extclk>, <&pclk>;
37	clock-names = "EXTCLK", "PCLK";
38};
39