From patchwork Wed Jun 10 17:47: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: 49724 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f70.google.com (mail-wg0-f70.google.com [74.125.82.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 14E5320C81 for ; Wed, 10 Jun 2015 17:50:03 +0000 (UTC) Received: by wgez8 with SMTP id z8sf13724755wge.2 for ; Wed, 10 Jun 2015 10:50:02 -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=/yahizoCkkdeeAXLUvTxw2WtBxN3l67DHMlBILSE6jk=; b=j2jvwgZk5XeqBRaVm9z6TzQdlCJZi3+VCcj3kod3bxMkCPB0yuK/yqe22ShxUPhPNw OqatTqqcsSH9le4NGONnTLR4XoKvNfwb9RB5xvUDwsDMd+fRIZC3XIm9bYRyAQkwXsBT JmEvNifDNxPUDVCUnjmTIAo+EaCbBBLIywdi++ZT5GQc/gvjlg6cjWijE2sAyPQ7skab f33W3YDwJ0/lKKlonakmuzvBbmLQ4w5eJjwgQ1zlKioc4wnpiaTzdBhoohbnFMzuGCDT OSBOAjLk8AN4rH6dx+iLVPQc/eGwj8So8SeBFyPX5GwLyD/qztnaWZvjYfAo4sDv8CNZ epXA== X-Gm-Message-State: ALoCoQnnDbPySO6akt8rbY3eBB6s4+C0sRpXpdxLbTcuzAqC3LGkrZozHFGAqGjBXz37X0RUndoe X-Received: by 10.180.198.172 with SMTP id jd12mr22965877wic.5.1433958602320; Wed, 10 Jun 2015 10:50:02 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.87.81 with SMTP id v17ls313691laz.2.gmail; Wed, 10 Jun 2015 10:50:02 -0700 (PDT) X-Received: by 10.152.45.9 with SMTP id i9mr5261693lam.87.1433958602151; Wed, 10 Jun 2015 10:50:02 -0700 (PDT) Received: from mail-lb0-f178.google.com (mail-lb0-f178.google.com. [209.85.217.178]) by mx.google.com with ESMTPS id ej7si9619006lad.149.2015.06.10.10.50.02 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 10 Jun 2015 10:50:02 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.178 as permitted sender) client-ip=209.85.217.178; Received: by lbcmx3 with SMTP id mx3so33334233lbc.1 for ; Wed, 10 Jun 2015 10:50:02 -0700 (PDT) X-Received: by 10.112.219.70 with SMTP id pm6mr5265365lbc.41.1433958602008; Wed, 10 Jun 2015 10:50:02 -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 hn6csp3490853lbb; Wed, 10 Jun 2015 10:50:00 -0700 (PDT) X-Received: by 10.66.163.69 with SMTP id yg5mr7381722pab.150.1433958600075; Wed, 10 Jun 2015 10:50:00 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ew2si14946085pbb.152.2015.06.10.10.49.59 for ; Wed, 10 Jun 2015 10:50:00 -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 S934133AbbFJRt4 (ORCPT ); Wed, 10 Jun 2015 13:49:56 -0400 Received: from mail-pd0-f171.google.com ([209.85.192.171]:35525 "EHLO mail-pd0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933661AbbFJRto (ORCPT ); Wed, 10 Jun 2015 13:49:44 -0400 Received: by pdbnf5 with SMTP id nf5so42604505pdb.2 for ; Wed, 10 Jun 2015 10:49:43 -0700 (PDT) X-Received: by 10.68.237.105 with SMTP id vb9mr7395129pbc.149.1433958583869; Wed, 10 Jun 2015 10:49:43 -0700 (PDT) Received: from localhost.localdomain (li400-65.members.linode.com. [106.187.50.65]) by mx.google.com with ESMTPSA id a6sm9270997pas.28.2015.06.10.10.49.34 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 10 Jun 2015 10:49: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, catalin.marinas@arm.com, will.deacon@arm.com, rjw@rjwysocki.net, Fu Wei Subject: [PATCH non-pretimeout 3/7] ARM64: add SBSA Generic Watchdog device node in amd-seattle-soc.dtsi Date: Thu, 11 Jun 2015 01:47:28 +0800 Message-Id: <1433958452-23721-4-git-send-email-fu.wei@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1433958452-23721-1-git-send-email-fu.wei@linaro.org> References: <=fu.wei@linaro.org> <1433958452-23721-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.178 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..3fc2746 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>; + }; + spi0: ssp@e1020000 { status = "disabled"; compatible = "arm,pl022", "arm,primecell";