NXP PCF8523 Real Time Clock

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)

Edit this page