Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/timer/lsi,zevio-timer.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: TI-NSPIRE timer
8
9maintainers:
10 - Daniel Tang <dt.tangr@gmail.com>
11
12properties:
13 compatible:
14 const: lsi,zevio-timer
15
16 reg:
17 minItems: 1
18 items:
19 - description: Timer registers
20 - description: Interrupt acknowledgement registers (optional)
21
22 interrupts:
23 maxItems: 1
24
25 clocks:
26 maxItems: 1
27
28required:
29 - compatible
30 - reg
31 - clocks
32
33allOf:
34 - if:
35 required: [ interrupts ]
36 then:
37 properties:
38 reg:
39 minItems: 2
40
41additionalProperties: false
42
43examples:
44 - |
45 timer@900d0000 {
46 compatible = "lsi,zevio-timer";
47 reg = <0x900D0000 0x1000>, <0x900A0020 0x8>;
48 interrupts = <19>;
49 clocks = <&timer_clk>;
50 };
51 - |
52 timer@900d0000 {
53 compatible = "lsi,zevio-timer";
54 reg = <0x900D0000 0x1000>;
55 clocks = <&timer_clk>;
56 };