File Index
Files and directories
Sign in
FILE

mediatek,mt2712-rtc.yaml

File preview with syntax highlighting.

linux-6.19.14/Documentation/devicetree/bindings/rtc/mediatek,mt2712-rtc.yaml YAML
 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    };
~/ Read-only file preview.