Skip to content

Commit a6b4f79

Browse files
robherringalexandrebelloni
authored andcommitted
dt-bindings: rtc: Convert apm,xgene-rtc to DT schema
Convert the APM XGene RTC binding to DT schema format. It's a straight-forward conversion. Signed-off-by: Rob Herring (Arm) <robh@kernel.org> Link: https://lore.kernel.org/r/20250924222848.2949235-1-robh@kernel.org Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
1 parent a6de182 commit a6b4f79

File tree

2 files changed

+45
-28
lines changed

2 files changed

+45
-28
lines changed
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/rtc/apm,xgene-rtc.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: APM X-Gene Real Time Clock
8+
9+
maintainers:
10+
- Khuong Dinh <khuong@os.amperecomputing.com>
11+
12+
properties:
13+
compatible:
14+
const: apm,xgene-rtc
15+
16+
reg:
17+
maxItems: 1
18+
19+
interrupts:
20+
maxItems: 1
21+
22+
'#clock-cells':
23+
const: 1
24+
25+
clocks:
26+
maxItems: 1
27+
28+
required:
29+
- compatible
30+
- reg
31+
- interrupts
32+
- '#clock-cells'
33+
- clocks
34+
35+
additionalProperties: false
36+
37+
examples:
38+
- |
39+
rtc@10510000 {
40+
compatible = "apm,xgene-rtc";
41+
reg = <0x10510000 0x400>;
42+
interrupts = <0x0 0x46 0x4>;
43+
#clock-cells = <1>;
44+
clocks = <&rtcclk 0>;
45+
};

Documentation/devicetree/bindings/rtc/xgene-rtc.txt

Lines changed: 0 additions & 28 deletions
This file was deleted.

0 commit comments

Comments
 (0)