Documentation/devicetree/bindings/rtc/nxp,pcf8523.yaml

Source file repositories/reference/linux-study-clean/Documentation/devicetree/bindings/rtc/nxp,pcf8523.yaml

File Facts

System
Linux kernel
Corpus path
Documentation/devicetree/bindings/rtc/nxp,pcf8523.yaml
Extension
.yaml
Size
831 bytes
Lines
46
Domain
Support Tooling And Documentation
Bucket
Documentation
Inferred role
Support Tooling And Documentation: configuration, schema, or hardware description
Status
atlas-only

Why This File Exists

Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.

Dependency Surface

Detected Declarations

Annotated Snippet

# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/rtc/nxp,pcf8523.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: NXP PCF8523 Real Time Clock

maintainers:
  - Sam Ravnborg <sam@ravnborg.org>

allOf:
  - $ref: rtc.yaml#

properties:
  compatible:
    const: nxp,pcf8523

  reg:
    maxItems: 1

  quartz-load-femtofarads:
    description:
      The capacitive load of the crystal, expressed in femto Farad (fF).
    enum: [ 7000, 12500 ]
    default: 12500

required:
  - compatible
  - reg

unevaluatedProperties: false

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

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

Annotation

Implementation Notes