xref: /linux/Documentation/devicetree/bindings/rtc/st,m41t80.yaml (revision 7ae9fb1b7ecbb5d85d07857943f677fd1a559b18)
1*3e39f797SMarek Vasut# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*3e39f797SMarek Vasut%YAML 1.2
3*3e39f797SMarek Vasut---
4*3e39f797SMarek Vasut$id: http://devicetree.org/schemas/rtc/st,m41t80.yaml#
5*3e39f797SMarek Vasut$schema: http://devicetree.org/meta-schemas/core.yaml#
6*3e39f797SMarek Vasut
7*3e39f797SMarek Vasuttitle: ST M41T80 family of RTC and compatible
8*3e39f797SMarek Vasut
9*3e39f797SMarek Vasutmaintainers:
10*3e39f797SMarek Vasut  - Alexandre Belloni <alexandre.belloni@bootlin.com>
11*3e39f797SMarek Vasut
12*3e39f797SMarek Vasutproperties:
13*3e39f797SMarek Vasut  compatible:
14*3e39f797SMarek Vasut    enum:
15*3e39f797SMarek Vasut      - st,m41t62
16*3e39f797SMarek Vasut      - st,m41t65
17*3e39f797SMarek Vasut      - st,m41t80
18*3e39f797SMarek Vasut      - st,m41t81
19*3e39f797SMarek Vasut      - st,m41t81s
20*3e39f797SMarek Vasut      - st,m41t82
21*3e39f797SMarek Vasut      - st,m41t83
22*3e39f797SMarek Vasut      - st,m41t84
23*3e39f797SMarek Vasut      - st,m41t85
24*3e39f797SMarek Vasut      - st,m41t87
25*3e39f797SMarek Vasut      - microcrystal,rv4162
26*3e39f797SMarek Vasut
27*3e39f797SMarek Vasut  reg:
28*3e39f797SMarek Vasut    maxItems: 1
29*3e39f797SMarek Vasut
30*3e39f797SMarek Vasut  interrupts:
31*3e39f797SMarek Vasut    maxItems: 1
32*3e39f797SMarek Vasut
33*3e39f797SMarek Vasut  "#clock-cells":
34*3e39f797SMarek Vasut    const: 1
35*3e39f797SMarek Vasut
36*3e39f797SMarek Vasut  clock-output-names:
37*3e39f797SMarek Vasut    maxItems: 1
38*3e39f797SMarek Vasut    description: From common clock binding to override the default output clock name.
39*3e39f797SMarek Vasut
40*3e39f797SMarek Vasut  clock:
41*3e39f797SMarek Vasut    type: object
42*3e39f797SMarek Vasut    $ref: /schemas/clock/fixed-clock.yaml#
43*3e39f797SMarek Vasut    properties:
44*3e39f797SMarek Vasut      clock-frequency:
45*3e39f797SMarek Vasut        const: 32768
46*3e39f797SMarek Vasut
47*3e39f797SMarek VasutallOf:
48*3e39f797SMarek Vasut  - $ref: rtc.yaml
49*3e39f797SMarek Vasut
50*3e39f797SMarek VasutunevaluatedProperties: false
51*3e39f797SMarek Vasut
52*3e39f797SMarek Vasutrequired:
53*3e39f797SMarek Vasut  - compatible
54*3e39f797SMarek Vasut  - reg
55*3e39f797SMarek Vasut
56*3e39f797SMarek Vasutexamples:
57*3e39f797SMarek Vasut  - |
58*3e39f797SMarek Vasut    i2c {
59*3e39f797SMarek Vasut      #address-cells = <1>;
60*3e39f797SMarek Vasut      #size-cells = <0>;
61*3e39f797SMarek Vasut      rtc@68 {
62*3e39f797SMarek Vasut        compatible = "st,m41t80";
63*3e39f797SMarek Vasut        reg = <0x68>;
64*3e39f797SMarek Vasut        interrupt-parent = <&UIC0>;
65*3e39f797SMarek Vasut        interrupts = <0x9 0x8>;
66*3e39f797SMarek Vasut
67*3e39f797SMarek Vasut        clock {
68*3e39f797SMarek Vasut          compatible = "fixed-clock";
69*3e39f797SMarek Vasut          #clock-cells = <0>;
70*3e39f797SMarek Vasut          clock-frequency = <32768>;
71*3e39f797SMarek Vasut        };
72*3e39f797SMarek Vasut      };
73*3e39f797SMarek Vasut    };
74