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

devicetree: Add Cadence WDT devicetree bindings documentation

Add cadence-wdt bindings documentation.

Signed-off-by: Harini Katakam <harinik@xilinx.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>

authored by

Harini Katakam and committed by
Wim Van Sebroeck
191891c0 58bf0164

+24
+24
Documentation/devicetree/bindings/watchdog/cadence-wdt.txt
··· 1 + Zynq Watchdog Device Tree Bindings 2 + ------------------------------------------- 3 + 4 + Required properties: 5 + - compatible : Should be "cdns,wdt-r1p2". 6 + - clocks : This is pclk (APB clock). 7 + - interrupts : This is wd_irq - watchdog timeout interrupt. 8 + - interrupt-parent : Must be core interrupt controller. 9 + 10 + Optional properties 11 + - reset-on-timeout : If this property exists, then a reset is done 12 + when watchdog times out. 13 + - timeout-sec : Watchdog timeout value (in seconds). 14 + 15 + Example: 16 + watchdog@f8005000 { 17 + compatible = "cdns,wdt-r1p2"; 18 + clocks = <&clkc 45>; 19 + interrupt-parent = <&intc>; 20 + interrupts = <0 9 1>; 21 + reg = <0xf8005000 0x1000>; 22 + reset-on-timeout; 23 + timeout-sec = <10>; 24 + };