Lines Matching +full:gic +full:- +full:timer
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 <krzk@kernel.org>
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 - tesla,fsd-mct
37 - const: samsung,exynos4210-mct
42 clock-names:
44 - const: fin_pll
45 - const: mct
50 samsung,frc-shared:
54 free-running counter with a different (main) processor.
56 samsung,local-timers:
57 $ref: /schemas/types.yaml#/definitions/uint32-array
65 Interrupts should be put in specific order. This is, the local timer
66 interrupts should be specified after the four global timer interrupts
68 0: Global Timer Interrupt 0
69 1: Global Timer Interrupt 1
70 2: Global Timer Interrupt 2
71 3: Global Timer Interrupt 3
72 4: Local Timer Interrupt 0
73 5: Local Timer Interrupt 1
76 i: Local Timer Interrupt n
77 For MCT block that uses a per-processor interrupt for local timers, such
78 as ones compatible with "samsung,exynos4412-mct", only one local timer
85 - compatible
86 - clock-names
87 - clocks
88 - interrupts
89 - reg
92 - if:
98 - axis,artpec8-mct
101 samsung,local-timers: false
102 samsung,frc-shared: false
103 - if:
107 const: samsung,exynos3250-mct
114 - if:
118 const: samsung,exynos5250-mct
125 - if:
130 - axis,artpec8-mct
131 - google,gs101-mct
132 - samsung,exynos5260-mct
133 - samsung,exynos5420-mct
134 - samsung,exynos5433-mct
135 - samsung,exynos850-mct
142 - if:
147 - tesla,fsd-mct
157 - |
159 // interrupts, so two local timer interrupts have been specified,
160 // in addition to four global timer interrupts.
161 #include <dt-bindings/clock/exynos4.h>
162 #include <dt-bindings/interrupt-controller/arm-gic.h>
164 timer@10050000 {
165 compatible = "samsung,exynos4210-mct";
168 clock-names = "fin_pll", "mct";
178 - |
179 // In this example, the timer interrupts are connected to two separate
180 // interrupt controllers. Hence, an interrupts-extended is needed.
181 #include <dt-bindings/clock/exynos4.h>
182 #include <dt-bindings/interrupt-controller/arm-gic.h>
184 timer@101c0000 {
185 compatible = "samsung,exynos4210-mct";
188 clock-names = "fin_pll", "mct";
190 interrupts-extended = <&gic GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>,
191 <&gic GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>,
194 <&gic GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>,
195 <&gic GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>;
198 - |
200 // a per-processor interrupt to handle them. Only one first local
202 #include <dt-bindings/clock/exynos4.h>
203 #include <dt-bindings/interrupt-controller/arm-gic.h>
205 timer@10050000 {
206 compatible = "samsung,exynos4412-mct";
209 clock-names = "fin_pll", "mct";
218 - |
220 // a per-processor interrupt to handle them. All the local timer
222 #include <dt-bindings/clock/exynos4.h>
223 #include <dt-bindings/interrupt-controller/arm-gic.h>
225 timer@10050000 {
226 compatible = "samsung,exynos4412-mct";
229 clock-names = "fin_pll", "mct";