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

title: Conexant Digicolor SoCs Watchdog timer

description: |
  The watchdog functionality in Conexant Digicolor SoCs relies on the so called
  "Agent Communication" block. This block includes the eight programmable system
  timer counters. The first timer (called "Timer A") is the only one that can be
  used as watchdog.

maintainers:
  - Baruch Siach <baruch@tkos.co.il>

allOf:
  - $ref: watchdog.yaml#

properties:
  compatible:
    const: cnxt,cx92755-wdt

  reg:
    maxItems: 1

  clocks:
    maxItems: 1

required:
  - compatible
  - reg
  - clocks

unevaluatedProperties: false

examples:
  - |
    watchdog@f0000fc0 {
        compatible = "cnxt,cx92755-wdt";
        reg = <0xf0000fc0 0x8>;
        clocks = <&main_clk>;
        timeout-sec = <15>;
    };
