From patchwork Wed Jun 10 13:41:48 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: 49691 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f69.google.com (mail-la0-f69.google.com [209.85.215.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 1DC2720C81 for ; Wed, 10 Jun 2015 13:43:41 +0000 (UTC) Received: by labby2 with SMTP id by2sf2668559lab.1 for ; Wed, 10 Jun 2015 06:43:40 -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=+C95LUUCbUPXaPhy1nDgfOVz8JoJLf1fjWSwi5BMX2Y=; b=ldFLTXs/WbdvGEjpn3sLNtCMBJ6kcs/1Mr/rpf7jkIZFzN4c1sotu9MKz9uK+SS+M4 rP5JjZYx/mC5XFNP9DmR6PKCz7+zNiQDmXU9hY+wUcRckXJPj+HYR7G5h1Ga9KIigeRI bDLMwbmUiY8jDY/njRZ62mD5nNJ9OHK9/zNlqkUpKc12QhvwbUqE+/Ye5WmmLGZLVAiS M3Ex5QpdcYrkCkeg0miWmM0h7SiwaqFmTYAATM0mDKwpEg7r4c3QaMg+eV37lJ61lvuN hyBpNJyuCJIYgttO0LNwwiRdVPA2EGcZgRr19EdZfPUKvF0XMFEOCjyXzbjIl7B8WJAW COkA== X-Gm-Message-State: ALoCoQlq2BX1eNMkx0zLRxFIcss7JnEOqk45szFcDhCDGhe1GXNK+sd0sEQQoa3GzJlJILHj/kPS X-Received: by 10.112.148.101 with SMTP id tr5mr3022842lbb.13.1433943820098; Wed, 10 Jun 2015 06:43:40 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.20.201 with SMTP id p9ls241903lae.42.gmail; Wed, 10 Jun 2015 06:43:39 -0700 (PDT) X-Received: by 10.152.6.166 with SMTP id c6mr4137524laa.62.1433943819952; Wed, 10 Jun 2015 06:43:39 -0700 (PDT) Received: from mail-lb0-f169.google.com (mail-lb0-f169.google.com. [209.85.217.169]) by mx.google.com with ESMTPS id ei5si9058517lbb.128.2015.06.10.06.43.39 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 10 Jun 2015 06:43:39 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.169 as permitted sender) client-ip=209.85.217.169; Received: by lbbqq2 with SMTP id qq2so29105634lbb.3 for ; Wed, 10 Jun 2015 06:43:39 -0700 (PDT) X-Received: by 10.112.41.196 with SMTP id h4mr4134927lbl.36.1433943819765; Wed, 10 Jun 2015 06:43:39 -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 hn6csp3346970lbb; Wed, 10 Jun 2015 06:43:38 -0700 (PDT) X-Received: by 10.70.100.168 with SMTP id ez8mr5872262pdb.129.1433943817913; Wed, 10 Jun 2015 06:43:37 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id zn2si14089533pbc.102.2015.06.10.06.43.37; Wed, 10 Jun 2015 06:43:37 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-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 S933701AbbFJNne (ORCPT + 7 others); Wed, 10 Jun 2015 09:43:34 -0400 Received: from mail-pa0-f44.google.com ([209.85.220.44]:35605 "EHLO mail-pa0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754276AbbFJNnZ (ORCPT ); Wed, 10 Jun 2015 09:43:25 -0400 Received: by pacyx8 with SMTP id yx8so35320279pac.2 for ; Wed, 10 Jun 2015 06:43:25 -0700 (PDT) X-Received: by 10.66.66.173 with SMTP id g13mr5991562pat.155.1433943805447; Wed, 10 Jun 2015 06:43:25 -0700 (PDT) Received: from localhost.localdomain (li400-65.members.linode.com. [106.187.50.65]) by mx.google.com with ESMTPSA id je4sm8739085pbb.17.2015.06.10.06.43.07 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 10 Jun 2015 06:43:24 -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, Fu Wei Subject: [PATCH v5 3/8] ARM64: add SBSA Generic Watchdog device node in amd-seattle-soc.dtsi Date: Wed, 10 Jun 2015 21:41:48 +0800 Message-Id: <1433943713-32466-4-git-send-email-fu.wei@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1433943713-32466-1-git-send-email-fu.wei@linaro.org> References: <=fu.wei@linaro.org> <1433943713-32466-1-git-send-email-fu.wei@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: devicetree@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.169 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";