Commit 70f272bd authored by Nik Bune's avatar Nik Bune Committed by Wim Van Sebroeck
Browse files

dt-bindings: watchdog: qca,ar7130-wdt: convert txt to yaml



Convert txt file to yaml. Add maintainers from git blame.
Drop qca,ar9330-wdt from example of compatible property
and leave only qca,ar7130-wdt, as description of property
mentioned must be qca,ar7130-wdt.

Signed-off-by: default avatarNik Bune <n2h9z4@gmail.com>
Reviewed-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: default avatarWim Van Sebroeck <wim@linux-watchdog.org>
Link: https://lore.kernel.org/r/20231102123234.62350-1-n2h9z4@gmail.com


Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
Signed-off-by: default avatarWim Van Sebroeck <wim@linux-watchdog.org>
parent 31371c76
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/qca,ar7130-wdt.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Qualcomm Atheros AR7130 Watchdog Timer (WDT) Controller

maintainers:
  - Gabor Juhos <juhosg@openwrt.org>

allOf:
  - $ref: watchdog.yaml#

properties:
  compatible:
    const: qca,ar7130-wdt

  reg:
    maxItems: 1

required:
  - compatible
  - reg

unevaluatedProperties: false

examples:
  - |
    watchdog@18060008 {
        compatible = "qca,ar7130-wdt";
        reg = <0x18060008 0x8>;
    };
+0 −13
Original line number Diff line number Diff line
* Qualcomm Atheros AR7130 Watchdog Timer (WDT) Controller

Required properties:
- compatible: must be "qca,ar7130-wdt"
- reg: physical base address of the controller and length of memory mapped
  region.

Example:

wdt@18060008 {
	compatible = "qca,ar9330-wdt", "qca,ar7130-wdt";
	reg = <0x18060008 0x8>;
};