Commit 11648fa1 authored by Linus Walleij's avatar Linus Walleij Committed by Wim Van Sebroeck
Browse files

dt-bindings: watchdog: Add Maxim MAX63xx bindings



This adds devicetree bindings for the Maxim MAX63xx watchdog
timers.

Cc: devicetree@vger.kernel.org
Cc: Marc Zyngier <maz@kernel.org>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Reviewed-by: default avatarGuenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20210714153314.1004147-1-linus.walleij@linaro.org


Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
Signed-off-by: default avatarWim Van Sebroeck <wim@linux-watchdog.org>
parent 8c6b5ea6
Loading
Loading
Loading
Loading
+44 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/watchdog/maxim,max63xx.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Maxim 63xx Watchdog Timers

allOf:
  - $ref: "watchdog.yaml#"

maintainers:
  - Marc Zyngier <maz@kernel.org>
  - Linus Walleij <linus.walleij@linaro.org>

properties:
  compatible:
    oneOf:
      - const: maxim,max6369
      - const: maxim,max6370
      - const: maxim,max6371
      - const: maxim,max6372
      - const: maxim,max6373
      - const: maxim,max6374

  reg:
    description: This is a 1-byte memory-mapped address
    maxItems: 1

required:
  - compatible
  - reg

unevaluatedProperties: false

examples:
  - |
    wdt: watchdog@50000000 {
        compatible = "maxim,max6369";
        reg = <0x50000000 0x1>;
        timeout-sec = <10>;
    };

...