ST M41T80 family of RTC and compatible

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)

Edit this page