From patchwork Thu Jan 25 18:03:09 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabrizio Castro X-Patchwork-Id: 10184691 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 6679560383 for ; Thu, 25 Jan 2018 19:09:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 54D8528946 for ; Thu, 25 Jan 2018 19:09:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 47EE828948; Thu, 25 Jan 2018 19:09:18 +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 87F5F28946 for ; Thu, 25 Jan 2018 19:09:17 +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=XJXzszOY6l/0emgXLlXl5aEuMhNevcffxWyiPiJnMF8=; b=Veebj8F5OfqownAwaaoxo+kGxV gwkaL8UiqjY5XGe/FfO4fXzyouNmL+fcDQGwuf69H5v4Id8KgY9G1/9/3oGBloM4P9abNI552srVD vf7z2Ct2CSNNpcMswbwSBevj0j5gXGjYspp88QgVCPmuX35CxLweMEYjpqQlEc5ISiJsSNMxuT1wj +A+PlF9qqlZsFRlEQpfX3yZLqh5gd8Hai1g56/vU74uMqn58cCLj5lhHp/aOXIvx0WrNhmO/4gG2Y jXDY4XQK/7hZmc1n6H0Ysh7KsdqW++6GJhsdzvp1Uy+GZWAWxawvIJLNBYHPmiOZzcZT4Qrii0n4H QwATd06A==; 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 1eemtf-0002YV-0N; Thu, 25 Jan 2018 19:09:15 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1eemtP-0002Ih-Em for linux-arm-kernel@bombadil.infradead.org; Thu, 25 Jan 2018 19:08:59 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.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=AJ0lSSVLIBXGEnf6Jo2iGIbcntdYX4STHvrr2oW69ZA=; b=kUBvIqB1QYYleS71P6eDvlqDq VHEUYvIcupUtWc+e3GF2g39khFxS6R843CHrRkhc/39i3V2eq7O6U13nvkF+y9bkJqjuA/eBBnjV4 d5H0Xzv07roUqlJf4ARxKTp9aQjvlvFmuNjj9xctLGX625qX+N+bClL3JsOVmqkWTOmF/XF+qcOlQ nDzT2Tz2JqgMK/IDYSu5gvdYnPR5IIqt2GmVwefbQrLvTggXP5Jqy+MJQis8Jt5QPnXouxtjFnpSM 21oHt6pZFWUWQSiG3l5O4rzLLW4CGUIFkuI08VILAiLvgxsLiDMidATFO3NZJdBvVkkOSen3vlGnr zV1dEu7MQ==; Received: from relmlor4.renesas.com ([210.160.252.174] helo=relmlie3.idc.renesas.com) by merlin.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1eelvB-00084I-Ms for linux-arm-kernel@lists.infradead.org; Thu, 25 Jan 2018 18:06:46 +0000 Received: from unknown (HELO relmlir2.idc.renesas.com) ([10.200.68.152]) by relmlie3.idc.renesas.com with ESMTP; 26 Jan 2018 03:06:34 +0900 Received: from relmlii2.idc.renesas.com (relmlii2.idc.renesas.com [10.200.68.66]) by relmlir2.idc.renesas.com (Postfix) with ESMTP id 6D6CB442A3; Fri, 26 Jan 2018 03:06:34 +0900 (JST) X-IronPort-AV: E=Sophos;i="5.46,412,1511794800"; d="scan'208";a="270637139" Received: from unknown (HELO fabrizio-dev.ree.adwin.renesas.com) ([10.226.37.88]) by relmlii2.idc.renesas.com with ESMTP; 26 Jan 2018 03:06:29 +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 Subject: [RFC 35/37] ARM: dts: r8a7794: Add watchdog support to SoC dtsi Date: Thu, 25 Jan 2018 18:03:09 +0000 Message-Id: <1516903391-30467-36-git-send-email-fabrizio.castro@bp.renesas.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1516903391-30467-1-git-send-email-fabrizio.castro@bp.renesas.com> References: <1516903391-30467-1-git-send-email-fabrizio.castro@bp.renesas.com> 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 --- 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 9309887..5f9e6d3 100644 --- a/arch/arm/boot/dts/r8a7794.dtsi +++ b/arch/arm/boot/dts/r8a7794.dtsi @@ -251,6 +251,16 @@ reg = <0 0xe6160000 0 0x0100>; }; + 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"; + }; + sysc: system-controller@e6180000 { compatible = "renesas,r8a7794-sysc"; reg = <0 0xe6180000 0 0x0200>;