Lines Matching +full:one +full:- +full:timer +full:- +full:only

1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/timer/samsung,exynos4210-mct.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Samsung Exynos SoC Multi Core Timer (MCT)
10 - Krzysztof Kozlowski <[email protected]>
13 The Samsung's Multi Core Timer (MCT) module includes two main blocks, the
14 global timer and CPU local timers. The global timer is a 64-bit free running
15 up-counter and can generate 4 interrupts when the counter reaches one of the
16 four preset counter values. The CPU local timers are 32-bit free running
17 down-counters and generate an interrupt when the counter expires. There is
18 one CPU local timer instantiated in MCT for every CPU in the system.
23 - enum:
24 - samsung,exynos4210-mct
25 - samsung,exynos4412-mct
26 - items:
27 - enum:
28 - axis,artpec8-mct
29 - google,gs101-mct
30 - samsung,exynos3250-mct
31 - samsung,exynos5250-mct
32 - samsung,exynos5260-mct
33 - samsung,exynos5420-mct
34 - samsung,exynos5433-mct
35 - samsung,exynos850-mct
36 - samsung,exynos8895-mct
37 - tesla,fsd-mct
38 - const: samsung,exynos4210-mct
43 clock-names:
45 - const: fin_pll
46 - const: mct
51 samsung,frc-shared:
55 free-running counter with a different (main) processor.
57 samsung,local-timers:
58 $ref: /schemas/types.yaml#/definitions/uint32-array
66 Interrupts should be put in specific order. This is, the local timer
67 interrupts should be specified after the four global timer interrupts
69 0: Global Timer Interrupt 0
70 1: Global Timer Interrupt 1
71 2: Global Timer Interrupt 2
72 3: Global Timer Interrupt 3
73 4: Local Timer Interrupt 0
74 5: Local Timer Interrupt 1
77 i: Local Timer Interrupt n
78 For MCT block that uses a per-processor interrupt for local timers, such
79 as ones compatible with "samsung,exynos4412-mct", only one local timer
86 - compatible
87 - clock-names
88 - clocks
89 - interrupts
90 - reg
93 - if:
99 - axis,artpec8-mct
102 samsung,local-timers: false
103 samsung,frc-shared: false
104 - if:
108 const: samsung,exynos3250-mct
115 - if:
119 const: samsung,exynos5250-mct
126 - if:
131 - axis,artpec8-mct
132 - google,gs101-mct
133 - samsung,exynos5260-mct
134 - samsung,exynos5420-mct
135 - samsung,exynos5433-mct
136 - samsung,exynos850-mct
137 - samsung,exynos8895-mct
144 - if:
149 - tesla,fsd-mct
159 - |
161 // interrupts, so two local timer interrupts have been specified,
162 // in addition to four global timer interrupts.
163 #include <dt-bindings/clock/exynos4.h>
164 #include <dt-bindings/interrupt-controller/arm-gic.h>
166 timer@10050000 {
167 compatible = "samsung,exynos4210-mct";
170 clock-names = "fin_pll", "mct";
180 - |
181 // In this example, the timer interrupts are connected to two separate
182 // interrupt controllers. Hence, an interrupts-extended is needed.
183 #include <dt-bindings/clock/exynos4.h>
184 #include <dt-bindings/interrupt-controller/arm-gic.h>
186 timer@101c0000 {
187 compatible = "samsung,exynos4210-mct";
190 clock-names = "fin_pll", "mct";
192 interrupts-extended = <&gic GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>,
200 - |
202 // a per-processor interrupt to handle them. Only one first local
204 #include <dt-bindings/clock/exynos4.h>
205 #include <dt-bindings/interrupt-controller/arm-gic.h>
207 timer@10050000 {
208 compatible = "samsung,exynos4412-mct";
211 clock-names = "fin_pll", "mct";
220 - |
222 // a per-processor interrupt to handle them. All the local timer
224 #include <dt-bindings/clock/exynos4.h>
225 #include <dt-bindings/interrupt-controller/arm-gic.h>
227 timer@10050000 {
228 compatible = "samsung,exynos4412-mct";
231 clock-names = "fin_pll", "mct";