1*c66ec88fSEmmanuel VadotAndestech ATCPIT100 timer 2*c66ec88fSEmmanuel Vadot------------------------------------------------------------------ 3*c66ec88fSEmmanuel VadotATCPIT100 is a generic IP block from Andes Technology, embedded in 4*c66ec88fSEmmanuel VadotAndestech AE3XX platforms and other designs. 5*c66ec88fSEmmanuel Vadot 6*c66ec88fSEmmanuel VadotThis timer is a set of compact multi-function timers, which can be 7*c66ec88fSEmmanuel Vadotused as pulse width modulators (PWM) as well as simple timers. 8*c66ec88fSEmmanuel Vadot 9*c66ec88fSEmmanuel VadotIt supports up to 4 PIT channels. Each PIT channel is a 10*c66ec88fSEmmanuel Vadotmulti-function timer and provide the following usage scenarios: 11*c66ec88fSEmmanuel VadotOne 32-bit timer 12*c66ec88fSEmmanuel VadotTwo 16-bit timers 13*c66ec88fSEmmanuel VadotFour 8-bit timers 14*c66ec88fSEmmanuel VadotOne 16-bit PWM 15*c66ec88fSEmmanuel VadotOne 16-bit timer and one 8-bit PWM 16*c66ec88fSEmmanuel VadotTwo 8-bit timer and one 8-bit PWM 17*c66ec88fSEmmanuel Vadot 18*c66ec88fSEmmanuel VadotRequired properties: 19*c66ec88fSEmmanuel Vadot- compatible : Should be "andestech,atcpit100" 20*c66ec88fSEmmanuel Vadot- reg : Address and length of the register set 21*c66ec88fSEmmanuel Vadot- interrupts : Reference to the timer interrupt 22*c66ec88fSEmmanuel Vadot- clocks : a clock to provide the tick rate for "andestech,atcpit100" 23*c66ec88fSEmmanuel Vadot- clock-names : should be "PCLK" for the peripheral clock source. 24*c66ec88fSEmmanuel Vadot 25*c66ec88fSEmmanuel VadotExamples: 26*c66ec88fSEmmanuel Vadot 27*c66ec88fSEmmanuel Vadottimer0: timer@f0400000 { 28*c66ec88fSEmmanuel Vadot compatible = "andestech,atcpit100"; 29*c66ec88fSEmmanuel Vadot reg = <0xf0400000 0x1000>; 30*c66ec88fSEmmanuel Vadot interrupts = <2>; 31*c66ec88fSEmmanuel Vadot clocks = <&apb>; 32*c66ec88fSEmmanuel Vadot clock-names = "PCLK"; 33*c66ec88fSEmmanuel Vadot}; 34