Mstar MSC313e RTC

Schema identifier ($id): "http://devicetree.org/schemas/rtc/mstar,msc313-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): "Daniel Palmer <daniel@0x0f.com>", "Romain Perier <romain.perier@gmail.com>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "mstar,msc313-rtc"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

start-year — not listed as required here #

true — No constraints added by this property rule.

clocks — required here #

Maximum number of items (maxItems): 1

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

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/arm-gic.h>
rtc@2400 {
    compatible = "mstar,msc313-rtc";
    reg = <0x2400 0x40>;
    clocks = <&xtal_div2>;
    interrupts-extended = <&intc_irq GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
};

Source notes #

Annotations retained from the schema source

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

Edit this page