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