From patchwork Thu Nov 3 22:39:55 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabrizio Castro X-Patchwork-Id: 15236 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp36682wru; Thu, 3 Nov 2022 15:48:12 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7xPPQWOpS4fJTxX2FRARswY539o2fQtye9GYPxVUDFk03KA8elgp4ltNCAB/OKTPtLuwC7 X-Received: by 2002:a63:90c9:0:b0:46e:dd5a:d921 with SMTP id a192-20020a6390c9000000b0046edd5ad921mr27894019pge.282.1667515691809; Thu, 03 Nov 2022 15:48:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667515691; cv=none; d=google.com; s=arc-20160816; b=ugE6p6JdQBTbhIaTBjsV7hi43Lr1YO25w8yYSsvbc+OEIqpAiVaSQUIEZR+J6FiFWa WsZN12S82Q/2RNLsrGRvwAhXfedeRCuRMy1y15TKpZ32Lv4rHPd0c5/2wAdWpeNAOHQE L7u8hjn8ser+6LSL7uTI0iNRTHOmcZZSTid5AAmCKf8ZSKPg/8Xr1Zd7QE3BxCw6bcoh yL8OKjHCvkRHjAcPcf0jGt/YQ7PdljDtj3tLN25MQlLaT78tuAeyS3jbSHIe3SN7O91B 1cOq9bf2RjzAXswVK7GrDI8N3eBuKpuxvuseCBKRi3k1e8yXXgB7bbI/Mpg7tIsl17Yk O+vA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=6/qQYAtnG4LA1MxIAT9ce29JHEjKiiMr1RmPQSssqmI=; b=RZTz0lbwKqdMX1sUO1QR/5ch5sfH4zzqzNMBJxfv6ZYJmKN7Jt4ft+dSsBm/2uftWa tNefxrpDnHbwqDup3ZiayIyvwNzsqPDEkU1h53KOf0lb7G9f6aBsesfHRVnxqsNa2DjC C2+MaQAAE3ir4xgWp5IOeTRLxq26xzfsLUvUPRg23jPUtwX3ZaT6SPu4SXh5QX+nkCIb Xl5k1UXnCkYo8rxKH2c6P3YLcb6zS5qtYFRPSnEkXIog79fnJyKqPbTccbYmbBt3Yuyz watWhlBu8CXVvsN46dJpyPCqeAt1TL71M8CLAsDloxgoPDl3YV401FrgN8wA086oVqeu Czfw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=renesas.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id mw18-20020a17090b4d1200b00213defacf97si1462712pjb.163.2022.11.03.15.47.16; Thu, 03 Nov 2022 15:48:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=renesas.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231801AbiKCWkb (ORCPT + 99 others); Thu, 3 Nov 2022 18:40:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55446 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231737AbiKCWkX (ORCPT ); Thu, 3 Nov 2022 18:40:23 -0400 Received: from relmlie6.idc.renesas.com (relmlor2.renesas.com [210.160.252.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 980BF1EEF9; Thu, 3 Nov 2022 15:40:21 -0700 (PDT) X-IronPort-AV: E=Sophos;i="5.96,135,1665414000"; d="scan'208";a="141405084" Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie6.idc.renesas.com with ESMTP; 04 Nov 2022 07:40:21 +0900 Received: from mulinux.home (unknown [10.226.92.174]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id E4BA0400A8BF; Fri, 4 Nov 2022 07:40:15 +0900 (JST) From: Fabrizio Castro To: Rob Herring , Krzysztof Kozlowski , Wim Van Sebroeck , Guenter Roeck , Geert Uytterhoeven Cc: Fabrizio Castro , Magnus Damm , Biju Das , linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-watchdog@vger.kernel.org, Chris Paterson , Biju Das , Fabrizio Castro , Laurent Pinchart , Jacopo Mondi Subject: [PATCH 2/3] arm64: dts: renesas: r9a09g011: Add watchdog node Date: Thu, 3 Nov 2022 22:39:55 +0000 Message-Id: <20221103223956.50575-3-fabrizio.castro.jz@renesas.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221103223956.50575-1-fabrizio.castro.jz@renesas.com> References: <20221103223956.50575-1-fabrizio.castro.jz@renesas.com> MIME-Version: 1.0 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1748516933751852170?= X-GMAIL-MSGID: =?utf-8?q?1748516933751852170?= The r9a09g011 (a.k.a. RZ/V2M) comes with two watchdog IPs, but Linux is only allowed one. Add a node for the watchdog allowed to Linux to the SoC specific dtsi. Signed-off-by: Fabrizio Castro Reviewed-by: Geert Uytterhoeven --- arch/arm64/boot/dts/renesas/r9a09g011.dtsi | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r9a09g011.dtsi b/arch/arm64/boot/dts/renesas/r9a09g011.dtsi index fb1a97202c38..9859c717bd10 100644 --- a/arch/arm64/boot/dts/renesas/r9a09g011.dtsi +++ b/arch/arm64/boot/dts/renesas/r9a09g011.dtsi @@ -161,6 +161,19 @@ uart0: serial@a4040000 { status = "disabled"; }; + wdt0: watchdog@a4050000 { + compatible = "renesas,r9a09g011-wdt", + "renesas,rzv2m-wdt"; + reg = <0 0xa4050000 0 0x80>; + clocks = <&cpg CPG_MOD R9A09G011_WDT0_PCLK>, + <&cpg CPG_MOD R9A09G011_WDT0_CLK>; + clock-names = "pclk", "oscclk"; + interrupts = ; + resets = <&cpg R9A09G011_WDT0_PRESETN>; + power-domains = <&cpg>; + status = "disabled"; + }; + pinctrl: pinctrl@b6250000 { compatible = "renesas,r9a09g011-pinctrl"; reg = <0 0xb6250000 0 0x800>;