From patchwork Mon Oct 3 21:24:19 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Packham X-Patchwork-Id: 12997800 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 9E68EC433F5 for ; Mon, 3 Oct 2022 21:25:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=nl/rMTyGJ/QBw10eVeEgqYlt81xT9P74ygrD6g4bS4s=; b=2EJS8/ioyUAJuH amRAh4asiTWRXW+8ndjgPUcmFXBIacEWR5ABhTLKrsVLWqDZDV5rx6Uxy3AnwIwVg8zyUH+HxcibJ tbXbatewoVnQ9jYFWRGdugoVMGmQwevPpfUMqbjw/Cjz7KOZnAeqcVr74/1AITeuKGNVQp3/HubQq N09hDNiQlzNZbneRki1D5PudiZcLc21yz5rWDiWhdqmsXqXhFaPVcNCv6sYpQXTGg8nhpUBkPGvP9 WBY+E63XNNSibXsY53Qr8WtUfgxycexzTzpZQWKrvEtFoAJPi41oH7QptTZaXF3C7ax/8vGV/HGCG alRaVY5WLOfEB9SlDHqA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ofSvd-007jkD-7O; Mon, 03 Oct 2022 21:24:45 +0000 Received: from gate2.alliedtelesis.co.nz ([202.36.163.20]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ofSvY-007jhz-QG for linux-arm-kernel@lists.infradead.org; Mon, 03 Oct 2022 21:24:42 +0000 Received: from svr-chch-seg1.atlnz.lc (mmarshal3.atlnz.lc [10.32.18.43]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by gate2.alliedtelesis.co.nz (Postfix) with ESMTPS id 068B52C055E; Mon, 3 Oct 2022 21:24:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alliedtelesis.co.nz; s=mail181024; t=1664832269; bh=sXKUcNWmbkNitj74uCkwwHI0mWKxvClLDL2BzNTjc7M=; h=From:To:Cc:Subject:Date:From; b=WmGuEyBjIenIi/zm0UBlH+hNlXRITvpP/U810M22ujrr3nFi75lZ3DZNV/jvsESl/ h+2X6r+0qKLC4qFOnGDyQSyQrXlg/DeiTtr+9/IazxGTQxJyZJUalUe2ZMEoOtlGvM JYs4wLVpv8n7z3PpH81652gyPcBnB3mVwunO2+GlnXWUUWutHbY+4rkz3zJIMqiMqy N6t4xCnpA8tM5//Oaz6eOtIiyO0eoxAaDACcgE6cxrThwm6nzapTiWvRCn9cQxScty eK75HTXLKywqf1fpWqUlF46vEGHTgJdQkDCrXJhFs5XfXZNcf/SZKPbNwnnCfx4uJ4 ziXfnUHWWaCaQ== Received: from pat.atlnz.lc (Not Verified[10.32.16.33]) by svr-chch-seg1.atlnz.lc with Trustwave SEG (v8,2,6,11305) id ; Tue, 04 Oct 2022 10:24:28 +1300 Received: from chrisp-dl.ws.atlnz.lc (chrisp-dl.ws.atlnz.lc [10.33.22.30]) by pat.atlnz.lc (Postfix) with ESMTP id D4A9C13EE52; Tue, 4 Oct 2022 10:24:28 +1300 (NZDT) Received: by chrisp-dl.ws.atlnz.lc (Postfix, from userid 1030) id CC9862A00A4; Tue, 4 Oct 2022 10:24:28 +1300 (NZDT) From: Chris Packham To: andrew@lunn.ch, gregory.clement@bootlin.com, sebastian.hesselbarth@gmail.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Chris Packham Subject: [PATCH] ARM: dts: armada-xp-98dx3236: add interrupts for watchdog Date: Tue, 4 Oct 2022 10:24:19 +1300 Message-Id: <20221003212419.1280860-1-chris.packham@alliedtelesis.co.nz> X-Mailer: git-send-email 2.37.3 MIME-Version: 1.0 X-SEG-SpamProfiler-Analysis: v=2.3 cv=UKij4xXy c=1 sm=1 tr=0 a=KLBiSEs5mFS1a/PbTCJxuA==:117 a=Qawa6l4ZSaYA:10 a=TWcOaBxz1rIbdekP54sA:9 X-SEG-SpamProfiler-Score: 0 x-atlnz-ls: pat X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221003_142441_347323_A315C44E X-CRM114-Status: GOOD ( 10.43 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The first interrupt is for the regular watchdog timeout. Normally the RSTOUT line will trigger a reset before this interrupt fires but on systems with a non-standard reset it may still trigger. The second interrupt is for a timer1 which is used as a pre-timeout for the watchdog. Signed-off-by: Chris Packham --- arch/arm/boot/dts/armada-xp-98dx3236.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/armada-xp-98dx3236.dtsi b/arch/arm/boot/dts/armada-xp-98dx3236.dtsi index 38a052a0312d..0e561dfc0ca9 100644 --- a/arch/arm/boot/dts/armada-xp-98dx3236.dtsi +++ b/arch/arm/boot/dts/armada-xp-98dx3236.dtsi @@ -286,6 +286,7 @@ &watchdog { compatible = "marvell,armada-xp-wdt"; clocks = <&coreclk 2>, <&refclk>; clock-names = "nbclk", "fixed"; + interrupts = <93>, <38>; }; &cpurst {