xref: /linux/Documentation/devicetree/bindings/rtc/mediatek,mt2712-rtc.yaml (revision 173b0b5b0e865348684c02bd9cb1d22b5d46e458)
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/rtc/mediatek,mt2712-rtc.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: MediaTek MT2712 on-SoC RTC
8
9allOf:
10  - $ref: rtc.yaml#
11
12maintainers:
13  - Ran Bi <ran.bi@mediatek.com>
14
15properties:
16  compatible:
17    const: mediatek,mt2712-rtc
18
19  reg:
20    maxItems: 1
21
22  interrupts:
23    maxItems: 1
24
25required:
26  - reg
27  - interrupts
28
29unevaluatedProperties: false
30
31examples:
32  - |
33    #include <dt-bindings/interrupt-controller/arm-gic.h>
34
35    rtc@10011000 {
36        compatible = "mediatek,mt2712-rtc";
37        reg = <0x10011000 0x1000>;
38        interrupts = <GIC_SPI 239 IRQ_TYPE_LEVEL_LOW>;
39    };
40