ramips: update v3.10 patches
[openwrt.git] / target / linux / ramips / patches-3.10 / 0003-DT-Add-documentation-for-rt2880-wdt.patch
1 From 8b87087423057f8a06423702f3035634d6e8cd73 Mon Sep 17 00:00:00 2001
2 From: John Crispin <blogic@openwrt.org>
3 Date: Sun, 28 Jul 2013 19:57:20 +0200
4 Subject: [PATCH 03/25] DT: Add documentation for rt2880-wdt
5
6 This document describes the binding of the watchdog core found ralink wireless
7 SoC.
8
9 Signed-off-by: John Crispin <blogic@openwrt.org>
10 Cc: linux-watchdog@vger.kernel.org
11 Cc: linux-mips@linux-mips.org
12 Cc: devicetree-discuss@lists.ozlabs.org
13 ---
14  .../devicetree/bindings/watchdog/rt2880-wdt.txt     |   19 +++++++++++++++++++
15  1 file changed, 19 insertions(+)
16  create mode 100644 Documentation/devicetree/bindings/watchdog/rt2880-wdt.txt
17
18 --- /dev/null
19 +++ b/Documentation/devicetree/bindings/watchdog/rt2880-wdt.txt
20 @@ -0,0 +1,19 @@
21 +Ralink Watchdog Timers
22 +
23 +Required properties :
24 +- compatible: must be "ralink,rt2880-wdt"
25 +- reg: physical base address of the controller and length of the register range
26 +
27 +Optional properties :
28 +- interrupt-parent: phandle to the INTC device node
29 +- interrupts: Specify the INTC interrupt number
30 +
31 +Example:
32 +
33 +       watchdog@120 {
34 +               compatible = "ralink,rt2880-wdt";
35 +               reg = <0x120 0x10>;
36 +
37 +               interrupt-parent = <&intc>;
38 +               interrupts = <1>;
39 +       };