From patchwork Tue May 29 07:01:02 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoshihiro Kaneko X-Patchwork-Id: 10434461 X-Patchwork-Delegate: horms@verge.net.au 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 87B6B602CC for ; Tue, 29 May 2018 07:01:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7161928618 for ; Tue, 29 May 2018 07:01:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6481728623; Tue, 29 May 2018 07:01:19 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BF76928618 for ; Tue, 29 May 2018 07:01:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754609AbeE2HBS (ORCPT ); Tue, 29 May 2018 03:01:18 -0400 Received: from mail-pl0-f67.google.com ([209.85.160.67]:41551 "EHLO mail-pl0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751444AbeE2HBR (ORCPT ); Tue, 29 May 2018 03:01:17 -0400 Received: by mail-pl0-f67.google.com with SMTP id az12-v6so8394465plb.8 for ; Tue, 29 May 2018 00:01:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=i1DzWl68g90rgEFEykKLW1g3DpJXoDBQl5WuzU962xE=; b=CUoBK7Rejs59cyN6a4bgjaGHgLAgwV5GOKqn0+abIupjtteLfDRIeTxZydZhrHmD+E 4f7rxPFWKKWEauvnb7f1r6OnOeKxROQfAOJ8gHXjgZntlSCkmGN8AIW/p4OmkhQ0fnFP iL0cDDwmk06A+uSq8KHoLKLIMX9KazMkKDwy4Mc8Vz38W5lDPlIJENVPHMilf1hTTEmj vWJ/mvPngHEGXKxS+D6kzVz0mGbWD8czkaT594ZLpJjPLQXzSagJZCigE6yTxAK3N2vE O2Rc+2VMraCPr1Y4y/ESaF2THoX9+hBX+763zoUrW5BMYA9ce5ah++VsWxgbmB/EEAnq Gciw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=i1DzWl68g90rgEFEykKLW1g3DpJXoDBQl5WuzU962xE=; b=PWtKWcOw2dKMieDUkgsO+394VhHSBmgPGMsor1RCyCAfsMulP3U6JqLbL38JnMg0tM ZU+M79ZaIcz4Y+6Md+weiG6f+lvBv19vfm9XBXB3C/HqKjdl1w4kgycqAAs1tP7tPm54 hzEh/tYo6sS6Jkz1Jos5cLYfXe6MlLTnRwSzJDDNx9rnxBnA4C7ACkEiYZDewkAI4D5h XYssS3i2hkVLKPz9ViEIrtsbBbKsZcgRQqm2/sE6EiJrFURbxG4eEgXjOyyb2KZAw+Km owXPhDnixgQai2dyetFUsyb5aI6sr8GuyJR+QgADBdql5ie5JWvOjSinZvPoFsAGbjNQ xo6A== X-Gm-Message-State: ALKqPwcqnf3+64AMJjj9K5tUuh/zv0uLoyGmHH5/V1SEn50JVH0KSEQf jM/0O4uRO8Vdf8C2czyKB9JdVQ== X-Google-Smtp-Source: ADUXVKKxU98FawUI+G0HDnbLU62I7UGUALT/EvkuUAm0zTnoWe9c63efm2jn7J+UiBR/az5/ucrIgg== X-Received: by 2002:a17:902:7d02:: with SMTP id z2-v6mr8004983pll.104.1527577276883; Tue, 29 May 2018 00:01:16 -0700 (PDT) Received: from macc.flets-east.jp (p6016112-ipngn3302marunouchi.tokyo.ocn.ne.jp. [180.23.146.112]) by smtp.gmail.com with ESMTPSA id y197-v6sm59650498pfg.184.2018.05.29.00.01.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 29 May 2018 00:01:16 -0700 (PDT) From: Yoshihiro Kaneko To: linux-renesas-soc@vger.kernel.org Cc: Simon Horman , Magnus Damm , linux-arm-kernel@lists.infradead.org Subject: [PATCH v2] arm64: dts: renesas: r8a77965: Add Watchdog Timer controller node using RCLK Watchdog Timer Date: Tue, 29 May 2018 16:01:02 +0900 Message-Id: <1527577262-8754-1-git-send-email-ykaneko0929@gmail.com> X-Mailer: git-send-email 1.9.1 Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Takeshi Kihara Add a device node for the Watchdog Timer (WDT) controller on the Renesas R-Car M3-N (R8A77965) SoC. Based on a similar patch of the R8A7796 device tree by Geert Uytterhoeven . Signed-off-by: Takeshi Kihara Signed-off-by: Yoshihiro Kaneko Reviewed-by: Simon Horman Reviewed-by: Geert Uytterhoeven Tested-by: Geert Uytterhoeven --- This patch is based on the devel branch of Simon Horman's renesas tree. v2 [Yoshihiro Kaneko] - add tags * As suggested by Geert Uytterhoeven - fix the summary prefix of the subject - fix the notation of the name of SoC arch/arm64/boot/dts/renesas/r8a77965.dtsi | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/renesas/r8a77965.dtsi b/arch/arm64/boot/dts/renesas/r8a77965.dtsi index 486aeca..fb7100f 100644 --- a/arch/arm64/boot/dts/renesas/r8a77965.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a77965.dtsi @@ -139,8 +139,13 @@ ranges; wdt0: watchdog@e6020000 { + compatible = "renesas,r8a77965-wdt", + "renesas,rcar-gen3-wdt"; reg = <0 0xe6020000 0 0x0c>; - /* placeholder */ + clocks = <&cpg CPG_MOD 402>; + power-domains = <&sysc R8A77965_PD_ALWAYS_ON>; + resets = <&cpg 402>; + status = "disabled"; }; gpio0: gpio@e6050000 {