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

watchdog: xilinx: Add missing binding

Document current driver binding.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>

authored by

Michal Simek and committed by
Wim Van Sebroeck
a8b84b01 75b3c5a8

+23
+23
Documentation/devicetree/bindings/watchdog/of-xilinx-wdt.txt
··· 1 + Xilinx AXI/PLB soft-core watchdog Device Tree Bindings 2 + --------------------------------------------------------- 3 + 4 + Required properties: 5 + - compatible : Should be "xlnx,xps-timebase-wdt-1.00.a" or 6 + "xlnx,xps-timebase-wdt-1.01.a". 7 + - reg : Physical base address and size 8 + 9 + Optional properties: 10 + - clock-frequency : Frequency of clock in Hz 11 + - xlnx,wdt-enable-once : 0 - Watchdog can be restarted 12 + 1 - Watchdog can be enabled just once 13 + - xlnx,wdt-interval : Watchdog timeout interval in 2^<val> clock cycles, 14 + <val> is integer from 8 to 31. 15 + 16 + Example: 17 + axi-timebase-wdt@40100000 { 18 + clock-frequency = <50000000>; 19 + compatible = "xlnx,xps-timebase-wdt-1.00.a"; 20 + reg = <0x40100000 0x10000>; 21 + xlnx,wdt-enable-once = <0x0>; 22 + xlnx,wdt-interval = <0x1b>; 23 + } ;