summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2011-07-18 11:15:21 +0800
committerWim Van Sebroeck <wim@iguana.be>2011-07-26 21:19:16 +0000
commitf5a427eedeead2be82561497a12788bd1f0c07d3 (patch)
treec983a6b9a761dbb4a635b24766a8c39d9a894731 /Documentation/devicetree
parent9487a9cc7140ef88d532c989570ee77436ede1e0 (diff)
downloadlinux-f5a427eedeead2be82561497a12788bd1f0c07d3.tar.gz
linux-f5a427eedeead2be82561497a12788bd1f0c07d3.tar.bz2
linux-f5a427eedeead2be82561497a12788bd1f0c07d3.zip
watchdog: imx2_wdt: add device tree probe support
Adds device tree probe support for imx2_wdt driver. Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Cc: Grant Likely <grant.likely@secretlab.ca> Cc: Wolfram Sang <w.sang@pengutronix.de> Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'Documentation/devicetree')
-rw-r--r--Documentation/devicetree/bindings/watchdog/fsl-imx-wdt.txt14
1 files changed, 14 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/watchdog/fsl-imx-wdt.txt b/Documentation/devicetree/bindings/watchdog/fsl-imx-wdt.txt
new file mode 100644
index 000000000000..2144af1a5264
--- /dev/null
+++ b/Documentation/devicetree/bindings/watchdog/fsl-imx-wdt.txt
@@ -0,0 +1,14 @@
+* Freescale i.MX Watchdog Timer (WDT) Controller
+
+Required properties:
+- compatible : Should be "fsl,<soc>-wdt"
+- reg : Should contain WDT registers location and length
+- interrupts : Should contain WDT interrupt
+
+Examples:
+
+wdt@73f98000 {
+ compatible = "fsl,imx51-wdt", "fsl,imx21-wdt";
+ reg = <0x73f98000 0x4000>;
+ interrupts = <58>;
+};