Documentation / devicetree / bindings / watchdog / andestech,ae350-wdt.yaml


Based on kernel version 7.2. Page generated on 2026-08-20 08:41 EST.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
%YAML 1.2
---
$id: http://devicetree.org/schemas/watchdog/andestech,ae350-wdt.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Andes ATCWDT200 Watchdog Timer

maintainers:
  - CL Wang <cl634@andestech.com>

allOf:
  - $ref: watchdog.yaml#

properties:
  compatible:
    oneOf:
      - items:
          - enum:
              - andestech,qilai-wdt
          - const: andestech,ae350-wdt
      - const: andestech,ae350-wdt

  reg:
    maxItems: 1

  clocks:
    maxItems: 1

  andestech,clock-source:
    $ref: /schemas/types.yaml#/definitions/uint32
    enum: [0, 1]
    description: |
      Select the clock source for the watchdog timer.
      0 - External clock
      1 - P clock

required:
  - compatible
  - reg
  - clocks
  - andestech,clock-source

unevaluatedProperties: false

examples:
  - |
    watchdog@f0500000 {
        compatible = "andestech,ae350-wdt";
        reg = <0xf0500000 0x20>;
        clocks = <&clk_wdt>;
        andestech,clock-source = <0>;
    };