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

title: PXA Real Time Clock

maintainers:
  - Javier Carrasco <javier.carrasco.cruz@gmail.com>

allOf:
  - $ref: rtc.yaml#

properties:
  compatible:
    const: marvell,pxa-rtc

  reg:
    maxItems: 1

  interrupts:
    items:
      - description: 1 Hz
      - description: Alarm

required:
  - compatible
  - reg
  - interrupts

unevaluatedProperties: false

examples:
  - |
    rtc@40900000 {
        compatible = "marvell,pxa-rtc";
        reg = <0x40900000 0x3c>;
        interrupts = <30>, <31>;
    };
