Commit 9023e05b authored by Sergio Paracuellos's avatar Sergio Paracuellos Committed by Wim Van Sebroeck
Browse files

dt-bindings: watchdog: migrate mt7621 text bindings to YAML

parent 081574f7
Loading
Loading
Loading
Loading
+33 −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/mediatek,mt7621-wdt.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Ralink Watchdog Timers

maintainers:
  - Sergio Paracuellos <sergio.paracuellos@gmail.com>

allOf:
  - $ref: watchdog.yaml#

properties:
  compatible:
    const: mediatek,mt7621-wdt

  reg:
    maxItems: 1

required:
  - compatible
  - reg

additionalProperties: false

examples:
  - |
    watchdog@100 {
      compatible = "mediatek,mt7621-wdt";
      reg = <0x100 0x100>;
    };
+0 −12
Original line number Diff line number Diff line
Ralink Watchdog Timers

Required properties:
- compatible: must be "mediatek,mt7621-wdt"
- reg: physical base address of the controller and length of the register range

Example:

	watchdog@100 {
		compatible = "mediatek,mt7621-wdt";
		reg = <0x100 0x10>;
	};