From patchwork Tue Mar 26 12:27:20 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: 13604052 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 6B289CD11DD for ; Tue, 26 Mar 2024 12:28:00 +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=nkfwREPkn/JHh+zwxWqlin74hJQ16xlN6iahw2pEZmY=; b=YWRxrYGgU3kp58 qyyJfgHFJvmggHltoxNsRFcxkFQPLSNnWJRACJ+ugE/VKOOcBiGHi+tC4bgjJ86sbI5niKnM5zvCV vgHfc5YXZUgpBmEHzBA9E62eo3cPf1CkeT+g+BdmQNtjbpchK4SoM6YWbjpvUm4xl8KjO5x+rcKdW 0T7l/HucrbI/MilH8MpEtUKmUV0DxceELBkY8ZrR7Pd0/YVX9EzC41xvP6hWrAFmpKuXzfXSD6oYC fu2C7ybbt+lqnGneHjBM0d+YIt7auqkMOwNMgjLUsJ9bHTL72GRkZCzame9QIo2Kb8xJwOk+cc1SP ffqiMh/L2UUomZjc8MnQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rp5u0-00000004StK-0M6Z; Tue, 26 Mar 2024 12:27:40 +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 1rp5tw-00000004SrP-1ykM for linux-arm-kernel@lists.infradead.org; Tue, 26 Mar 2024 12:27:38 +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 42QCRV4w080826; Tue, 26 Mar 2024 07:27:31 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1711456051; bh=+3pmz0PQmucIleuJBVNX7kROEXn+vQUZWmW93sQBGgg=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=uPalsqQP7k/Y5XOdHKTSTNgPPYuBGxYcq/B+TKk5Em3E/JrY1FtXuFJ5T+b94DDwb l3OFPBZ8EbKNz9MqUEqnZP5xMvrpC8qgz7pgjql89Jq+dTwKxEcQa940RF7rceF9YC Qg6tRG2da2AiH42m720GbO723R/JNmZwY77S9FpU= Received: from DLEE107.ent.ti.com (dlee107.ent.ti.com [157.170.170.37]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 42QCRV2A035195 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 26 Mar 2024 07:27:31 -0500 Received: from DLEE104.ent.ti.com (157.170.170.34) by DLEE107.ent.ti.com (157.170.170.37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Tue, 26 Mar 2024 07:27:31 -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; Tue, 26 Mar 2024 07:27:31 -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 42QCRN2c129435; Tue, 26 Mar 2024 07:27:28 -0500 From: Neha Malcom Francis To: , , , , CC: , , , , , Subject: [PATCH 1/4] arm64: dts: ti: k3-j721e-mcu: Add the WKUP ESM instance Date: Tue, 26 Mar 2024 17:57:20 +0530 Message-ID: <20240326122723.2329402-2-n-francis@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240326122723.2329402-1-n-francis@ti.com> References: <20240326122723.2329402-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-20240326_052736_947823_6743E990 X-CRM114-Status: UNSURE ( 8.55 ) 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 --- arch/arm64/boot/dts/ti/k3-j721e-mcu-wakeup.dtsi | 5 +++++ 1 file changed, 5 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..b0f41e9829cc 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,9 @@ mcu_esm: esm@40800000 { ti,esm-pins = <95>; bootph-pre-ram; }; + + wkup_esm: esm@42080000 { + compatible = "ti,j721e-esm"; + reg = <0x00 0x42080000 0x00 0x1000>; + }; }; From patchwork Tue Mar 26 12:27:21 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: 13604055 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 F2B2AC6FD1F for ; Tue, 26 Mar 2024 12:28:12 +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=3EYMmkSSCuIJEn2cACpvOKVub3cH7jiDr7Sq/rZZfEs=; b=3RJFXSfj4V5uqc vgbRfZJnq0aMrEIBTUkzgW2+MBg3zBSWII/lfb+Jb6J4kG2b27L6UY1UJhAM+jfLwHhxHep6usHH7 iuuwunIu+zT9ef9ChoPU9L28VzklMMOjxlmybdyPdp5roAqN+bjq4DlzQlesoeClcUBZPcTmzeOys HOYDJa0md1sF2K9sFLcqB6s5YGFS5rv51IZz0of/OdJnFKusJOBMovMOxmtHhIDG19aKi5o/O/ykR CKmq05mF84hqFktqEk2wrkgd5pyEaWAxCwwAr7s5VsJwJ0sHoxezNvTngTxvE23DBi/WpkCeKIqDJ L7WbFxTCGTOAB6m+8MbQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rp5uK-00000004T2z-2UFy; Tue, 26 Mar 2024 12:28:00 +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 1rp5u5-00000004Sug-3ys8 for linux-arm-kernel@lists.infradead.org; Tue, 26 Mar 2024 12:27:47 +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 42QCRYOl081417; Tue, 26 Mar 2024 07:27:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1711456054; bh=SI+HU37Nn6YoT5yQL/rjlCRJM6US/YLloi1oqcft1a8=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=Pam9+/Z6Gqf4bLlHznWx4cCDgfLXyHv658Gdn7XyJ+qgig0rBpWToHrIh9uWT1cnL sHZbseb+8Fp/3ENcU9LuWM/+cRvMv8vWgUmVREkmTubxkwV5Suz22QVUcVyTjUEj9O KLuC65NcibUBk6AEBV4qk4zAFSgMWwrC+x1jIKiM= Received: from DFLE109.ent.ti.com (dfle109.ent.ti.com [10.64.6.30]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 42QCRYUa035211 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 26 Mar 2024 07:27:34 -0500 Received: from DFLE106.ent.ti.com (10.64.6.27) by DFLE109.ent.ti.com (10.64.6.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Tue, 26 Mar 2024 07:27:34 -0500 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) 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; Tue, 26 Mar 2024 07:27:34 -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 42QCRN2d129435; Tue, 26 Mar 2024 07:27:31 -0500 From: Neha Malcom Francis To: , , , , CC: , , , , , Subject: [PATCH 2/4] arm64: dts: ti: k3-j721e-mcu: Add the MCU domain watchdog instances Date: Tue, 26 Mar 2024 17:57:21 +0530 Message-ID: <20240326122723.2329402-3-n-francis@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240326122723.2329402-1-n-francis@ti.com> References: <20240326122723.2329402-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-20240326_052746_221385_43006A16 X-CRM114-Status: UNSURE ( 9.24 ) 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 b0f41e9829cc..867f307909be 100644 --- a/arch/arm64/boot/dts/ti/k3-j721e-mcu-wakeup.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j721e-mcu-wakeup.dtsi @@ -694,4 +694,30 @@ wkup_esm: esm@42080000 { compatible = "ti,j721e-esm"; reg = <0x00 0x42080000 0x00 0x1000>; }; + + /* + * 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 Tue Mar 26 12:27:22 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: 13604053 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 504BFCD11DD for ; Tue, 26 Mar 2024 12:28:07 +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=9oy6j1WitjipIDvvr/j5X5b5+YAq8TC07rRXS9HdYB0=; b=B4pNkt5WJObmnO 4HRZ0DSTJ3nC5mm8vyqvg8/s8lN+ud5ahF2qKX8JK/2vnoLEK7hOmhjHf2c+NfyMweszzI7DdZfeK roSaJyUdaaGIaVt1VwOuwG102lrPu1BjwBOieW8e2du1vm7icRM7VQKBqwN8u5unjz7kHYv+VAt0m flPvc8x4wqYt2CpnE+UQHoSpT5h9rOXNu/W816OFLrlp+Gitqnh3yGfLIR0eglaArhPvvNPdZWyCu /rcYHTu/uVuuQrdDQzEj8cmYlZOJXVqZNEbCZTZ28qB7Er8u2P+JErDVjSiDFcqGwnZMGnJqhcGFS cNjqUIbaWWUNoEDdOEaA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rp5uI-00000004T0e-05nX; Tue, 26 Mar 2024 12:27:58 +0000 Received: from lelv0142.ext.ti.com ([198.47.23.249]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rp5u3-00000004Stu-2ScH for linux-arm-kernel@lists.infradead.org; Tue, 26 Mar 2024 12:27:47 +0000 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 42QCRcea046389; Tue, 26 Mar 2024 07:27:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1711456058; bh=fZ+a7lwRcnYKmAMClpBVo++CIHuT6moaDjHA7CT3+n4=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=dY/WXqGbvbCe6vNPRiJC37iv5LsIzQauTm00iupkaN+hB4qQPWVnOP9ASMGkJwStm X7M/6GRLA/ztnNAXxlejlTm6NoFfH1jSMWlsI+LIZNWBzBcpgP0ZD+US6vwp/wm0Gd VXV90wEKvSOzTSQVX9JRLB2vXVmV1Cg5J+j+SS4k= Received: from DFLE102.ent.ti.com (dfle102.ent.ti.com [10.64.6.23]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 42QCRcZU017085 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 26 Mar 2024 07:27:38 -0500 Received: from DFLE108.ent.ti.com (10.64.6.29) by DFLE102.ent.ti.com (10.64.6.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Tue, 26 Mar 2024 07:27:37 -0500 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) by DFLE108.ent.ti.com (10.64.6.29) 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; Tue, 26 Mar 2024 07:27:37 -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 42QCRN2e129435; Tue, 26 Mar 2024 07:27:34 -0500 From: Neha Malcom Francis To: , , , , CC: , , , , , Subject: [PATCH 3/4] arm64: dts: ti: k3-j721e-main: Add the MAIN domain watchdog instances Date: Tue, 26 Mar 2024 17:57:22 +0530 Message-ID: <20240326122723.2329402-4-n-francis@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240326122723.2329402-1-n-francis@ti.com> References: <20240326122723.2329402-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-20240326_052743_802612_FD87EA35 X-CRM114-Status: UNSURE ( 9.73 ) 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 --- 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..d8930b8ea8ec 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 + */ + watchdog2: 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"; + }; + + watchdog3: 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"; + }; + + watchdog4: 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"; + }; + + watchdog5: 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"; + }; + + watchdog6: 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"; + }; + + watchdog7: 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"; + }; + + watchdog8: 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"; + }; + + watchdog9: 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 Tue Mar 26 12:27:23 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: 13604054 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 A80C0C6FD1F for ; Tue, 26 Mar 2024 12:28:08 +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=acSRQGp0OK8kVr97ZxXafa1FXEUxLnWv7lkRWiCTzKc=; b=mwrwjPsSx0IGmZ yHlCpfMiESKckYQxKHu5x7O4ynN43E1A/xwhkAqlGeBKd1OcUJew7oagQeU3BYPThGRIOVwe0Gqmz epNotFTiuo2yp7t5fGdUFpAGRHcr5h+VemrfdcmUCbtpN62oet6bmrBRse1OPizwO4vhqPa9+tKCw bnHFYqyCGHVI/RyIJml73PwP+fGOjlRpzuE68EaiLna0yqqtoUgpkvCkb0vQybQMvNnThzOn0oOa5 EU0oOAeQhMMPHD1+hoItuUAYxBdlbDE9ECUg6lRzNl7PjRXgEUTkL9dZQVMaPRPYKUY2S41alXsub DBnJiJUqZ75w3rc3rxYw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rp5uG-00000004Sze-40v6; Tue, 26 Mar 2024 12:27:57 +0000 Received: from lelv0142.ext.ti.com ([198.47.23.249]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rp5u5-00000004Sui-07aV for linux-arm-kernel@lists.infradead.org; Tue, 26 Mar 2024 12:27:47 +0000 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 42QCRfVS046400; Tue, 26 Mar 2024 07:27:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1711456061; bh=UR0R4Mu1rXt3Fm5JdEySPVTyQK9wbqYUueqfy94fY4Y=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=Xc5O0FCRZWwhfYyCOkSBYo/gmFFBMJv0/F8jnADCRImrGQLmbjRFVDZgRbpxVlXcF xyV/NZIR11uTiJcURqvMgkfUnLTUTR8RvRs4h5cOn/6l2XYKhgHdLC0nRuCO9ck+QZ WUxKBfIvhqAxD5zukKfvB5XFlEvb9RzAZJxT6vtc= Received: from DFLE109.ent.ti.com (dfle109.ent.ti.com [10.64.6.30]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 42QCRfKe035283 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 26 Mar 2024 07:27:41 -0500 Received: from DFLE101.ent.ti.com (10.64.6.22) by DFLE109.ent.ti.com (10.64.6.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Tue, 26 Mar 2024 07:27:41 -0500 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) 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; Tue, 26 Mar 2024 07:27:40 -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 42QCRN2f129435; Tue, 26 Mar 2024 07:27:38 -0500 From: Neha Malcom Francis To: , , , , CC: , , , , , Subject: [PATCH 4/4] arm64: dts: ti: k3-j7200-main: Add the MAIN domain watchdog instances Date: Tue, 26 Mar 2024 17:57:23 +0530 Message-ID: <20240326122723.2329402-5-n-francis@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240326122723.2329402-1-n-francis@ti.com> References: <20240326122723.2329402-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-20240326_052745_192323_19ACE842 X-CRM114-Status: UNSURE ( 9.85 ) 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 --- 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..c448c2218e23 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 + */ + watchdog2: 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"; + }; + + watchdog3: 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>;