mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-03 17:51:23 +00:00

Describe the Software Watchdog Timer available on the S32G platforms. Cc: Ghennadi Procopciuc <ghennadi.procopciuc@nxp.com> Cc: Thomas Fossati <thomas.fossati@linaro.org> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Reviewed-by: Rob Herring (Arm) <robh@kernel.org> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Link: https://lore.kernel.org/r/20250410082616.1855860-2-daniel.lezcano@linaro.org Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
55 lines
1.0 KiB
YAML
55 lines
1.0 KiB
YAML
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/watchdog/nxp,s32g2-swt.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: NXP Software Watchdog Timer (SWT)
|
|
|
|
maintainers:
|
|
- Daniel Lezcano <daniel.lezcano@kernel.org>
|
|
|
|
allOf:
|
|
- $ref: watchdog.yaml#
|
|
|
|
properties:
|
|
compatible:
|
|
oneOf:
|
|
- const: nxp,s32g2-swt
|
|
- items:
|
|
- const: nxp,s32g3-swt
|
|
- const: nxp,s32g2-swt
|
|
|
|
reg:
|
|
maxItems: 1
|
|
|
|
clocks:
|
|
items:
|
|
- description: Counter clock
|
|
- description: Module clock
|
|
- description: Register clock
|
|
|
|
clock-names:
|
|
items:
|
|
- const: counter
|
|
- const: module
|
|
- const: register
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
- clocks
|
|
- clock-names
|
|
|
|
unevaluatedProperties: false
|
|
|
|
examples:
|
|
- |
|
|
watchdog@40100000 {
|
|
compatible = "nxp,s32g2-swt";
|
|
reg = <0x40100000 0x1000>;
|
|
clocks = <&clks 0x3a>, <&clks 0x3b>, <&clks 0x3c>;
|
|
clock-names = "counter", "module", "register";
|
|
timeout-sec = <10>;
|
|
};
|