From patchwork Thu Feb 1 14:09:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 13541111 X-Patchwork-Delegate: geert@linux-m68k.org Received: from albert.telenet-ops.be (albert.telenet-ops.be [195.130.137.90]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BE28D53374 for ; Thu, 1 Feb 2024 14:09:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.130.137.90 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706796567; cv=none; b=nCIC2bryjF2bM33fM5dTluOOmpgGh1WlsbbVmD2QSrLev6FDZ4pZImJZXKlMl5s4xcHMm1JTYuveoAQ5vV3++I24Zep3BmfkPADp+0t9xjntfDS54NGk3a2Htj3iqCau6RPBVNv6krIU2jMYMw941I+B0SBxUeWdVj8U0go69Zg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706796567; c=relaxed/simple; bh=Jo4gecPn7yPWu4vkfdUm16qI3Xa767OwVa8GWORBZ0A=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=hkvJ1G8AQ+HpApdISk3Hzk0UQReiIbINRPVNoTwkHJ44nOdb4NZDbPtnzHMQR5RZsgtBMnbzPerj9ENz8sefZnW1aehwVXE1Wl9BvqJgIrnaciLuqMoE4fnnonAHcxFJUOeFN+gFE1l/7oilD/5BS4AgPX13chxH4qfouaZSZLI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=glider.be; spf=none smtp.mailfrom=linux-m68k.org; arc=none smtp.client-ip=195.130.137.90 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=glider.be Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux-m68k.org Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed40:88f0:c83b:bafa:cdc3]) by albert.telenet-ops.be with bizsmtp id hq9M2B0054efzLr06q9MUA; Thu, 01 Feb 2024 15:09:23 +0100 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1rVXjw-00Gv3n-7r; Thu, 01 Feb 2024 15:09:21 +0100 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1rVXkn-00AXWj-6K; Thu, 01 Feb 2024 15:09:21 +0100 From: Geert Uytterhoeven To: Magnus Damm Cc: linux-renesas-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Minh Le , Geert Uytterhoeven Subject: [PATCH 1/2] arm64: dts: renesas: r8a779h0: Add RWDT node Date: Thu, 1 Feb 2024 15:09:16 +0100 Message-Id: <43bb03f3baa87b4be8ce953b1955df6b89387e4c.1706790320.git.geert+renesas@glider.be> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-renesas-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Minh Le Add a device node for the RCLK Watchdog Timer (RWDT) on the Renesas R-Car V4M (R8A779H0) SoC. Signed-off-by: Minh Le Signed-off-by: Geert Uytterhoeven Reviewed-by: Wolfram Sang --- Changes compared to the BSP: - Split in separate commits for SoC and board support, - Use TABs for indentation, - Add missing interrupts property. --- arch/arm64/boot/dts/renesas/r8a779h0.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a779h0.dtsi b/arch/arm64/boot/dts/renesas/r8a779h0.dtsi index f59d0dd25ca93822..f5a688e300d29a73 100644 --- a/arch/arm64/boot/dts/renesas/r8a779h0.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a779h0.dtsi @@ -59,6 +59,17 @@ soc: soc { #size-cells = <2>; ranges; + rwdt: watchdog@e6020000 { + compatible = "renesas,r8a779h0-wdt", + "renesas,rcar-gen4-wdt"; + reg = <0 0xe6020000 0 0x0c>; + interrupts = ; + clocks = <&cpg CPG_MOD 907>; + power-domains = <&sysc R8A779H0_PD_ALWAYS_ON>; + resets = <&cpg 907>; + status = "disabled"; + }; + pfc: pinctrl@e6050000 { compatible = "renesas,pfc-r8a779h0"; reg = <0 0xe6050000 0 0x16c>, <0 0xe6050800 0 0x16c>, From patchwork Thu Feb 1 14:09:17 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 13541109 X-Patchwork-Delegate: geert@linux-m68k.org Received: from michel.telenet-ops.be (michel.telenet-ops.be [195.130.137.88]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B9B395D47D for ; Thu, 1 Feb 2024 14:09:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.130.137.88 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706796566; cv=none; b=NSlpg83zYUsmhiUG+Gra1V1SOs+1h8Uej03Hh4IazU0/Y1wJKJg4T/pOZ1iBPlpTFVhvbkBvBkaCczONE2VeiTVH2NOOG0pRlyzXKxXukRibn5mKdIx89++07NogcdMfqy2KAbvTW58gZF/6E6ACBE8xRFAtCeZyBuVVpI6PyQk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706796566; c=relaxed/simple; bh=cMiqMZnDPkpPLcJCn7WbXMBnx0F3yvH/K4gDkImWz34=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=qPGUXMNxoDmWKcQgeVWZd7X8jqtFBZnkZEI6tuci0STh137naHtZ5JFOb2MlRCp28Q8b1betHiSAaWbPhvf9HIhqtSu4yRphC1t4FJ0bpCxdSEBefYJ1fEIz5FYykzPkz0U8DHfqsRSWonPoaxHz+QntWkpPQYGZGsjjycSt3LM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=glider.be; spf=none smtp.mailfrom=linux-m68k.org; arc=none smtp.client-ip=195.130.137.88 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=glider.be Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux-m68k.org Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed40:88f0:c83b:bafa:cdc3]) by michel.telenet-ops.be with bizsmtp id hq9M2B0064efzLr06q9MRr; Thu, 01 Feb 2024 15:09:21 +0100 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1rVXjw-00Gv3o-8D; Thu, 01 Feb 2024 15:09:21 +0100 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1rVXkn-00AXWm-6y; Thu, 01 Feb 2024 15:09:21 +0100 From: Geert Uytterhoeven To: Magnus Damm Cc: linux-renesas-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Geert Uytterhoeven Subject: [PATCH 2/2] arm64: dts: renesas: gray-hawk-single: Enable watchdog timer Date: Thu, 1 Feb 2024 15:09:17 +0100 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-renesas-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Enable the watchdog timer on the Gray Hawk Single board. Signed-off-by: Geert Uytterhoeven Reviewed-by: Wolfram Sang --- arch/arm64/boot/dts/renesas/r8a779h0-gray-hawk-single.dts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a779h0-gray-hawk-single.dts b/arch/arm64/boot/dts/renesas/r8a779h0-gray-hawk-single.dts index 716cb7622f167973..1c84fe7171d3fd85 100644 --- a/arch/arm64/boot/dts/renesas/r8a779h0-gray-hawk-single.dts +++ b/arch/arm64/boot/dts/renesas/r8a779h0-gray-hawk-single.dts @@ -65,6 +65,11 @@ scif_clk_pins: scif_clk { }; }; +&rwdt { + timeout-sec = <60>; + status = "okay"; +}; + &scif_clk { clock-frequency = <24000000>; };