From patchwork Thu May 21 08:32:33 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: 48850 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f72.google.com (mail-la0-f72.google.com [209.85.215.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 60DFD21411 for ; Thu, 21 May 2015 08:34:05 +0000 (UTC) Received: by lagv1 with SMTP id v1sf24667631lag.1 for ; Thu, 21 May 2015 01:34:04 -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=bhMIJu/iXooqeLAN2XQk2c8Q5EvrtVMUIeE41YS3zgA=; b=bTrgSPEPVB8B+T9N0h5gUusVbf8/7aSCpNL7xw2CmBSRmcDSCqrxcAgT6FccQjpBnM cLF84wLQbtu7fpnJn0tHIePoRyyTjSTJfVm1nxyVy/umgkCjyFb2LtpCxoW0wQhfpMCf Y/MCRq8ZgKlGT98du6wzDnoflBXDMQOAsWmQ+Rvhq/d9MX0WPxjyI02mbrANNbIyFMKY 34X5ER+FwSMWkFTqr8eN2aEGQWK8lifwhn4WKOdDIYJENkcAi47eDpxYYtzgmn8wtDkW vX6voB822GwJedon8MITQHpgkGgpi7cbuz2zHRKWHOKjkDslwhaC3fMe+zRpz+qHWYn2 +1+w== X-Gm-Message-State: ALoCoQnXBvBx1n8+9pO7F4wNuuijr9M1ZBhx2dB1r3o/MKXLcNrDwnDKTr8JCDeOkmUmi5KaJLne X-Received: by 10.194.240.164 with SMTP id wb4mr1636790wjc.1.1432197244363; Thu, 21 May 2015 01:34:04 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.44.195 with SMTP id g3ls324475lam.0.gmail; Thu, 21 May 2015 01:34:04 -0700 (PDT) X-Received: by 10.112.204.72 with SMTP id kw8mr1266855lbc.88.1432197244163; Thu, 21 May 2015 01:34:04 -0700 (PDT) Received: from mail-la0-f53.google.com (mail-la0-f53.google.com. [209.85.215.53]) by mx.google.com with ESMTPS id a9si12804885laf.173.2015.05.21.01.34.03 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 21 May 2015 01:34:03 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.53 as permitted sender) client-ip=209.85.215.53; Received: by labbd9 with SMTP id bd9so98003336lab.2 for ; Thu, 21 May 2015 01:34:03 -0700 (PDT) X-Received: by 10.112.222.133 with SMTP id qm5mr1280126lbc.86.1432197243694; Thu, 21 May 2015 01:34:03 -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 hn6csp398941lbb; Thu, 21 May 2015 01:34:02 -0700 (PDT) X-Received: by 10.66.249.198 with SMTP id yw6mr3267119pac.149.1432197241805; Thu, 21 May 2015 01:34:01 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id qk1si30527878pbb.80.2015.05.21.01.34.00; Thu, 21 May 2015 01:34:01 -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 S1755587AbbEUIdz (ORCPT + 28 others); Thu, 21 May 2015 04:33:55 -0400 Received: from mail-pa0-f44.google.com ([209.85.220.44]:33452 "EHLO mail-pa0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754853AbbEUIdn (ORCPT ); Thu, 21 May 2015 04:33:43 -0400 Received: by padbw4 with SMTP id bw4so98022523pad.0 for ; Thu, 21 May 2015 01:33:43 -0700 (PDT) X-Received: by 10.70.50.199 with SMTP id e7mr2366519pdo.124.1432197223363; Thu, 21 May 2015 01:33:43 -0700 (PDT) Received: from localhost.localdomain ([205.147.105.74]) by mx.google.com with ESMTPSA id zf1sm18415820pbc.43.2015.05.21.01.33.36 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 21 May 2015 01:33:42 -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, Fu Wei Subject: [PATCH v2 4/7] ARM64: add SBSA Generic Watchdog device node in amd-seattle-soc.dtsi Date: Thu, 21 May 2015 16:32:33 +0800 Message-Id: <1432197156-16947-5-git-send-email-fu.wei@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1432197156-16947-1-git-send-email-fu.wei@linaro.org> References: <=fu.wei@linaro.org> <1432197156-16947-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.215.53 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. 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";