Skip to content

Commit ea1ab43

Browse files
robherringdlezcano
authored andcommitted
dt-bindings: timer: Convert marvell,orion-timer to DT schema
Convert the Marvell Orion Timer binding to DT schema format. It's a straight-forward conversion. Signed-off-by: Rob Herring (Arm) <[email protected]> Reviewed-by: Andrew Lunn <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Daniel Lezcano <[email protected]>
1 parent 39b27dd commit ea1ab43

File tree

2 files changed

+43
-16
lines changed

2 files changed

+43
-16
lines changed

Documentation/devicetree/bindings/timer/marvell,orion-timer.txt

Lines changed: 0 additions & 16 deletions
This file was deleted.
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/marvell,orion-timer.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Marvell Orion SoC timer
8+
9+
maintainers:
10+
- Andrew Lunn <[email protected]>
11+
- Gregory Clement <[email protected]>
12+
13+
properties:
14+
compatible:
15+
const: marvell,orion-timer
16+
17+
reg:
18+
maxItems: 1
19+
20+
clocks:
21+
maxItems: 1
22+
23+
interrupts:
24+
items:
25+
- description: Timer0 interrupt
26+
- description: Timer1 interrupt
27+
28+
required:
29+
- compatible
30+
- reg
31+
- interrupts
32+
- clocks
33+
34+
additionalProperties: false
35+
36+
examples:
37+
- |
38+
timer@20300 {
39+
compatible = "marvell,orion-timer";
40+
reg = <0x20300 0x20>;
41+
interrupts = <1>, <2>;
42+
clocks = <&core_clk 0>;
43+
};

0 commit comments

Comments
 (0)