Skip to content

Commit 207bddd

Browse files
maquefelalexandrebelloni
authored andcommitted
dt-bindings: rtc: Add Cirrus EP93xx
Add device tree bindings for the Cirrus Logic EP93xx RTC block used in these SoCs. Signed-off-by: Nikita Shubin <nikita.shubin@maquefel.me> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20230915-ep93xx-v4-13-a1d779dcec10@maquefel.me Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
1 parent fdaf4c5 commit 207bddd

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/rtc/cirrus,ep9301-rtc.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Cirrus EP93xx Real Time Clock controller
8+
9+
maintainers:
10+
- Hartley Sweeten <hsweeten@visionengravers.com>
11+
- Alexander Sverdlin <alexander.sverdlin@gmail.com>
12+
13+
allOf:
14+
- $ref: rtc.yaml#
15+
16+
properties:
17+
compatible:
18+
oneOf:
19+
- const: cirrus,ep9301-rtc
20+
- items:
21+
- enum:
22+
- cirrus,ep9302-rtc
23+
- cirrus,ep9307-rtc
24+
- cirrus,ep9312-rtc
25+
- cirrus,ep9315-rtc
26+
- const: cirrus,ep9301-rtc
27+
28+
reg:
29+
maxItems: 1
30+
31+
required:
32+
- compatible
33+
- reg
34+
35+
unevaluatedProperties: false
36+
37+
examples:
38+
- |
39+
rtc@80920000 {
40+
compatible = "cirrus,ep9301-rtc";
41+
reg = <0x80920000 0x100>;
42+
};

0 commit comments

Comments
 (0)