brintos

brintos / linux-shallow public Read only

0
0
Text · 1.2 KiB · 3cb2f4c Raw
39 lines · plain
1Faraday Technology timer2 3This timer is a generic IP block from Faraday Technology, embedded in the4Cortina Systems Gemini SoCs and other designs.5 6Required properties:7 8- compatible : Must be one of9  "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 length17- interrupts : Should contain the three timer interrupts usually with18  flags for falling edge19 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 timer24  and peripheral clock respectively, for "faraday,fttmr010"25- syscon : a phandle to the global Gemini system controller if the compatible26  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