Path: csiph.com!aioe.org!bofh.it!news.nic.it!robomod From: fu.wei@linaro.org Newsgroups: linux.kernel Subject: [PATCH] ARM64: add SBSA Generic Watchdog device node in amd-seattle-soc.dtsi Date: Tue, 29 Mar 2016 06:30:01 +0200 Message-ID: X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 Sender: robomod@news.nic.it List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Approved: robomod@news.nic.it Lines: 38 Organization: linux.* mail to news gateway X-Original-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 X-Original-Date: Tue, 29 Mar 2016 12:22:57 +0800 X-Original-Message-ID: <1459225377-16317-1-git-send-email-fu.wei@linaro.org> X-Original-Sender: linux-kernel-owner@vger.kernel.org Xref: csiph.com linux.kernel:1365838 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(+) 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"; -- 2.5.0