Skip to content

Commit c3205f0

Browse files
robherringdlezcano
authored andcommitted
dt-bindings: timer: Convert csky,gx6605s-timer to DT schema
Convert the C-SKY gx6605s timer binding to DT schema format. It's a straight-forward conversion. Signed-off-by: Rob Herring (Arm) <[email protected]> Acked-by: Guo Ren <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Daniel Lezcano <[email protected]>
1 parent 157265a commit c3205f0

File tree

2 files changed

+40
-42
lines changed

2 files changed

+40
-42
lines changed

Documentation/devicetree/bindings/timer/csky,gx6605s-timer.txt

Lines changed: 0 additions & 42 deletions
This file was deleted.
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
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,gx6605s-timer.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: gx6605s SOC Timer
8+
9+
maintainers:
10+
- Guo Ren <[email protected]>
11+
12+
properties:
13+
compatible:
14+
const: csky,gx6605s-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@20a000 {
36+
compatible = "csky,gx6605s-timer";
37+
reg = <0x0020a000 0x400>;
38+
clocks = <&dummy_apb_clk>;
39+
interrupts = <10>;
40+
};

0 commit comments

Comments
 (0)