1*c66ec88fSEmmanuel VadotARM sp804 Dual Timers 2*c66ec88fSEmmanuel Vadot--------------------------------------- 3*c66ec88fSEmmanuel Vadot 4*c66ec88fSEmmanuel VadotRequired properties: 5*c66ec88fSEmmanuel Vadot- compatible: Should be "arm,sp804" & "arm,primecell" 6*c66ec88fSEmmanuel Vadot- interrupts: Should contain the list of Dual Timer interrupts. This is the 7*c66ec88fSEmmanuel Vadot interrupt for timer 1 and timer 2. In the case of a single entry, it is 8*c66ec88fSEmmanuel Vadot the combined interrupt or if "arm,sp804-has-irq" is present that 9*c66ec88fSEmmanuel Vadot specifies which timer interrupt is connected. 10*c66ec88fSEmmanuel Vadot- reg: Should contain location and length for dual timer register. 11*c66ec88fSEmmanuel Vadot- clocks: clocks driving the dual timer hardware. This list should be 1 or 3 12*c66ec88fSEmmanuel Vadot clocks. With 3 clocks, the order is timer0 clock, timer1 clock, 13*c66ec88fSEmmanuel Vadot apb_pclk. A single clock can also be specified if the same clock is 14*c66ec88fSEmmanuel Vadot used for all clock inputs. 15*c66ec88fSEmmanuel Vadot 16*c66ec88fSEmmanuel VadotOptional properties: 17*c66ec88fSEmmanuel Vadot- arm,sp804-has-irq = <#>: In the case of only 1 timer irq line connected, this 18*c66ec88fSEmmanuel Vadot specifies if the irq connection is for timer 1 or timer 2. A value of 1 19*c66ec88fSEmmanuel Vadot or 2 should be used. 20*c66ec88fSEmmanuel Vadot 21*c66ec88fSEmmanuel VadotExample: 22*c66ec88fSEmmanuel Vadot 23*c66ec88fSEmmanuel Vadot timer0: timer@fc800000 { 24*c66ec88fSEmmanuel Vadot compatible = "arm,sp804", "arm,primecell"; 25*c66ec88fSEmmanuel Vadot reg = <0xfc800000 0x1000>; 26*c66ec88fSEmmanuel Vadot interrupts = <0 0 4>, <0 1 4>; 27*c66ec88fSEmmanuel Vadot clocks = <&timclk1 &timclk2 &pclk>; 28*c66ec88fSEmmanuel Vadot clock-names = "timer1", "timer2", "apb_pclk"; 29*c66ec88fSEmmanuel Vadot }; 30