From patchwork Thu Apr 25 21:12:31 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neha Malcom Francis X-Patchwork-Id: 13643763 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 0ABF5C4345F for ; Thu, 25 Apr 2024 21:13:34 +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:References:In-Reply-To: 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: List-Owner; bh=Z+st0etz2v+3J7SVIOoRziXtJxLG4GxmqFdoZRFKeDI=; b=hEU9q2Tz5m+ZH5 CbX3PFWieFMFwTrw2kBS4PpbE6iUHYvUb4rMKD0ZHtCJJz5Ch0DI0N6fEf3F3ICCV8mvwKK2u4cw0 Bg/LOzGgEl3qZ7o9cxyfARcUIsNzRyQlxU+n/AqYCD8CIMLfaj71oSVfvVA3U03/brPYXydhuLteZ PcqaiAh0c9f/JxB/5lCIYW/DGAWgEWVHV6t6zLfGKvuPauEnOtCN0B0RHgUpsebRJMdgUyk8WOYRP OjcC/dnMUfth7IGGTJfYhumZvO4aSNe1xJvEIk1pRdASbC3VyhA5tI2X2uZAW5ztClh0oFUDRhrYf IG99W44APaZft/uemcGQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s06PA-0000000AD6Q-2ryd; Thu, 25 Apr 2024 21:13:20 +0000 Received: from fllv0016.ext.ti.com ([198.47.19.142]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s06Ol-0000000ACwX-1Opf for linux-arm-kernel@lists.infradead.org; Thu, 25 Apr 2024 21:13:01 +0000 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 43PLCqjU036999; Thu, 25 Apr 2024 16:12:52 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1714079572; bh=3cKgzy6Yi0eMhgIO9iE3bTgnSMO5yEWtriuK2INYypY=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=yTfbnbyZ7Aei5Jbpow61ol1xHtg1F9UjqZrvjGgNhc0RUf59VXZjBo+dChDA/PuOH S5z+3T7WNCIIjgpZ7WyieZk+olfB++qwM/ONI6nw2LWuUoitgJq2TrP2Qe+pte0eqU xi+tOW7CrLl4xkb9qK7k9Xm0Ic7z84UcdJFR9Pos= Received: from DLEE100.ent.ti.com (dlee100.ent.ti.com [157.170.170.30]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 43PLCq8W075804 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 25 Apr 2024 16:12:52 -0500 Received: from DLEE104.ent.ti.com (157.170.170.34) by DLEE100.ent.ti.com (157.170.170.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Thu, 25 Apr 2024 16:12:51 -0500 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) by DLEE104.ent.ti.com (157.170.170.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Thu, 25 Apr 2024 16:12:51 -0500 Received: from a0497641-HP-Z2-Tower-G9-Workstation-Desktop-PC.dhcp.ti.com (a0497641-hp-z2-tower-g9-workstation-desktop-pc.dhcp.ti.com [172.24.227.36]) by lelvsmtp6.itg.ti.com (8.15.2/8.15.2) with ESMTP id 43PLCYHG038718; Thu, 25 Apr 2024 16:12:48 -0500 From: Neha Malcom Francis To: , , , , CC: , , , , , Subject: [PATCH v4 4/6] arm64: dts: ti: k3-j7200-main: Add the MAIN domain watchdog instances Date: Fri, 26 Apr 2024 02:42:31 +0530 Message-ID: <20240425211233.2006233-5-n-francis@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240425211233.2006233-1-n-francis@ti.com> References: <20240425211233.2006233-1-n-francis@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240425_141255_474388_CD243260 X-CRM114-Status: GOOD ( 10.21 ) 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 There are 4 watchdog instances in the MAIN domain: * one each for the 2 A72 cores * one each for the 2 R5F cores Currently, the devicetree only describes watchdog instances for the A72 cores and enables them. Describe the remaining but reserve them as they will be used by their respective firmware. Signed-off-by: Neha Malcom Francis Reviewed-by: Udit Kumar --- Changes since v2: - no changes arch/arm64/boot/dts/ti/k3-j7200-main.dtsi | 27 +++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi b/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi index 657f9cc9f4ea..b24a6333563a 100644 --- a/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi @@ -1254,6 +1254,33 @@ watchdog1: watchdog@2210000 { assigned-clock-parents = <&k3_clks 253 5>; }; + /* + * The following RTI instances are coupled with MCU R5Fs so + * keeping them reserved as these will be used by their respective + * firmware + */ + watchdog28: watchdog@23c0000 { + compatible = "ti,j7-rti-wdt"; + reg = <0x00 0x23c0000 0x00 0x100>; + clocks = <&k3_clks 258 1>; + power-domains = <&k3_pds 258 TI_SCI_PD_EXCLUSIVE>; + assigned-clocks = <&k3_clks 258 1>; + assigned-clock-parents = <&k3_clks 258 5>; + /* reserved for MAIN_R5F0_0 */ + status = "reserved"; + }; + + watchdog29: watchdog@23d0000 { + compatible = "ti,j7-rti-wdt"; + reg = <0x00 0x23d0000 0x00 0x100>; + clocks = <&k3_clks 259 1>; + power-domains = <&k3_pds 259 TI_SCI_PD_EXCLUSIVE>; + assigned-clocks = <&k3_clks 259 1>; + assigned-clock-parents = <&k3_clks 259 5>; + /* reserved for MAIN_R5F0_1 */ + status = "reserved"; + }; + main_timer0: timer@2400000 { compatible = "ti,am654-timer"; reg = <0x00 0x2400000 0x00 0x400>;