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

title: ST M48T86 / Dallas DS12887 RTC with SRAM

maintainers:
  - Alexandre Belloni <alexandre.belloni@bootlin.com>

allOf:
  - $ref: rtc.yaml

properties:
  compatible:
    enum:
      - st,m48t86

  reg:
    items:
      - description: index register
      - description: data register

required:
  - compatible
  - reg

unevaluatedProperties: false

examples:
  - |
    rtc@10800000 {
      compatible = "st,m48t86";
      reg = <0x10800000 0x1>, <0x11700000 0x1>;
    };

...
