From patchwork Tue Jan 30 20:22:56 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabrizio Castro X-Patchwork-Id: 10192745 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 0DB8160375 for ; Tue, 30 Jan 2018 20:48:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F1A4C27F17 for ; Tue, 30 Jan 2018 20:48:07 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E484A27F82; Tue, 30 Jan 2018 20:48:07 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 5A8B127F17 for ; Tue, 30 Jan 2018 20:48:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=lg3lMlc0RYF6+xhP9IhYLw2w1VDaUYkzvfF7wrYY85I=; b=qhRkmqmjxUOssjeopwhwj16En9 6Efb0D/Q3vXxF2xSVrehaRMU8/7uu98V8t/lowo3iJIEjSeHv93Ggl18fckDMXdlRr5yGy8pvYsoq CpVOPlHNitmirZPAN0e7SFEM+xThhaQglTsu4fwjbQDeToHYKw1FYa3UfulW2L2sh78GNSzlSW96d H2JB+aTpIX40BhZpw2m2eSJjvHUvr4bVCxVwdm5xmG6iGpERwkENQdNfWPc3/imAYUQ/17eF9LFAZ RnuMKmmiwey8HSEIspjUPny8D4xqgdBFJI4YuPSPFbcbjvkJQtIQSVMskOK95UubUFHiBT2dAu8n0 q4sqGgzA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1egcp3-00066L-Ga; Tue, 30 Jan 2018 20:48:05 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1egcl8-0003M8-7S for linux-arm-kernel@bombadil.infradead.org; Tue, 30 Jan 2018 20:44:02 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=eIfrZ4541sxPGAGEh8GMXnVPwFjgmY64s+D4oL5WiR4=; b=ajfHajA5KL74C8IcrxXuDBxJh CGqKjQTMgQL71MnGCqMUhLsYGYTrYvnJR7dYVbruxTOsIsBxJz6tqw72HuKYPk1e0xbt4YG9zU2GW TahCpLd/5Ryz4U7G6TVzSu9/4flX+HllW3RytAxsxWqBXsdpPZr6vJT4LneoxKyNIz3M7Y3+WQJAg oc5DRmvzAk2ZRHj/tEzDyHuwGwzMf/dqEgq98HX2P8o3tufFKex4OOKlspNCq+OqUiRhJpKNa1Xs0 Q8P/0dEOvmWlyI/OgyHfhkUuFwrMziULjsp2m9Yk639LQsuCwsBSrKH+7LaFXbgOOylkq0M8q8+R6 46flY939w==; Received: from relmlor2.renesas.com ([210.160.252.172] helo=relmlie1.idc.renesas.com) by casper.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1egcT2-0003Yn-4v for linux-arm-kernel@lists.infradead.org; Tue, 30 Jan 2018 20:25:22 +0000 Received: from unknown (HELO relmlir4.idc.renesas.com) ([10.200.68.154]) by relmlie1.idc.renesas.com with ESMTP; 31 Jan 2018 05:25:16 +0900 Received: from relmlii1.idc.renesas.com (relmlii1.idc.renesas.com [10.200.68.65]) by relmlir4.idc.renesas.com (Postfix) with ESMTP id BC8085B877; Wed, 31 Jan 2018 05:25:16 +0900 (JST) X-IronPort-AV: E=Sophos;i="5.46,436,1511794800"; d="scan'208";a="269795893" Received: from unknown (HELO fabrizio-dev.ree.adwin.renesas.com) ([10.226.37.88]) by relmlii1.idc.renesas.com with ESMTP; 31 Jan 2018 05:25:11 +0900 From: Fabrizio Castro To: Philipp Zabel , Rob Herring , Mark Rutland , Wim Van Sebroeck , Russell King , Catalin Marinas , Will Deacon , Michael Turquette , Stephen Boyd , Simon Horman , Magnus Damm , Geert Uytterhoeven , Wolfram Sang Subject: [RFC v3 23/25] ARM: dts: r8a7794: Add watchdog support to SoC dtsi Date: Tue, 30 Jan 2018 20:22:56 +0000 Message-Id: <1517343778-27902-24-git-send-email-fabrizio.castro@bp.renesas.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1517343778-27902-1-git-send-email-fabrizio.castro@bp.renesas.com> References: <1517343778-27902-1-git-send-email-fabrizio.castro@bp.renesas.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180130_202520_407101_13BC48FF X-CRM114-Status: UNSURE ( 8.86 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Fabrizio Castro , devicetree@vger.kernel.org, Chris Paterson , linux-watchdog@vger.kernel.org, Biju Das , linux-renesas-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Ramesh Shanmugasundaram , linux-clk@vger.kernel.org, Guenter Roeck MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This commit adds watchdog support to the r8a7794 dtsi. Signed-off-by: Fabrizio Castro Signed-off-by: Ramesh Shanmugasundaram Reviewed-by: Geert Uytterhoeven --- v1->v3: * rwdt moved before gpio@e6050000 arch/arm/boot/dts/r8a7794.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/r8a7794.dtsi b/arch/arm/boot/dts/r8a7794.dtsi index e47c5f4..1c9b149 100644 --- a/arch/arm/boot/dts/r8a7794.dtsi +++ b/arch/arm/boot/dts/r8a7794.dtsi @@ -119,6 +119,16 @@ #size-cells = <2>; ranges; + rwdt: watchdog@e6020000 { + compatible = "renesas,r8a7794-wdt", + "renesas,rcar-gen2-wdt"; + reg = <0 0xe6020000 0 0x0c>; + clocks = <&cpg CPG_MOD 402>; + power-domains = <&sysc R8A7794_PD_ALWAYS_ON>; + resets = <&cpg 402>; + status = "disabled"; + }; + gpio0: gpio@e6050000 { compatible = "renesas,gpio-r8a7794", "renesas,rcar-gen2-gpio";