Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame^] | 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 | "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 | |
| 20 | Optionally 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 | |
| 28 | Example: |
| 29 | |
| 30 | timer@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 | }; |