Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: watchdog: Add NXP Software Watchdog Timer

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>

authored by

Daniel Lezcano and committed by
Wim Van Sebroeck
45421ffb 60625ff9

+54
+54
Documentation/devicetree/bindings/watchdog/nxp,s32g2-swt.yaml
··· 1 + # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/watchdog/nxp,s32g2-swt.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: NXP Software Watchdog Timer (SWT) 8 + 9 + maintainers: 10 + - Daniel Lezcano <daniel.lezcano@kernel.org> 11 + 12 + allOf: 13 + - $ref: watchdog.yaml# 14 + 15 + properties: 16 + compatible: 17 + oneOf: 18 + - const: nxp,s32g2-swt 19 + - items: 20 + - const: nxp,s32g3-swt 21 + - const: nxp,s32g2-swt 22 + 23 + reg: 24 + maxItems: 1 25 + 26 + clocks: 27 + items: 28 + - description: Counter clock 29 + - description: Module clock 30 + - description: Register clock 31 + 32 + clock-names: 33 + items: 34 + - const: counter 35 + - const: module 36 + - const: register 37 + 38 + required: 39 + - compatible 40 + - reg 41 + - clocks 42 + - clock-names 43 + 44 + unevaluatedProperties: false 45 + 46 + examples: 47 + - | 48 + watchdog@40100000 { 49 + compatible = "nxp,s32g2-swt"; 50 + reg = <0x40100000 0x1000>; 51 + clocks = <&clks 0x3a>, <&clks 0x3b>, <&clks 0x3c>; 52 + clock-names = "counter", "module", "register"; 53 + timeout-sec = <10>; 54 + };