Peios Learn
Documentation

Peios

Peios Peios Kernel Universal Directory Project

Developer Tools

Trail Acta Provium clackatoo CAF GCSL Pekit

Applications

Framewright

Standards and Conventions

Standards and Conventions Peios Specifications
Peios Kernel

Rtc bindings

Single-page view · as markdown

Abracon ABX80X I2C ultra low power RTC/Alarm chip

Peios Kernel / Hardware and drivers / Device-tree binding reference / Rtc bindings

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

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

Maintainers (maintainers): "linux-rtc@vger.kernel.org"

Properties and child nodes (properties) #

compatible — required here #

The wildcard 'abracon,abx80x' may be used to support a mix of different abracon rtc`s. In this case the driver must perform auto-detection from ID register.

Allowed values (enum): "abracon,abx80x", "abracon,ab0801", "abracon,ab0803", "abracon,ab0804", "abracon,ab0805", "abracon,ab1801", "abracon,ab1803", "abracon,ab1804", "abracon,ab1805", "microcrystal,rv1805"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

abracon,tc-diode — not listed as required here #

Trickle-charge diode type. Required to enable charging backup battery. Supported are 'standard' diodes with a 0.6V drop and 'schottky' diodes with a 0.3V drop.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/string

Allowed values (enum): "standard", "schottky"

abracon,tc-resistor — not listed as required here #

Trickle-charge resistor value in kOhm. Required to enable charging backup battery.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Allowed values (enum): 0, 3, 6, 11

Requirements triggered by another property (dependentRequired): { abracon,tc-diode: "abracon,tc-resistor", abracon,tc-resistor: "abracon,tc-diode" }

Required in this object (required): "compatible", "reg"

All of these rules must match (allOf) #

Rule 1 #

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

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

This rule must not match (not)

Rule for matching array elements (contains)

Allowed values (enum): "abracon,abx80x", "abracon,ab0804", "abracon,ab1804", "abracon,ab0805", "abracon,ab1805"

When the condition matches (then) #

Properties and child nodes (properties)

abracon,tc-diode — not listed as required here

false — Not permitted by this property rule.

abracon,tc-resistor — not listed as required here

false — Not permitted by this property rule.

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/irq.h>

i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    rtc@69 {
        compatible = "abracon,abx80x";
        reg = <0x69>;
        abracon,tc-diode = "schottky";
        abracon,tc-resistor = <3>;
        interrupts = <44 IRQ_TYPE_EDGE_FALLING>;
    };
};

Source notes #

Annotations retained from the schema source

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

Analog Devices MAX31335 RTC

Peios Kernel / Hardware and drivers / Device-tree binding reference / Rtc bindings

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

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

Maintainers (maintainers): "Antoniu Miclaus <antoniu.miclaus@analog.com>"

Analog Devices MAX31335 I2C RTC ±2ppm Automotive Real-Time Clock with Integrated MEMS Resonator.

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): "adi,max31331", "adi,max31335"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

#clock-cells — not listed as required here #

RTC can be used as a clock source through its clock output pin.

Exact value (const): 0

adi,tc-diode — not listed as required here #

Select the diode configuration for the trickle charger. schottky - Schottky diode in series. standard+schottky - standard diode + Schottky diode in series.

Allowed values (enum): "schottky", "standard+schottky"

trickle-resistor-ohms — not listed as required here #

Selected resistor for trickle charger. Should be specified if trickle charger should be enabled.

Allowed values (enum): 3000, 6000, 11000

Required in this object (required): "compatible", "reg"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/irq.h>
i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    rtc@68 {
        compatible = "adi,max31335";
        reg = <0x68>;
        pinctrl-0 = <&rtc_nint_pins>;
        interrupts-extended = <&gpio1 16 IRQ_TYPE_LEVEL_HIGH>;
        aux-voltage-chargeable = <1>;
        trickle-resistor-ohms = <6000>;
        adi,tc-diode = "schottky";
    };
};

Source notes #

Annotations retained from the schema source

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

Allwinner A10 RTC

Peios Kernel / Hardware and drivers / Device-tree binding reference / Rtc bindings

Schema identifier ($id): "http://devicetree.org/schemas/rtc/allwinner,sun4i-a10-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): "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "allwinner,sun4i-a10-rtc", "allwinner,sun7i-a20-rtc"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

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

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

false

Not allowed by this rule.

Examples (examples) #

rtc: rtc@1c20d00 {
    compatible = "allwinner,sun4i-a10-rtc";
    reg = <0x01c20d00 0x20>;
    interrupts = <24>;
};

Source notes #

Annotations retained from the schema source

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

Allwinner A31 RTC

Peios Kernel / Hardware and drivers / Device-tree binding reference / Rtc bindings

Schema identifier ($id): "http://devicetree.org/schemas/rtc/allwinner,sun6i-a31-rtc.yaml#"

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

Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"

Properties and child nodes (properties) #

#clock-cells — required here #

Exact value (const): 1

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "allwinner,sun6i-a31-rtc", "allwinner,sun8i-a23-rtc", "allwinner,sun8i-h3-rtc", "allwinner,sun8i-r40-rtc", "allwinner,sun8i-v3-rtc", "allwinner,sun50i-h5-rtc", "allwinner,sun50i-h6-rtc", "allwinner,sun50i-h616-rtc", "allwinner,sun50i-r329-rtc"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "allwinner,sun50i-a64-rtc"

Item 2

Exact value (const): "allwinner,sun8i-h3-rtc"

Rule 3

Array item rules (items)

Item 1

Allowed values (enum): "allwinner,sun20i-d1-rtc", "allwinner,sun55i-a523-rtc"

Item 2

Exact value (const): "allwinner,sun50i-r329-rtc"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

RTC Alarm 0

Item 2

RTC Alarm 1

clocks — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 4

clock-names — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 4

clock-output-names — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 3

The RTC provides up to three clocks - the Low Frequency Oscillator or LOSC, at index 0, - the Low Frequency Oscillator External output (X32KFOUT in the datasheet), at index 1, - the Internal Oscillator, at index 2.

All of these rules must match (allOf) #

Rule 1 #

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

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "allwinner,sun6i-a31-rtc"

When the condition matches (then) #

Properties and child nodes (properties)

clock-output-names — not listed as required here

Maximum number of items (maxItems): 1

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "allwinner,sun8i-a23-rtc", "allwinner,sun8i-r40-rtc", "allwinner,sun8i-v3-rtc"

When the condition matches (then) #

Properties and child nodes (properties)

clock-output-names — not listed as required here

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 2

Rule 4 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "allwinner,sun8i-h3-rtc", "allwinner,sun50i-h5-rtc", "allwinner,sun50i-h6-rtc"

When the condition matches (then) #

Properties and child nodes (properties)

clock-output-names — not listed as required here

Minimum number of items (minItems): 3

Rule 5 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "allwinner,sun50i-h616-rtc"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — required here

Array item rules (items)

Item 1

Bus clock for register access

Item 2

24 MHz oscillator

Item 3

32 kHz clock from the CCU

clock-names — required here

Array item rules (items)

Item 1

Exact value (const): "bus"

Item 2

Exact value (const): "hosc"

Item 3

Exact value (const): "pll-32k"

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

Rule 6 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "allwinner,sun50i-r329-rtc"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — required here

Minimum number of items (minItems): 3

Array item rules (items)

Item 1

Bus clock for register access

Item 2

24 MHz oscillator

Item 3

AHB parent for internal SPI clock

Item 4

External 32768 Hz oscillator

clock-names — required here

Minimum number of items (minItems): 3

Array item rules (items)

Item 1

Exact value (const): "bus"

Item 2

Exact value (const): "hosc"

Item 3

Exact value (const): "ahb"

Item 4

Exact value (const): "ext-osc32k"

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

Rule 7 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "allwinner,sun8i-r40-rtc", "allwinner,sun50i-h616-rtc", "allwinner,sun50i-r329-rtc"

When the condition matches (then) #

Properties and child nodes (properties)

interrupts — not listed as required here

Maximum number of items (maxItems): 1

When the condition does not match (else) #

Properties and child nodes (properties)

interrupts — not listed as required here

Minimum number of items (minItems): 2

Required in this object (required): "#clock-cells", "compatible", "reg", "interrupts"

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

false

Not allowed by this rule.

Examples (examples) #

rtc: rtc@1f00000 {
    compatible = "allwinner,sun6i-a31-rtc";
    reg = <0x01f00000 0x400>;
    interrupts = <0 40 4>, <0 41 4>;
    clock-output-names = "osc32k";
    clocks = <&ext_osc32k>;
    #clock-cells = <1>;
};

Source notes #

Annotations retained from the schema source

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

Alphascale asm9260 SoC Real Time Clock

Peios Kernel / Hardware and drivers / Device-tree binding reference / Rtc bindings

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

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

Maintainers (maintainers): "Javier Carrasco <javier.carrasco.cruz@gmail.com>"

All of these rules must match (allOf) #

Rule 1 #

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

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "alphascale,asm9260-rtc"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

clock-names — required here #

Exact value (const): "ahb"

interrupts — required here #

Maximum number of items (maxItems): 1

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

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/alphascale,asm9260.h>

rtc@800a0000 {
    compatible = "alphascale,asm9260-rtc";
    reg = <0x800a0000 0x100>;
    clocks = <&acc CLKID_AHB_RTC>;
    clock-names = "ahb";
    interrupts = <2>;
};

Source notes #

Annotations retained from the schema source

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

Amlogic A4 and A5 RTC

Peios Kernel / Hardware and drivers / Device-tree binding reference / Rtc bindings

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

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

Maintainers (maintainers): "Yiting Deng <yiting.deng@amlogic.com>", "Xianwei Zhao <xianwei.zhao@amlogic.com>"

All of these rules must match (allOf) #

Rule 1 #

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

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "amlogic,a4-rtc", "amlogic,a5-rtc"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "amlogic,c3-rtc"

Item 2

Exact value (const): "amlogic,a5-rtc"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

RTC clock source, available 24M or 32K crystal oscillator source. when using 24M, need to divide 24M into 32K.

Item 2

RTC module accesses the clock of the apb bus.

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "osc"

Item 2

Exact value (const): "sys"

interrupts — required here #

Maximum number of items (maxItems): 1

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

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/arm-gic.h>
apb {
    #address-cells = <2>;
    #size-cells = <2>;

    rtc@8e600 {
        compatible = "amlogic,a4-rtc";
        reg = <0x0 0x8e600 0x0 0x38>;
        clocks = <&xtal_32k>, <&clkc_periphs 1>;
        clock-names = "osc", "sys";
        interrupts = <GIC_SPI 131 IRQ_TYPE_EDGE_RISING>;
    };
};

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) 2024 Amlogic, Inc. All rights reserved

Amlogic Virtual RTC (VRTC)

Peios Kernel / Hardware and drivers / Device-tree binding reference / Rtc bindings

Schema identifier ($id): "http://devicetree.org/schemas/rtc/amlogic,meson-vrtc.yaml#"

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

Maintainers (maintainers): "Neil Armstrong <neil.armstrong@linaro.org>"

This is a Linux interface to an RTC managed by firmware, hence it's virtual from a Linux perspective. The interface is 1 register where an alarm time (in seconds) is to be written. The alarm register is a simple scratch register shared between the application processors (AP) and the secure co-processor (SCP.) When the AP suspends, the SCP will use the value of this register to program an always-on timer before going sleep. When the timer expires, the SCP will wake up and will then wake the AP.

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): "amlogic,meson-vrtc"

reg — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg"

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

false

Not allowed by this rule.

Examples (examples) #

rtc@a8 {
  compatible = "amlogic,meson-vrtc";
  reg = <0x000a8 0x4>;
};

Source notes #

Annotations retained from the schema source

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

Amlogic Meson6, Meson8, Meson8b and Meson8m2 RTC

Peios Kernel / Hardware and drivers / Device-tree binding reference / Rtc bindings

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

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

Maintainers (maintainers): "Neil Armstrong <neil.armstrong@linaro.org>", "Martin Blumenstingl <martin.blumenstingl@googlemail.com>"

All of these rules must match (allOf) #

Rule 1 #

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

Rule 2 #

Shared schema rule ($ref): /schemas/nvmem/nvmem.yaml#

Rule 3 #

Shared schema rule ($ref): /schemas/nvmem/nvmem-deprecated-cells.yaml#

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "amlogic,meson6-rtc", "amlogic,meson8-rtc", "amlogic,meson8b-rtc", "amlogic,meson8m2-rtc"

reg — required here #

Maximum number of items (maxItems): 1

clocks — not listed as required here #

Maximum number of items (maxItems): 1

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

resets — not listed as required here #

Maximum number of items (maxItems): 1

vdd-supply — not listed as required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "reg"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
rtc: rtc@740 {
    compatible = "amlogic,meson6-rtc";
    reg = <0x740 0x14>;
    interrupts = <GIC_SPI 72 IRQ_TYPE_EDGE_RISING>;
    clocks = <&rtc32k_xtal>;
    vdd-supply = <&rtc_vdd>;
    resets = <&reset_rtc>;
    #address-cells = <1>;
    #size-cells = <1>;

    mac@0 {
        reg = <0 6>;
    };
};

Source notes #

Annotations retained from the schema source

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

Andes ATCRTC100 Real-Time Clock

Peios Kernel / Hardware and drivers / Device-tree binding reference / Rtc bindings

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

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

Maintainers (maintainers): "CL Wang <cl634@andestech.com>"

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): "andestech,atcrtc100"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Array item rules (items) #

Item 1

Periodic timekeeping interrupt

Item 2

RTC alarm interrupt

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

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/irq.h>

rtc@f0300000 {
    compatible = "andestech,atcrtc100";
    reg = <0xf0300000 0x100>;
    interrupts = <1 IRQ_TYPE_LEVEL_HIGH>, <2 IRQ_TYPE_LEVEL_HIGH>;
};

Source notes #

Annotations retained from the schema source

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

APM X-Gene Real Time Clock

Peios Kernel / Hardware and drivers / Device-tree binding reference / Rtc bindings

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

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

Maintainers (maintainers): "Khuong Dinh <khuong@os.amperecomputing.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "apm,xgene-rtc"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

clocks — required here #

Maximum number of items (maxItems): 1

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

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

false

Not allowed by this rule.

Examples (examples) #

rtc@10510000 {
    compatible = "apm,xgene-rtc";
    reg = <0x10510000 0x400>;
    interrupts = <0x0 0x46 0x4>;
    #clock-cells = <1>;
    clocks = <&rtcclk 0>;
};

Source notes #

Annotations retained from the schema source

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

Apple SMC RTC

Peios Kernel / Hardware and drivers / Device-tree binding reference / Rtc bindings

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

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

Apple Silicon Macs (M1, etc.) have an RTC that is part of the PMU IC, but most of the PMU functionality is abstracted out by the SMC. An additional RTC offset stored inside NVMEM is required to compute the current date/time.

Maintainers (maintainers): "Sven Peter <sven@kernel.org>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "apple,smc-rtc"

nvmem-cells — required here #

Array item rules (items) #

Item 1

48bit RTC offset, specified in 32768 (2^15) Hz clock ticks

nvmem-cell-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "rtc_offset"

Required in this object (required): "compatible", "nvmem-cells", "nvmem-cell-names"

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

false

Not allowed by this rule.

Source notes #

Annotations retained from the schema source

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

Arm Primecell PL031 Real Time Clock

Peios Kernel / Hardware and drivers / Device-tree binding reference / Rtc bindings

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)

Atmel AT91 RTC

Peios Kernel / Hardware and drivers / Device-tree binding reference / Rtc bindings

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

Atmel AT91 RTT

Peios Kernel / Hardware and drivers / Device-tree binding reference / Rtc bindings

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

Broadcom STB wake-up Timer

Peios Kernel / Hardware and drivers / Device-tree binding reference / Rtc bindings

Schema identifier ($id): "http://devicetree.org/schemas/rtc/brcm,brcmstb-waketimer.yaml#"

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

Maintainers (maintainers): "Florian Fainelli <f.fainelli@gmail.com>"

The Broadcom STB wake-up timer provides a 27Mhz resolution timer, with the ability to wake up the system from low-power suspend/standby modes and optionally generate RTC alarm interrupts.

All of these rules must match (allOf) #

Rule 1 #

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

Properties and child nodes (properties) #

compatible — not listed as required here #

Exact value (const): "brcm,brcmstb-waketimer"

reg — not listed as required here #

Maximum number of items (maxItems): 1

interrupts — not listed as required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

the TIMER interrupt

Item 2

the ALARM interrupt

The TIMER interrupt wakes the system from low-power suspend/standby modes. An ALARM interrupt may be specified to interrupt the CPU when an RTC alarm is enabled.

clocks — not listed as required here #

clock reference in the 27MHz domain

Maximum number of items (maxItems): 1

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

false

Not allowed by this rule.

Examples (examples) #

rtc@f041a080 {
    compatible = "brcm,brcmstb-waketimer";
    reg = <0xf041a080 0x14>;
    interrupts-extended = <&aon_pm_l2_intc 0x04>,
                          <&upg_aux_aon_intr2_intc 0x08>;
    clocks = <&upg_fixed>;
};

Source notes #

Annotations retained from the schema source

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

Cirrus EP93xx Real Time Clock controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Rtc bindings

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

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

Maintainers (maintainers): "Hartley Sweeten <hsweeten@visionengravers.com>", "Alexander Sverdlin <alexander.sverdlin@gmail.com>"

All of these rules must match (allOf) #

Rule 1 #

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

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Exact value (const): "cirrus,ep9301-rtc"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "cirrus,ep9302-rtc", "cirrus,ep9307-rtc", "cirrus,ep9312-rtc", "cirrus,ep9315-rtc"

Item 2

Exact value (const): "cirrus,ep9301-rtc"

reg — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

rtc@80920000 {
    compatible = "cirrus,ep9301-rtc";
    reg = <0x80920000 0x100>;
};

Source notes #

Annotations retained from the schema source

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

Epson Toyocom RTC-7301SF/DG

Peios Kernel / Hardware and drivers / Device-tree binding reference / Rtc bindings

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

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

The only difference between the two variants is the packaging. The DG variant is a DIL package, and the SF variant is a flat package.

Maintainers (maintainers): "Akinobu Mita <akinobu.mita@gmail.com>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "epson,rtc7301dg", "epson,rtc7301sf"

reg — required here #

Maximum number of items (maxItems): 1

reg-io-width — not listed as required here #

The size (in bytes) of the IO accesses that should be performed on the device.

Allowed values (enum): 1, 4

Default value (default): 4

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg"

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/irq.h>
rtc: rtc@44a00000 {
    compatible = "epson,rtc7301dg";
    reg = <0x44a00000 0x10000>;
    reg-io-width = <4>;
    interrupt-parent = <&axi_intc_0>;
    interrupts = <3 2>;
};

Source notes #

Annotations retained from the schema source

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

EPSON RX8900 / Microcrystal RV8803 Real-Time Clock

Peios Kernel / Hardware and drivers / Device-tree binding reference / Rtc bindings

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

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

Maintainers (maintainers): "Marek Vasut <marex@denx.de>"

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): "epson,rx8804", "epson,rx8900", "microcrystal,rv8803"

reg — required here #

Maximum number of items (maxItems): 1

epson,vdet-disable — not listed as required here #

Value type (type): "boolean"

Disable voltage detector. Should be set if no backup battery is used.

trickle-diode-disable — not listed as required here #

true — No constraints added by this property rule.

wakeup-source — not listed as required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "reg"

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

false

Not allowed by this rule.

Examples (examples) #

i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    rtc@32 {
        compatible = "epson,rx8900";
        reg = <0x32>;
        epson,vdet-disable;
        trickle-diode-disable;
    };
};

Source notes #

Annotations retained from the schema source

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

Faraday Technology FTRTC010 Real Time Clock

Peios Kernel / Hardware and drivers / Device-tree binding reference / Rtc bindings

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

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

Maintainers (maintainers): "Linus Walleij <linusw@kernel.org>"

This RTC appears in for example the Storlink Gemini family of SoCs.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Exact value (const): "faraday,ftrtc010"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "cortina,gemini-rtc"

Item 2

Exact value (const): "faraday,ftrtc010"

resets — not listed as required here #

Maximum number of items (maxItems): 1

reg — not listed as required here #

Maximum number of items (maxItems): 1

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

clocks — not listed as required here #

Array item rules (items) #

Item 1

PCLK clocks

Item 2

EXTCLK clocks. Faraday calls it CLK1HZ and says the clock should be 1 Hz, but implementers actually seem to choose different clocks here, like Cortina who chose 32768 Hz (a typical low-power clock).

clock-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "PCLK"

Item 2

Exact value (const): "EXTCLK"

Required in this object (required): "compatible"

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/irq.h>
rtc@45000000 {
  compatible = "cortina,gemini-rtc", "faraday,ftrtc010";
  reg = <0x45000000 0x100>;
  interrupts = <17 IRQ_TYPE_LEVEL_HIGH>;
  clocks = <&foo 0>, <&foo 1>;
  clock-names = "PCLK", "EXTCLK";
};

Source notes #

Annotations retained from the schema source

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

Freescale FlexTimer Module (FTM) Alarm

Peios Kernel / Hardware and drivers / Device-tree binding reference / Rtc bindings

Schema identifier ($id): "http://devicetree.org/schemas/rtc/fsl,ls-ftm-alarm.yaml#"

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

Maintainers (maintainers): "Frank Li <Frank.Li@nxp.com>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "fsl,ls1012a-ftm-alarm", "fsl,ls1021a-ftm-alarm", "fsl,ls1028a-ftm-alarm", "fsl,ls1043a-ftm-alarm", "fsl,ls1046a-ftm-alarm", "fsl,ls1088a-ftm-alarm", "fsl,ls208xa-ftm-alarm", "fsl,lx2160a-ftm-alarm"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

fsl,rcpm-wakeup — 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 rcpm node

Item 2

bit mask of IPPDEXPCR0

Item 3

bit mask of IPPDEXPCR1

Item 4

bit mask of IPPDEXPCR2

Item 5

bit mask of IPPDEXPCR3

Item 6

bit mask of IPPDEXPCR4

Item 7

bit mask of IPPDEXPCR5

Item 8

bit mask of IPPDEXPCR6

Minimum number of items (minItems): 1

phandle to rcpm node, Please refer Documentation/devicetree/bindings/soc/fsl/fsl,rcpm.yaml

big-endian — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag

If the host controller is big-endian mode, specify this property. The default endian mode is little-endian.

Required in this object (required): "compatible", "reg", "interrupts", "fsl,rcpm-wakeup"

All of these rules must match (allOf) #

Rule 1 #

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

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/arm-gic.h>

rtc@2800000 {
    compatible = "fsl,ls1088a-ftm-alarm";
    reg = <0x2800000 0x10000>;
    fsl,rcpm-wakeup = <&rcpm 0x0 0x0 0x0 0x0 0x4000 0x0>;
    interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
};

Source notes #

Annotations retained from the schema source

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

i.MX SCU Client Device Node - RTC Based on SCU Message Protocol

Peios Kernel / Hardware and drivers / Device-tree binding reference / Rtc bindings

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

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

Maintainers (maintainers): "Dong Aisheng <aisheng.dong@nxp.com>"

i.MX SCU Client Device Node Client nodes are maintained as children of the relevant IMX-SCU device node.

All of these rules must match (allOf) #

Rule 1 #

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

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "fsl,imx8qxp-sc-rtc"

Required in this object (required): "compatible"

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

false

Not allowed by this rule.

Examples (examples) #

rtc {
    compatible = "fsl,imx8qxp-sc-rtc";
};

Source notes #

Annotations retained from the schema source

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

STMP3xxx/i.MX28 Time Clock Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Rtc bindings

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

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

Maintainers (maintainers): "Javier Carrasco <javier.carrasco.cruz@gmail.com>"

All of these rules must match (allOf) #

Rule 1 #

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

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Allowed values (enum): "fsl,imx28-rtc", "fsl,imx23-rtc"

Item 2

Exact value (const): "fsl,stmp3xxx-rtc"

Rule 2

Exact value (const): "fsl,stmp3xxx-rtc"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

stmp,crystal-freq — not listed as required here #

Override crystal frequency as determined from fuse bits. Use <0> for "no crystal".

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Allowed values (enum): 0, 32000, 32768

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

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

rtc@80056000 {
    compatible = "fsl,imx28-rtc", "fsl,stmp3xxx-rtc";
    reg = <0x80056000 2000>;
    interrupts = <29>;
};

Source notes #

Annotations retained from the schema source

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

Haoyu Microelectronics HYM8563 RTC

Peios Kernel / Hardware and drivers / Device-tree binding reference / Rtc bindings

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

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

Maintainers (maintainers): "Alexandre Belloni <alexandre.belloni@bootlin.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "haoyu,hym8563"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 0

clock-output-names — not listed as required here #

From common clock binding to override the default output clock name.

Maximum number of items (maxItems): 1

wakeup-source — not listed as required here #

Enables wake up of host system on alarm.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): rtc.yaml

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "reg", "#clock-cells"

Examples (examples) #

#include <dt-bindings/interrupt-controller/irq.h>

i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    rtc@51 {
        compatible = "haoyu,hym8563";
        reg = <0x51>;
        interrupts = <13 IRQ_TYPE_EDGE_FALLING>;
        #clock-cells = <0>;
    };
};

Source notes #

Annotations retained from the schema source

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

i.MX25 Real Time Clock controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Rtc bindings

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

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

Maintainers (maintainers): "Roland Stigge <stigge@antcom.de>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "fsl,imx25-rtc"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Array item rules (items) #

Item 1

rtc alarm interrupt

Item 2

dryice security violation interrupt

Minimum number of items (minItems): 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@53ffc000 {
    compatible = "fsl,imx25-rtc";
    reg = <0x53ffc000 0x4000>;
    clocks = <&clks 81>;
    interrupts = <25>, <56>;
};

Source notes #

Annotations retained from the schema source

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

Ingenic SoCs Real-Time Clock

Peios Kernel / Hardware and drivers / Device-tree binding reference / Rtc bindings

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

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

Maintainers (maintainers): "Paul Cercueil <paul@crapouillou.net>"

All of these rules must match (allOf) #

Rule 1 #

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

Rule 2 #

Condition (if) #

This rule must not match (not)

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "ingenic,jz4770-rtc", "ingenic,jz4780-rtc"

When the condition matches (then) #

Properties and child nodes (properties)

#clock-cells — not listed as required here

false — Not permitted by this property rule.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "ingenic,jz4740-rtc", "ingenic,jz4760-rtc"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "ingenic,jz4725b-rtc"

Item 2

Exact value (const): "ingenic,jz4740-rtc"

Rule 3

Array item rules (items)

Item 1

Allowed values (enum): "ingenic,jz4770-rtc", "ingenic,jz4780-rtc"

Item 2

Exact value (const): "ingenic,jz4760-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

clock-names — required here #

Exact value (const): "rtc"

#clock-cells — not listed as required here #

Exact value (const): 0

system-power-controller — not listed as required here #

Indicates that the RTC is responsible for powering OFF the system.

Value type (type): "boolean"

ingenic,reset-pin-assert-time-ms — not listed as required here #

Minimum value (minimum): 0

Maximum value (maximum): 125

Default value (default): 60

Reset pin low-level assertion time after wakeup (assuming RTC clock at 32 kHz)

ingenic,min-wakeup-pin-assert-time-ms — not listed as required here #

Minimum value (minimum): 0

Maximum value (maximum): 2000

Default value (default): 100

Minimum wakeup pin assertion time (assuming RTC clock at 32 kHz)

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/clock/ingenic,jz4740-cgu.h>
rtc_dev: rtc@10003000 {
  compatible = "ingenic,jz4740-rtc";
  reg = <0x10003000 0x40>;

  interrupt-parent = <&intc>;
  interrupts = <15>;

  clocks = <&cgu JZ4740_CLK_RTC>;
  clock-names = "rtc";
};
#include <dt-bindings/clock/ingenic,jz4780-cgu.h>
rtc: rtc@10003000 {
  compatible = "ingenic,jz4780-rtc", "ingenic,jz4760-rtc";
  reg = <0x10003000 0x4c>;

  interrupt-parent = <&intc>;
  interrupts = <32>;

  clocks = <&cgu JZ4780_CLK_RTCLK>;
  clock-names = "rtc";

  #clock-cells = <0>;
};

Source notes #

Annotations retained from the schema source

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

Intersil ISL12022 Real-time Clock

Peios Kernel / Hardware and drivers / Device-tree binding reference / Rtc bindings

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

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

Maintainers (maintainers): "Alexandre Belloni <alexandre.belloni@bootlin.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "isil,isl12022"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

#clock-cells — not listed as required here #

Exact value (const): 0

isil,battery-trip-levels-microvolt — not listed as required here #

The battery voltages at which the first alarm and second alarm should trigger (normally ~85% and ~75% of nominal V_BAT).

Array item rules (items) #

Item 1

Allowed values (enum): 2125000, 2295000, 2550000, 2805000, 3060000, 4250000, 4675000

Item 2

Allowed values (enum): 1875000, 2025000, 2250000, 2475000, 2700000, 3750000, 4125000

Required in this object (required): "compatible", "reg"

All of these rules must match (allOf) #

Rule 1 #

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

Rule 2 #

Condition (if) #

Required in this object (required): "#clock-cells"

When the condition matches (then) #

Properties and child nodes (properties)

interrupts — not listed as required here

false — Not permitted by this property rule.

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/irq.h>
i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    rtc@6f {
        compatible = "isil,isl12022";
        reg = <0x6f>;
        interrupts-extended = <&gpio1 5 IRQ_TYPE_LEVEL_LOW>;
        isil,battery-trip-levels-microvolt = <2550000>, <2250000>;
    };
};

Source notes #

Annotations retained from the schema source

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

Line 39: If #clock-cells is present, interrupts must not be present

Intersil ISL1209/19 I2C RTC/Alarm chip with event in

Peios Kernel / Hardware and drivers / Device-tree binding reference / Rtc bindings

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

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

Maintainers (maintainers): "Biju Das <biju.das.jz@bp.renesas.com>", "Trent Piepho <tpiepho@gmail.com>"

ISL12X9 have additional pins EVIN and EVDET for tamper detection, while the ISL1208 and ISL1218 do not.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "isil,isl1208", "isil,isl1209", "isil,isl1218", "isil,isl1219"

reg — required here #

Maximum number of items (maxItems): 1

clocks — not listed as required here #

Maximum number of items (maxItems): 1

clock-names — not listed as required here #

Use xin, if connected to an external crystal. Use clkin, if connected to an external clock signal.

Allowed values (enum): "xin", "clkin"

interrupts — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

interrupt-names — not listed as required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

Exact value (const): "irq"

Item 2

Exact value (const): "evdet"

isil,ev-evienb — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Allowed values (enum): 0, 1

Enable or disable internal pull on EVIN pin
Default will leave the non-volatile configuration of the pullup
as is.
  <0> : Enables internal pull-up on evin pin
  <1> : Disables internal pull-up on evin pin

Required in this object (required): "compatible", "reg"

All of these rules must match (allOf) #

Rule 1 #

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

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "isil,isl1209", "isil,isl1219"

When the condition matches (then) #

Properties and child nodes (properties)

interrupts — not listed as required here

Maximum number of items (maxItems): 2

interrupt-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "irq"

Item 2

Exact value (const): "evdet"

When the condition does not match (else) #

Properties and child nodes (properties)

interrupts — not listed as required here

Maximum number of items (maxItems): 1

interrupt-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "irq"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    rtc_twi: rtc@6f {
        compatible = "isil,isl1208";
        reg = <0x6f>;
    };
};

Source notes #

Annotations retained from the schema source

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

Loongson Real-Time Clock

Peios Kernel / Hardware and drivers / Device-tree binding reference / Rtc bindings

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

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

The Loongson family chips use an on-chip counter 0 (Time Of Year counter) as the RTC.

Maintainers (maintainers): "Binbin Zhou <zhoubinbin@loongson.cn>"

All of these rules must match (allOf) #

Rule 1 #

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

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "loongson,ls1b-rtc", "loongson,ls1c-rtc", "loongson,ls7a-rtc", "loongson,ls2k0300-rtc", "loongson,ls2k1000-rtc"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "loongson,ls2k2000-rtc", "loongson,ls2k0500-rtc"

Item 2

Exact value (const): "loongson,ls7a-rtc"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Condition (if) #

Properties and child nodes (properties) #

compatible — not listed as required here #

Rule for matching array elements (contains)

Allowed values (enum): "loongson,ls1c-rtc", "loongson,ls2k0300-rtc"

When the condition matches (then) #

Properties and child nodes (properties) #

interrupts — not listed as required here #

false — Not permitted by this property rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/irq.h>

rtc@1fe27800 {
    compatible = "loongson,ls2k1000-rtc";
    reg = <0x1fe27800 0x100>;

    interrupt-parent = <&liointc1>;
    interrupts = <8 IRQ_TYPE_LEVEL_HIGH>;
};

Source notes #

Annotations retained from the schema source

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

RTC controller for the Armada 38x, 7K and 8K SoCs

Peios Kernel / Hardware and drivers / Device-tree binding reference / Rtc bindings

Schema identifier ($id): "http://devicetree.org/schemas/rtc/marvell,armada-380-rtc.yaml#"

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

Maintainers (maintainers): "Javier Carrasco <javier.carrasco.cruz@gmail.com>"

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): "marvell,armada-380-rtc", "marvell,armada-8k-rtc"

reg — required here #

Array item rules (items) #

Item 1

RTC base address size

Item 2

Base address and size of SoC related registers

reg-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "rtc"

Item 2

Exact value (const): "rtc-soc"

interrupts — required here #

Maximum number of items (maxItems): 1

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

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/arm-gic.h>

rtc@a3800 {
    compatible = "marvell,armada-380-rtc";
    reg = <0xa3800 0x20>, <0x184a0 0x0c>;
    reg-names = "rtc", "rtc-soc";
    interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
};

Source notes #

Annotations retained from the schema source

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

PXA Real Time Clock

Peios Kernel / Hardware and drivers / Device-tree binding reference / Rtc bindings

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

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

Maintainers (maintainers): "Javier Carrasco <javier.carrasco.cruz@gmail.com>"

All of these rules must match (allOf) #

Rule 1 #

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

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "marvell,pxa-rtc"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Array item rules (items) #

Item 1

1 Hz

Item 2

Alarm

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

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

rtc@40900000 {
    compatible = "marvell,pxa-rtc";
    reg = <0x40900000 0x3c>;
    interrupts = <30>, <31>;
};

Source notes #

Annotations retained from the schema source

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

MediaTek MT2712 on-SoC RTC

Peios Kernel / Hardware and drivers / Device-tree binding reference / Rtc bindings

Schema identifier ($id): "http://devicetree.org/schemas/rtc/mediatek,mt2712-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): "Ran Bi <ran.bi@mediatek.com>"

Properties and child nodes (properties) #

compatible — not listed as required here #

Exact value (const): "mediatek,mt2712-rtc"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "reg", "interrupts"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/arm-gic.h>

rtc@10011000 {
    compatible = "mediatek,mt2712-rtc";
    reg = <0x10011000 0x1000>;
    interrupts = <GIC_SPI 239 IRQ_TYPE_LEVEL_LOW>;
};

Source notes #

Annotations retained from the schema source

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

MediaTek MT7622 on-SoC RTC

Peios Kernel / Hardware and drivers / Device-tree binding reference / Rtc bindings

Schema identifier ($id): "http://devicetree.org/schemas/rtc/mediatek,mt7622-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): "Sean Wang <sean.wang@mediatek.com>"

Properties and child nodes (properties) #

compatible — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "mediatek,mt7622-rtc"

Item 2

Exact value (const): "mediatek,soc-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

clock-names — required here #

Exact value (const): "rtc"

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

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/mt7622-clk.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>

rtc@10212800 {
    compatible = "mediatek,mt7622-rtc", "mediatek,soc-rtc";
    reg = <0x10212800 0x200>;
    interrupts = <GIC_SPI 129 IRQ_TYPE_LEVEL_LOW>;
    clocks = <&topckgen CLK_TOP_RTC>;
    clock-names = "rtc";
};

Source notes #

Annotations retained from the schema source

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

Microchip PolarFire Soc (MPFS) RTC

Peios Kernel / Hardware and drivers / Device-tree binding reference / Rtc bindings

Schema identifier ($id): "http://devicetree.org/schemas/rtc/microchip,mpfs-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): "Daire McNamara <daire.mcnamara@microchip.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): "microchip,pic64gx-rtc"

Item 2

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

Rule 2

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

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Array item rules (items) #

Item 1

RTC_WAKEUP interrupt

Item 2

RTC_MATCH, asserted when the content of the Alarm register is equal to that of the RTC's count register.

clocks — required here #

Array item rules (items) #

Item 1

AHB clock

Item 2

Reference clock: divided by the prescaler to create a time-based strobe (typically 1 Hz) for the calendar counter. By default, the rtc on the PolarFire SoC shares it's reference with MTIMER so this will be a 1 MHz clock.

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "rtc"

Item 2

Exact value (const): "rtcref"

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

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

false

Not allowed by this rule.

Examples (examples) #

#include "dt-bindings/clock/microchip,mpfs-clock.h"
rtc@20124000 {
    compatible = "microchip,mpfs-rtc";
    reg = <0x20124000 0x1000>;
    clocks = <&clkcfg CLK_RTC>, <&clkcfg CLK_RTCREF>;
    clock-names = "rtc", "rtcref";
    interrupts = <80>, <81>;
};

Source notes #

Annotations retained from the schema source

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

Microchip RV-3028 RTC

Peios Kernel / Hardware and drivers / Device-tree binding reference / Rtc bindings

Schema identifier ($id): "http://devicetree.org/schemas/rtc/microcrystal,rv3028.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 #

Exact value (const): "microcrystal,rv3028"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

#clock-cells — not listed as required here #

Exact value (const): 0

trickle-resistor-ohms — not listed as required here #

Allowed values (enum): 3000, 5000, 9000, 15000

Required in this object (required): "compatible", "reg"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/irq.h>
i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    rtc@51 {
        compatible = "microcrystal,rv3028";
        reg = <0x51>;
        pinctrl-0 = <&rtc_nint_pins>;
        interrupts-extended = <&gpio1 16 IRQ_TYPE_LEVEL_HIGH>;
        trickle-resistor-ohms = <3000>;
    };
};

Source notes #

Annotations retained from the schema source

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

Microchip RV-3032 RTC

Peios Kernel / Hardware and drivers / Device-tree binding reference / Rtc bindings

Schema identifier ($id): "http://devicetree.org/schemas/rtc/microcrystal,rv3032.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 #

Exact value (const): "microcrystal,rv3032"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

start-year — not listed as required here #

true — No constraints added by this property rule.

trickle-resistor-ohms — not listed as required here #

Allowed values (enum): 1000, 2000, 7000, 11000

trickle-voltage-millivolt — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Allowed values (enum): 1750, 3000, 4400

wakeup-source — not listed as required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "reg"

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/irq.h>
i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    rtc@51 {
        compatible = "microcrystal,rv3032";
        reg = <0x51>;
        pinctrl-0 = <&rtc_nint_pins>;
        interrupts-extended = <&gpio1 16 IRQ_TYPE_LEVEL_HIGH>;
        trickle-resistor-ohms = <7000>;
        trickle-voltage-millivolt = <1750>;
    };
};

Source notes #

Annotations retained from the schema source

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

Motorola CPCAP PMIC RTC

Peios Kernel / Hardware and drivers / Device-tree binding reference / Rtc bindings

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

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

Maintainers (maintainers): "Svyatoslav Ryhel <clamor95@gmail.com>"

This module is part of the Motorola CPCAP MFD device. For more details see Documentation/devicetree/bindings/mfd/motorola,cpcap.yaml. The RTC is represented as a sub-node of the PMIC node on the device tree.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "motorola,cpcap-rtc"

interrupts — required here #

Array item rules (items) #

Item 1

alarm interrupt

Item 2

1 Hz interrupt

Required in this object (required): "compatible", "interrupts"

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

false

Not allowed by this rule.

Source notes #

Annotations retained from the schema source

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

Mstar MSC313e RTC

Peios Kernel / Hardware and drivers / Device-tree binding reference / Rtc bindings

Schema identifier ($id): "http://devicetree.org/schemas/rtc/mstar,msc313-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): "Daniel Palmer <daniel@0x0f.com>", "Romain Perier <romain.perier@gmail.com>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "mstar,msc313-rtc"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

start-year — not listed as required here #

true — No constraints added by this property rule.

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

#include <dt-bindings/interrupt-controller/arm-gic.h>
rtc@2400 {
    compatible = "mstar,msc313-rtc";
    reg = <0x2400 0x40>;
    clocks = <&xtal_div2>;
    interrupts-extended = <&intc_irq GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
};

Source notes #

Annotations retained from the schema source

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

Mstar SSD202D Real Time Clock

Peios Kernel / Hardware and drivers / Device-tree binding reference / Rtc bindings

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

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

Maintainers (maintainers): "Daniel Palmer <daniel@0x0f.com>", "Romain Perier <romain.perier@gmail.com>"

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): "mstar,ssd202d-rtc"

reg — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

rtc@6800 {
    compatible = "mstar,ssd202d-rtc";
    reg = <0x6800 0x200>;
};

Source notes #

Annotations retained from the schema source

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

Nuvoton MA35D1 Real Time Clock

Peios Kernel / Hardware and drivers / Device-tree binding reference / Rtc bindings

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

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

Maintainers (maintainers): "Min-Jen Chen <mjchen@nuvoton.com>"

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): "nuvoton,ma35d1-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 evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/clock/nuvoton,ma35d1-clk.h>
rtc@40410000 {
    compatible = "nuvoton,ma35d1-rtc";
    reg = <0x40410000 0x200>;
    interrupts = <GIC_SPI 5 IRQ_TYPE_EDGE_RISING>;
    clocks = <&clk RTC_GATE>;
};

Source notes #

Annotations retained from the schema source

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

NUVOTON NCT3018Y Real Time Clock

Peios Kernel / Hardware and drivers / Device-tree binding reference / Rtc bindings

Schema identifier ($id): "http://devicetree.org/schemas/rtc/nuvoton,nct3018y.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): "Medad CChien <ctcchien@nuvoton.com>", "Mia Lin <mimi05633@gmail.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "nuvoton,nct3018y"

reg — required here #

Maximum number of items (maxItems): 1

start-year — not listed as required here #

true — No constraints added by this property rule.

reset-source — not listed as required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "reg"

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

false

Not allowed by this rule.

Examples (examples) #

i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    rtc@6f {
        compatible = "nuvoton,nct3018y";
        reg = <0x6f>;
    };
};

Source notes #

Annotations retained from the schema source

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

NVIDIA Tegra real-time clock

Peios Kernel / Hardware and drivers / Device-tree binding reference / Rtc bindings

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

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

Maintainers (maintainers): "Thierry Reding <thierry.reding@gmail.com>", "Jon Hunter <jonathanh@nvidia.com>"

The Tegra RTC maintains seconds and milliseconds counters, and five alarm registers. The alarms and other interrupts may wake the system from low-power state.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Exact value (const): "nvidia,tegra20-rtc"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "nvidia,tegra30-rtc", "nvidia,tegra114-rtc", "nvidia,tegra124-rtc", "nvidia,tegra210-rtc", "nvidia,tegra186-rtc", "nvidia,tegra194-rtc", "nvidia,tegra234-rtc", "nvidia,tegra264-rtc"

Item 2

Exact value (const): "nvidia,tegra20-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

clock-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "rtc"

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

false

Not allowed by this rule.

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

Examples (examples) #

timer@7000e000 {
    compatible = "nvidia,tegra20-rtc";
    reg = <0x7000e000 0x100>;
    interrupts = <0 2 0x04>;
    clocks = <&tegra_car 4>;
};

Source notes #

Annotations retained from the schema source

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

NVIDIA Voltage Regulator Specification Real Time Clock

Peios Kernel / Hardware and drivers / Device-tree binding reference / Rtc bindings

Schema identifier ($id): "http://devicetree.org/schemas/rtc/nvidia,vrs-10.yaml#"

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

Maintainers (maintainers): "Shubhi Garg <shgarg@nvidia.com>"

NVIDIA VRS-10 (Voltage Regulator Specification) is a Power Management IC (PMIC) that implements a power sequencing solution with I2C interface. The device includes a real-time clock (RTC) with 32kHz clock output and backup battery support, alarm functionality for system wake-up from suspend and shutdown states, OTP memory for power sequencing configuration, and an interrupt controller for managing VRS events.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "nvidia,vrs-10"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

interrupt-controller — required here #

true — No constraints added by this property rule.

#interrupt-cells — required here #

Exact value (const): 2

Required in this object (required): "compatible", "reg", "interrupts", "interrupt-controller", "#interrupt-cells"

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/irq.h>
i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    pmic@3c {
        compatible = "nvidia,vrs-10";
        reg = <0x3c>;
        interrupt-parent = <&pmc>;
        interrupts = <24 IRQ_TYPE_LEVEL_LOW>;
        interrupt-controller;
        #interrupt-cells = <2>;
    };
};

Source notes #

Annotations retained from the schema source

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

NXP LPC1788 real-time clock

Peios Kernel / Hardware and drivers / Device-tree binding reference / Rtc bindings

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

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

The LPC1788 RTC provides calendar and clock functionality together with periodic tick and alarm interrupt support.

Maintainers (maintainers): "Javier Carrasco <javier.carrasco.cruz@gmail.com>"

All of these rules must match (allOf) #

Rule 1 #

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

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Allowed values (enum): "nxp,lpc1850-rtc"

Item 2

Exact value (const): "nxp,lpc1788-rtc"

Rule 2

Exact value (const): "nxp,lpc1788-rtc"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

RTC clock

Item 2

Register clock

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "rtc"

Item 2

Exact value (const): "reg"

interrupts — required here #

Maximum number of items (maxItems): 1

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

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/lpc18xx-ccu.h>

rtc@40046000 {
    compatible = "nxp,lpc1788-rtc";
    reg = <0x40046000 0x1000>;
    clocks = <&creg_clk 0>, <&ccu1 CLK_CPU_BUS>;
    clock-names = "rtc", "reg";
    interrupts = <47>;
};

Source notes #

Annotations retained from the schema source

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

NXP LPC32xx SoC Real-time Clock

Peios Kernel / Hardware and drivers / Device-tree binding reference / Rtc bindings

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

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

Maintainers (maintainers): "Frank Li <Frank.Li@nxp.com>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "nxp,lpc3220-rtc"

reg — required here #

Maximum number of items (maxItems): 1

clocks — not listed as required here #

Maximum number of items (maxItems): 1

interrupts — not listed as 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"

All of these rules must match (allOf) #

Rule 1 #

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

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/clock/lpc32xx-clock.h>

rtc@40024000 {
    compatible = "nxp,lpc3220-rtc";
    reg = <0x40024000 0x1000>;
    interrupt-parent = <&sic1>;
    interrupts = <20 IRQ_TYPE_LEVEL_HIGH>;
    clocks = <&clk LPC32XX_CLK_RTC>;
};

Source notes #

Annotations retained from the schema source

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

NXP PCF2123 SPI Real Time Clock

Peios Kernel / Hardware and drivers / Device-tree binding reference / Rtc bindings

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

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

Maintainers (maintainers): "Javier Carrasco <javier.carrasco.cruz@gmail.com>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): /schemas/spi/spi-peripheral-props.yaml#

Rule 2 #

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

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "nxp,pcf2123"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/arm-gic.h>
spi {
    #address-cells = <1>;
    #size-cells = <0>;

    rtc@3 {
        compatible = "nxp,pcf2123";
        reg = <3>;
        interrupts = <GIC_SPI 130 IRQ_TYPE_LEVEL_LOW>;
        spi-cs-high;
    };
};

Source notes #

Annotations retained from the schema source

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

NXP PCF2127 Real Time Clock

Peios Kernel / Hardware and drivers / Device-tree binding reference / Rtc bindings

Schema identifier ($id): "http://devicetree.org/schemas/rtc/nxp,pcf2127.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#

Rule 2 #

Shared schema rule ($ref): /schemas/spi/spi-peripheral-props.yaml#

Maintainers (maintainers): "Alexandre Belloni <alexandre.belloni@bootlin.com>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "nxp,pca2129", "nxp,pcf2127", "nxp,pcf2129", "nxp,pcf2131"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

start-year — not listed as required here #

true — No constraints added by this property rule.

reset-source — not listed as required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "reg"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/irq.h>
i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    rtc@51 {
        compatible = "nxp,pcf2127";
        reg = <0x51>;
        pinctrl-0 = <&rtc_nint_pins>;
        interrupts-extended = <&gpio1 16 IRQ_TYPE_LEVEL_HIGH>;
        reset-source;
    };
};

Source notes #

Annotations retained from the schema source

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

NXP PCF85063 Real Time Clock

Peios Kernel / Hardware and drivers / Device-tree binding reference / Rtc bindings

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

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

Maintainers (maintainers): "Alexander Stein <alexander.stein@ew.tq-group.com>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "microcrystal,rv8063", "microcrystal,rv8263", "nxp,pcf85063", "nxp,pcf85063a", "nxp,pcf85063tp", "nxp,pca85073a"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — not listed as required here #

Exact value (const): 0

clock-output-names — not listed as required here #

Maximum number of items (maxItems): 1

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

quartz-load-femtofarads — not listed as required here #

The capacitive load of the quartz(x-tal).

Allowed values (enum): 7000, 12500

Default value (default): 7000

clock — not listed as required here #

Shared schema rule ($ref): /schemas/clock/fixed-clock.yaml

Provide this if the square wave pin is used as boot-enabled fixed clock.

wakeup-source — not listed as required here #

true — No constraints added by this property rule.

spi-cs-high — not listed as required here #

true — No constraints added by this property rule.

spi-3wire — not listed as required here #

true — No constraints added by this property rule.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): /schemas/spi/spi-peripheral-props.yaml#

Rule 2 #

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

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "microcrystal,rv8063", "microcrystal,rv8263"

When the condition matches (then) #

Properties and child nodes (properties)

quartz-load-femtofarads — not listed as required here

false — Not permitted by this property rule.

Rule 4 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

This rule must not match (not)

Rule for matching array elements (contains)

Allowed values (enum): "microcrystal,rv8063"

When the condition matches (then) #

Properties and child nodes (properties)

spi-cs-high — not listed as required here

false — Not permitted by this property rule.

spi-3wire — not listed as required here

false — Not permitted by this property rule.

Required in this object (required): "compatible", "reg"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    rtc@51 {
      compatible = "nxp,pcf85063a";
      reg = <0x51>;
      quartz-load-femtofarads = <12500>;

      clock {
        compatible = "fixed-clock";
        #clock-cells = <0>;
        clock-frequency = <32768>;
      };
    };
  };
spi {
    #address-cells = <1>;
    #size-cells = <0>;

    rtc@0 {
        compatible = "microcrystal,rv8063";
        reg = <0>;
        spi-cs-high;
        spi-3wire;
    };
};

Source notes #

Annotations retained from the schema source

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

NXP PCF8523 Real Time Clock

Peios Kernel / Hardware and drivers / Device-tree binding reference / Rtc bindings

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

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

Maintainers (maintainers): "Sam Ravnborg <sam@ravnborg.org>"

All of these rules must match (allOf) #

Rule 1 #

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

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "nxp,pcf8523"

reg — required here #

Maximum number of items (maxItems): 1

quartz-load-femtofarads — not listed as required here #

The capacitive load of the crystal, expressed in femto Farad (fF).

Allowed values (enum): 7000, 12500

Default value (default): 12500

Required in this object (required): "compatible", "reg"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    rtc@68 {
        compatible = "nxp,pcf8523";
        reg = <0x68>;
        quartz-load-femtofarads = <7000>;
    };
};

Source notes #

Annotations retained from the schema source

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

Philips PCF85263/PCF85363 Real Time Clock

Peios Kernel / Hardware and drivers / Device-tree binding reference / Rtc bindings

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

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

Maintainers (maintainers): "Alexandre Belloni <alexandre.belloni@bootlin.com>"

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): "nxp,pcf85263", "nxp,pcf85363"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — not listed as required here #

Exact value (const): 0

clock-output-names — not listed as required here #

Maximum number of items (maxItems): 1

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

quartz-load-femtofarads — not listed as required here #

The capacitive load of the quartz(x-tal).

Allowed values (enum): 6000, 7000, 12500

Default value (default): 7000

start-year — not listed as required here #

true — No constraints added by this property rule.

wakeup-source — not listed as required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "reg"

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

false

Not allowed by this rule.

Examples (examples) #

i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    rtc@51 {
        compatible = "nxp,pcf85363";
        reg = <0x51>;
        #clock-cells = <0>;
        quartz-load-femtofarads = <12500>;
    };
};

Source notes #

Annotations retained from the schema source

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

Philips PCF8563/Epson RTC8564 Real Time Clock

Peios Kernel / Hardware and drivers / Device-tree binding reference / Rtc bindings

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

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

Maintainers (maintainers): "Alexandre Belloni <alexandre.belloni@bootlin.com>"

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): "epson,rtc8564", "microcrystal,rv8564", "nxp,pca8565", "nxp,pcf8563"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — not listed as required here #

Exact value (const): 0

clock-output-names — not listed as required here #

Maximum number of items (maxItems): 1

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

start-year — not listed as required here #

true — No constraints added by this property rule.

wakeup-source — not listed as required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "reg"

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

false

Not allowed by this rule.

Examples (examples) #

i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    rtc@51 {
        compatible = "nxp,pcf8563";
        reg = <0x51>;
        #clock-cells = <0>;
    };
};

Source notes #

Annotations retained from the schema source

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

NXP S32G2/S32G3 Real Time Clock (RTC)

Peios Kernel / Hardware and drivers / Device-tree binding reference / Rtc bindings

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

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

Maintainers (maintainers): "Bogdan Hamciuc <bogdan.hamciuc@nxp.com>", "Ciprian Marian Costea <ciprianmarian.costea@nxp.com>"

RTC hardware module present on S32G2/S32G3 SoCs is used as a wakeup source. It is not kept alive during system reset and it is not battery-powered.

All of these rules must match (allOf) #

Rule 1 #

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

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "nxp,s32g2-rtc"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "nxp,s32g3-rtc"

Item 2

Exact value (const): "nxp,s32g2-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

ipg clock drives the access to the RTC iomapped registers

Item 2

Clock source for the RTC module. Can be selected between 4 different clock sources using an integrated hardware mux. On S32G2/S32G3 SoCs, 'source0' is the SIRC clock (~32KHz) and it is available during standby and runtime. 'source1' is reserved and cannot be used. 'source2' is the FIRC clock and it is only available during runtime providing a better resolution (~48MHz). 'source3' is an external RTC clock source which can be additionally added in hardware.

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "ipg"

Item 2

Allowed values (enum): "source0", "source1", "source2", "source3"

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

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/interrupt-controller/irq.h>

rtc@40060000 {
    compatible = "nxp,s32g3-rtc",
                 "nxp,s32g2-rtc";
    reg = <0x40060000 0x1000>;
    interrupts = <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>;
    clocks = <&clks 54>, <&clks 55>;
    clock-names = "ipg", "source0";
};

Source notes #

Annotations retained from the schema source

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

Qualcomm PM8xxx PMIC RTC device

Peios Kernel / Hardware and drivers / Device-tree binding reference / Rtc bindings

Schema identifier ($id): "http://devicetree.org/schemas/rtc/qcom-pm8xxx-rtc.yaml#"

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

Maintainers (maintainers): "Satya Priya <quic_c_skakit@quicinc.com>"

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "qcom,pm8058-rtc", "qcom,pm8921-rtc", "qcom,pm8941-rtc", "qcom,pmk8350-rtc"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "qcom,pm8018-rtc"

Item 2

Exact value (const): "qcom,pm8921-rtc"

reg — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

reg-names — not listed as required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

Exact value (const): "rtc"

Item 2

Exact value (const): "alarm"

interrupts — required here #

Maximum number of items (maxItems): 1

allow-set-time — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag

Indicates that the setting of RTC time is allowed by the host CPU.

nvmem-cells — not listed as required here #

Array item rules (items) #

Item 1

four-byte nvmem cell holding a little-endian offset from the Unix epoch representing the time when the RTC timer was last reset

nvmem-cell-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "offset"

qcom,no-alarm — not listed as required here #

Value type (type): "boolean"

RTC alarm is not owned by the OS

qcom,uefi-rtc-info — not listed as required here #

Value type (type): "boolean"

RTC offset is stored as a four-byte GPS time offset in a 12-byte UEFI variable 882f8c2b-9646-435f-8de5-f208ff80c1bd-RTCInfo

wakeup-source — not listed as required here #

true — No constraints added by this property rule.

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

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/spmi/spmi.h>

spmi {
    #address-cells = <2>;
    #size-cells = <0>;

    pmic@0 {
        compatible = "qcom,pm8941", "qcom,spmi-pmic";
        reg = <0x0 SPMI_USID>;
        #address-cells = <1>;
        #size-cells = <0>;

        rtc@6000 {
            compatible = "qcom,pm8941-rtc";
            reg = <0x6000>, <0x6100>;
            reg-names = "rtc", "alarm";
            interrupts = <0x0 0x61 0x1 IRQ_TYPE_EDGE_RISING>;
            nvmem-cells = <&rtc_offset>;
            nvmem-cell-names = "offset";
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Renesas RTCA-3 Real Time Clock

Peios Kernel / Hardware and drivers / Device-tree binding reference / Rtc bindings

Schema identifier ($id): "http://devicetree.org/schemas/rtc/renesas,rz-rtca3.yaml#"

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

Maintainers (maintainers): "Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>"

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "renesas,r9a08g045-rtca3", "renesas,r9a09g056-rtca3", "renesas,r9a09g057-rtca3"

Item 2

Exact value (const): "renesas,rz-rtca3"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Array item rules (items) #

Item 1

Alarm interrupt

Item 2

Periodic interrupt

Item 3

Carry interrupt

interrupt-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "alarm"

Item 2

Exact value (const): "period"

Item 3

Exact value (const): "carry"

clocks — required here #

Array item rules (items) #

Item 1

RTC bus clock

Item 2

RTC counter clock

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "bus"

Item 2

Exact value (const): "counter"

power-domains — required here #

Maximum number of items (maxItems): 1

resets — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

reset-names — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

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

All of these rules must match (allOf) #

Rule 1 #

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

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "renesas,r9a08g045-rtca3"

When the condition matches (then) #

Properties and child nodes (properties)

resets — not listed as required here

Array item rules (items)

Item 1

VBATTB module reset

reset-names — not listed as required here

Exact value (const): "vbattb"

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "renesas,r9a09g056-rtca3", "renesas,r9a09g057-rtca3"

When the condition matches (then) #

Properties and child nodes (properties)

resets — not listed as required here

Array item rules (items)

Item 1

RTC reset

Item 2

Reset for the RTEST registers

reset-names — required here

Array item rules (items)

Item 1

Exact value (const): "rtc"

Item 2

Exact value (const): "rtest"

Required in this object (required): "reset-names"

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/r9a08g045-cpg.h>
#include <dt-bindings/clock/renesas,r9a08g045-vbattb.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/interrupt-controller/irq.h>

rtc@1004ec00 {
    compatible = "renesas,r9a08g045-rtca3", "renesas,rz-rtca3";
    reg = <0x1004ec00 0x400>;
    interrupts = <GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH>;
    interrupt-names = "alarm", "period", "carry";
    clocks = <&cpg CPG_MOD R9A08G045_VBAT_BCLK>, <&vbattclk VBATTB_VBATTCLK>;
    clock-names = "bus", "counter";
    power-domains = <&cpg>;
    resets = <&cpg R9A08G045_VBAT_BRESETN>;
    reset-names = "vbattb";
};

Source notes #

Annotations retained from the schema source

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

Line 16: RZ/G3S

Line 17: RZ/V2N

Line 18: RZ/V2H

Renesas RZ/N1 SoCs Real-Time Clock

Peios Kernel / Hardware and drivers / Device-tree binding reference / Rtc bindings

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

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

Maintainers (maintainers): "Miquel Raynal <miquel.raynal@bootlin.com>"

All of these rules must match (allOf) #

Rule 1 #

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

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "renesas,r9a06g032-rtc"

Item 2

Exact value (const): "renesas,rzn1-rtc"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Minimum number of items (minItems): 3

Maximum number of items (maxItems): 3

interrupt-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "alarm"

Item 2

Exact value (const): "timer"

Item 3

Exact value (const): "pps"

clocks — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

clock-names — required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

Exact value (const): "hclk"

Item 2

Exact value (const): "xtal"

power-domains — required here #

Maximum number of items (maxItems): 1

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

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/clock/r9a06g032-sysctrl.h>
rtc@40006000 {
    compatible = "renesas,r9a06g032-rtc", "renesas,rzn1-rtc";
    reg = <0x40006000 0x1000>;
    interrupts = <GIC_SPI 66 IRQ_TYPE_EDGE_RISING>,
                 <GIC_SPI 67 IRQ_TYPE_EDGE_RISING>,
                 <GIC_SPI 68 IRQ_TYPE_EDGE_RISING>;
    interrupt-names = "alarm", "timer", "pps";
    clocks = <&sysctrl R9A06G032_HCLK_RTC>;
    clock-names = "hclk";
    power-domains = <&sysctrl>;
    start-year = <2000>;
};

Source notes #

Annotations retained from the schema source

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

Real Time Clock for Renesas SH and ARM SoCs

Peios Kernel / Hardware and drivers / Device-tree binding reference / Rtc bindings

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

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

Maintainers (maintainers): "Chris Brandt <chris.brandt@renesas.com>", "Geert Uytterhoeven <geert+renesas@glider.be>"

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Exact value (const): "renesas,r7s72100-rtc"

Item 2

Exact value (const): "renesas,sh-rtc"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 3

interrupt-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "alarm"

Item 2

Exact value (const): "period"

Item 3

Exact value (const): "carry"

clocks — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 4

clock-names — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 4

Array item rules (items) #

Allowed values (enum): "fck", "rtc_x1", "rtc_x3", "extal"

power-domains — required here #

Maximum number of items (maxItems): 1

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

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/r7s72100-clock.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/interrupt-controller/irq.h>

rtc: rtc@fcff1000 {
    compatible = "renesas,r7s72100-rtc", "renesas,sh-rtc";
    reg = <0xfcff1000 0x2e>;
    interrupts = <GIC_SPI 276 IRQ_TYPE_EDGE_RISING>,
                 <GIC_SPI 277 IRQ_TYPE_EDGE_RISING>,
                 <GIC_SPI 278 IRQ_TYPE_EDGE_RISING>;
    interrupt-names = "alarm", "period", "carry";
    clocks = <&mstp6_clks R7S72100_CLK_RTC>, <&rtc_x1_clk>,
             <&rtc_x3_clk>, <&extal_clk>;
    power-domains = <&cpg_clocks>;
    clock-names = "fck", "rtc_x1", "rtc_x3", "extal";
};

Source notes #

Annotations retained from the schema source

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

Line 16: RZ/A1H

Line 32: The functional clock source for the RTC controller must be listed

Line 33: first (if it exists). Additionally, potential clock counting sources

Line 34: are to be listed.

Line 39: The functional clock must be labeled as "fck". Other clocks

Line 40: may be named in accordance to the SoC hardware manuals.

Dallas DS1307 and compatible RTC

Peios Kernel / Hardware and drivers / Device-tree binding reference / Rtc bindings

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

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.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): "dallas,ds1307", "dallas,ds1308", "dallas,ds1337", "dallas,ds1338", "dallas,ds1339", "dallas,ds1388", "dallas,ds1340", "dallas,ds1341", "maxim,ds3231", "st,m41t0", "st,m41t00", "st,m41t11", "microchip,mcp7940x", "microchip,mcp7941x", "pericom,pt7c4338", "epson,rx8025", "isil,isl12057", "epson,rx8130"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "st,m41t00"

Item 2

Exact value (const): "dallas,ds1338"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

interrupt-names — not listed as required here #

Maximum number of items (maxItems): 2

#clock-cells — not listed as required here #

Exact value (const): 1

clock-output-names — not listed as required here #

From common clock binding to override the default output clock name.

wakeup-source — not listed as required here #

Enables wake up of host system on alarm.

vcc-supply — not listed as required here #

true — No constraints added by this property rule.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): rtc.yaml

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "dallas,ds1339", "dallas,ds1340", "dallas,ds1388"

When the condition matches (then) #

Properties and child nodes (properties)

trickle-resistor-ohms — not listed as required here

Selected resistor for trickle charger. Should be specified if trickle charger should be enabled.

Allowed values (enum): 250, 2000, 4000

trickle-diode-disable — not listed as required here

Do not use internal trickle charger diode. Should be given if internal trickle charger diode should be disabled (superseded by aux-voltage-chargeable)

Deprecated (deprecated): true

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "reg"

Examples (examples) #

i2c {
  #address-cells = <1>;
  #size-cells = <0>;

  rtc@68 {
    compatible = "dallas,ds1337";
    reg = <0x68>;
    interrupt-parent = <&gpio4>;
    interrupts = <20 0>;
    trickle-resistor-ohms = <250>;
  };
};

Source notes #

Annotations retained from the schema source

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

Real Time Clock of the i.MX SoCs

Peios Kernel / Hardware and drivers / Device-tree binding reference / Rtc bindings

Schema identifier ($id): "http://devicetree.org/schemas/rtc/rtc-mxc.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): "Philippe Reynes <tremyfr@gmail.com>"

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Exact value (const): "fsl,imx1-rtc"

Rule 2

Exact value (const): "fsl,imx21-rtc"

Rule 3

Array item rules (items)

Item 1

Allowed values (enum): "fsl,imx31-rtc"

Item 2

Exact value (const): "fsl,imx21-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

input reference

Item 2

the SoC RTC clock

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "ref"

Item 2

Exact value (const): "ipg"

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

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/imx27-clock.h>

rtc@10007000 {
    compatible = "fsl,imx21-rtc";
    reg = <0x10007000 0x1000>;
    interrupts = <22>;
    clocks = <&clks IMX27_CLK_CKIL>,
             <&clks IMX27_CLK_RTC_IPG_GATE>;
    clock-names = "ref", "ipg";
};

Source notes #

Annotations retained from the schema source

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

i.MX53 Secure Real Time Clock (SRTC)

Peios Kernel / Hardware and drivers / Device-tree binding reference / Rtc bindings

Schema identifier ($id): "http://devicetree.org/schemas/rtc/rtc-mxc_v2.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): "Patrick Bruenn <p.bruenn@beckhoff.com>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "fsl,imx53-rtc"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

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

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/imx5-clock.h>

rtc@53fa4000 {
    compatible = "fsl,imx53-rtc";
    reg = <0x53fa4000 0x4000>;
    interrupts = <24>;
    clocks = <&clks IMX5_CLK_SRTC_GATE>;
};

Source notes #

Annotations retained from the schema source

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

Real Time Clock Common Properties

Peios Kernel / Hardware and drivers / Device-tree binding reference / Rtc bindings

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

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

Maintainers (maintainers): "Alexandre Belloni <alexandre.belloni@bootlin.com>"

This document describes generic bindings which can be used to describe Real Time Clock devices in a device tree.

Properties and child nodes (properties) #

$nodename — not listed as required here #

String pattern (pattern): "^rtc(@.*|-([0-9]|[1-9][0-9]+))?$"

aux-voltage-chargeable — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Allowed values (enum): 0, 1

Tells whether the battery/supercap of the RTC (if any) is chargeable or not: 0: not chargeable 1: chargeable

quartz-load-femtofarads — not listed as required here #

The capacitive load of the quartz(x-tal), expressed in femto Farad (fF). The default value shall be listed (if optional), and likewise all valid values.

start-year — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

If provided, the default hardware range supported by the RTC is shifted so the first usable year is the specified one.

trickle-diode-disable — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag

Do not use internal trickle charger diode. Should be given if internal trickle charger diode should be disabled.

Deprecated (deprecated): true

trickle-resistor-ohms — not listed as required here #

Selected resistor for trickle charger. Should be given if trickle charger should be enabled.

trickle-voltage-millivolt — not listed as required here #

Selected voltage for trickle charger. Should be given if trickle charger should be enabled and the trickle voltage is different from the RTC main power supply.

wakeup-source — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag

Enables wake up of host system on alarm.

reset-source — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag

The RTC is able to reset the machine.

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

true

Allowed by this rule.

Source notes #

Annotations retained from the schema source

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

Samsung S3C, S5P and Exynos Real Time Clock controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Rtc bindings

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

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

Maintainers (maintainers): "Krzysztof Kozlowski <krzk@kernel.org>"

Properties and child nodes (properties) #

compatible — not listed as required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "samsung,s3c6410-rtc"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "samsung,exynos7-rtc", "samsung,exynos850-rtc"

Item 2

Exact value (const): "samsung,s3c6410-rtc"

Rule 3

Exact value (const): "samsung,exynos3250-rtc"

Deprecated (deprecated): true

reg — not listed as required here #

Maximum number of items (maxItems): 1

clocks — not listed as required here #

Maximum number of items (maxItems): 2

clock-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "rtc"

Item 2

Exact value (const): "rtc_src"

interrupts — not listed as required here #

Two interrupt numbers to the cpu should be specified. First interrupt number is the rtc alarm interrupt and second interrupt number is the rtc tick interrupt. The number of cells representing a interrupt depends on the parent interrupt controller.

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 2

All of these rules must match (allOf) #

Rule 1 #

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

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/exynos5420.h>
#include <dt-bindings/clock/samsung,s2mps11.h>

rtc@10070000 {
    compatible = "samsung,s3c6410-rtc";
    reg = <0x10070000 0x100>;
    interrupts = <0 44 4>, <0 45 4>;
    clocks = <&clock CLK_RTC>,
             <&s2mps11_osc S2MPS11_CLK_AP>;
    clock-names = "rtc", "rtc_src";
};

Source notes #

Annotations retained from the schema source

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

Marvell Real Time Clock controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Rtc bindings

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

Real Time Clock of the Sophgo CV1800 SoC

Peios Kernel / Hardware and drivers / Device-tree binding reference / Rtc bindings

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

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

The RTC (Real Time Clock) is an independently powered module in the chip. It contains a 32KHz oscillator and a Power-On-Reset (POR) sub-module, which can be used for time display and scheduled alarm produce. In addition, the hardware state machine provides triggering and timing control for chip power-on, power-off and reset. Furthermore, the 8051 subsystem is located within RTCSYS and is independently powered. System software can use the 8051 to manage wake conditions and wake the system while the system is asleep, and communicate with external devices through peripheral controllers. Technical Reference Manual available at https://github.com/sophgo/sophgo-doc/tree/main/SG200X/TRM

Maintainers (maintainers): "sophgo@lists.linux.dev"

All of these rules must match (allOf) #

Rule 1 #

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

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Exact value (const): "sophgo,cv1800b-rtc"

Item 2

Exact value (const): "syscon"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Array item rules (items) #

Item 1

RTC Alarm

Item 2

RTC Longpress

Item 3

VBAT DET

interrupt-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "alarm"

Item 2

Exact value (const): "longpress"

Item 3

Exact value (const): "vbat"

clocks — required here #

Array item rules (items) #

Item 1

RTC clock source

Item 2

DW8051 MCU clock source

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "rtc"

Item 2

Exact value (const): "mcu"

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

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/sophgo,cv1800.h>
#include <dt-bindings/interrupt-controller/irq.h>

rtc@5025000 {
    compatible = "sophgo,cv1800b-rtc", "syscon";
    reg = <0x5025000 0x2000>;
    interrupts = <17 IRQ_TYPE_LEVEL_HIGH>,
                 <18 IRQ_TYPE_LEVEL_HIGH>,
                 <19 IRQ_TYPE_LEVEL_HIGH>;
    interrupt-names = "alarm", "longpress", "vbat";
    clocks = <&clk CLK_RTC_25M>,
             <&clk CLK_SRC_RTC_SYS_0>;
    clock-names = "rtc", "mcu";
};

Source notes #

Annotations retained from the schema source

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

Spreadtrum SC2731 Real Time Clock

Peios Kernel / Hardware and drivers / Device-tree binding reference / Rtc bindings

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

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

Maintainers (maintainers): "Orson Zhai <orsonzhai@gmail.com>", "Baolin Wang <baolin.wang7@gmail.com>", "Chunyan Zhang <zhang.lyra@gmail.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "sprd,sc2731-rtc"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

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

All of these rules must match (allOf) #

Rule 1 #

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

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Source notes #

Annotations retained from the schema source

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

ST M41T80 family of RTC and compatible

Peios Kernel / Hardware and drivers / Device-tree binding reference / Rtc bindings

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

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

Maintainers (maintainers): "Alexandre Belloni <alexandre.belloni@bootlin.com>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "st,m41t62", "st,m41t65", "st,m41t80", "st,m41t81", "st,m41t81s", "st,m41t82", "st,m41t83", "st,m41t84", "st,m41t85", "st,m41t87", "microcrystal,rv4162"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

#clock-cells — not listed as required here #

Exact value (const): 1

clock-output-names — not listed as required here #

Maximum number of items (maxItems): 1

From common clock binding to override the default output clock name.

clock — not listed as required here #

Value type (type): "object"

Shared schema rule ($ref): /schemas/clock/fixed-clock.yaml#

Properties and child nodes (properties) #

clock-frequency — not listed as required here

Exact value (const): 32768

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): rtc.yaml

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "reg"

Examples (examples) #

i2c {
  #address-cells = <1>;
  #size-cells = <0>;
  rtc@68 {
    compatible = "st,m41t80";
    reg = <0x68>;
    interrupt-parent = <&UIC0>;
    interrupts = <0x9 0x8>;

    clock {
      compatible = "fixed-clock";
      #clock-cells = <0>;
      clock-frequency = <32768>;
    };
  };
};

Source notes #

Annotations retained from the schema source

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

ST M48T86 / Dallas DS12887 RTC with SRAM

Peios Kernel / Hardware and drivers / Device-tree binding reference / Rtc bindings

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

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

Maintainers (maintainers): "Alexandre Belloni <alexandre.belloni@bootlin.com>"

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): "st,m48t86"

reg — required here #

Array item rules (items) #

Item 1

index register

Item 2

data register

Required in this object (required): "compatible", "reg"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

rtc@10800000 {
  compatible = "st,m48t86";
  reg = <0x10800000 0x1>, <0x11700000 0x1>;
};

Source notes #

Annotations retained from the schema source

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

STMicroelectronics STM32 Real Time Clock

Peios Kernel / Hardware and drivers / Device-tree binding reference / Rtc bindings

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

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

Maintainers (maintainers): "Gabriel Fernandez <gabriel.fernandez@foss.st.com>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "st,stm32-rtc", "st,stm32h7-rtc", "st,stm32mp1-rtc", "st,stm32mp25-rtc"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

clock-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "pclk"

Item 2

Exact value (const): "rtc_ck"

interrupts — required here #

Maximum number of items (maxItems): 1

st,syscfg — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array

Array item rules (items) #

Minimum number of items (minItems): 3

Maximum number of items (maxItems): 3

Phandle/offset/mask triplet. The phandle to pwrcfg used to access control register at offset, and change the dbp (Disable Backup Protection) bit represented by the mask, mandatory to disable/enable backup domain (RTC registers) write protection.

assigned-clocks — not listed as required here #

override default rtc_ck parent clock reference to the rtc_ck clock entry

Maximum number of items (maxItems): 1

assigned-clock-parents — not listed as required here #

override default rtc_ck parent clock phandle of the new parent clock of rtc_ck

Maximum number of items (maxItems): 1

Properties matching a name pattern (patternProperties) #

^rtc-[a-z]+-[0-9]+$ — name matches this regular expression #

Value type (type): "object"

Shared schema rule ($ref): /schemas/pinctrl/pinmux-node.yaml

Configuration of STM32 RTC pins description. STM32 RTC is able to output
some signals on specific pins:
- LSCO (Low Speed Clock Output) that allow to output LSE clock on a pin.
- Alarm out that allow to send a pulse on a pin when alarm A of the RTC
  expires.

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

false

Not allowed by this rule.

Properties and child nodes (properties) #

function — not listed as required here

Allowed values (enum): "lsco", "alarm-a"

pins — not listed as required here

Allowed values (enum): "out1", "out2", "out2_rmp"

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "st,stm32-rtc"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 1

clock-names — not listed as required here

false — Not permitted by this property rule.

Properties matching a name pattern (patternProperties)

^rtc-[a-z]+-[0-9]+$ — name matches this regular expression

false — Not permitted by this property rule.

Required in this object (required): "st,syscfg"

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "st,stm32h7-rtc"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 2

Properties matching a name pattern (patternProperties)

^rtc-[a-z]+-[0-9]+$ — name matches this regular expression

false — Not permitted by this property rule.

Required in this object (required): "clock-names", "st,syscfg"

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "st,stm32mp1-rtc", "st,stm32mp25-rtc"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 2

assigned-clocks — not listed as required here

false — Not permitted by this property rule.

assigned-clock-parents — not listed as required here

false — Not permitted by this property rule.

Required in this object (required): "clock-names"

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

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/mfd/stm32f4-rcc.h>
#include <dt-bindings/clock/stm32fx-clock.h>
rtc@40002800 {
  compatible = "st,stm32-rtc";
  reg = <0x40002800 0x400>;
  clocks = <&rcc 1 CLK_RTC>;
  assigned-clocks = <&rcc 1 CLK_RTC>;
  assigned-clock-parents = <&rcc 1 CLK_LSE>;
  interrupt-parent = <&exti>;
  interrupts = <17 1>;
  st,syscfg = <&pwrcfg 0x00 0x100>;
};
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/clock/stm32mp1-clks.h>
rtc@5c004000 {
  compatible = "st,stm32mp1-rtc";
  reg = <0x5c004000 0x400>;
  clocks = <&rcc RTCAPB>, <&rcc RTC>;
  clock-names = "pclk", "rtc_ck";
  interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
};

Source notes #

Annotations retained from the schema source

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

Sunplus SP7021 Real Time Clock controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Rtc bindings

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

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

Maintainers (maintainers): "Vincent Shih <vincent.sunplus@gmail.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "sunplus,sp7021-rtc"

reg — required here #

Maximum number of items (maxItems): 1

reg-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "rtc"

clocks — required here #

Maximum number of items (maxItems): 1

resets — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

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

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/irq.h>

rtc: serial@9c003a00 {
    compatible = "sunplus,sp7021-rtc";
    reg = <0x9c003a00 0x80>;
    reg-names = "rtc";
    clocks = <&clkc 0x12>;
    resets = <&rstc 0x02>;
    interrupt-parent = <&intc>;
    interrupts = <163 IRQ_TYPE_EDGE_RISING>;
};

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) Sunplus Co., Ltd. 2021

TI BQ32000 I2C Serial Real-Time Clock

Peios Kernel / Hardware and drivers / Device-tree binding reference / Rtc bindings

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

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

Maintainers (maintainers): "Alexandre Belloni <alexandre.belloni@bootlin.com>"

All of these rules must match (allOf) #

Rule 1 #

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

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "ti,bq32000"

reg — required here #

Exact value (const): 104

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

start-year — not listed as required here #

true — No constraints added by this property rule.

trickle-resistor-ohms — not listed as required here #

Allowed values (enum): 1120, 20180

trickle-diode-disable — not listed as required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "reg"

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

false

Not allowed by this rule.

Examples (examples) #

i2c {
        #address-cells = <1>;
        #size-cells = <0>;

        bq32000: rtc@68 {
                compatible = "ti,bq32000";
                reg = <0x68>;
                trickle-resistor-ohms = <1120>;
        };
};

Source notes #

Annotations retained from the schema source

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

Texas Instruments K3 Real Time Clock

Peios Kernel / Hardware and drivers / Device-tree binding reference / Rtc bindings

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)

Trivial RTCs

Peios Kernel / Hardware and drivers / Device-tree binding reference / Rtc bindings

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

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

Maintainers (maintainers): "Alexandre Belloni <alexandre.belloni@bootlin.com>"

This is a list of trivial RTC devices that have simple device tree bindings, consisting only of a compatible field, an address and possibly an interrupt line.

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): "abracon,abb5zes3", "abracon,abeoz9", "aspeed,ast2400-rtc", "aspeed,ast2500-rtc", "aspeed,ast2600-rtc", "cnxt,cx92755-rtc", "dallas,ds1374", "dallas,ds1672", "dallas,ds3232", "dallas,m41t00", "dfrobot,sd2405al", "emmicro,em3027", "epson,rx8010", "epson,rx8035", "epson,rx8111", "epson,rx8571", "epson,rx8581", "google,goldfish-rtc", "marvell,orion-rtc", "maxim,ds1742", "maxim,mcp795", "microcrystal,rv3029", "microcrystal,rv8523", "ricoh,r2025sd", "ricoh,r2221tl", "ricoh,rs5c372a", "ricoh,rs5c372b", "ricoh,rv5c386", "ricoh,rv5c387a", "sii,s35390a", "st,spear600-rtc", "via,vt8500-rtc", "whwave,sd3078", "xicor,x1205"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — not listed as 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"

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

false

Not allowed by this rule.

Source notes #

Annotations retained from the schema source

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

Line 23: AB-RTCMC-32.768kHz-B5ZE-S3: Real Time Clock/Calendar Module with I2C Interface

Line 25: AB-RTCMC-32.768kHz-EOZ9: Real Time Clock/Calendar Module with I2C Interface

Line 27: ASPEED BMC ast2400 Real-time Clock

Line 29: ASPEED BMC ast2500 Real-time Clock

Line 31: ASPEED BMC ast2600 Real-time Clock

Line 33: Conexant Digicolor Real Time Clock Controller

Line 35: I2C, 32-Bit Binary Counter Watchdog RTC with Trickle Charger and Reset Input/Output

Line 37: Dallas DS1672 Real-time Clock

Line 39: Extremely Accurate I²C RTC with Integrated Crystal and SRAM

Line 41: Dallas m41t00 Real-time Clock

Line 43: SD2405AL Real-Time Clock

Line 45: EM Microelectronic EM3027 RTC

Line 47: I2C-BUS INTERFACE REAL TIME CLOCK MODULE

Line 49: I2C-BUS INTERFACE REAL TIME CLOCK MODULE

Line 51: I2C-BUS INTERFACE REAL TIME CLOCK MODULE with Battery Backed RAM

Line 54: I2C-BUS INTERFACE REAL TIME CLOCK MODULE

Line 56: Android Goldfish Real-time Clock

Line 58: Mvebu Real-time Clock

Line 60: Maxim DS1742/DS1743 Real-time Clock

Line 62: SPI-BUS INTERFACE REAL TIME CLOCK MODULE

Line 64: Real Time Clock Module with I2C-Bus

Line 66: Real Time Clock

Line 68: I2C bus SERIAL INTERFACE REAL-TIME CLOCK IC

Line 70: I2C bus SERIAL INTERFACE REAL-TIME CLOCK IC

Line 72: I2C bus SERIAL INTERFACE REAL-TIME CLOCK IC

Line 74: I2C bus SERIAL INTERFACE REAL-TIME CLOCK IC

Line 76: I2C bus SERIAL INTERFACE REAL-TIME CLOCK IC

Line 78: I2C bus SERIAL INTERFACE REAL-TIME CLOCK IC

Line 80: 2-wire CMOS real-time clock

Line 82: ST SPEAr Real-time Clock

Line 84: VIA/Wondermedia VT8500 Real-time Clock

Line 86: I2C bus SERIAL INTERFACE REAL-TIME CLOCK IC

Line 88: Xicor/Intersil X1205 I2C RTC

Xilinx Zynq Ultrascale+ MPSoC Real Time Clock

Peios Kernel / Hardware and drivers / Device-tree binding reference / Rtc bindings

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

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

RTC controller for the Xilinx Zynq MPSoC Real Time Clock. The RTC controller has separate IRQ lines for seconds and alarm.

Maintainers (maintainers): "Michal Simek <michal.simek@amd.com>"

All of these rules must match (allOf) #

Rule 1 #

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

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Exact value (const): "xlnx,zynqmp-rtc"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "xlnx,versal-rtc", "xlnx,versal-net-rtc"

Item 2

Exact value (const): "xlnx,zynqmp-rtc"

reg — required here #

Maximum number of items (maxItems): 1

clocks — not listed as required here #

Maximum number of items (maxItems): 1

clock-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "rtc"

interrupts — required here #

Maximum number of items (maxItems): 2

interrupt-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "alarm"

Item 2

Exact value (const): "sec"

calibration — not listed as required here #

calibration value for 1 sec period which will be programmed directly to calibration register.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Minimum value (minimum): 1

Maximum value (maximum): 2097151

Default value (default): 1671731

Deprecated (deprecated): true

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

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

soc {
  #address-cells = <2>;
  #size-cells = <2>;

  rtc: rtc@ffa60000 {
    compatible = "xlnx,zynqmp-rtc";
    reg = <0x0 0xffa60000 0x0 0x100>;
    interrupt-parent = <&gic>;
    interrupts = <0 26 4>, <0 27 4>;
    interrupt-names = "alarm", "sec";
    calibration = <0x198233>;
    clock-names = "rtc";
    clocks = <&rtc_clk>;
  };
};

Source notes #

Annotations retained from the schema source

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

Peios Learn — documentation for Peios software.

Built with Trail.