| 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 |
|
| 7 |
title: MediaTek MT2712 on-SoC RTC |
| 8 |
|
| 9 |
allOf: |
| 10 |
- $ref: rtc.yaml# |
| 11 |
|
| 12 |
maintainers: |
| 13 |
- Ran Bi <[email protected]> |
| 14 |
|
| 15 |
properties: |
| 16 |
compatible: |
| 17 |
const: mediatek,mt2712-rtc |
| 18 |
|
| 19 |
reg: |
| 20 |
maxItems: 1 |
| 21 |
|
| 22 |
interrupts: |
| 23 |
maxItems: 1 |
| 24 |
|
| 25 |
required: |
| 26 |
- reg |
| 27 |
- interrupts |
| 28 |
|
| 29 |
unevaluatedProperties: false |
| 30 |
|
| 31 |
examples: |
| 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 |
}; |