dt-bindings: watchdog: realtek,rtd1295-watchdog: convert txt to yaml
Convert txt file to yaml. Add maintainers from git blame. Signed-off-by: Nik Bune <n2h9z4@gmail.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Link: https://lore.kernel.org/r/20231112162049.12633-1-n2h9z4@gmail.com Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
This commit is contained in:
parent
f33f5b1fd1
commit
c622a9538a
@ -1,17 +0,0 @@
|
|||||||
Realtek RTD1295 Watchdog
|
|
||||||
========================
|
|
||||||
|
|
||||||
Required properties:
|
|
||||||
|
|
||||||
- compatible : Should be "realtek,rtd1295-watchdog"
|
|
||||||
- reg : Specifies the physical base address and size of registers
|
|
||||||
- clocks : Specifies one clock input
|
|
||||||
|
|
||||||
|
|
||||||
Example:
|
|
||||||
|
|
||||||
watchdog@98007680 {
|
|
||||||
compatible = "realtek,rtd1295-watchdog";
|
|
||||||
reg = <0x98007680 0x100>;
|
|
||||||
clocks = <&osc27M>;
|
|
||||||
};
|
|
@ -0,0 +1,38 @@
|
|||||||
|
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
|
||||||
|
%YAML 1.2
|
||||||
|
---
|
||||||
|
$id: http://devicetree.org/schemas/watchdog/realtek,rtd1295-watchdog.yaml#
|
||||||
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
||||||
|
|
||||||
|
title: Realtek RTD1295 Watchdog
|
||||||
|
|
||||||
|
maintainers:
|
||||||
|
- Andreas Färber <afaerber@suse.de>
|
||||||
|
|
||||||
|
allOf:
|
||||||
|
- $ref: watchdog.yaml#
|
||||||
|
|
||||||
|
properties:
|
||||||
|
compatible:
|
||||||
|
const: realtek,rtd1295-watchdog
|
||||||
|
|
||||||
|
reg:
|
||||||
|
maxItems: 1
|
||||||
|
|
||||||
|
clocks:
|
||||||
|
maxItems: 1
|
||||||
|
|
||||||
|
required:
|
||||||
|
- compatible
|
||||||
|
- reg
|
||||||
|
- clocks
|
||||||
|
|
||||||
|
unevaluatedProperties: false
|
||||||
|
|
||||||
|
examples:
|
||||||
|
- |
|
||||||
|
watchdog@98007680 {
|
||||||
|
compatible = "realtek,rtd1295-watchdog";
|
||||||
|
reg = <0x98007680 0x100>;
|
||||||
|
clocks = <&osc27M>;
|
||||||
|
};
|
Loading…
Reference in New Issue
Block a user