xref: /freebsd/sys/contrib/device-tree/Bindings/rtc/epson,rx8900.yaml (revision e1e636193db45630c7881246d25902e57c43d24e)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/rtc/epson,rx8900.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: EPSON RX8900 / Microcrystal RV8803 Real-Time Clock
8
9maintainers:
10  - Marek Vasut <marex@denx.de>
11
12allOf:
13  - $ref: rtc.yaml#
14
15properties:
16  compatible:
17    enum:
18      - epson,rx8804
19      - epson,rx8900
20      - microcrystal,rv8803
21
22  reg:
23    maxItems: 1
24
25  epson,vdet-disable:
26    type: boolean
27    description: |
28      Disable voltage detector. Should be set if no backup battery is used.
29
30  trickle-diode-disable: true
31
32required:
33  - compatible
34  - reg
35
36additionalProperties: false
37
38examples:
39  - |
40    i2c {
41        #address-cells = <1>;
42        #size-cells = <0>;
43
44        rtc@32 {
45            compatible = "epson,rx8900";
46            reg = <0x32>;
47            epson,vdet-disable;
48            trickle-diode-disable;
49        };
50    };
51