MediaTek MT2712 on-SoC RTC

Schema identifier ($id): "http://devicetree.org/schemas/rtc/mediatek,mt2712-rtc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): rtc.yaml#

Maintainers (maintainers): "Ran Bi <ran.bi@mediatek.com>"

Properties and child nodes (properties) #

compatible — not listed as required here #

Exact value (const): "mediatek,mt2712-rtc"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "reg", "interrupts"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/arm-gic.h>

rtc@10011000 {
    compatible = "mediatek,mt2712-rtc";
    reg = <0x10011000 0x1000>;
    interrupts = <GIC_SPI 239 IRQ_TYPE_LEVEL_LOW>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Edit this page