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

dt: bindings: add documentation for zx2967 family watchdog controller

This patch adds dt-binding documentation for zx2967 family
watchdog controller.

Signed-off-by: Baoyou Xie <baoyou.xie@linaro.org>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>

authored by

Baoyou Xie and committed by
Guenter Roeck
df823c19 f2013532

+32
+32
Documentation/devicetree/bindings/watchdog/zte,zx2967-wdt.txt
··· 1 + ZTE zx2967 Watchdog timer 2 + 3 + Required properties: 4 + 5 + - compatible : should be one of the following. 6 + * zte,zx296718-wdt 7 + - reg : Specifies base physical address and size of the registers. 8 + - clocks : Pairs of phandle and specifier referencing the controller's clocks. 9 + - resets : Reference to the reset controller controlling the watchdog 10 + controller. 11 + 12 + Optional properties: 13 + 14 + - timeout-sec : Contains the watchdog timeout in seconds. 15 + - zte,wdt-reset-sysctrl : Directs how to reset system by the watchdog. 16 + if we don't want to restart system when watchdog been triggered, 17 + it's not required, vice versa. 18 + It should include following fields. 19 + * phandle of aon-sysctrl. 20 + * offset of register that be written, should be 0xb0. 21 + * configure value that be written to aon-sysctrl. 22 + * bit mask, corresponding bits will be affected. 23 + 24 + Example: 25 + 26 + wdt: watchdog@1465000 { 27 + compatible = "zte,zx296718-wdt"; 28 + reg = <0x1465000 0x1000>; 29 + clocks = <&topcrm WDT_WCLK>; 30 + resets = <&toprst 35>; 31 + zte,wdt-reset-sysctrl = <&aon_sysctrl 0xb0 1 0x115>; 32 + };