NXP PCF2127 Real Time Clock

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

Edit this page