STMP3xxx/i.MX28 Time Clock Controller

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)

Edit this page