1*c66ec88fSEmmanuel Vadot* MSM Timer 2*c66ec88fSEmmanuel Vadot 3*c66ec88fSEmmanuel VadotProperties: 4*c66ec88fSEmmanuel Vadot 5*c66ec88fSEmmanuel Vadot- compatible : Should at least contain "qcom,msm-timer". More specific 6*c66ec88fSEmmanuel Vadot properties specify which subsystem the timers are paired with. 7*c66ec88fSEmmanuel Vadot 8*c66ec88fSEmmanuel Vadot "qcom,kpss-timer" - krait subsystem 9*c66ec88fSEmmanuel Vadot "qcom,scss-timer" - scorpion subsystem 10*c66ec88fSEmmanuel Vadot 11*c66ec88fSEmmanuel Vadot- interrupts : Interrupts for the debug timer, the first general purpose 12*c66ec88fSEmmanuel Vadot timer, and optionally a second general purpose timer, and 13*c66ec88fSEmmanuel Vadot optionally as well, 2 watchdog interrupts, in that order. 14*c66ec88fSEmmanuel Vadot 15*c66ec88fSEmmanuel Vadot- reg : Specifies the base address of the timer registers. 16*c66ec88fSEmmanuel Vadot 17*c66ec88fSEmmanuel Vadot- clocks: Reference to the parent clocks, one per output clock. The parents 18*c66ec88fSEmmanuel Vadot must appear in the same order as the clock names. 19*c66ec88fSEmmanuel Vadot 20*c66ec88fSEmmanuel Vadot- clock-names: The name of the clocks as free-form strings. They should be in 21*c66ec88fSEmmanuel Vadot the same order as the clocks. 22*c66ec88fSEmmanuel Vadot 23*c66ec88fSEmmanuel Vadot- clock-frequency : The frequency of the debug timer and the general purpose 24*c66ec88fSEmmanuel Vadot timer(s) in Hz in that order. 25*c66ec88fSEmmanuel Vadot 26*c66ec88fSEmmanuel VadotOptional: 27*c66ec88fSEmmanuel Vadot 28*c66ec88fSEmmanuel Vadot- cpu-offset : per-cpu offset used when the timer is accessed without the 29*c66ec88fSEmmanuel Vadot CPU remapping facilities. The offset is 30*c66ec88fSEmmanuel Vadot cpu-offset + (0x10000 * cpu-nr). 31*c66ec88fSEmmanuel Vadot 32*c66ec88fSEmmanuel VadotExample: 33*c66ec88fSEmmanuel Vadot 34*c66ec88fSEmmanuel Vadot timer@200a000 { 35*c66ec88fSEmmanuel Vadot compatible = "qcom,scss-timer", "qcom,msm-timer"; 36*c66ec88fSEmmanuel Vadot interrupts = <1 1 0x301>, 37*c66ec88fSEmmanuel Vadot <1 2 0x301>, 38*c66ec88fSEmmanuel Vadot <1 3 0x301>, 39*c66ec88fSEmmanuel Vadot <1 4 0x301>, 40*c66ec88fSEmmanuel Vadot <1 5 0x301>; 41*c66ec88fSEmmanuel Vadot reg = <0x0200a000 0x100>; 42*c66ec88fSEmmanuel Vadot clock-frequency = <19200000>, 43*c66ec88fSEmmanuel Vadot <32768>; 44*c66ec88fSEmmanuel Vadot clocks = <&sleep_clk>; 45*c66ec88fSEmmanuel Vadot clock-names = "sleep"; 46*c66ec88fSEmmanuel Vadot cpu-offset = <0x40000>; 47*c66ec88fSEmmanuel Vadot }; 48