From patchwork Fri Apr 12 04:25:33 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: 13626827 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 6C79EC4345F for ; Fri, 12 Apr 2024 04:26:02 +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=64ZHuSmSAAQp4dMk9VlW2LdeNqUYOxZnpwyVF6TtfdM=; b=h5zi4sLSAk1c2s GdWUiMegJA3+yej1c2K+cmqRnNqGTJ/1/soy62rMACPb9xrkHd6dmmvw+zVuhrXxLqgYVAGIKeNer yniRnh8JJ0JvwnDcFlbXJyKlasdABhoGhY3qxO0zHUUxCGL22pu4Ozb7G+WlfILBm0gaEN8LgqQlR EPCYVDiP8cukCKYGeDfJZjLkk8t8IO+UGbTaXQt2WrEdmqhVxHtmmcUkPwBJnHQoj59dFqb7naLAb aMVo5hDV4w08/x0yTCu/H23lVzjViefQr8AEKrDouiH4QRHY7hZa1hnc0Ec9YEMJzEI8TKJ6xqKNc Ilj7srMPHqZjcBdpG40Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rv8U5-0000000FFgM-1LZs; Fri, 12 Apr 2024 04:25:53 +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 1rv8U1-0000000FFfE-1Wev for linux-arm-kernel@lists.infradead.org; Fri, 12 Apr 2024 04:25:50 +0000 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 43C4PjWx111642; Thu, 11 Apr 2024 23:25:45 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1712895945; bh=h7pbpM3vg0J1IPqj55MU3l706aCm+pPTpUCVzh9YTbY=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=QZunGuw9u1PxWk7yq9ZVN0l3UcLo/r8xi9mV6WOpi4vXxkoJZNCn3cco0+moZ/rew GK1qKpyGE0mFJlDGH0MvtgJ/J/VhEeUEjPYdBly/Hws1DbcAoWdX86ayZo0JZDmC3n MIzBcRpRMB7vC+PmUsGk3PPqQ90oVFkTsDmFwFAc= Received: from DFLE105.ent.ti.com (dfle105.ent.ti.com [10.64.6.26]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 43C4Pjhg122975 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 11 Apr 2024 23:25:45 -0500 Received: from DFLE106.ent.ti.com (10.64.6.27) by DFLE105.ent.ti.com (10.64.6.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Thu, 11 Apr 2024 23:25:45 -0500 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DFLE106.ent.ti.com (10.64.6.27) 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, 11 Apr 2024 23:25:45 -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 lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 43C4PbNb078207; Thu, 11 Apr 2024 23:25:42 -0500 From: Neha Malcom Francis To: , , , , CC: , , , , , Subject: [PATCH v2 1/5] arm64: dts: ti: k3-j721e-mcu: Add the WKUP ESM instance Date: Fri, 12 Apr 2024 09:55:33 +0530 Message-ID: <20240412042537.666137-2-n-francis@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240412042537.666137-1-n-francis@ti.com> References: <20240412042537.666137-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-20240411_212549_472602_6586E60E X-CRM114-Status: UNSURE ( 8.00 ) X-CRM114-Notice: Please train this message. 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 Add the WKUP ESM instance for J721E. It has three instances in total, one in the MAIN domain (main_esm) and two in the MCU-WKUP domain (mcu_esm and wkup_esm). Signed-off-by: Neha Malcom Francis --- Changes since v1: - marked status as disabled arch/arm64/boot/dts/ti/k3-j721e-mcu-wakeup.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-j721e-mcu-wakeup.dtsi b/arch/arm64/boot/dts/ti/k3-j721e-mcu-wakeup.dtsi index 4618b697fbc4..3044e08f6858 100644 --- a/arch/arm64/boot/dts/ti/k3-j721e-mcu-wakeup.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j721e-mcu-wakeup.dtsi @@ -689,4 +689,10 @@ mcu_esm: esm@40800000 { ti,esm-pins = <95>; bootph-pre-ram; }; + + wkup_esm: esm@42080000 { + compatible = "ti,j721e-esm"; + reg = <0x00 0x42080000 0x00 0x1000>; + status = "disabled"; + }; }; From patchwork Fri Apr 12 04:25:34 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: 13626829 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 EE2D7C4345F for ; Fri, 12 Apr 2024 04:26:13 +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=bff4r65wGJpP9D7XUT99eXRp6LOoeJRjumjoxX0szUw=; b=Di7KcSDPODgup5 gDDobTSPzgd1U4sMLwBPI6965D4FK2D6SVSi5D84oe62j5VOMgDmn2Y/krtcEUIoWaK0pt1CNXkpq AnMHoL/Arv5aVaEyqDpeel1hlu/1la0le0KspB+tNkUVP+9ZQtLD+ECSQOoDEjWhtybLHrwbtWa+C Lr4WopOcYpq3u3d4IXwR5FbbssB7sDDScSvX3Xh7HhIBvSos/mp3zjBwB+rVBwRr0wVubt5twJJ4N WZ/SC7AmI5bmyNfNSidfwSnBmoK65PwqlhPj/G7ybyvZShSlZ+TL5nRiy/6ahBorZWAtZKwk3K+3x 7b25GaOaN8aQbixu50rg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rv8UD-0000000FFjn-2icK; Fri, 12 Apr 2024 04:26:01 +0000 Received: from fllv0015.ext.ti.com ([198.47.19.141]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rv8U4-0000000FFfv-3QcE for linux-arm-kernel@lists.infradead.org; Fri, 12 Apr 2024 04:25:54 +0000 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 43C4PngR067115; Thu, 11 Apr 2024 23:25:49 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1712895949; bh=imYIw92Ktyb820EOSy1JBIBDzaCGydOh0id5xFJtl44=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=dy59huM5T/PrK1NplPX1sZI9js0AjM8FL+7ywKnEshjiJ7xvfgFx6hNx4hRb6KcHu fGbeIh1zjBKcGGgvVfyymIg8kv2Z2eRHspVWqtKhQBYiA0m7BKvO2Q8xwD//jCBuoj gMQgNkB8pyZvK6hinmX0F2uc14Yk1vAF+/I403Zw= Received: from DLEE109.ent.ti.com (dlee109.ent.ti.com [157.170.170.41]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 43C4PnSR123045 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 11 Apr 2024 23:25:49 -0500 Received: from DLEE113.ent.ti.com (157.170.170.24) by DLEE109.ent.ti.com (157.170.170.41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Thu, 11 Apr 2024 23:25:48 -0500 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DLEE113.ent.ti.com (157.170.170.24) 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, 11 Apr 2024 23:25:48 -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 lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 43C4PbNc078207; Thu, 11 Apr 2024 23:25:45 -0500 From: Neha Malcom Francis To: , , , , CC: , , , , , Subject: [PATCH v2 2/5] arm64: dts: ti: k3-j721e-mcu: Add the MCU domain watchdog instances Date: Fri, 12 Apr 2024 09:55:34 +0530 Message-ID: <20240412042537.666137-3-n-francis@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240412042537.666137-1-n-francis@ti.com> References: <20240412042537.666137-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-20240411_212553_212436_82D5D463 X-CRM114-Status: UNSURE ( 9.31 ) X-CRM114-Notice: Please train this message. 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 2 watchdog instances in the MCU domain. These instances are coupled with the MCU domain R55 instances. Reserve them as they are not used by A72. Signed-off-by: Neha Malcom Francis Reviewed-by: Udit Kumar --- .../boot/dts/ti/k3-j721e-mcu-wakeup.dtsi | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-j721e-mcu-wakeup.dtsi b/arch/arm64/boot/dts/ti/k3-j721e-mcu-wakeup.dtsi index 3044e08f6858..0dc84c9f8c4a 100644 --- a/arch/arm64/boot/dts/ti/k3-j721e-mcu-wakeup.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j721e-mcu-wakeup.dtsi @@ -695,4 +695,30 @@ wkup_esm: esm@42080000 { reg = <0x00 0x42080000 0x00 0x1000>; status = "disabled"; }; + + /* + * The 2 RTI instances are couple with MCU R5Fs so keeping them + * reserved as these will be used by their respective firmware + */ + mcu_watchdog0: watchdog@40600000 { + compatible = "ti,j7-rti-wdt"; + reg = <0x00 0x40600000 0x00 0x100>; + clocks = <&k3_clks 262 1>; + power-domains = <&k3_pds 262 TI_SCI_PD_EXCLUSIVE>; + assigned-clocks = <&k3_clks 262 1>; + assigned-clock-parents = <&k3_clks 262 5>; + /* reserved for MCU_R5F0_0 */ + status = "reserved"; + }; + + mcu_watchdog1: watchdog@40610000 { + compatible = "ti,j7-rti-wdt"; + reg = <0x00 0x40610000 0x00 0x100>; + clocks = <&k3_clks 263 1>; + power-domains = <&k3_pds 263 TI_SCI_PD_EXCLUSIVE>; + assigned-clocks = <&k3_clks 263 1>; + assigned-clock-parents = <&k3_clks 263 5>; + /* reserved for MCU_R5F0_1 */ + status = "reserved"; + }; }; From patchwork Fri Apr 12 04:25:35 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: 13626830 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 23610C04FF9 for ; Fri, 12 Apr 2024 04:26:15 +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=yoKNSmeVQgqEUqNY6DQjqV6lr9Nq8Kw9oHS/gEiwsjE=; b=PKjSU8YxAL5Bsm 4MW1nllzFjX1/rDUPCtbGVZcSMgu9YMjfKz6pVWlGw1f4adynSsvK5uHXzW/+J1qM4IlwQRJ7Ciam kYoIKfsElMdM6AQW6bf3etyrnlAYl60R4Cvaecy/tQKyzoz+o7lnsQtQYDX6C5w4W51jhHFmqUznI kpl+HxtgZ+gVOd0Q4vh1dZApuMiZ1EiwNKBF7ww2XywN3nY4gVympwDgHV5Vm5WvUxf1rvNepq84p AU5y92xCC1lfp7PAVyfA0etiVxUCg+FAMqNggF2MOHsljVgLDsWpMBwEsUz8ic0wunUF6QkB5/zb2 39Vw8Id7DvM2c+b1rmog==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rv8UG-0000000FFlS-1CCC; Fri, 12 Apr 2024 04:26:04 +0000 Received: from lelv0143.ext.ti.com ([198.47.23.248]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rv8U8-0000000FFhL-2I3l for linux-arm-kernel@lists.infradead.org; Fri, 12 Apr 2024 04:25:58 +0000 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 43C4PqiQ013796; Thu, 11 Apr 2024 23:25:52 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1712895952; bh=6TtJEfMQaUTxf2lV/vp7IqYVqdk2Tg9DRZngKoo2sIY=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=YJSzZVEtpuzNzX4qO8qW51M6bRgJmZeaRL3I/OrRdrMVUcw4oQ8rMjzdlPfx+suPT wyIBZ3gESlLyJlD8c0OX6BJVHkdhrqcoM7ZB/Z0vo0Yte8/qhlKKc4LVZ+sXTJyob2 eWFiPkKYnMh3LucUmecBfPtx8qN97ft3ypa1zrpU= Received: from DFLE100.ent.ti.com (dfle100.ent.ti.com [10.64.6.21]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 43C4PqNj026210 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 11 Apr 2024 23:25:52 -0500 Received: from DFLE101.ent.ti.com (10.64.6.22) by DFLE100.ent.ti.com (10.64.6.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Thu, 11 Apr 2024 23:25:52 -0500 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DFLE101.ent.ti.com (10.64.6.22) 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, 11 Apr 2024 23:25: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 lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 43C4PbNd078207; Thu, 11 Apr 2024 23:25:49 -0500 From: Neha Malcom Francis To: , , , , CC: , , , , , Subject: [PATCH v2 3/5] arm64: dts: ti: k3-j721e-main: Add the MAIN domain watchdog instances Date: Fri, 12 Apr 2024 09:55:35 +0530 Message-ID: <20240412042537.666137-4-n-francis@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240412042537.666137-1-n-francis@ti.com> References: <20240412042537.666137-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-20240411_212556_709096_DA646374 X-CRM114-Status: UNSURE ( 9.52 ) X-CRM114-Notice: Please train this message. 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 10 watchdog instances in the MAIN domain: * one each for the 2 A72 cores * one for the GPU core * one for the C7x core * one each for the 2 C66x cores * one each for the 4 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 --- Changes since v1: - watchdog label numbering changed as per TRM arch/arm64/boot/dts/ti/k3-j721e-main.dtsi | 93 +++++++++++++++++++++++ 1 file changed, 93 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi b/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi index c7eafbc862f9..0dd5005b34aa 100644 --- a/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi @@ -2157,6 +2157,99 @@ watchdog1: watchdog@2210000 { assigned-clock-parents = <&k3_clks 253 5>; }; + /* + * The following RTI instances are coupled with MCU R5Fs, c7x and + * GPU so keeping them reserved as these will be used by their + * respective firmware + */ + watchdog15: watchdog@22f0000 { + compatible = "ti,j7-rti-wdt"; + reg = <0x00 0x22f0000 0x00 0x100>; + clocks = <&k3_clks 257 1>; + power-domains = <&k3_pds 257 TI_SCI_PD_EXCLUSIVE>; + assigned-clocks = <&k3_clks 257 1>; + assigned-clock-parents = <&k3_clks 257 5>; + /* reserved for GPU */ + status = "reserved"; + }; + + watchdog16: watchdog@2300000 { + compatible = "ti,j7-rti-wdt"; + reg = <0x00 0x2300000 0x00 0x100>; + clocks = <&k3_clks 256 1>; + power-domains = <&k3_pds 256 TI_SCI_PD_EXCLUSIVE>; + assigned-clocks = <&k3_clks 256 1>; + assigned-clock-parents = <&k3_clks 256 5>; + /* reserved for C7X */ + status = "reserved"; + }; + + watchdog24: watchdog@2380000 { + compatible = "ti,j7-rti-wdt"; + reg = <0x00 0x2380000 0x00 0x100>; + clocks = <&k3_clks 254 1>; + power-domains = <&k3_pds 254 TI_SCI_PD_EXCLUSIVE>; + assigned-clocks = <&k3_clks 254 1>; + assigned-clock-parents = <&k3_clks 254 5>; + /* reserved for C66X_0 */ + status = "reserved"; + }; + + watchdog25: watchdog@2390000 { + compatible = "ti,j7-rti-wdt"; + reg = <0x00 0x2390000 0x00 0x100>; + clocks = <&k3_clks 255 1>; + power-domains = <&k3_pds 255 TI_SCI_PD_EXCLUSIVE>; + assigned-clocks = <&k3_clks 255 1>; + assigned-clock-parents = <&k3_clks 255 5>; + /* reserved for C66X_1 */ + status = "reserved"; + }; + + 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"; + }; + + watchdog30: watchdog@23e0000 { + compatible = "ti,j7-rti-wdt"; + reg = <0x00 0x23e0000 0x00 0x100>; + clocks = <&k3_clks 260 1>; + power-domains = <&k3_pds 260 TI_SCI_PD_EXCLUSIVE>; + assigned-clocks = <&k3_clks 260 1>; + assigned-clock-parents = <&k3_clks 260 5>; + /* reserved for MAIN_R5F1_0 */ + status = "reserved"; + }; + + watchdog31: watchdog@23f0000 { + compatible = "ti,j7-rti-wdt"; + reg = <0x00 0x23f0000 0x00 0x100>; + clocks = <&k3_clks 261 1>; + power-domains = <&k3_pds 261 TI_SCI_PD_EXCLUSIVE>; + assigned-clocks = <&k3_clks 261 1>; + assigned-clock-parents = <&k3_clks 261 5>; + /* reserved for MAIN_R5F1_1 */ + status = "reserved"; + }; + main_r5fss0: r5fss@5c00000 { compatible = "ti,j721e-r5fss"; ti,cluster-mode = <1>; From patchwork Fri Apr 12 04:25:36 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: 13626832 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 BAE25C4345F for ; Fri, 12 Apr 2024 04:26:32 +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=1ZuB06VnoGE7k/WJf+gIofgXadMpJVYEERIvlNxtlPA=; b=awPECeK1WPG/32 JF7iYLDfifTFwPuttfXf2LuPP1NfbDlvSPKEiadJGlZYCzHsRFi+1+HIZ/yusfOoKHjF+nyI9H+Mf LyqtWSwvdIwH6vz4LtfgtYZ7UOHPaW+zruOtXX/JkqpksVuO89KJnuVZAM4Bpnz7kMTYLPH36C9Y5 eg7k2iMnzHKAYyXOW9SEaOHg0m6w4QapxkUjTIiI7sZxvGQI6vn9SALqB/jE4IANt32/uRQGX/3+Z hhYqshMIzMjGV0rWnH5GuPtrMKCMnuog+ogB2aT4uZFH9v44q1CYwBGOe2T9s0aal007DBOOBUFRu qGzy8tqZIWk/Wo6h51fQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rv8UW-0000000FFvZ-04iY; Fri, 12 Apr 2024 04:26: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 1rv8UA-0000000FFi6-3Jz6 for linux-arm-kernel@lists.infradead.org; Fri, 12 Apr 2024 04:26:00 +0000 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 43C4Ptpk111670; Thu, 11 Apr 2024 23:25:55 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1712895955; bh=LnSvTzOo4Cfl9D1F+uq9Gk4ZwLPMXfqZC2KoNIU35KI=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=jG/o2KfUgTmV8k/MxFx2TrmD9daANjQm9dg8cnrOU2GUXnlqNWxCUu8TtVtV2No+o +ZU0vfzja5NJPTJxcdOCQfgZrv2VvKHPe4lKwhwcyZYYZuaPXriEAbR8QP2svSYgrl dbmZs9POdwKGKvtHO8lNXjfPpl0X1+QmUoQ6W13c= Received: from DLEE102.ent.ti.com (dlee102.ent.ti.com [157.170.170.32]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 43C4PtcO123247 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 11 Apr 2024 23:25:55 -0500 Received: from DLEE113.ent.ti.com (157.170.170.24) by DLEE102.ent.ti.com (157.170.170.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Thu, 11 Apr 2024 23:25:55 -0500 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DLEE113.ent.ti.com (157.170.170.24) 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, 11 Apr 2024 23:25:55 -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 lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 43C4PbNe078207; Thu, 11 Apr 2024 23:25:52 -0500 From: Neha Malcom Francis To: , , , , CC: , , , , , Subject: [PATCH v2 4/5] arm64: dts: ti: k3-j7200-main: Add the MAIN domain watchdog instances Date: Fri, 12 Apr 2024 09:55:36 +0530 Message-ID: <20240412042537.666137-5-n-francis@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240412042537.666137-1-n-francis@ti.com> References: <20240412042537.666137-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-20240411_212559_152901_0DC44C2F X-CRM114-Status: UNSURE ( 9.74 ) X-CRM114-Notice: Please train this message. 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 --- Changes since v1: - watchdog label numbering changed as per TRM 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>; From patchwork Fri Apr 12 04:25:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Neha Malcom Francis X-Patchwork-Id: 13626831 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 1001FC04FF8 for ; Fri, 12 Apr 2024 04:26:30 +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=MKlH8pzjC7vSS5ODUc8/PzOkvhXjpIt3/ay5tKjmnK0=; b=1XRtO5g+byXxxU dYP4rREX2oowTo7eEf+k3vC62nCGOghv7OcnE5u+ro8JAgkVWjQsTV5JpoJ5EWOQbCiVcDxsRPdXD jRZMNjUCSRsglKf3C4s+ZO8bfRFWli55sBKa7cCOO5hwF/84aRmriALZ40yX31nJCKhe1N/AOlGcS mSM3mGZoLecBgbe0vS+T+w0+Ew/bitsTx56rMZYdDZLMJpMQEF8hAGgPAwpYFWH2qY8K87LQwaPat JWthw6S7P6K1S7fpe136vEwZYyWlU37M/OO+rSdbLiedUN8jzlvWNyEC0h5jPs7zakCNJMytF3BBk 8VHVSDSmYraBrfWkG5IQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rv8UW-0000000FFw1-2u3b; Fri, 12 Apr 2024 04:26:20 +0000 Received: from lelv0143.ext.ti.com ([198.47.23.248]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rv8UE-0000000FFkM-3QvU for linux-arm-kernel@lists.infradead.org; Fri, 12 Apr 2024 04:26:05 +0000 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 43C4PxNp013814; Thu, 11 Apr 2024 23:25:59 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1712895959; bh=2ffiITt8shuByn9EhxxwqtqqsP0zhX0EnuXWtTyMIxk=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=PizEhuw0/5vPDFWkU4jYKTfJ/MnLTjQkNCEcaKx4wrMdeojSm1Z23FoK2Um85/xtN 7iQ/DNhcsglnqDzq1nWD4Zr5twwq/K+h9PM94FDyi1c9KInsht53kJ8668RD61AuTu Pki0QmDffihWPV8PWy3sGLcx6Vvh6Bdz2X6+Oclw= Received: from DLEE115.ent.ti.com (dlee115.ent.ti.com [157.170.170.26]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 43C4PxRg026300 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 11 Apr 2024 23:25:59 -0500 Received: from DLEE110.ent.ti.com (157.170.170.21) by DLEE115.ent.ti.com (157.170.170.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Thu, 11 Apr 2024 23:25:58 -0500 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DLEE110.ent.ti.com (157.170.170.21) 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, 11 Apr 2024 23:25:59 -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 lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 43C4PbNf078207; Thu, 11 Apr 2024 23:25:56 -0500 From: Neha Malcom Francis To: , , , , CC: , , , , , Subject: [PATCH v2 5/5] arm64: dts: ti: k3-j7200-mcu: Add the MCU domain watchdog instances Date: Fri, 12 Apr 2024 09:55:37 +0530 Message-ID: <20240412042537.666137-6-n-francis@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240412042537.666137-1-n-francis@ti.com> References: <20240412042537.666137-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-20240411_212603_211408_1D0DD8C8 X-CRM114-Status: UNSURE ( 9.13 ) X-CRM114-Notice: Please train this message. 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 2 watchdog instances in the MCU domain. These instances are coupled with the MCU domain R55 instances. Reserve them as they are not used by A72. Signed-off-by: Neha Malcom Francis Reviewed-by: Udit Kumar   for whole series --- Changes since v1: - patch added .../boot/dts/ti/k3-j7200-mcu-wakeup.dtsi | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-j7200-mcu-wakeup.dtsi b/arch/arm64/boot/dts/ti/k3-j7200-mcu-wakeup.dtsi index 7cf21c99956e..d1a42c3f30c0 100644 --- a/arch/arm64/boot/dts/ti/k3-j7200-mcu-wakeup.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j7200-mcu-wakeup.dtsi @@ -686,4 +686,30 @@ mcu_mcan1: can@40568000 { bosch,mram-cfg = <0x0 128 64 64 64 64 32 32>; status = "disabled"; }; + + /* + * The 2 RTI instances are couple with MCU R5Fs so keeping them + * reserved as these will be used by their respective firmware + */ + mcu_watchdog0: watchdog@40600000 { + compatible = "ti,j7-rti-wdt"; + reg = <0x00 0x40600000 0x00 0xbd>; + clocks = <&k3_clks 262 1>; + power-domains = <&k3_pds 262 TI_SCI_PD_EXCLUSIVE>; + assigned-clocks = <&k3_clks 262 1>; + assigned-clock-parents = <&k3_clks 262 5>; + /* reserved for MCU_R5F0_0 */ + status = "reserved"; + }; + + mcu_watchdog1: watchdog@40610000 { + compatible = "ti,j7-rti-wdt"; + reg = <0x00 0x40610000 0x00 0xbd>; + clocks = <&k3_clks 263 1>; + power-domains = <&k3_pds 263 TI_SCI_PD_EXCLUSIVE>; + assigned-clocks = <&k3_clks 263 1>; + assigned-clock-parents = <&k3_clks 263 5>; + /* reserved for MCU_R5F0_1 */ + status = "reserved"; + }; };