Debian Codegraph @

Documentation/devicetree/bindings/timer/csky,mptimer.yaml

raw
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 - Guo Ren <[email protected]>
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 };