linux/Documentation/devicetree/bindings/watchdog/technologic,ts7200-wdt.yaml

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

title: Technologic Systems TS-72xx based SBCs watchdog

maintainers:
  - Nikita Shubin <[email protected]>

allOf:
  - $ref: watchdog.yaml#

properties:
  compatible:
    oneOf:
      - const: technologic,ts7200-wdt
      - items:
          - enum:
              - technologic,ts7300-wdt
              - technologic,ts7260-wdt
              - technologic,ts7250-wdt
          - const: technologic,ts7200-wdt

  reg:
    items:
      - description: control register
      - description: feed register

required:
  - compatible
  - reg

unevaluatedProperties: false

examples:
  - |
    watchdog@23800000 {
      compatible = "technologic,ts7200-wdt";
      reg = <0x23800000 0x01>, <0x23c00000 0x01>;
      timeout-sec = <30>;
    };

...