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

dt-bindings: watchdog: airoha: document watchdog for Airoha EN7581

Document watchdog for Airoha EN7581. This SoC implement a simple
watchdog that supports a max timeout of 28 seconds.

The watchdog ticks on half the BUS clock and requires the BUS clock to be
referenced.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20241011104411.28659-1-ansuelsmth@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>

authored by

Christian Marangi and committed by
Wim Van Sebroeck
bcbd7b2b 39885f22

+47
+47
Documentation/devicetree/bindings/watchdog/airoha,en7581-wdt.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/airoha,en7581-wdt.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Airoha EN7581 Watchdog Timer 8 + 9 + maintainers: 10 + - Christian Marangi <ansuelsmth@gmail.com> 11 + 12 + allOf: 13 + - $ref: watchdog.yaml# 14 + 15 + properties: 16 + compatible: 17 + const: airoha,en7581-wdt 18 + 19 + reg: 20 + maxItems: 1 21 + 22 + clocks: 23 + description: BUS clock (timer ticks at half the BUS clock) 24 + maxItems: 1 25 + 26 + clock-names: 27 + const: bus 28 + 29 + required: 30 + - compatible 31 + - reg 32 + - clocks 33 + - clock-names 34 + 35 + unevaluatedProperties: false 36 + 37 + examples: 38 + - | 39 + #include <dt-bindings/clock/en7523-clk.h> 40 + 41 + watchdog@1fbf0100 { 42 + compatible = "airoha,en7581-wdt"; 43 + reg = <0x1fbf0100 0x3c>; 44 + 45 + clocks = <&scuclk EN7523_CLK_BUS>; 46 + clock-names = "bus"; 47 + };