Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754945AbbLAND4 (ORCPT ); Tue, 1 Dec 2015 08:03:56 -0500 Received: from proxima.lp0.eu ([81.2.80.65]:58827 "EHLO proxima.lp0.eu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754108AbbLANDz (ORCPT ); Tue, 1 Dec 2015 08:03:55 -0500 Subject: [PATCH 03/11] watchdog: Add brcm,bcm6345-wdt device tree binding To: Guenter Roeck , Thomas Gleixner References: <565D9A40.60409@simon.arlott.org.uk> Cc: Florian Fainelli , MIPS Mailing List , Jonas Gorski , "devicetree@vger.kernel.org" , Ralf Baechle , Jason Cooper , Marc Zyngier , Kevin Cernekee , Wim Van Sebroeck , Maxime Bizon , Linux Kernel Mailing List , linux-watchdog@vger.kernel.org, Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala From: Simon Arlott Message-ID: <565D9AB3.2060504@simon.arlott.org.uk> Date: Tue, 1 Dec 2015 13:03:47 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <565D9A40.60409@simon.arlott.org.uk> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1826 Lines: 63 Add device tree binding for the BCM6345 watchdog. This uses the BCM6345 timer for its warning interrupt. Signed-off-by: Simon Arlott Acked-by: Rob Herring --- .../bindings/watchdog/brcm,bcm6345-wdt.txt | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 Documentation/devicetree/bindings/watchdog/brcm,bcm6345-wdt.txt diff --git a/Documentation/devicetree/bindings/watchdog/brcm,bcm6345-wdt.txt b/Documentation/devicetree/bindings/watchdog/brcm,bcm6345-wdt.txt new file mode 100644 index 0000000..9d852d4 --- /dev/null +++ b/Documentation/devicetree/bindings/watchdog/brcm,bcm6345-wdt.txt @@ -0,0 +1,35 @@ +BCM6345 Watchdog timer + +Required properties: + +- compatible: should be "brcm,bcm63-wdt", "brcm,bcm6345-wdt" +- reg: Specifies base physical address and size of the registers. +- clocks: Specify the clock used for timing + +Optional properties: + +- interrupt-parent: phandle to the interrupt controller +- interrupts: Specify the interrupt used for the watchdog timout warning +- timeout-sec: Contains the default watchdog timeout in seconds + +Example: + +watchdog { + compatible = "brcm,bcm63168-wdt", "brcm,bcm6345-wdt"; + reg = <0x1000009c 0x0c>; + clocks = <&periph_clk>; + + interrupt-parent = <&timer>; + interrupts = <3>; + timeout-sec = <30>; +}; + +watchdog { + compatible = "brcm,bcm6318-wdt", "brcm,bcm6345-wdt"; + reg = <0x10000068 0x0c>; + clocks = <&periph_clk>; + + interrupt-parent = <&timer>; + interrupts = <3>; + timeout-sec = <30>; +}; -- 2.1.4 -- Simon Arlott -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/