Stephen Boyd | 6e33216 | 2012-09-05 12:28:53 -0700 | [diff] [blame] | 1 | * MSM Timer |
| 2 | |
| 3 | Properties: |
| 4 | |
| 5 | - compatible : Should at least contain "qcom,msm-timer". More specific |
Stephen Boyd | eebdb0c | 2013-03-14 20:31:38 -0700 | [diff] [blame] | 6 | properties specify which subsystem the timers are paired with. |
Stephen Boyd | 6e33216 | 2012-09-05 12:28:53 -0700 | [diff] [blame] | 7 | |
Stephen Boyd | eebdb0c | 2013-03-14 20:31:38 -0700 | [diff] [blame] | 8 | "qcom,kpss-timer" - krait subsystem |
| 9 | "qcom,scss-timer" - scorpion subsystem |
Stephen Boyd | 6e33216 | 2012-09-05 12:28:53 -0700 | [diff] [blame] | 10 | |
Masanari Iida | ac3e8ea | 2015-01-02 22:54:39 +0900 | [diff] [blame^] | 11 | - interrupts : Interrupts for the debug timer, the first general purpose |
Stephen Boyd | eebdb0c | 2013-03-14 20:31:38 -0700 | [diff] [blame] | 12 | timer, and optionally a second general purpose timer in that |
| 13 | order. |
Stephen Boyd | 6e33216 | 2012-09-05 12:28:53 -0700 | [diff] [blame] | 14 | |
Stephen Boyd | eebdb0c | 2013-03-14 20:31:38 -0700 | [diff] [blame] | 15 | - reg : Specifies the base address of the timer registers. |
| 16 | |
| 17 | - clock-frequency : The frequency of the debug timer and the general purpose |
| 18 | timer(s) in Hz in that order. |
Stephen Boyd | 6e33216 | 2012-09-05 12:28:53 -0700 | [diff] [blame] | 19 | |
| 20 | Optional: |
| 21 | |
| 22 | - cpu-offset : per-cpu offset used when the timer is accessed without the |
Stephen Boyd | eebdb0c | 2013-03-14 20:31:38 -0700 | [diff] [blame] | 23 | CPU remapping facilities. The offset is |
| 24 | cpu-offset + (0x10000 * cpu-nr). |
Stephen Boyd | 6e33216 | 2012-09-05 12:28:53 -0700 | [diff] [blame] | 25 | |
| 26 | Example: |
| 27 | |
Stephen Boyd | eebdb0c | 2013-03-14 20:31:38 -0700 | [diff] [blame] | 28 | timer@200a000 { |
| 29 | compatible = "qcom,scss-timer", "qcom,msm-timer"; |
| 30 | interrupts = <1 1 0x301>, |
| 31 | <1 2 0x301>, |
| 32 | <1 3 0x301>; |
| 33 | reg = <0x0200a000 0x100>; |
| 34 | clock-frequency = <19200000>, |
| 35 | <32768>; |
Stephen Boyd | 6e33216 | 2012-09-05 12:28:53 -0700 | [diff] [blame] | 36 | cpu-offset = <0x40000>; |
| 37 | }; |