From patchwork Fri Jan 31 14:18:18 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 315599 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 865802C00A2 for ; Sat, 1 Feb 2014 01:21:03 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932407AbaAaOTC (ORCPT ); Fri, 31 Jan 2014 09:19:02 -0500 Received: from mail-ea0-f177.google.com ([209.85.215.177]:43589 "EHLO mail-ea0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932274AbaAaOS6 (ORCPT ); Fri, 31 Jan 2014 09:18:58 -0500 Received: by mail-ea0-f177.google.com with SMTP id n15so2391338ead.36 for ; Fri, 31 Jan 2014 06:18:57 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:in-reply-to:references:content-type; bh=K9Paka6yx0ND72lGPAVBFuAFHN8frWLcsJMAiqi0JuM=; b=VfymEBOcNnakspLr+xBajeVmpvp5R4PupSONXc7NAleCSp/4UHacknSg9qDDD02Fv1 JPTXDzWgJzWK2Z0QODBzDDQ9yetjSRGXgZ+YnWRiAI+rS+/PI9uZqOghLHNs5WVO/jV6 nkka+UmnR/4EEaiFGSyH/03qVrDoxq4gOfK389E7wCV1KjEiaVPJ7a9RclPYspn+5UGs Xu3n2x/53h+cfEuh0bMQk2LMatZI6VXzDeL2bg/40dezB5jkP6HMbnr9uNmG4ZLHGaC7 USqqHHAuOraTpkx2WPgu9x+LNx8zlmPftnrURInoEAqzZaIiGGFwZ37kQptzoaV1URGY aJyg== X-Gm-Message-State: ALoCoQm9Q3q8i/9T4V6NLjGEwT1jJuWQwkXgdJcJqANNv5lxFwvcrZe9aJ2/Z2Y1SXbOgDpRCHU6 X-Received: by 10.14.216.193 with SMTP id g41mr25358459eep.13.1391177936919; Fri, 31 Jan 2014 06:18:56 -0800 (PST) Received: from localhost (nat-63.starnet.cz. [178.255.168.63]) by mx.google.com with ESMTPSA id w4sm37325635eef.20.2014.01.31.06.18.55 for (version=TLSv1.1 cipher=RC4-SHA bits=128/128); Fri, 31 Jan 2014 06:18:55 -0800 (PST) From: Michal Simek To: linux-kernel@vger.kernel.org, monstr@monstr.eu Cc: Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Rob Landley , devicetree@vger.kernel.org, linux-doc@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 09/10] watchdog: xilinx: Add missing binding Date: Fri, 31 Jan 2014 15:18:18 +0100 Message-Id: <9c721b89ed2ceb6997809bb3363f852277e67dc2.1391177880.git.michal.simek@xilinx.com> X-Mailer: git-send-email 1.8.2.3 In-Reply-To: References: In-Reply-To: References: Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Document current driver binding. Signed-off-by: Michal Simek --- .../devicetree/bindings/watchdog/of-xilinx-wdt.txt | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Documentation/devicetree/bindings/watchdog/of-xilinx-wdt.txt -- 1.8.2.3 diff --git a/Documentation/devicetree/bindings/watchdog/of-xilinx-wdt.txt b/Documentation/devicetree/bindings/watchdog/of-xilinx-wdt.txt new file mode 100644 index 0000000..6d63782 --- /dev/null +++ b/Documentation/devicetree/bindings/watchdog/of-xilinx-wdt.txt @@ -0,0 +1,23 @@ +Xilinx AXI/PLB soft-core watchdog Device Tree Bindings +--------------------------------------------------------- + +Required properties: +- compatible : Should be "xlnx,xps-timebase-wdt-1.00.a" or + "xlnx,xps-timebase-wdt-1.01.a". +- reg : Physical base address and size + +Optional properties: +- clock-frequency : Frequency of clock in Hz +- xlnx,wdt-enable-once : 0 - Watchdog can be restarted + 1 - Watchdog can be enabled just once +- xlnx,wdt-interval : Watchdog timeout interval in 2^ clock cycles, + is integer from 8 to 31. + +Example: +axi-timebase-wdt@40100000 { + clock-frequency = <50000000>; + compatible = "xlnx,xps-timebase-wdt-1.00.a"; + reg = <0x40100000 0x10000>; + xlnx,wdt-enable-once = <0x0>; + xlnx,wdt-interval = <0x1b>; +} ;