From mboxrd@z Thu Jan 1 00:00:00 1970 From: Harini Katakam Subject: [PATCH v2 2/2] devicetree: Add Cadence WDT devicetree bindings documentation Date: Tue, 27 May 2014 15:48:15 +0530 Message-ID: <1401185895-3677-2-git-send-email-harinik@xilinx.com> References: <1401185895-3677-1-git-send-email-harinik@xilinx.com> Return-path: In-Reply-To: <1401185895-3677-1-git-send-email-harinik-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: wim-IQzOog9fTRqzQB+pC5nmwQ@public.gmane.org, grant.likely-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org, robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org, pawel.moll-5wv7dgnIgG8@public.gmane.org, mark.rutland-5wv7dgnIgG8@public.gmane.org, ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg@public.gmane.org, galak-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org, rob-VoJi6FS/r0vR7s880joybQ@public.gmane.org Cc: michals-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org, linux-watchdog-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-doc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Harini Katakam List-Id: devicetree@vger.kernel.org Add cadence-wdt bindings documentation. Signed-off-by: Harini Katakam --- v2: No changes --- .../devicetree/bindings/watchdog/cadence-wdt.txt | 26 ++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 Documentation/devicetree/bindings/watchdog/cadence-wdt.txt diff --git a/Documentation/devicetree/bindings/watchdog/cadence-wdt.txt b/Documentation/devicetree/bindings/watchdog/cadence-wdt.txt new file mode 100644 index 0000000..1f7a732 --- /dev/null +++ b/Documentation/devicetree/bindings/watchdog/cadence-wdt.txt @@ -0,0 +1,26 @@ +Zynq Watchdog Device Tree Bindings +------------------------------------------- + +Required properties: +- compatible : Should be "xlnx,zynq-wdt-r1p2" or "cdns,wdt-r1p2". +- clocks : Clock phandles (see clock bindings for details). +- reg : Physical base address and size of WDT registers map. +- interrupts : Property with a value describing the interrupt + number. +- interrupt-parent : Must be core interrupt controller. + +Optional properties +- reset : Reset interrupt. +- timeout-sec : Watchdog timeout value (in seconds). + +Example: + + wdt@f8005000 { + compatible = "xlnx,zynq-wdt-r1p2"; + clocks = <&clkc 45>; + interrupt-parent = <&intc>; + interrupts = <0 9 1>; + reg = <0xf8005000 0x1000>; + reset = <0>; + timeout-sec = <10>; + } ; -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html