File tree Expand file tree Collapse file tree 2 files changed +46
-42
lines changed
Documentation/devicetree/bindings/timer Expand file tree Collapse file tree 2 files changed +46
-42
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2
+ %YAML 1.2
3
+ ---
4
+ $id : http://devicetree.org/schemas/timer/csky,mptimer.yaml#
5
+ $schema : http://devicetree.org/meta-schemas/core.yaml#
6
+
7
+ title : C-SKY Multi-processors Timer
8
+
9
+ maintainers :
10
+ -
Flavio Suligoi <[email protected] >
11
+
12
+
13
+ description : |
14
+ C-SKY multi-processors timer is designed for C-SKY SMP system and the regs are
15
+ accessed by cpu co-processor 4 registers with mtcr/mfcr.
16
+
17
+ - PTIM_CTLR "cr<0, 14>" Control reg to start reset timer.
18
+ - PTIM_TSR "cr<1, 14>" Interrupt cleanup status reg.
19
+ - PTIM_CCVR "cr<3, 14>" Current counter value reg.
20
+ - PTIM_LVR "cr<6, 14>" Window value reg to trigger next event.
21
+
22
+ properties :
23
+ compatible :
24
+ items :
25
+ - const : csky,mptimer
26
+
27
+ clocks :
28
+ maxItems : 1
29
+
30
+ interrupts :
31
+ maxItems : 1
32
+
33
+ required :
34
+ - compatible
35
+ - clocks
36
+ - interrupts
37
+
38
+ additionalProperties : false
39
+
40
+ examples :
41
+ - |
42
+ timer {
43
+ compatible = "csky,mptimer";
44
+ clocks = <&dummy_apb_clk>;
45
+ interrupts = <16>;
46
+ };
You can’t perform that action at this time.
0 commit comments