From patchwork Fri May 15 11:08:07 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: 48560 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f72.google.com (mail-wg0-f72.google.com [74.125.82.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 5509D214BA for ; Fri, 15 May 2015 11:14:34 +0000 (UTC) Received: by wgvl6 with SMTP id l6sf27916447wgv.2 for ; Fri, 15 May 2015 04:14:33 -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=68DmNtf3JGF1ed7+mnZJHGjs8fEMG6tIcb3SIam+/P0=; b=bkjwQ3XlfmC1mCs+UjGRdyCj5VS44O3YFo4BezYHtZSrRrP99vgg2Y5jtPzZDy2LbK XCKyXlJYFaXF+1N0l25qECjlC9DK/hpJwyDe6z58KCBE88J5UcJOaVOTSIwmh5/8icaV cFzcbZUDiCY+Hwxmf1wvpdQZ/2OTkvlza0E2YHXMnJbXwyBFym0JCF8ech6GlYwRa4fN 92OG8WGX55fijcsVqQ57SKiegC2eOJwsZSmWtNbZ1+xcZYnTD50e0bfB9CPTYm94OMKd 9YpeLL3MMk16tC62r3bSkClj7VouQTj286tZvxSGTt03WYwOl9TQJEBdYdXeDBINE5kY 0DbA== X-Gm-Message-State: ALoCoQkZBUiqM/AKVT7ED8YKvrBngIsxDCkTPTnzfZ2xrXq0wSdhOkwyjUkzs74vbvqsdLyLLE6K X-Received: by 10.180.106.136 with SMTP id gu8mr22040544wib.6.1431688473657; Fri, 15 May 2015 04:14:33 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.205.99 with SMTP id lf3ls539019lac.54.gmail; Fri, 15 May 2015 04:14:33 -0700 (PDT) X-Received: by 10.112.138.195 with SMTP id qs3mr6527448lbb.47.1431688473350; Fri, 15 May 2015 04:14:33 -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 s10si856706laj.84.2015.05.15.04.14.33 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 15 May 2015 04:14:33 -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 bd9so114368816lab.2 for ; Fri, 15 May 2015 04:14:33 -0700 (PDT) X-Received: by 10.153.6.36 with SMTP id cr4mr6941587lad.56.1431688473176; Fri, 15 May 2015 04:14:33 -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 hn6csp1945267lbb; Fri, 15 May 2015 04:14:32 -0700 (PDT) X-Received: by 10.70.98.197 with SMTP id ek5mr17242291pdb.109.1431688470974; Fri, 15 May 2015 04:14:30 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id kk7si515815pab.75.2015.05.15.04.14.30; Fri, 15 May 2015 04:14:30 -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 S1161063AbbEOLOJ (ORCPT + 7 others); Fri, 15 May 2015 07:14:09 -0400 Received: from mail-ie0-f172.google.com ([209.85.223.172]:35496 "EHLO mail-ie0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754676AbbEOLOH (ORCPT ); Fri, 15 May 2015 07:14:07 -0400 Received: by iesa3 with SMTP id a3so18271060ies.2 for ; Fri, 15 May 2015 04:14:06 -0700 (PDT) X-Received: by 10.68.65.68 with SMTP id v4mr4649115pbs.31.1431688446822; Fri, 15 May 2015 04:14:06 -0700 (PDT) Received: from localhost.localdomain ([205.147.105.74]) by mx.google.com with ESMTPSA id b16sm1551138pbu.64.2015.05.15.04.12.58 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 15 May 2015 04:14:06 -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, Fu Wei Subject: [PATCH 3/6] ARM64: add SBSA Generic Watchdog device node in amd-seattle-soc.dtsi Date: Fri, 15 May 2015 19:08:07 +0800 Message-Id: <1431688090-2145-4-git-send-email-fu.wei@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1431688090-2145-1-git-send-email-fu.wei@linaro.org> References: <=fu.wei@linaro.org> <1431688090-2145-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.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";