xref: /freebsd/sys/contrib/device-tree/Bindings/rtc/epson,rx8900.yaml (revision 96190b4fef3b4a0cc3ca0606b0c4e3e69a5e6717)
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
32  wakeup-source: true
33
34required:
35  - compatible
36  - reg
37
38additionalProperties: false
39
40examples:
41  - |
42    i2c {
43        #address-cells = <1>;
44        #size-cells = <0>;
45
46        rtc@32 {
47            compatible = "epson,rx8900";
48            reg = <0x32>;
49            epson,vdet-disable;
50            trickle-diode-disable;
51        };
52    };
53