Texas Instruments K3 Real Time Clock

Schema identifier ($id): "http://devicetree.org/schemas/rtc/ti,k3-rtc.yaml#"

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

Maintainers (maintainers): "Nishanth Menon <nm@ti.com>"

This RTC appears in the AM62x family of SoCs.

All of these rules must match (allOf) #

Rule 1 #

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

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "ti,am62-rtc"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

VBUS Interface clock

Item 2

32k Clock source (external or internal).

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "vbus"

Item 2

Exact value (const): "osc32k"

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

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

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/arm-gic.h>
rtc@2b1f0000 {
    compatible = "ti,am62-rtc";
    reg = <0x2b1f0000 0x100>;
    interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
    power-domains = <&bar 0>;
    clocks = <&foo 0>, <&foo 1>;
    clock-names = "vbus", "osc32k";
    wakeup-source;
};

Source notes #

Annotations retained from the schema source

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

Edit this page