Skip to content

Commit cfb6762

Browse files
rperieralexandrebelloni
authored andcommitted
dt-bindings: rtc: Add Mstar SSD202D RTC
Add YAML bindings for Mstar SSD202D RTC. Signed-off-by: Romain Perier <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexandre Belloni <[email protected]>
1 parent ebf6255 commit cfb6762

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/rtc/mstar,ssd202d-rtc.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Mstar SSD202D Real Time Clock
8+
9+
maintainers:
10+
- Daniel Palmer <[email protected]>
11+
- Romain Perier <[email protected]>
12+
13+
allOf:
14+
- $ref: rtc.yaml#
15+
16+
properties:
17+
compatible:
18+
enum:
19+
- mstar,ssd202d-rtc
20+
reg:
21+
maxItems: 1
22+
23+
required:
24+
- compatible
25+
- reg
26+
27+
unevaluatedProperties: false
28+
29+
examples:
30+
- |
31+
rtc@6800 {
32+
compatible = "mstar,ssd202d-rtc";
33+
reg = <0x6800 0x200>;
34+
};
35+
...

0 commit comments

Comments
 (0)