162306a36Sopenharmony_ciFaraday Technology timer
262306a36Sopenharmony_ci
362306a36Sopenharmony_ciThis timer is a generic IP block from Faraday Technology, embedded in the
462306a36Sopenharmony_ciCortina Systems Gemini SoCs and other designs.
562306a36Sopenharmony_ci
662306a36Sopenharmony_ciRequired properties:
762306a36Sopenharmony_ci
862306a36Sopenharmony_ci- compatible : Must be one of
962306a36Sopenharmony_ci  "faraday,fttmr010"
1062306a36Sopenharmony_ci  "cortina,gemini-timer", "faraday,fttmr010"
1162306a36Sopenharmony_ci  "moxa,moxart-timer", "faraday,fttmr010"
1262306a36Sopenharmony_ci  "aspeed,ast2400-timer"
1362306a36Sopenharmony_ci  "aspeed,ast2500-timer"
1462306a36Sopenharmony_ci  "aspeed,ast2600-timer"
1562306a36Sopenharmony_ci
1662306a36Sopenharmony_ci- reg : Should contain registers location and length
1762306a36Sopenharmony_ci- interrupts : Should contain the three timer interrupts usually with
1862306a36Sopenharmony_ci  flags for falling edge
1962306a36Sopenharmony_ci
2062306a36Sopenharmony_ciOptionally required properties:
2162306a36Sopenharmony_ci
2262306a36Sopenharmony_ci- clocks : a clock to provide the tick rate for "faraday,fttmr010"
2362306a36Sopenharmony_ci- clock-names : should be "EXTCLK" and "PCLK" for the external tick timer
2462306a36Sopenharmony_ci  and peripheral clock respectively, for "faraday,fttmr010"
2562306a36Sopenharmony_ci- syscon : a phandle to the global Gemini system controller if the compatible
2662306a36Sopenharmony_ci  type is "cortina,gemini-timer"
2762306a36Sopenharmony_ci
2862306a36Sopenharmony_ciExample:
2962306a36Sopenharmony_ci
3062306a36Sopenharmony_citimer@43000000 {
3162306a36Sopenharmony_ci	compatible = "faraday,fttmr010";
3262306a36Sopenharmony_ci	reg = <0x43000000 0x1000>;
3362306a36Sopenharmony_ci	interrupts = <14 IRQ_TYPE_EDGE_FALLING>, /* Timer 1 */
3462306a36Sopenharmony_ci		   <15 IRQ_TYPE_EDGE_FALLING>, /* Timer 2 */
3562306a36Sopenharmony_ci		   <16 IRQ_TYPE_EDGE_FALLING>; /* Timer 3 */
3662306a36Sopenharmony_ci	clocks = <&extclk>, <&pclk>;
3762306a36Sopenharmony_ci	clock-names = "EXTCLK", "PCLK";
3862306a36Sopenharmony_ci};
39