From patchwork Tue Jun 23 14:16:28 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fu Wei Fu X-Patchwork-Id: 50237 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f199.google.com (mail-wi0-f199.google.com [209.85.212.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 1CB51216E1 for ; Tue, 23 Jun 2015 14:18:50 +0000 (UTC) Received: by wiea6 with SMTP id a6sf5426887wie.1 for ; Tue, 23 Jun 2015 07:18:49 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=kMVKm8eOfI6D/Eej6czgyuLcdTZssdLg+joZOEq3p4Q=; b=K/V4aDI3QhWF6bUbISyb1kBTFI9eUf6VyUjhNQ3BdgSvjT0UC/OxGNuams2ajs6K2T 8l5ydKjSRCfU+kz8TWHztuCVHMRJs6OYOvjz4CVrnqnIV7hXud9YMQFwXmKsswWylJ/s jZAmasuO/9B3j2JIBzaAsgCVaqDE3r8XHXU60+7PeU2DFftzomQQDHPi6V61w4bcVoQp AR1McSwQhIn9+QWuS1W1Ntbo6XeNAZ7vi5mzkUbMO8JpzQMOO9v1vk5atEYBnE5n2KV+ QnwaKro0pClFp5uu1kBXD0qmRqdEwQMVhbuDCHjFYwcSnpZ03MLIKIvMJTKWPBS3N6RH M0Bg== X-Gm-Message-State: ALoCoQlzS4Isr5h1/K5aKuHbCYJ5PK6pA5q+0ODOw2gkLRWadf0lVR+w8scZfBivMqRnkgPlMtPC X-Received: by 10.112.9.100 with SMTP id y4mr32340180lba.20.1435069129404; Tue, 23 Jun 2015 07:18:49 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.42.206 with SMTP id q14ls48514lal.58.gmail; Tue, 23 Jun 2015 07:18:49 -0700 (PDT) X-Received: by 10.112.24.233 with SMTP id x9mr36232692lbf.7.1435069129187; Tue, 23 Jun 2015 07:18:49 -0700 (PDT) Received: from mail-lb0-f172.google.com (mail-lb0-f172.google.com. [209.85.217.172]) by mx.google.com with ESMTPS id au9si19415282lbc.168.2015.06.23.07.18.49 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 23 Jun 2015 07:18:49 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.172 as permitted sender) client-ip=209.85.217.172; Received: by lbbpo10 with SMTP id po10so7685929lbb.3 for ; Tue, 23 Jun 2015 07:18:49 -0700 (PDT) X-Received: by 10.112.55.207 with SMTP id u15mr35352793lbp.88.1435069129083; Tue, 23 Jun 2015 07:18:49 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.108.230 with SMTP id hn6csp3108575lbb; Tue, 23 Jun 2015 07:18:47 -0700 (PDT) X-Received: by 10.68.163.68 with SMTP id yg4mr69609429pbb.4.1435069126793; Tue, 23 Jun 2015 07:18:46 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id pv2si34921541pdb.78.2015.06.23.07.18.46 for ; Tue, 23 Jun 2015 07:18:46 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-watchdog-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753834AbbFWOSn (ORCPT ); Tue, 23 Jun 2015 10:18:43 -0400 Received: from mail-pa0-f46.google.com ([209.85.220.46]:35380 "EHLO mail-pa0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933257AbbFWOSi (ORCPT ); Tue, 23 Jun 2015 10:18:38 -0400 Received: by pactm7 with SMTP id tm7so7911609pac.2 for ; Tue, 23 Jun 2015 07:18:38 -0700 (PDT) X-Received: by 10.69.19.202 with SMTP id gw10mr34038459pbd.72.1435069117925; Tue, 23 Jun 2015 07:18:37 -0700 (PDT) Received: from localhost.localdomain (li400-65.members.linode.com. [106.187.50.65]) by mx.google.com with ESMTPSA id x16sm23391813pbt.87.2015.06.23.07.18.13 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 23 Jun 2015 07:18:36 -0700 (PDT) From: fu.wei@linaro.org To: Suravee.Suthikulpanit@amd.com, linaro-acpi@lists.linaro.org, linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org Cc: tekkamanninja@gmail.com, graeme.gregory@linaro.org, al.stone@linaro.org, hanjun.guo@linaro.org, timur@codeaurora.org, ashwin.chaugule@linaro.org, arnd@arndb.de, linux@roeck-us.net, vgandhi@codeaurora.org, wim@iguana.be, jcm@redhat.com, leo.duran@amd.com, corbet@lwn.net, mark.rutland@arm.com, catalin.marinas@arm.com, will.deacon@arm.com, rjw@rjwysocki.net, dyoung@redhat.com, panand@redhat.com, Fu Wei Subject: [PATCH v6 2/8] ARM64: add SBSA Generic Watchdog device node in foundation-v8.dts Date: Tue, 23 Jun 2015 22:16:28 +0800 Message-Id: <1435068994-13526-3-git-send-email-fu.wei@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1435068994-13526-1-git-send-email-fu.wei@linaro.org> References: <=fu.wei@linaro.org> <1435068994-13526-1-git-send-email-fu.wei@linaro.org> Sender: linux-watchdog-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-watchdog@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: fu.wei@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.172 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Fu Wei This can be a example of adding SBSA Generic Watchdog device node into some dts files for the Soc which contains SBSA Generic Watchdog. Acked-by: Arnd Bergmann Signed-off-by: Fu Wei --- arch/arm64/boot/dts/arm/foundation-v8.dts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/arm/foundation-v8.dts b/arch/arm64/boot/dts/arm/foundation-v8.dts index 4eac8dc..7b80203 100644 --- a/arch/arm64/boot/dts/arm/foundation-v8.dts +++ b/arch/arm64/boot/dts/arm/foundation-v8.dts @@ -237,4 +237,14 @@ }; }; }; + watchdog@2a440000 { + compatible = "arm,sbsa-gwdt"; + reg = <0x0 0x2a440000 0 0x1000>, + <0x0 0x2a450000 0 0x1000>; + reg-names = "control", + "refresh"; + interrupts = <0 27 4>; + interrupt-names = "ws0"; + timeout-sec = <10 5>; + }; };