From patchwork Tue Jun 2 04:05:03 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: 49345 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f198.google.com (mail-wi0-f198.google.com [209.85.212.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 0AF6121580 for ; Tue, 2 Jun 2015 04:08:17 +0000 (UTC) Received: by wibbk2 with SMTP id bk2sf27632825wib.2 for ; Mon, 01 Jun 2015 21:08:16 -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=jBX6Ba9on9mndAHEbG/alOtKVVjKXMDnnLTra3+nel3zVv/3+DBjbtdDp9RMGWtvnR /GhevszcOnalA+ZEMY9BgFGyjDQL9CCun8LOLJvJ4Qj4X7nmKfRClUyMvLmRtzh8Jbo2 HgwAJl/GaueSgMrkBWTLSJQe6HZvBdiKJRs9NXC4vB3gEBnX1hROeKNt5q5+nKlqR1Em 0Cu7W4ywCDyA8way01LAS2mEMptwy2MafSW27DbSAW9CbQUGOeYeVKtmmrqMTFqfL21a ob3bF61x8AZT4bXt9pxMyQMUj9TsOU0B7Mux4cn3GCixSN153zOSFmxOG9IBjsETWMQv SkSQ== X-Gm-Message-State: ALoCoQkiRFGKL9Xp5gjMRzYYnycHDIx4lHnaaBrTJsCYc9pJSSSk4mVF0ZVg5mRuGmJLbP71Bc9v X-Received: by 10.112.148.101 with SMTP id tr5mr24100565lbb.13.1433218096319; Mon, 01 Jun 2015 21:08:16 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.5.1 with SMTP id o1ls757743lao.12.gmail; Mon, 01 Jun 2015 21:08:16 -0700 (PDT) X-Received: by 10.152.5.164 with SMTP id t4mr23993317lat.16.1433218096106; Mon, 01 Jun 2015 21:08:16 -0700 (PDT) Received: from mail-la0-f43.google.com (mail-la0-f43.google.com. [209.85.215.43]) by mx.google.com with ESMTPS id ay7si10050250lbc.60.2015.06.01.21.08.16 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 01 Jun 2015 21:08:16 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.43 as permitted sender) client-ip=209.85.215.43; Received: by laei3 with SMTP id i3so28360108lae.3 for ; Mon, 01 Jun 2015 21:08:16 -0700 (PDT) X-Received: by 10.112.131.98 with SMTP id ol2mr8158498lbb.56.1433218095975; Mon, 01 Jun 2015 21:08:15 -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 hn6csp2763794lbb; Mon, 1 Jun 2015 21:08:14 -0700 (PDT) X-Received: by 10.70.133.36 with SMTP id oz4mr2783893pdb.65.1433218093997; Mon, 01 Jun 2015 21:08:13 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id qo14si24419518pdb.155.2015.06.01.21.08.13; Mon, 01 Jun 2015 21:08:13 -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 S1753670AbbFBEIL (ORCPT + 7 others); Tue, 2 Jun 2015 00:08:11 -0400 Received: from mail-pa0-f50.google.com ([209.85.220.50]:33943 "EHLO mail-pa0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755474AbbFBEG3 (ORCPT ); Tue, 2 Jun 2015 00:06:29 -0400 Received: by payr10 with SMTP id r10so41401933pay.1 for ; Mon, 01 Jun 2015 21:06:28 -0700 (PDT) X-Received: by 10.68.201.168 with SMTP id kb8mr8721569pbc.50.1433217988640; Mon, 01 Jun 2015 21:06:28 -0700 (PDT) Received: from localhost.localdomain ([116.251.221.202]) by mx.google.com with ESMTPSA id pu1sm16111418pdb.33.2015.06.01.21.06.20 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 01 Jun 2015 21:06:27 -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 v4 3/7] ARM64: add SBSA Generic Watchdog device node in amd-seattle-soc.dtsi Date: Tue, 2 Jun 2015 12:05:03 +0800 Message-Id: <1433217907-928-4-git-send-email-fu.wei@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1433217907-928-1-git-send-email-fu.wei@linaro.org> References: <=fu.wei@linaro.org> <1433217907-928-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.215.43 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";