Atmel AT91 RTT
Schema identifier ($id): "http://devicetree.org/schemas/rtc/atmel,at91sam9260-rtt.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
Array item rules (
items)Item 1
Exact value (
const):"atmel,at91sam9260-rtt"
Rule 2
Array item rules (
items)Item 1
Allowed values (
enum):"microchip,sam9x60-rtt","microchip,sam9x7-rtt","microchip,sama7d65-rtt"Item 2
Exact value (
const):"atmel,at91sam9260-rtt"
Rule 3
Array item rules (
items)Item 1
Exact value (
const):"microchip,sama7g5-rtt"Item 2
Exact value (
const):"microchip,sam9x60-rtt"Item 3
Exact value (
const):"atmel,at91sam9260-rtt"
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
atmel,rtt-rtc-time-reg — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array
Array item rules (items) #
Item 1
Array item rules (
items)Item 1
Phandle to the GPBR node.
Item 2
Offset within the GPBR block.
Should encode the GPBR register used to store the time base when the RTT is used as an RTC. The first cell should point to the GPBR node and the second one encodes the offset within the GPBR block (or in other words, the GPBR register used to store the time base).
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "atmel,rtt-rtc-time-reg"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/irq.h>
rtc@fffffd20 {
compatible = "atmel,at91sam9260-rtt";
reg = <0xfffffd20 0x10>;
interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
clocks = <&clk32k>;
atmel,rtt-rtc-time-reg = <&gpbr 0x0>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 2: Copyright (C) 2022 Microchip Technology, Inc. and its subsidiaries