Marvell Real Time Clock controller

Schema identifier ($id): "http://devicetree.org/schemas/rtc/sa1100-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): "Alessandro Zummo <a.zummo@towertech.it>", "Alexandre Belloni <alexandre.belloni@bootlin.com>", "Rob Herring <robh@kernel.org>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "mrvl,sa1100-rtc", "mrvl,mmp-rtc"

reg — required here #

Maximum number of items (maxItems): 1

clocks — not listed as required here #

Maximum number of items (maxItems): 1

resets — not listed as required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Minimum number of items (minItems): 2

interrupt-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "rtc 1Hz"

Item 2

Exact value (const): "rtc alarm"

Required in this object (required): "compatible", "reg", "interrupts", "interrupt-names"

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

false

Not allowed by this rule.

Examples (examples) #

rtc: rtc@d4010000 {
    compatible = "mrvl,mmp-rtc";
    reg = <0xd4010000 0x1000>;
    interrupts = <5>, <6>;
    interrupt-names = "rtc 1Hz", "rtc alarm";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only

Edit this page