xref: /linux/Documentation/devicetree/bindings/rtc/microcrystal,rv3028.yaml (revision b2149f948c2d60880f94a68cc784eeefe1e78b77)
1c690048eSWadim Egorov# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2c690048eSWadim Egorov%YAML 1.2
3c690048eSWadim Egorov---
4c690048eSWadim Egorov$id: http://devicetree.org/schemas/rtc/microcrystal,rv3028.yaml#
5c690048eSWadim Egorov$schema: http://devicetree.org/meta-schemas/core.yaml#
6c690048eSWadim Egorov
7c690048eSWadim Egorovtitle: Microchip RV-3028 RTC
8c690048eSWadim Egorov
9c690048eSWadim EgorovallOf:
10c690048eSWadim Egorov  - $ref: rtc.yaml#
11c690048eSWadim Egorov
12c690048eSWadim Egorovmaintainers:
13c690048eSWadim Egorov  - Alexandre Belloni <alexandre.belloni@bootlin.com>
14c690048eSWadim Egorov
15c690048eSWadim Egorovproperties:
16c690048eSWadim Egorov  compatible:
17c690048eSWadim Egorov    const: microcrystal,rv3028
18c690048eSWadim Egorov
19c690048eSWadim Egorov  reg:
20c690048eSWadim Egorov    maxItems: 1
21c690048eSWadim Egorov
22c690048eSWadim Egorov  interrupts:
23c690048eSWadim Egorov    maxItems: 1
24c690048eSWadim Egorov
25*4015580eSKarthikeyan Krishnasamy  "#clock-cells":
26*4015580eSKarthikeyan Krishnasamy    const: 0
27*4015580eSKarthikeyan Krishnasamy
28c690048eSWadim Egorov  trickle-resistor-ohms:
29c690048eSWadim Egorov    enum:
30c690048eSWadim Egorov      - 3000
31c690048eSWadim Egorov      - 5000
32c690048eSWadim Egorov      - 9000
33c690048eSWadim Egorov      - 15000
34c690048eSWadim Egorov
35c690048eSWadim Egorovrequired:
36c690048eSWadim Egorov  - compatible
37c690048eSWadim Egorov  - reg
38c690048eSWadim Egorov
39c690048eSWadim EgorovunevaluatedProperties: false
40c690048eSWadim Egorov
41c690048eSWadim Egorovexamples:
42c690048eSWadim Egorov  - |
43c690048eSWadim Egorov    #include <dt-bindings/interrupt-controller/irq.h>
44c690048eSWadim Egorov    i2c {
45c690048eSWadim Egorov        #address-cells = <1>;
46c690048eSWadim Egorov        #size-cells = <0>;
47c690048eSWadim Egorov
48c690048eSWadim Egorov        rtc@51 {
49c690048eSWadim Egorov            compatible = "microcrystal,rv3028";
50c690048eSWadim Egorov            reg = <0x51>;
51c690048eSWadim Egorov            pinctrl-0 = <&rtc_nint_pins>;
52c690048eSWadim Egorov            interrupts-extended = <&gpio1 16 IRQ_TYPE_LEVEL_HIGH>;
53c690048eSWadim Egorov            trickle-resistor-ohms = <3000>;
54c690048eSWadim Egorov        };
55c690048eSWadim Egorov    };
56c690048eSWadim Egorov
57c690048eSWadim Egorov...
58