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 DT bindings
8
9maintainers:
10  - Marek Vasut <marex@denx.de>
11
12allOf:
13  - $ref: rtc.yaml#
14
15properties:
16  compatible:
17    enum:
18      - epson,rx8900
19      - microcrystal,rv8803
20
21  reg:
22    maxItems: 1
23
24  epson,vdet-disable:
25    type: boolean
26    description: |
27      Disable voltage detector. Should be set if no backup battery is used.
28
29  trickle-diode-disable: true
30
31required:
32  - compatible
33  - reg
34
35additionalProperties: false
36
37examples:
38  - |
39    i2c {
40        #address-cells = <1>;
41        #size-cells = <0>;
42
43        rtc@32 {
44            compatible = "epson,rx8900";
45            reg = <0x32>;
46            epson,vdet-disable;
47            trickle-diode-disable;
48        };
49    };
50