Skip to content

Commit 6d0d4df

Browse files
parakadlezcano
authored andcommitted
dt-bindings: timers: Add Ralink SoCs timer
Add YAML documentation for the timer which is present on Ralink SoCs. Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com> Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Link: https://lore.kernel.org/r/20230620100231.1412582-1-sergio.paracuellos@gmail.com
1 parent e5313f1 commit 6d0d4df

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/timer/ralink,rt2880-timer.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Timer present in Ralink family SoCs
8+
9+
maintainers:
10+
- Sergio Paracuellos <sergio.paracuellos@gmail.com>
11+
12+
properties:
13+
compatible:
14+
const: ralink,rt2880-timer
15+
16+
reg:
17+
maxItems: 1
18+
19+
clocks:
20+
maxItems: 1
21+
22+
interrupts:
23+
maxItems: 1
24+
25+
required:
26+
- compatible
27+
- reg
28+
- clocks
29+
- interrupts
30+
31+
additionalProperties: false
32+
33+
examples:
34+
- |
35+
timer@100 {
36+
compatible = "ralink,rt2880-timer";
37+
reg = <0x100 0x20>;
38+
39+
clocks = <&sysc 3>;
40+
41+
interrupt-parent = <&intc>;
42+
interrupts = <1>;
43+
};
44+
...

0 commit comments

Comments
 (0)