File Index
Files and directories
Sign in
FILE

csky,mptimer.yaml

File preview with syntax highlighting.

linux-6.19.14/Documentation/devicetree/bindings/timer/csky,mptimer.yaml YAML
 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
 7title: C-SKY Multi-processors Timer
 8
 9maintainers:
10  - Flavio Suligoi <f.suligoi@asem.it>
11  - Guo Ren <guoren@kernel.org>
12
13description: |
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
22properties:
23  compatible:
24    items:
25      - const: csky,mptimer
26
27  clocks:
28    maxItems: 1
29
30  interrupts:
31    maxItems: 1
32
33required:
34  - compatible
35  - clocks
36  - interrupts
37
38additionalProperties: false
39
40examples:
41  - |
42    timer {
43        compatible = "csky,mptimer";
44        clocks = <&dummy_apb_clk>;
45        interrupts = <16>;
46    };
~/ Read-only file preview.