diff options
author | Nikita Shubin <[email protected]> | 2023-12-12 11:20:42 +0300 |
---|---|---|
committer | Wim Van Sebroeck <[email protected]> | 2023-12-17 16:14:25 +0100 |
commit | a79b4a4906b1b0c15a5efc2959bc2086a10a02b5 (patch) | |
tree | abc2ba9a31c0a38beeec2dfa081ed7c9e5532cd3 | |
parent | f84ce9f29de988fac9c7dbe7cd5faf313bbd9414 (diff) |
dt-bindings: wdt: Add ts72xx
Add DT binding for Technologic Systems TS-72xx watchdog.
Reviewed-by: Krzysztof Kozlowski <[email protected]>
Signed-off-by: Nikita Shubin <[email protected]>
Reviewed-by: Guenter Roeck <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Guenter Roeck <[email protected]>
Signed-off-by: Wim Van Sebroeck <[email protected]>
-rw-r--r-- | Documentation/devicetree/bindings/watchdog/technologic,ts7200-wdt.yaml | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/watchdog/technologic,ts7200-wdt.yaml b/Documentation/devicetree/bindings/watchdog/technologic,ts7200-wdt.yaml new file mode 100644 index 000000000000..7e4bfef152f8 --- /dev/null +++ b/Documentation/devicetree/bindings/watchdog/technologic,ts7200-wdt.yaml @@ -0,0 +1,45 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/watchdog/technologic,ts7200-wdt.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Technologic Systems TS-72xx based SBCs watchdog + +maintainers: + - Nikita Shubin <[email protected]> + +allOf: + - $ref: watchdog.yaml# + +properties: + compatible: + oneOf: + - const: technologic,ts7200-wdt + - items: + - enum: + - technologic,ts7300-wdt + - technologic,ts7260-wdt + - technologic,ts7250-wdt + - const: technologic,ts7200-wdt + + reg: + items: + - description: control register + - description: feed register + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + watchdog@23800000 { + compatible = "technologic,ts7200-wdt"; + reg = <0x23800000 0x01>, <0x23c00000 0x01>; + timeout-sec = <30>; + }; + +... |