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 - samsung,exynos3250-mct
30 - samsung,exynos5250-mct
31 - samsung,exynos5260-mct
32 - samsung,exynos5420-mct
33 - samsung,exynos5433-mct
34 - samsung,exynos850-mct
35 - tesla,fsd-mct
36 - const: samsung,exynos4210-mct
41 clock-names:
43 - const: fin_pll
44 - const: mct
49 samsung,frc-shared:
53 free-running counter with a different (main) processor.
55 samsung,local-timers:
56 $ref: /schemas/types.yaml#/definitions/uint32-array
64 Interrupts should be put in specific order. This is, the local timer
65 interrupts should be specified after the four global timer interrupts
67 0: Global Timer Interrupt 0
68 1: Global Timer Interrupt 1
69 2: Global Timer Interrupt 2
70 3: Global Timer Interrupt 3
71 4: Local Timer Interrupt 0
72 5: Local Timer Interrupt 1
75 i: Local Timer Interrupt n
76 For MCT block that uses a per-processor interrupt for local timers, such
77 as ones compatible with "samsung,exynos4412-mct", only one local timer
84 - compatible
85 - clock-names
86 - clocks
87 - interrupts
88 - reg
91 - if:
97 - axis,artpec8-mct
100 samsung,local-timers: false
101 samsung,frc-shared: false
102 - if:
106 const: samsung,exynos3250-mct
113 - if:
117 const: samsung,exynos5250-mct
124 - if:
129 - axis,artpec8-mct
130 - samsung,exynos5260-mct
131 - samsung,exynos5420-mct
132 - samsung,exynos5433-mct
133 - samsung,exynos850-mct
140 - if:
145 - tesla,fsd-mct
155 - |
157 // interrupts, so two local timer interrupts have been specified,
158 // in addition to four global timer interrupts.
159 #include <dt-bindings/clock/exynos4.h>
160 #include <dt-bindings/interrupt-controller/arm-gic.h>
162 timer@10050000 {
163 compatible = "samsung,exynos4210-mct";
166 clock-names = "fin_pll", "mct";
176 - |
177 // In this example, the timer interrupts are connected to two separate
178 // interrupt controllers. Hence, an interrupts-extended is needed.
179 #include <dt-bindings/clock/exynos4.h>
180 #include <dt-bindings/interrupt-controller/arm-gic.h>
182 timer@101c0000 {
183 compatible = "samsung,exynos4210-mct";
186 clock-names = "fin_pll", "mct";
188 interrupts-extended = <&gic GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>,
189 <&gic GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>,
192 <&gic GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>,
193 <&gic GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>;
196 - |
198 // a per-processor interrupt to handle them. Only one first local
200 #include <dt-bindings/clock/exynos4.h>
201 #include <dt-bindings/interrupt-controller/arm-gic.h>
203 timer@10050000 {
204 compatible = "samsung,exynos4412-mct";
207 clock-names = "fin_pll", "mct";
216 - |
218 // a per-processor interrupt to handle them. All the local timer
220 #include <dt-bindings/clock/exynos4.h>
221 #include <dt-bindings/interrupt-controller/arm-gic.h>
223 timer@10050000 {
224 compatible = "samsung,exynos4412-mct";
227 clock-names = "fin_pll", "mct";