# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
%YAML 1.2
---
$id: http://devicetree.org/schemas/watchdog/realtek,rtd1295-watchdog.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Realtek RTD1295 Watchdog

maintainers:
  - Andreas Färber <afaerber@suse.de>

allOf:
  - $ref: watchdog.yaml#

properties:
  compatible:
    const: realtek,rtd1295-watchdog

  reg:
    maxItems: 1

  clocks:
    maxItems: 1

required:
  - compatible
  - reg
  - clocks

unevaluatedProperties: false

examples:
  - |
    watchdog@98007680 {
        compatible = "realtek,rtd1295-watchdog";
        reg = <0x98007680 0x100>;
        clocks = <&osc27M>;
    };
