xref: /linux/Documentation/devicetree/bindings/rtc/st,m41t93.yaml (revision 2ed2e359dea752e7758d29a423033031a0b96584)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/rtc/st,m41t93.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: ST M41T93 RTC and compatible
8
9maintainers:
10  - Akhilesh Patil <akhilesh@ee.iitb.ac.in>
11
12description:
13  ST M41T93 is spi based Real Time Clock (RTC) with time, date,
14  alarm, watchdog, square wave clock output, 8 bit timer and
15  7 bytes of user SRAM.
16
17properties:
18  compatible:
19    enum:
20      - st,m41t93
21
22  reg:
23    maxItems: 1
24
25  "#clock-cells":
26    const: 0
27
28required:
29  - compatible
30  - reg
31
32allOf:
33  - $ref: rtc.yaml
34  - $ref: /schemas/spi/spi-peripheral-props.yaml#
35
36unevaluatedProperties: false
37
38examples:
39  - |
40    spi {
41      #address-cells = <1>;
42      #size-cells = <0>;
43      rtc@0 {
44        compatible = "st,m41t93";
45        reg = <0>;
46        #clock-cells = <0>;
47        spi-max-frequency = <2000000>;
48      };
49    };
50
51