From patchwork Tue Mar 29 04:22:57 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fu Wei Fu X-Patchwork-Id: 64560 Delivered-To: patch@linaro.org Received: by 10.112.199.169 with SMTP id jl9csp1790764lbc; Mon, 28 Mar 2016 21:23:34 -0700 (PDT) X-Received: by 10.98.71.70 with SMTP id u67mr161169pfa.85.1459225414102; Mon, 28 Mar 2016 21:23:34 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t73si20275043pfa.240.2016.03.28.21.23.33 for ; Mon, 28 Mar 2016 21:23:34 -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; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-watchdog-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-watchdog-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751248AbcC2EXc (ORCPT ); Tue, 29 Mar 2016 00:23:32 -0400 Received: from mx1.redhat.com ([209.132.183.28]:35512 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751246AbcC2EXc (ORCPT ); Tue, 29 Mar 2016 00:23:32 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (Postfix) with ESMTPS id 7D336C049E1D; Tue, 29 Mar 2016 04:23:30 +0000 (UTC) Received: from magi-f22.redhat.com (vpn1-7-88.pek2.redhat.com [10.72.7.88]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u2T4NLEQ011524; Tue, 29 Mar 2016 00:23:22 -0400 From: fu.wei@linaro.org To: robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, thomas.lendacky@amd.com, galak@codeaurora.org, wim@iguana.be, linux@roeck-us.net, brijeshkumar.singh@amd.com, catalin.marinas@arm.com, will.deacon@arm.com, suravee.suthikulpanit@amd.com Cc: linux-kernel@vger.kernel.org, linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linaro-acpi@lists.linaro.org, dyoung@redhat.com, panand@redhat.com, graeme.gregory@linaro.org, al.stone@linaro.org, jcm@redhat.com, arnd@arndb.de, leo.duran@amd.com, Fu Wei , Suravee Suthikulpanit Subject: [PATCH] ARM64: add SBSA Generic Watchdog device node in amd-seattle-soc.dtsi Date: Tue, 29 Mar 2016 12:22:57 +0800 Message-Id: <1459225377-16317-1-git-send-email-fu.wei@linaro.org> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 Sender: linux-watchdog-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-watchdog@vger.kernel.org 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 Signed-off-by: Suravee Suthikulpanit Signed-off-by: Fu Wei Reviewed-by: Guenter Roeck --- Changelog: v1 :Re-upstream it, since this patch was missed when we upstreamed it with the driver patchset: https://lkml.org/lkml/2016/3/28/226 arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) -- 2.5.0 -- To unsubscribe from this list: send the line "unsubscribe linux-watchdog" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi b/arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi index bd3adea..9798fd0 100644 --- a/arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi +++ b/arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi @@ -106,6 +106,14 @@ clock-names = "uartclk", "apb_pclk"; }; + watchdog0: watchdog@e0bb0000 { + compatible = "arm,sbsa-gwdt"; + reg = <0x0 0xe0bc0000 0 0x1000>, + <0x0 0xe0bb0000 0 0x1000>; + interrupts = <0 337 4>; + timeout-sec = <15>; + }; + spi0: ssp@e1020000 { status = "disabled"; compatible = "arm,pl022", "arm,primecell";