1bb0c6bb3SLinus WalleijFaraday Technology timer
2bb0c6bb3SLinus Walleij
3bb0c6bb3SLinus WalleijThis timer is a generic IP block from Faraday Technology, embedded in the
4bb0c6bb3SLinus WalleijCortina Systems Gemini SoCs and other designs.
5bb0c6bb3SLinus Walleij
6bb0c6bb3SLinus WalleijRequired properties:
7bb0c6bb3SLinus Walleij
8bb0c6bb3SLinus Walleij- compatible : Must be one of
9bb0c6bb3SLinus Walleij  "faraday,fttmr010"
10454a65f4SLinus Walleij  "cortina,gemini-timer", "faraday,fttmr010"
11454a65f4SLinus Walleij  "moxa,moxart-timer", "faraday,fttmr010"
12454a65f4SLinus Walleij  "aspeed,ast2400-timer"
13a6fbb9c4SDaniel Lezcano  "aspeed,ast2500-timer"
145be8badcSJoel Stanley  "aspeed,ast2600-timer"
15a6fbb9c4SDaniel Lezcano
16bb0c6bb3SLinus Walleij- reg : Should contain registers location and length
17bb0c6bb3SLinus Walleij- interrupts : Should contain the three timer interrupts usually with
18bb0c6bb3SLinus Walleij  flags for falling edge
19bb0c6bb3SLinus Walleij
20bb0c6bb3SLinus WalleijOptionally required properties:
21bb0c6bb3SLinus Walleij
22bb0c6bb3SLinus Walleij- clocks : a clock to provide the tick rate for "faraday,fttmr010"
23bb0c6bb3SLinus Walleij- clock-names : should be "EXTCLK" and "PCLK" for the external tick timer
24bb0c6bb3SLinus Walleij  and peripheral clock respectively, for "faraday,fttmr010"
25bb0c6bb3SLinus Walleij- syscon : a phandle to the global Gemini system controller if the compatible
26bb0c6bb3SLinus Walleij  type is "cortina,gemini-timer"
27bb0c6bb3SLinus Walleij
28bb0c6bb3SLinus WalleijExample:
29bb0c6bb3SLinus Walleij
30bb0c6bb3SLinus Walleijtimer@43000000 {
31bb0c6bb3SLinus Walleij	compatible = "faraday,fttmr010";
32bb0c6bb3SLinus Walleij	reg = <0x43000000 0x1000>;
33bb0c6bb3SLinus Walleij	interrupts = <14 IRQ_TYPE_EDGE_FALLING>, /* Timer 1 */
34bb0c6bb3SLinus Walleij		   <15 IRQ_TYPE_EDGE_FALLING>, /* Timer 2 */
35bb0c6bb3SLinus Walleij		   <16 IRQ_TYPE_EDGE_FALLING>; /* Timer 3 */
36bb0c6bb3SLinus Walleij	clocks = <&extclk>, <&pclk>;
37bb0c6bb3SLinus Walleij	clock-names = "EXTCLK", "PCLK";
38bb0c6bb3SLinus Walleij};
39