From patchwork Mon May 25 10:03:10 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: 48957 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f200.google.com (mail-lb0-f200.google.com [209.85.217.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 5A28221411 for ; Mon, 25 May 2015 10:08:12 +0000 (UTC) Received: by lbbqj7 with SMTP id qj7sf20279796lbb.1 for ; Mon, 25 May 2015 03:08:11 -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=rAqyDSAQad3fZL0ol/HczxCptFEYwXYE58ug8L13k0Q=; b=Fk9AT3j5BKXGoAe1kuhdEYDgKHMN0O4cgOPHk9Y9zLPKxkEreheENTiSpfMoz24d9w DwHsBf1hefmeKkEf6z73yNqzUsthqO6LUC1kuzR8cMkcUpeR3CWhmRSgtcdR1j2famqu hyYaL5AiIqCZ/tU/r37IjafQXZL3E/sfbQJYn/tQQXt3Szav2Um9vJVFViZdrQdkU2hT FqDyraaiKJ4O2jjNw3tKfcjQMcIaUUCZgF+1ND4hHRvryMD5Xrw3LyEzagTHBXV3wzjR MdwDoapf1fdvEVOU71RWVogm3pC2NBzFGX8lO1Y4CJqzeqGS0GvKjKL4xWubnMnCL0FP FHEw== X-Gm-Message-State: ALoCoQmn2PVQjZ1wgysFgPYnYAW4DP/RawIlFUoepBDWTnqxEjywNPjX5QNni9w6gMOlVi4Zl2KA X-Received: by 10.180.216.12 with SMTP id om12mr17833772wic.1.1432548491253; Mon, 25 May 2015 03:08:11 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.120.9 with SMTP id ky9ls621376lab.98.gmail; Mon, 25 May 2015 03:08:11 -0700 (PDT) X-Received: by 10.112.135.131 with SMTP id ps3mr17464648lbb.84.1432548491042; Mon, 25 May 2015 03:08:11 -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 tb10si8082094lbb.24.2015.05.25.03.08.10 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 25 May 2015 03:08:10 -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 lbcmx3 with SMTP id mx3so48835080lbc.1 for ; Mon, 25 May 2015 03:08:10 -0700 (PDT) X-Received: by 10.112.199.133 with SMTP id jk5mr18062767lbc.32.1432548490901; Mon, 25 May 2015 03:08:10 -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 hn6csp1738802lbb; Mon, 25 May 2015 03:08:09 -0700 (PDT) X-Received: by 10.66.55.105 with SMTP id r9mr38512451pap.143.1432548485624; Mon, 25 May 2015 03:08:05 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id fk8si15586510pab.89.2015.05.25.03.08.04; Mon, 25 May 2015 03:08:05 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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 S1752452AbbEYKH4 (ORCPT + 28 others); Mon, 25 May 2015 06:07:56 -0400 Received: from mail-pd0-f180.google.com ([209.85.192.180]:35743 "EHLO mail-pd0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752399AbbEYKHu (ORCPT ); Mon, 25 May 2015 06:07:50 -0400 Received: by pdea3 with SMTP id a3so67068630pde.2 for ; Mon, 25 May 2015 03:07:49 -0700 (PDT) X-Received: by 10.70.92.34 with SMTP id cj2mr38739027pdb.116.1432548469445; Mon, 25 May 2015 03:07:49 -0700 (PDT) Received: from localhost.localdomain ([205.147.105.74]) by mx.google.com with ESMTPSA id jw7sm9535005pbb.25.2015.05.25.03.07.41 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 25 May 2015 03:07:48 -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, Fu Wei Subject: [PATCH v3 3/6] ARM64: add SBSA Generic Watchdog device node in amd-seattle-soc.dtsi Date: Mon, 25 May 2015 18:03:10 +0800 Message-Id: <1432548193-19569-4-git-send-email-fu.wei@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1432548193-19569-1-git-send-email-fu.wei@linaro.org> References: <=fu.wei@linaro.org> <1432548193-19569-1-git-send-email-fu.wei@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@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 Acked-by: Suravee Suthikulpanit Tested-by: Suravee Suthikulpanit Signed-off-by: Fu Wei --- arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi b/arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi index 2874d92..95994eb 100644 --- a/arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi +++ b/arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi @@ -84,6 +84,17 @@ clock-names = "uartclk", "apb_pclk"; }; + watchdog0: watchdog@e0bb0000 { + compatible = "arm,sbsa-gwdt"; + reg = <0x0 0xe0bb0000 0 0x10000>, + <0x0 0xe0bc0000 0 0x10000>; + reg-names = "refresh", + "control"; + interrupts = <0 337 4>; + interrupt-names = "ws0"; + timeout-sec = <10 5>; + }; + spi0: ssp@e1020000 { status = "disabled"; compatible = "arm,pl022", "arm,primecell";