1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/rtc/intersil,isl12022.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Intersil ISL12022 Real-time Clock
8
9maintainers:
10  - Alexandre Belloni <alexandre.belloni@bootlin.com>
11
12properties:
13  compatible:
14    const: isil,isl12022
15
16  reg:
17    maxItems: 1
18
19  interrupts:
20    maxItems: 1
21
22required:
23  - compatible
24  - reg
25
26allOf:
27  - $ref: rtc.yaml#
28
29unevaluatedProperties: false
30
31examples:
32  - |
33    #include <dt-bindings/interrupt-controller/irq.h>
34    i2c {
35        #address-cells = <1>;
36        #size-cells = <0>;
37
38        rtc@6f {
39            compatible = "isil,isl12022";
40            reg = <0x6f>;
41            interrupts-extended = <&gpio1 5 IRQ_TYPE_LEVEL_LOW>;
42        };
43    };
44
45...
46