Skip to content

Commit 81824f7

Browse files
maquefeldlezcano
authored andcommitted
dt-bindings: timers: Add Cirrus EP93xx
Add device tree bindings for the Cirrus Logic EP93xx timer block used in these SoCs. Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Nikita Shubin <nikita.shubin@maquefel.me> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Link: https://lore.kernel.org/r/20230915-ep93xx-v4-11-a1d779dcec10@maquefel.me
1 parent 6d3bc4c commit 81824f7

File tree

1 file changed

+49
-0
lines changed

1 file changed

+49
-0
lines changed
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/timer/cirrus,ep9301-timer.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Cirrus Logic EP93xx timer
8+
9+
maintainers:
10+
- Alexander Sverdlin <alexander.sverdlin@gmail.com>
11+
- Nikita Shubin <nikita.shubin@maquefel.me>
12+
13+
properties:
14+
compatible:
15+
oneOf:
16+
- const: cirrus,ep9301-timer
17+
- items:
18+
- enum:
19+
- cirrus,ep9302-timer
20+
- cirrus,ep9307-timer
21+
- cirrus,ep9312-timer
22+
- cirrus,ep9315-timer
23+
- const: cirrus,ep9301-timer
24+
25+
reg:
26+
maxItems: 1
27+
28+
interrupts:
29+
maxItems: 1
30+
31+
resets:
32+
maxItems: 1
33+
34+
required:
35+
- compatible
36+
- reg
37+
- interrupts
38+
39+
additionalProperties: false
40+
41+
examples:
42+
- |
43+
timer@80810000 {
44+
compatible = "cirrus,ep9301-timer";
45+
reg = <0x80810000 0x100>;
46+
interrupt-parent = <&vic1>;
47+
interrupts = <19>;
48+
};
49+
...

0 commit comments

Comments
 (0)