Atmel AT91 RTC

Schema identifier ($id): "http://devicetree.org/schemas/rtc/atmel,at91rm9200-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): "Alexandre Belloni <alexandre.belloni@bootlin.com>"

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "atmel,at91rm9200-rtc", "atmel,at91sam9x5-rtc", "atmel,sama5d4-rtc", "atmel,sama5d2-rtc", "microchip,sam9x60-rtc", "microchip,sama7g5-rtc"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "microchip,sam9x7-rtc", "microchip,sama7d65-rtc"

Item 2

Exact value (const): "microchip,sam9x60-rtc"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

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) #

rtc@fffffe00 {
    compatible = "atmel,at91rm9200-rtc";
    reg = <0xfffffe00 0x100>;
    interrupts = <1 4 7>;
    clocks = <&clk32k>;
};

Source notes #

Annotations retained from the schema source

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

Edit this page