Arm Primecell PL031 Real Time Clock

Schema identifier ($id): "http://devicetree.org/schemas/rtc/arm,pl031.yaml#"

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

Automatic schema selection (select) #

Properties and child nodes (properties) #

compatible — required here #

Rule for matching array elements (contains)

Exact value (const): "arm,pl031"

Required in this object (required): "compatible"

All of these rules must match (allOf) #

Rule 1 #

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

Maintainers (maintainers): "Rob Herring <robh@kernel.org>"

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Exact value (const): "arm,pl031"

Item 2

Exact value (const): "arm,primecell"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

clock-names — required here #

Maximum number of items (maxItems): 1

start-year — not listed as required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "reg", "clocks", "clock-names"

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

false

Not allowed by this rule.

Examples (examples) #

rtc@10017000 {
    compatible = "arm,pl031", "arm,primecell";
    reg = <0x10017000 0x1000>;
    clocks = <&pclk>;
    clock-names = "apb_pclk";
};

Source notes #

Annotations retained from the schema source

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

Edit this page