0001 Faraday Technology timer
0002
0003 This timer is a generic IP block from Faraday Technology, embedded in the
0004 Cortina Systems Gemini SoCs and other designs.
0005
0006 Required properties:
0007
0008 - compatible : Must be one of
0009 "faraday,fttmr010"
0010 "cortina,gemini-timer", "faraday,fttmr010"
0011 "moxa,moxart-timer", "faraday,fttmr010"
0012 "aspeed,ast2400-timer"
0013 "aspeed,ast2500-timer"
0014 "aspeed,ast2600-timer"
0015
0016 - reg : Should contain registers location and length
0017 - interrupts : Should contain the three timer interrupts usually with
0018 flags for falling edge
0019
0020 Optionally required properties:
0021
0022 - clocks : a clock to provide the tick rate for "faraday,fttmr010"
0023 - clock-names : should be "EXTCLK" and "PCLK" for the external tick timer
0024 and peripheral clock respectively, for "faraday,fttmr010"
0025 - syscon : a phandle to the global Gemini system controller if the compatible
0026 type is "cortina,gemini-timer"
0027
0028 Example:
0029
0030 timer@43000000 {
0031 compatible = "faraday,fttmr010";
0032 reg = <0x43000000 0x1000>;
0033 interrupts = <14 IRQ_TYPE_EDGE_FALLING>, /* Timer 1 */
0034 <15 IRQ_TYPE_EDGE_FALLING>, /* Timer 2 */
0035 <16 IRQ_TYPE_EDGE_FALLING>; /* Timer 3 */
0036 clocks = <&extclk>, <&pclk>;
0037 clock-names = "EXTCLK", "PCLK";
0038 };